@import url('https://fonts.cdnfonts.com/css/newston');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
    --sea: #9dc8e0;
    --sand: #ede3b7;
    --ink: #1c2d37;
    --panel: rgba(255, 255, 255, 0.7);
    --shadow: rgba(12, 38, 55, 0.14);
    --header-height: 82px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.5) 0 18%, transparent 35%),
        radial-gradient(circle at 85% 12%, rgba(157, 200, 224, 0.45) 0 15%, transparent 38%),
        linear-gradient(145deg, var(--sea) 0%, #b9dcee 45%, var(--sand) 100%);
    min-height: 100vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    padding: 12px clamp(16px, 4vw, 48px);
    backdrop-filter: none;
    background: #ede3b7;
    border-bottom: 1px solid rgba(28, 45, 55, 0.12);
}

.landing-page {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.landing-page .site-header {
    position: relative;
    flex: 0 0 var(--header-height);
    height: var(--header-height);
}

.logo {
    color: var(--ink);
    font-family: 'Newston', 'Times New Roman', serif;
    font-size: clamp(1.25rem, 2.6vw, 2rem);
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    min-height: 58px;
    line-height: 1;
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(28, 45, 55, 0.25);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.5);
    color: var(--ink);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.menu-toggle-bar {
    width: 20px;
    height: 2px;
    background: var(--ink);
    position: relative;
    transition: background 0.2s ease;
}

.menu-toggle-bar::before,
.menu-toggle-bar::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s ease;
}

.menu-toggle-bar::before {
    top: -6px;
}

.menu-toggle-bar::after {
    top: 6px;
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
}

.site-nav a {
    text-decoration: none;
    color: var(--ink);
    font-family: 'Roboto', sans-serif;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover {
    border-bottom-color: var(--ink);
    transform: translateY(-2px);
}

.site-nav a.active {
    border-bottom-color: var(--ink);
}

main {
    width: min(1100px, 92vw);
    margin: 0 auto;
    padding: 34px 0 70px;
}

.landing-main {
    width: min(1320px, 94vw);
    min-height: 0;
    height: 100%;
    padding: clamp(14px, 3.2vw, 28px) 0;
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1fr);
    align-items: center;
    gap: clamp(20px, 4vw, 58px);
    overflow: hidden;
}

.landing-page .landing-main {
    flex: 1;
}

.landing-main-single {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
}

.landing-main-single .landing-poster {
    justify-self: center;
    width: min(100%, 760px);
    height: auto;
    justify-content: center;
}

.landing-text h1 {
    margin: 0;
    font-family: 'Newston', 'Times New Roman', serif;
    font-size: clamp(2.4rem, 6.2vw, 5.8rem);
    line-height: 1.06;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    text-wrap: balance;
}

.landing-poster {
    justify-self: end;
    width: min(100%, 760px);
    height: 100%;
    display: flex;
    align-items: center;
}

.landing-poster img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - var(--header-height) - 56px);
    object-fit: contain;
    filter: drop-shadow(0 16px 34px rgba(28, 45, 55, 0.25));
}

.hero {
    padding: clamp(22px, 8vw, 80px) clamp(18px, 5vw, 60px);
    border-radius: 0;
    background: linear-gradient(160deg, rgba(157, 200, 224, 0.85), rgba(237, 227, 183, 0.9));
    box-shadow: 0 20px 30px var(--shadow);
    animation: rise-in 0.8s ease both;
}

.eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
}

.hero h1 {
    font-family: 'Newston', 'Times New Roman', serif;
    margin: 10px 0 12px;
    font-size: clamp(2.4rem, 7vw, 4.8rem);
    letter-spacing: 0.04em;
    line-height: 1.14;
}

.hero-copy {
    max-width: 52ch;
    font-size: 1.05rem;
}

.hero-cta {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 0;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(28, 45, 55, 0.22);
}

.panel {
    margin-top: 24px;
    padding: clamp(18px, 4vw, 28px);
    border-radius: 0;
    background: var(--panel);
    box-shadow: 0 12px 24px var(--shadow);
    animation: rise-in 0.7s ease both;
}

.panel h2 {
    font-family: 'Newston', 'Times New Roman', serif;
    margin-top: 0;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.2;
    font-size: clamp(1.35rem, 3.1vw, 2rem);
}

.panel p {
    margin: 8px 0;
    line-height: 1.6;
}

.poster-feature img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 22px rgba(28, 45, 55, 0.18);
}

.section-page main {
    max-width: 860px;
}

.section-page .panel {
    margin-top: 0;
}

.about-page main {
    padding-bottom: 24px;
}

.faq-page main {
    padding-bottom: 12px;
}

.about-page {
    background:
        linear-gradient(rgba(157, 200, 224, 0.34), rgba(237, 227, 183, 0.38)),
        url('/images/aboutbg.jpg');
    background-position: center center, center top;
    background-repeat: no-repeat, repeat-y;
    background-size: cover, calc(100% - clamp(84px, 18vw, 360px)) auto;
}

