/*
 * hudebni-prostor.css — stránka hudebního prostoru
 * Neformální, vzdušný design. Načítá se spolu s nav.css.
 */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --bg: #f6f0e6;
    --paper: #fffaf1;
    --ink: #1d2520;
    --muted: #667166;
    --green: #20392f;
    --green-2: #2f5645;
    --gold: #c4874a;
    --gold-soft: #e4b775;
    --line: rgba(29, 37, 32, 0.12);
    --shadow: 0 28px 80px rgba(21, 30, 24, 0.16);
    --radius: 28px;
    --radius-sm: 18px;
    --max: 1160px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Inter, 'Open Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--bg);
}

.music-page {
    /* clear fixed nav */
    padding-top: 68px;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(228, 183, 117, 0.34), transparent 34rem),
        radial-gradient(circle at 86% 8%, rgba(47, 86, 69, 0.18), transparent 28rem),
        linear-gradient(180deg, #f9f2e7 0%, #f2eadf 100%);
    overflow: hidden;
}

a { color: inherit; }

/* ── Hero ── */
.hero {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    min-height: 700px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    align-items: center;
    gap: 54px;
    padding: 52px 0 86px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
    max-width: 720px;
    margin-bottom: 22px;
    font-size: clamp(3.2rem, 8vw, 7.2rem);
    line-height: 0.9;
    letter-spacing: -0.075em;
}

.lead {
    max-width: 610px;
    font-size: clamp(1.14rem, 1.8vw, 1.42rem);
    line-height: 1.58;
    color: rgba(29, 37, 32, 0.78);
    margin-bottom: 34px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 800;
    font-size: 0.96rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button--primary {
    background: linear-gradient(135deg, var(--green), var(--green-2));
    color: #fffaf1;
    box-shadow: 0 16px 38px rgba(32, 57, 47, 0.25);
}

.button--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 46px rgba(32, 57, 47, 0.3);
}

.button--ghost {
    background: rgba(255, 250, 241, 0.78);
    color: var(--green);
    border: 1px solid rgba(32, 57, 47, 0.12);
}

.button--ghost:hover { background: rgba(255, 250, 241, 1); }

