/* ── Silk Road Festival Theme Styles ── */

:root {
    --srf-bg: hsl(35 45% 96%);
    --srf-fg: hsl(20 20% 15%);
    --srf-card: hsl(35 30% 93%);
    --srf-primary: hsl(18 60% 50%);
    --srf-primary-fg: hsl(35 45% 96%);
    --srf-secondary: hsl(42 55% 55%);
    --srf-muted: hsl(35 20% 88%);
    --srf-muted-fg: hsl(20 10% 45%);
    --srf-accent: hsl(345 55% 28%);
    --srf-accent-fg: hsl(35 45% 96%);
    --srf-border: hsl(35 20% 82%);
    --srf-gold: hsl(42 55% 55%);
    --srf-cream: hsl(35 45% 96%);
    --srf-burgundy: hsl(345 55% 28%);
    --srf-radius: 0.5rem;
}

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

body {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    background: var(--srf-bg);
    color: var(--srf-fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--srf-primary); text-decoration: none; }
a:hover { opacity: 0.85; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Buttons ── */
.srf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: var(--srf-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}
.srf-btn-primary {
    background: var(--srf-primary);
    color: var(--srf-primary-fg);
}
.srf-btn-primary:hover { opacity: 0.9; }
.srf-btn-outline {
    background: transparent;
    border: 2px solid var(--srf-cream);
    color: var(--srf-cream);
}
.srf-btn-outline:hover { background: rgba(255,255,255,0.1); }
.srf-btn-outline-primary {
    background: transparent;
    border: 2px solid var(--srf-primary);
    color: var(--srf-primary);
}
.srf-btn-outline-primary:hover { background: rgba(191,88,38,0.1); }
.srf-btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* ── Navbar ── */
.srf-navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: rgba(245, 241, 234, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--srf-border);
}
.srf-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}
.srf-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--srf-primary);
}
.srf-logo span { color: var(--srf-gold); }
.srf-nav-links { display: flex; align-items: center; gap: 0.25rem; }
.srf-nav-links a {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--srf-muted-fg);
    border-radius: var(--srf-radius);
    transition: all 0.2s;
}
.srf-nav-links a:hover, .srf-nav-links a.current { color: var(--srf-primary); background: rgba(191,88,38,0.1); }

.srf-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.srf-mobile-menu { display: none; }

@media (max-width: 768px) {
    .srf-nav-links { display: none; }
    .srf-mobile-toggle { display: block; }
    .srf-mobile-menu.open {
        display: block;
        background: var(--srf-bg);
        border-bottom: 1px solid var(--srf-border);
        padding-bottom: 1rem;
    }
    .srf-mobile-menu a {
        display: block;
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        font-weight: 500;
        color: var(--srf-muted-fg);
    }
    .srf-mobile-menu a:hover, .srf-mobile-menu a.current { color: var(--srf-primary); }
}

