/* ============================================
   MUDDY RIVER MUSIC — Stylesheet
   Palette: Emerald Green + Cream
   ============================================ */

:root {
    --emerald-950: #042f23;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #faf8f5;
    --cream-100: #f5f0e8;
    --cream-200: #ece4d6;
    --cream-300: #e0d5c4;
    --warm-800: #2d2a26;
    --warm-700: #3d3935;
    --warm-600: #5c5650;
    --warm-500: #7a726a;
    --warm-400: #9e958c;
    --gold-500: #c49a6c;
    --gold-600: #b08960;
    --white: #ffffff;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(6,78,59,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(6,78,59,0.1), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(6,78,59,0.12), 0 4px 12px rgba(0,0,0,0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--warm-800);
    background: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250,248,245,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 72px;
    gap: 32px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--emerald-900);
    letter-spacing: -0.01em;
}
.nav-logo-icon { color: var(--emerald-700); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.nav-links a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--warm-700);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--emerald-700); background: rgba(6,78,59,0.06); }
.nav-cta {
    background: var(--emerald-800) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    border-radius: var(--radius-sm) !important;
}
.nav-cta:hover { background: var(--emerald-700) !important; }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--warm-700);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream-50);
        flex-direction: column;
        padding: 16px 24px;
        gap: 4px;
        border-bottom: 1px solid var(--cream-200);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform var(--transition), opacity var(--transition);
        pointer-events: none;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-links a { padding: 12px 16px; width: 100%; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--emerald-800);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(6,78,59,0.25);
}
.btn-primary:hover {
    background: var(--emerald-700);
    box-shadow: 0 4px 16px rgba(6,78,59,0.35);
    transform: translateY(-1px);
}
.btn-secondary {
    background: transparent;
    color: var(--emerald-800);
    border: 2px solid var(--emerald-800);
}
.btn-secondary:hover {
    background: var(--emerald-800);
    color: var(--white);
}
.btn-light {
    background: var(--white);
    color: var(--emerald-900);
    box-shadow: var(--shadow-md);
}
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-full { width: 100%; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--warm-800);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.section-sub {
    font-size: 1.1rem;
    color: var(--warm-500);
    max-width: 540px;
    line-height: 1.7;
}
.section-header { margin-bottom: 56px; }

/* ============================================
   HERO
   ============================================ */
.hero {
    padding-top: 72px;
    background: var(--cream-50);
    overflow: hidden;
    position: relative;
}
.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 20px;
    padding: 6px 14px;
    background: rgba(6,78,59,0.08);
    border-radius: 20px;
}
.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--warm-800);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero-headline em {
    font-style: italic;
    color: var(--emerald-700);
}
.hero-sub {
    font-size: 1.1rem;
    color: var(--warm-600);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 480px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}
.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--warm-600);
}
.trust-item svg { color: var(--emerald-600); flex-shrink: 0; }

.hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 600/750;
    box-shadow: var(--shadow-lg);
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    background: var(--white);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.badge-number {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--warm-400);
}
.badge-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--emerald-900);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--cream-100);
}
.hero-wave svg { width: 100%; height: 60px; display: block; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-image { max-height: 420px; aspect-ratio: auto; }
    .hero-image img { object-fit: cover; }
}

@media (max-width: 480px) {
    .hero-grid { padding: 40px 24px 60px; }
    .hero-headline { font-size: 1.85rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: var(--cream-100);
    padding: 88px 0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--cream-200);
    transition: all var(--transition);
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--emerald-200, #a7f3d0);
}
.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6,78,59,0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    color: var(--emerald-700);
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--warm-800);
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.92rem;
    color: var(--warm-500);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .services-grid { grid-template-columns: 1fr; }
    .services { padding: 64px 0; }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--cream-50);
    padding: 88px 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 560/640;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-content .section-title { margin-bottom: 20px; }
.about-content > p {
    font-size: 1rem;
    color: var(--warm-600);
    line-height: 1.75;
    margin-bottom: 16px;
}
.about-stats {
    display: flex;
    gap: 32px;
    margin: 28px 0 32px;
    flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-800);
}
.stat-label {
    font-size: 0.82rem;
    color: var(--warm-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-image { max-height: 400px; aspect-ratio: auto; }
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    background: var(--cream-100);
    padding: 88px 0;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 480/360;
    box-shadow: var(--shadow-sm);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.05); }

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CTA
   ============================================ */
.cta {
    background: var(--emerald-900);
    padding: 96px 0;
    text-align: center;
}
.cta-inner { max-width: 700px; margin: 0 auto; }
.cta-eyebrow { color: var(--emerald-400, #6ee7b7); }
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.cta > .container > .cta-inner > p {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--cream-50);
    padding: 88px 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}
.contact-intro {
    font-size: 1rem;
    color: var(--warm-500);
    line-height: 1.7;
    margin-bottom: 32px;
}
.contact-details { margin-bottom: 32px; }
.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6,78,59,0.08);
    border-radius: var(--radius-sm);
    color: var(--emerald-700);
    flex-shrink: 0;
}
.contact-item strong {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--warm-800);
    margin-bottom: 2px;
}
.contact-item span,
.contact-item a {
    font-size: 0.95rem;
    color: var(--warm-600);
}
.contact-item a:hover { color: var(--emerald-700); text-decoration: underline; }

.contact-hours {
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}
.contact-hours strong {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--warm-800);
    margin-bottom: 12px;
}
.contact-hours ul li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.9rem;
    padding: 6px 0;
    color: var(--warm-600);
    border-bottom: 1px solid var(--cream-100);
}
.contact-hours ul li:last-child { border-bottom: none; }
.contact-hours ul li span:last-child { font-weight: 600; color: var(--warm-700); }

/* Form */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}
.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--warm-800);
    margin-bottom: 24px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--warm-700);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--warm-800);
    background: var(--cream-50);
    border: 1.5px solid var(--cream-200);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald-600);
    box-shadow: 0 0 0 3px rgba(5,150,105,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    background: rgba(6,78,59,0.08);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--emerald-800);
}
.form-success.show { display: flex; }
.form-success svg { color: var(--emerald-600); flex-shrink: 0; }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   MAP
   ============================================ */
.map-wrap {
    border-top: 1px solid var(--cream-200);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--emerald-950);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}
.footer-logo { margin-bottom: 16px; color: var(--white); }
.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    max-width: 280px;
}
.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li span { font-size: 0.9rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   REVEAL ANIMATIONS (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}