/* ── Hero card ── */
.hero-card {
    background: rgba(255, 250, 241, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.hero-card__image {
    min-height: 280px;
    position: relative;
    background:
        linear-gradient(135deg, rgba(32, 57, 47, 0.28), rgba(196, 135, 74, 0.18)),
        radial-gradient(circle at 18% 28%, rgba(228, 183, 117, 0.78), transparent 6rem),
        radial-gradient(circle at 72% 20%, rgba(255, 250, 241, 0.28), transparent 6rem),
        linear-gradient(145deg, #16241e, #325041 54%, #785934);
}

.hero-card__image::before,
.hero-card__image::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.2);
    filter: blur(1px);
}

.hero-card__image::before {
    width: 230px; height: 26px;
    left: 42px; bottom: 58px;
    transform: rotate(-7deg);
}

.hero-card__image::after {
    width: 135px; height: 135px;
    right: 38px; bottom: 38px;
    border: 18px solid rgba(255, 250, 241, 0.2);
    background: transparent;
}

.hero-card__image span {
    position: absolute;
    left: 18px; top: 18px;
    background: rgba(255, 250, 241, 0.9);
    color: var(--green);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-card__body { padding: 28px; }

.hero-card__body h2 {
    font-size: 1.65rem;
    line-height: 1.12;
    margin-bottom: 12px;
    letter-spacing: -0.035em;
}

.hero-card__body p {
    color: rgba(29, 37, 32, 0.72);
    line-height: 1.6;
    margin-bottom: 22px;
}

.facts { display: grid; gap: 12px; }

.facts div {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.facts strong {
    font-size: 0.82rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.facts span { color: rgba(29, 37, 32, 0.78); }

/* ── Sections ── */
.section {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: 86px 0;
}

.intro {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section h2 {
    font-size: clamp(2.1rem, 4vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    margin-bottom: 0;
}

.intro__copy p,
.split__copy p,
.note p,
.cta p {
    color: rgba(29, 37, 32, 0.76);
    font-size: 1.08rem;
    line-height: 1.72;
}

.section__center {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.section__center p:not(.eyebrow) {
    margin-top: 18px;
    color: rgba(29, 37, 32, 0.68);
    font-size: 1.05rem;
    line-height: 1.65;
}

/* ── Cards ── */
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.card,
.gear-card {
    background: rgba(255, 250, 241, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: var(--radius-sm);
    padding: 24px;
    box-shadow: 0 18px 46px rgba(21, 30, 24, 0.08);
}

.card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(196, 135, 74, 0.14);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.card h3,
.gear-card h3 {
    font-size: 1.22rem;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}

.card p,
.gear-card p {
    color: rgba(29, 37, 32, 0.72);
    line-height: 1.62;
    margin-bottom: 0;
}

/* ── Split ── */
.split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 72px;
}

.split__visual { position: relative; min-height: 440px; }

.visual {
    position: absolute;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background:
        linear-gradient(135deg, rgba(32, 57, 47, 0.18), rgba(196, 135, 74, 0.16)),
        linear-gradient(145deg, #243d32, #65462a);
}

.visual--large { inset: 30px 70px 10px 0; }
.visual--small {
    width: 230px; height: 220px;
    right: 0; top: 0;
    background: linear-gradient(145deg, #f3d3a2, #c4874a);
}

.simple-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 12px;
}

.simple-list li {
    background: rgba(255, 250, 241, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 16px;
    padding: 15px 17px;
    line-height: 1.55;
    color: rgba(29, 37, 32, 0.76);
}

.simple-list strong { color: var(--green); }

/* ── Equipment (dark section) ── */
.equipment {
    background: rgba(32, 57, 47, 0.94);
    color: #fffaf1;
    width: 100%;
    max-width: none;
    padding: 90px max(16px, calc((100% - var(--max)) / 2));
}

.equipment .eyebrow { color: var(--gold-soft); }
.equipment .section__center p:not(.eyebrow) { color: rgba(255, 250, 241, 0.72); }
.equipment .section h2 { color: #fffaf1; }

.gear-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 34px;
}

.gear-card {
    background: rgba(255, 250, 241, 0.08);
    border: 1px solid rgba(255, 250, 241, 0.16);
    box-shadow: none;
}

.gear-card h3 { color: #fffaf1; }
.gear-card p { color: rgba(255, 250, 241, 0.72); }

/* ── Note ── */
.note {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    background: rgba(255, 250, 241, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius);
    padding: 56px;
    margin-top: 86px;
    margin-bottom: 24px;
}

/* ── Gallery ── */
.gallery { padding-top: 56px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

figure { margin: 0; }

figcaption {
    color: var(--muted);
    font-size: 0.92rem;
    margin-top: 10px;
}

.gallery-placeholder {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 54px rgba(21, 30, 24, 0.12);
}

.gallery-placeholder--room  { background: linear-gradient(145deg, #20392f, #765032); }
.gallery-placeholder--people { background: linear-gradient(145deg, #c4874a, #2f5645); }
.gallery-placeholder--detail { background: linear-gradient(145deg, #16241e, #d6a15d); }

/* ── CTA / contact ── */
.cta {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: 86px 0 110px;
    display: grid;
    grid-template-columns: 1fr 430px;
    align-items: start;
    gap: 64px;
}

.cta h2 {
    font-size: clamp(2.4rem, 4.5vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
    margin-bottom: 22px;
}

.contact {
    background: rgba(255, 250, 241, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
    display: grid;
    gap: 16px;
}

.contact__trap {
    display: none;
}

.contact__status {
    min-height: 1.3em;
    margin: 0;
    color: rgba(29, 37, 32, 0.72);
    font-size: 0.94rem;
    font-weight: 700;
}

.contact__status--success {
    color: #2f6b4f;
}

.contact__status--error {
    color: #9d3f32;
}

.contact .button:disabled {
    cursor: progress;
    opacity: 0.7;
}

label {
    display: grid;
    gap: 7px;
    color: rgba(29, 37, 32, 0.72);
    font-size: 0.94rem;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    border: 1px solid rgba(32, 57, 47, 0.16);
    background: rgba(255, 255, 255, 0.72);
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
    color: var(--ink);
}

textarea { resize: vertical; }

input:focus,
textarea:focus {
    outline: 2px solid rgba(196, 135, 74, 0.32);
    border-color: rgba(196, 135, 74, 0.55);
}

/* ── Footer ── */
.music-footer {
    background: rgba(32, 57, 47, 0.94);
    color: rgba(255, 250, 241, 0.5);
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 0.88rem;
}

.music-footer a {
    color: var(--gold-soft);
    text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 980px) {
    .hero,
    .intro,
    .split,
    .note,
    .cta { grid-template-columns: 1fr; }

    .hero { min-height: 0; padding-top: 34px; }
    .hero-card { max-width: 560px; }
    .cards,
    .gear-grid { grid-template-columns: repeat(2, 1fr); }
    .split__visual { order: 2; min-height: 340px; }
    .visual--large { right: 50px; }
    .cta { padding-top: 64px; }
}

@media (max-width: 760px) {
    .hero { padding-bottom: 58px; }
    .hero-card__image { min-height: 220px; }
    .section { padding: 60px 0; }
    .cards,
    .gear-grid,
    .gallery-grid { grid-template-columns: 1fr; }
    .note { padding: 28px; margin-top: 60px; }
    .contact { padding: 20px; }
}