/* ── Hero ── */
.srf-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.srf-hero img.srf-hero-bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.srf-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(38,30,23,0.6) 0%, rgba(38,30,23,0.3) 50%, rgba(38,30,23,0.7) 100%);
}
.srf-hero-content {
    position: relative; z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 56rem;
}
.srf-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--srf-cream);
    margin-bottom: 1.5rem;
}
.srf-hero-content h1 span {
    background: linear-gradient(135deg, hsl(42 55% 55%), hsl(42 70% 65%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.srf-hero-content p {
    font-size: 1.25rem;
    color: rgba(245,241,234,0.8);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}
.srf-hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (min-width: 768px) {
    .srf-hero-content h1 { font-size: 4.5rem; }
}

/* ── Sections ── */
.srf-section { padding: 5rem 0; }
.srf-section-bg { background: var(--srf-bg); }
.srf-section-card { background: var(--srf-card); }
.srf-section-accent { background: var(--srf-accent); color: var(--srf-accent-fg); }

.srf-section-heading { text-align: center; margin-bottom: 3rem; }
.srf-section-heading h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.srf-section-heading .srf-divider {
    width: 5rem; height: 4px; background: var(--srf-gold);
    margin: 0 auto 1rem; border-radius: 2px;
}
.srf-section-heading p { color: var(--srf-muted-fg); max-width: 42rem; margin: 0 auto; }

@media (min-width: 768px) {
    .srf-section-heading h2 { font-size: 2.5rem; }
}

/* ── Grid ── */
.srf-grid { display: grid; gap: 1.5rem; }
.srf-grid-2 { grid-template-columns: 1fr; }
.srf-grid-3 { grid-template-columns: 1fr; }
.srf-grid-4 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
    .srf-grid-2 { grid-template-columns: repeat(2, 1fr); }
    .srf-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .srf-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .srf-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── Cards ── */
.srf-card {
    background: var(--srf-card);
    padding: 2rem;
    border-radius: var(--srf-radius);
    text-align: center;
    transition: box-shadow 0.3s;
}
.srf-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.srf-card-icon {
    width: 3.5rem; height: 3.5rem;
    border-radius: 50%;
    background: rgba(191,88,38,0.1);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}
.srf-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.srf-card p { font-size: 0.875rem; color: var(--srf-muted-fg); }
.srf-card-bg { background: var(--srf-bg); }

/* ── Image Cards ── */
.srf-img-card { overflow: hidden; border-radius: var(--srf-radius); }
.srf-img-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform 0.5s; }
.srf-img-card:hover img { transform: scale(1.05); }
.srf-img-card-body { padding: 1.5rem; background: var(--srf-bg); }
.srf-img-card-body h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.srf-img-card-body p { font-size: 0.875rem; color: var(--srf-muted-fg); }

/* ── Testimonials ── */
.srf-testimonial { background: var(--srf-card); padding: 2rem; border-radius: var(--srf-radius); }
.srf-stars { color: var(--srf-gold); margin-bottom: 1rem; font-size: 1rem; letter-spacing: 2px; }
.srf-testimonial blockquote { font-style: italic; color: var(--srf-muted-fg); font-size: 0.875rem; margin-bottom: 1.5rem; }
.srf-testimonial .srf-author { font-weight: 600; font-size: 0.875rem; }
.srf-testimonial .srf-role { font-size: 0.75rem; color: var(--srf-muted-fg); }

/* ── Forms ── */
.srf-form { background: var(--srf-card); padding: 2rem; border-radius: var(--srf-radius); }
.srf-form label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.25rem; }
.srf-form input, .srf-form textarea, .srf-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--srf-border);
    border-radius: var(--srf-radius);
    font-family: inherit;
    font-size: 0.875rem;
    background: var(--srf-bg);
    color: var(--srf-fg);
    transition: border-color 0.2s;
}
.srf-form input:focus, .srf-form textarea:focus, .srf-form select:focus {
    outline: none;
    border-color: var(--srf-primary);
    box-shadow: 0 0 0 3px rgba(191,88,38,0.15);
}
.srf-form-group { margin-bottom: 1.25rem; }
.srf-form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) {
    .srf-form-row { grid-template-columns: 1fr 1fr; }
}

/* ── Footer ── */
.srf-footer { background: var(--srf-accent); color: var(--srf-accent-fg); padding: 4rem 0; }
.srf-footer h3, .srf-footer h4 { margin-bottom: 1rem; }
.srf-footer p, .srf-footer li { font-size: 0.875rem; opacity: 0.8; }
.srf-footer a { color: var(--srf-accent-fg); opacity: 0.7; }
.srf-footer a:hover { opacity: 1; }
.srf-footer ul { list-style: none; }
.srf-footer li { margin-bottom: 0.5rem; }
.srf-footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.6;
}

.srf-contact-item { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; font-size: 0.875rem; }

/* ── Page Hero (inner pages) ── */
.srf-page-hero {
    padding: 6rem 0 3rem;
    background: var(--srf-card);
    text-align: center;
    margin-top: 5rem;
}
.srf-page-hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.srf-page-hero .srf-divider { width: 5rem; height: 4px; background: var(--srf-gold); margin: 0 auto 1rem; border-radius: 2px; }
.srf-page-hero p { color: var(--srf-muted-fg); max-width: 36rem; margin: 0 auto; }

@media (min-width: 768px) {
    .srf-page-hero h1 { font-size: 3.5rem; }
}

/* ── About page ── */
.srf-about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) {
    .srf-about-grid { grid-template-columns: 1fr 1fr; }
}
.srf-about-grid img { border-radius: var(--srf-radius); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.srf-about-text p { color: var(--srf-muted-fg); margin-bottom: 1rem; line-height: 1.7; }
.srf-mission-card {
    background: var(--srf-card);
    padding: 2rem;
    border-radius: var(--srf-radius);
    border-left: 4px solid var(--srf-primary);
}
.srf-mission-card.gold { border-left-color: var(--srf-gold); }
.srf-mission-card h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; color: var(--srf-primary); }
.srf-mission-card.gold h3 { color: var(--srf-gold); }
.srf-mission-card p { color: var(--srf-muted-fg); line-height: 1.7; }

