*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #FAF7F2;
    --dark: #1a1a18;
    --warm-dark: #2c2a25;
    --olive: #5c6b3c;
    --olive-light: #7a8c56;
    --gold: #c9a84c;
    --gold-light: #e0c872;
    --text: #3d3b36;
    --text-muted: #7a7770;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background: url('/images/banner.jpeg') center 40% / cover no-repeat;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 24, 0.05) 0%,
        rgba(26, 26, 24, 0.15) 40%,
        rgba(26, 26, 24, 0.7) 75%,
        rgba(26, 26, 24, 0.92) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 2rem 5rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-meta span {
    letter-spacing: 0.03em;
}

.hero-meta .sep {
    color: var(--gold);
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* ---- NAV BAR (minimal) ---- */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s, padding 0.3s;
}

.topbar.scrolled {
    background: rgba(26, 26, 24, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
}

.topbar-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.topbar-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.6rem 1.5rem;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    transition: all 0.25s;
}

.topbar-link:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ---- INTRO SECTION ---- */
.intro {
    padding: 6rem 2rem;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.intro h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.intro p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1.2rem;
}

/* ---- PEOPLE PHOTO STRIP (reverse scroll) ---- */
.photo-strip-reverse .photo-strip-track {
    animation: scrollPhotosReverse 50s linear infinite;
}

@keyframes scrollPhotosReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ---- LIGHTBOX ---- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-spinner {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---- PHOTO STRIP (horizontal scroll) ---- */
.photo-strip {
    padding: 0;
    overflow: hidden;
    background: var(--dark);
}

.photo-strip-track {
    display: flex;
    animation: scrollPhotos 40s linear infinite;
    width: max-content;
}

.photo-strip-track:hover {
    animation-play-state: paused;
}

.photo-strip-item {
    flex: 0 0 auto;
    height: 280px;
    margin-right: 4px;
    background: var(--warm-dark);
    overflow: hidden;
}

.photo-strip-item img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.photo-strip-item img.loaded {
    opacity: 1;
}

@keyframes scrollPhotos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .photo-strip-item {
        height: 180px;
    }
}

/* ---- FEATURES GRID ---- */
.features-section {
    padding: 0 2rem 6rem;
    max-width: 900px;
    margin: 0 auto;
}

.features-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 0.6rem;
}

.features-section > p {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid #e5e2dc;
}

.feature-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.feature-dash {
    width: 18px;
    height: 2px;
    background: var(--gold);
    flex-shrink: 0;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.4;
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-item:last-child {
        border-bottom: none;
    }
    .feature-item:nth-last-child(2) {
        border-bottom: 1px solid #e5e2dc;
    }
}

/* ---- DETAILS STRIP ---- */
.details-strip {
    background: var(--warm-dark);
    color: #fff;
    padding: 4rem 2rem;
}

.details-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.detail-block h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.detail-block p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* ---- WHAT TO EXPECT ---- */
.expect {
    padding: 6rem 2rem;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.expect h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.expect p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1.2rem;
}

.expect p strong {
    color: var(--text);
}

/* ---- CTA BAND ---- */
.cta-band {
    position: relative;
    padding: 6rem 2rem;
    text-align: center;
    background: url('/images/banner.jpeg') center 60% / cover no-repeat;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 24, 0.78);
}

.cta-band-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-band h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-band p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ---- SECTION HEADING ---- */
.section-heading {
    text-align: center;
    padding: 3.5rem 2rem 1.5rem;
    background: var(--dark);
}

.section-heading h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.section-heading-light {
    background: var(--cream);
    padding: 3.5rem 2rem 1.5rem;
}

.section-heading-light h2 {
    color: var(--dark);
}

/* ---- BELL TENT SECTION ---- */
.tents-section {
    padding: 0 2rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tents-section-heading {
    text-align: center;
    padding: 6rem 2rem 1.5rem;
}

.tents-section-heading h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.tents-section-heading p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.tent-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.tent-photos img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 2px;
    background: var(--warm-dark);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tent-photos img.loaded {
    opacity: 1;
}

.tent-pricing {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.tent-pricing-card {
    background: #fff;
    border: 1px solid #e5e2dc;
    border-radius: 6px;
    padding: 2.5rem 2rem;
    text-align: center;
}

.tent-pricing-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.tent-pricing-card .card-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tent-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid #f0ede8;
}

.tent-price-row:last-child {
    border-bottom: none;
}

.tent-price-label {
    font-size: 0.95rem;
    color: var(--text);
}

.tent-price-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

@media (max-width: 768px) {
    .tent-photos {
        grid-template-columns: 1fr 1fr;
    }

    .tent-pricing {
        grid-template-columns: 1fr;
    }
}

/* ---- TICKETS (inline, password-gated) ---- */
.tickets {
    padding: 6rem 2rem 5rem;
    scroll-margin-top: 80px; /* leave room under fixed topbar when scrolled to */
    background: var(--cream);
}

.tickets-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.tickets h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.tickets-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.tickets-gate {
    max-width: 460px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e5e2dc;
    border-radius: 6px;
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 12px rgba(26, 26, 24, 0.04);
}

.tickets-gate.hidden {
    display: none;
}

.tickets-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    text-align: left;
}

.tickets-input-row {
    display: flex;
    gap: 0.6rem;
    align-items: stretch;
}

.tickets-input {
    flex: 1 1 auto;
    min-width: 0;
    font-family: inherit;
    font-size: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid #d6d2c9;
    border-radius: 4px;
    background: #fff;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tickets-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
}

.tickets-submit {
    flex: 0 0 auto;
    padding: 0.85rem 1.8rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.tickets-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

.tickets-error {
    min-height: 1.2em;
    margin-top: 0.9rem;
    font-size: 0.9rem;
    color: #b43838;
    text-align: left;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tickets-error.visible {
    opacity: 1;
}

.tickets-embed {
    max-width: 900px;
    margin: 0 auto;
    background: var(--cream);
    border-radius: 6px;
}

.tickets-embed[hidden] {
    display: none;
}

@media (max-width: 560px) {
    .tickets-input-row {
        flex-direction: column;
    }
    .tickets-submit {
        padding: 0.95rem 1rem;
    }
}

/* ---- FLOATING CTA ---- */
.floating-cta {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(5rem);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.floating-cta.docked {
    opacity: 0;
    transform: translateX(-50%) translateY(-2rem);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-cta .btn {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.floating-cta .btn:hover {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
}

/* ---- FOOTER ---- */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.5);
    padding: 3rem 2rem;
    text-align: center;
    font-size: 0.85rem;
}

.footer a.contact-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: color 0.2s, border-color 0.2s;
}

.footer a.contact-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.footer .admin-link {
    display: inline-block;
    margin-top: 2rem;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 1.5rem 3.5rem;
    }

    .hero-meta {
        gap: 1rem;
        flex-direction: column;
    }

    .hero-meta .sep {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .details-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .topbar {
        padding: 1rem 1.5rem;
    }
}