.ticket-page {
    background:
        linear-gradient(rgba(157, 200, 224, 0.34), rgba(237, 227, 183, 0.38)),
        url('/images/bg1.jpg');
    background-position: center center, center top;
    background-repeat: no-repeat, repeat-y;
    background-size: cover, calc(100% - clamp(84px, 18vw, 360px)) auto;
}

.location-page {
    background:
        linear-gradient(rgba(157, 200, 224, 0.34), rgba(237, 227, 183, 0.38)),
        url('/images/musicfarm4.jpg');
    background-position: center center, center top;
    background-repeat: no-repeat, repeat-y;
    background-size: cover, calc(100% - clamp(84px, 18vw, 360px)) auto;
}

.lineup-page {
    background:
        linear-gradient(rgba(157, 200, 224, 0.34), rgba(237, 227, 183, 0.38)),
        url('/images/bg2.jpg');
    background-position: center center, center top;
    background-repeat: no-repeat, repeat-y;
    background-size: cover, calc(100% - clamp(84px, 18vw, 360px)) auto;
}

.faq-page {
    background:
        linear-gradient(rgba(157, 200, 224, 0.34), rgba(237, 227, 183, 0.38)),
        url('/images/faqbg.jpg');
    background-position: center center, center top;
    background-repeat: no-repeat, repeat-y;
    background-size: cover, calc(100% - clamp(84px, 18vw, 360px)) auto;
}

.about-panel p {
    font-size: 1.02rem;
    line-height: 1.75;
}

.about-panel {
    background: #ffffff;
}

.about-panel h2,
.ticket-panel h2,
.location-panel h2 {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(28, 45, 55, 0.16);
}

.location-panel .faq-item:first-of-type {
    border-top: none;
}