/* ── Festival page hero ── */
.srf-festival-hero {
    position: relative; padding: 8rem 0; overflow: hidden; text-align: center; margin-top: 5rem;
}
.srf-festival-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.srf-festival-hero .srf-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38,30,23,0.6), rgba(38,30,23,0.3), rgba(38,30,23,0.7)); }
.srf-festival-hero .container { position: relative; z-index: 10; }
.srf-festival-hero h1 { font-size: 3rem; font-weight: 700; color: var(--srf-cream); margin-bottom: 1.5rem; }
.srf-festival-hero p { color: rgba(245,241,234,0.8); font-size: 1.125rem; max-width: 42rem; margin: 0 auto 2rem; }
.srf-festival-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; color: rgba(245,241,234,0.9); font-size: 0.875rem; }

@media (min-width: 768px) {
    .srf-festival-hero h1 { font-size: 4rem; }
}

/* ── Experience cards ── */
.srf-exp-card {
    display: flex; flex-direction: column; gap: 0; background: var(--srf-card); border-radius: var(--srf-radius); overflow: hidden;
}
.srf-exp-card img { height: 12rem; object-fit: cover; width: 100%; }
.srf-exp-card-body { padding: 1.5rem; }
.srf-exp-card-body h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.srf-exp-card-body p { font-size: 0.875rem; color: var(--srf-muted-fg); }

@media (min-width: 640px) {
    .srf-exp-card { flex-direction: row; }
    .srf-exp-card img { width: 12rem; height: auto; }
}

/* ── Gallery ── */
.srf-gallery-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
.srf-gallery-filters button, .srf-gallery-filters a {
    padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500;
    border: none; cursor: pointer; background: var(--srf-muted); color: var(--srf-muted-fg); transition: all 0.2s;
}
.srf-gallery-filters button.active, .srf-gallery-filters a.active {
    background: var(--srf-primary); color: var(--srf-primary-fg);
}
.srf-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 1024px) { .srf-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.srf-gallery-item { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--srf-radius); }
.srf-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.srf-gallery-item:hover img { transform: scale(1.05); }

/* ── Pass cards ── */
.srf-pass-card {
    position: relative; cursor: pointer; border-radius: var(--srf-radius); padding: 2rem;
    border: 2px solid var(--srf-border); background: var(--srf-card); text-align: center; transition: all 0.3s;
}
.srf-pass-card:hover, .srf-pass-card.selected { border-color: var(--srf-primary); background: rgba(191,88,38,0.03); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.srf-pass-card .srf-badge {
    position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
    background: var(--srf-gold); color: var(--srf-bg); font-size: 0.75rem; font-weight: 700;
    padding: 0.25rem 0.75rem; border-radius: 9999px;
}
.srf-pass-card h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1rem; }
.srf-pass-price { font-size: 2rem; font-weight: 700; color: var(--srf-primary); margin: 0.5rem 0; }
.srf-pass-per { font-size: 0.75rem; color: var(--srf-muted-fg); }
.srf-pass-features { list-style: none; text-align: left; margin-top: 1.5rem; }
.srf-pass-features li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--srf-muted-fg); margin-bottom: 0.75rem; }
.srf-pass-features li::before { content: '✓'; color: var(--srf-primary); font-weight: 700; flex-shrink: 0; }

/* ── Order summary ── */
.srf-order-summary {
    background: var(--srf-muted); padding: 1rem; border-radius: var(--srf-radius);
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem;
}
.srf-order-total { font-size: 1.5rem; font-weight: 700; color: var(--srf-primary); }

/* ── Benefit list ── */
.srf-benefit-list { max-width: 42rem; margin: 0 auto; }
.srf-benefit-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.srf-benefit-item::before { content: '✓'; color: var(--srf-primary); font-weight: 700; font-size: 1.125rem; flex-shrink: 0; margin-top: 0.125rem; }
.srf-benefit-item p { color: var(--srf-muted-fg); }

/* ── Toast / flash messages ── */
.srf-flash {
    padding: 1rem 1.5rem; border-radius: var(--srf-radius); margin-bottom: 1.5rem; font-size: 0.875rem; font-weight: 500;
}
.srf-flash-success { background: hsl(142 70% 90%); color: hsl(142 70% 25%); border: 1px solid hsl(142 70% 70%); }
.srf-flash-error { background: hsl(0 70% 93%); color: hsl(0 70% 30%); border: 1px solid hsl(0 70% 70%); }

/* ── Contact ── */
.srf-contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .srf-contact-grid { grid-template-columns: 1fr 1fr; } }
.srf-map { border-radius: var(--srf-radius); overflow: hidden; border: 1px solid var(--srf-border); margin-top: 2rem; }

/* ── Utilities ── */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }
.max-w-lg { max-width: 32rem; margin-left: auto; margin-right: auto; }