.panel-button {
    margin-top: 10px;
    border: none;
    background: var(--ink);
    color: #fff;
    border-radius: 0;
    padding: 12px 16px;
    font-family: inherit;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.ticket-panel {
    background: #ffffff;
}

.faq-panel {
    background: #ffffff;
}

.faq-item {
    padding: 14px 0;
    border-top: 1px solid rgba(28, 45, 55, 0.16);
}

.faq-item h3 {
    margin: 0 0 8px;
    font-family: 'Newston', 'Times New Roman', serif;
    font-size: clamp(1.16rem, 2.5vw, 1.62rem);
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.faq-item p {
    margin: 0;
}

.partners-section {
    margin-top: 6px;
    background: #ffffff;
}

.partners-standalone {
    width: min(860px, 92vw);
    margin: 0 auto 70px;
}

.partners-section h2 {
    margin: 0 0 10px;
}

.partners-section p {
    margin: 0 0 14px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.partner-logo-block {
    min-height: 124px;
    border: 1px solid rgba(28, 45, 55, 0.3);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: none;
    text-align: center;
    padding: 14px 16px;
    background: rgba(157, 200, 224, 0.18);
}

.partner-logo-block img {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.partner-logo-block img[src$=".png"],
.partner-logo-block img[src$=".PNG"] {
    background: #ffffff;
    padding: 8px;
}

.location-panel {
    background: #ffffff;
}

.location-map-wrap {
    margin: 12px 0 16px;
    border: 1px solid rgba(28, 45, 55, 0.2);
    overflow: hidden;
}

.location-link {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid rgba(28, 45, 55, 0.35);
    color: var(--ink);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.7);
    transition: background 0.2s ease, color 0.2s ease;
}

.location-link:hover {
    background: var(--ink);
    color: #ffffff;
}

.location-map {
    display: block;
    width: 100%;
    height: clamp(180px, 30vh, 300px);
    border: 0;
}

.lineup-panel {
    background: #ffffff;
}

.section-page main.lineup-main {
    width: min(1420px, calc(100vw - clamp(84px, 18vw, 360px)));
    max-width: min(1420px, calc(100vw - clamp(84px, 18vw, 360px)));
}

.lineup-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.24fr) minmax(320px, 500px);
    align-items: start;
    gap: 34px;
}

.lineup-playlist-panel {
    background: #ffffff;
    position: sticky;
    top: calc(var(--header-height) + 14px);
}

.lineup-playlist-panel h3 {
    margin: 0 0 8px;
    font-family: 'Newston', 'Times New Roman', serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.2;
    font-size: clamp(1.35rem, 3.1vw, 2rem);
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(28, 45, 55, 0.16);
}

.lineup-playlist-panel p {
    margin: 0 0 12px;
    font-size: 0.95rem;
}

.playlist-embed {
    width: 100%;
    height: 640px;
    border: 0;
}

.lineup-artist {
    padding: 14px 0;
    border-top: 1px solid rgba(28, 45, 55, 0.16);
}

.lineup-artist:first-of-type {
    margin-top: 4px;
}

.lineup-artist h3 {
    margin: 0 0 8px;
    font-family: 'Newston', 'Times New Roman', serif;
    font-size: clamp(1.18rem, 2.6vw, 1.7rem);
    letter-spacing: 0.06em;
    line-height: 1.2;
}

.lineup-artist p {
    margin: 0;
}

.artist-photo {
    display: block;
    width: 100%;
    max-width: 460px;
    height: 260px;
    object-fit: cover;
    object-position: top center;
    margin: 0 0 10px;
    border: 1px solid rgba(28, 45, 55, 0.22);
}

.artist-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.artist-link {
    display: inline-block;
    padding: 7px 10px;
    border: 1px solid rgba(28, 45, 55, 0.3);
    text-decoration: none;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(157, 200, 224, 0.2);
    transition: background 0.2s ease, color 0.2s ease;
}

.artist-link:hover {
    background: var(--ink);
    color: #ffffff;
}

@media (max-width: 1280px) {
    .section-page main.lineup-main {
        width: min(1200px, calc(100vw - clamp(48px, 10vw, 220px)));
        max-width: min(1200px, calc(100vw - clamp(48px, 10vw, 220px)));
    }

    .lineup-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lineup-playlist-panel {
        position: static;
    }

    .playlist-embed {
        height: 520px;
    }
}

.location-gallery {
    margin: 14px 0 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.gallery-thumb {
    border: 1px solid rgba(28, 45, 55, 0.25);
    background: #ffffff;
    padding: 0;
    cursor: pointer;
}

.gallery-thumb img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(12, 22, 30, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-image {
    display: block;
    max-width: min(1100px, 94vw);
    max-height: 84vh;
    width: auto;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: #0e1a21;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    padding: 8px 12px;
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.lightbox-prev {
    left: calc((100vw - min(1100px, 94vw)) / 2 + 10px);
}

.lightbox-next {
    right: calc((100vw - min(1100px, 94vw)) / 2 + 10px);
}

.lightbox-nav:hover,
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ticket-form {
    margin-top: 16px;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-group label {
    margin-bottom: 6px;
    font-size: 0.95rem;
    font-weight: 700;
}

.form-group input,
.form-group select {
    width: 100%;
    border: 1px solid rgba(28, 45, 55, 0.24);
    background: #ffffff;
    color: var(--ink);
    padding: 11px 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    border-radius: 0;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 2px rgba(157, 200, 224, 0.45);
}

.form-group input.field-invalid,
.form-group select.field-invalid {
    border-color: #b24552;
    background: #fff7f8;
}

.form-message {
    display: none;
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 10px 12px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-message.success {
    display: block;
    background: #e7f4ec;
    border-color: #8ab89a;
    color: #184f2b;
}

.form-message.error {
    display: block;
    background: #f9e6e8;
    border-color: #c98b93;
    color: #6b1f2d;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 760px) {
    .landing-page {
        height: auto;
        min-height: 100vh;
        overflow: auto;
    }

    .landing-page .site-header {
        position: sticky;
        top: 0;
        height: auto;
        min-height: var(--header-height);
        flex: 0 0 auto;
    }

    .site-header {
        position: relative;
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
        gap: 8px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        z-index: 20;
        background: rgba(237, 227, 183, 0.97);
        border-bottom: 1px solid rgba(28, 45, 55, 0.12);
        padding: 14px 16px 18px;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .site-header.menu-open .site-nav {
        display: flex;
    }

    .site-header.menu-open .menu-toggle-bar {
        background: transparent;
    }

    .site-header.menu-open .menu-toggle-bar::before {
        transform: translateY(6px) rotate(45deg);
    }

    .site-header.menu-open .menu-toggle-bar::after {
        transform: translateY(-6px) rotate(-45deg);
    }

    .site-nav a {
        font-size: 0.88rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        padding: 4px 0;
        text-align: center;
    }

    main {
        width: min(1100px, 94vw);
    }

    .landing-main {
        grid-template-columns: 1fr;
        min-height: auto;
        height: auto;
        gap: 16px;
    }

    .landing-text {
        text-align: center;
    }

    .landing-text h1 {
        font-size: clamp(2rem, 9vw, 3.4rem);
    }

    .landing-poster {
        justify-self: center;
        width: min(100%, 640px);
    }

    .landing-poster img {
        width: 100%;
        max-height: 72vh;
    }

    .about-panel p {
        font-size: 0.98rem;
        line-height: 1.68;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .lineup-layout {
        grid-template-columns: 1fr;
    }

    .lineup-playlist-panel {
        position: static;
    }

    .playlist-embed {
        height: 560px;
    }

    .location-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-thumb img {
        height: 180px;
    }
}
