/* =========================================
   GREEN MOUNTAIN BOY — THEME VARIABLES
   Edit colors here, nowhere else needed.
========================================= */
:root {
    /* Brand colors */
    --brand-rust: #B5482F;
    --brand-rust-light: #C95A40;
    --brand-gold: #C9A227;

    /* Section background colors — change these to re-theme each block */
    --bg-hero-overlay-top: rgba(14, 26, 20, 0.45);
    --bg-hero-overlay-bottom: rgba(14, 26, 20, 0.88);
    --bg-light: #F3ECDD;      /* About, Contact */
    --bg-slate: #4F6A6E;      /* Music */
    --bg-charcoal: #1B1B1B;   /* Videos */
    --bg-accent: #B5482F;     /* Connect */
    --bg-footer: #0E1A14;     /* Footer */
    --bg-nav-scrolled: rgba(14, 26, 20, 0.92);

    /* Text colors */
    --text-on-dark: #F3ECDD;
    --text-on-dark-muted: #C9C2B4;
    --text-on-light: #20231F;
    --text-on-light-muted: #5A5A52;
    --text-on-accent: #F3ECDD;

    /* Fonts */
    --font-display: 'Fraunces', serif;
    --font-body: 'Work Sans', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

/* =========================================
   BASE
========================================= */
body {
    font-family: var(--font-body);
    background: var(--bg-footer);
    color: var(--text-on-dark);
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; }
a { text-decoration: none; }
.py-6 { padding-top: 6rem; padding-bottom: 6rem; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin-bottom: 14px;
}
.eyebrow-dark { color: var(--brand-rust); }
.eyebrow-on-accent { color: var(--text-on-dark); opacity: 0.85; }

/* =========================================
   SECTION BACKGROUNDS
   Each section is one self-contained block,
   change its variable above and it updates here.
========================================= */
.section-light { background: var(--bg-light); color: var(--text-on-light); }
.section-light .lead-text { color: var(--text-on-light-muted); }
.section-slate { background: var(--bg-slate); color: var(--text-on-dark); }
.section-charcoal { background: var(--bg-charcoal); color: var(--text-on-dark); }
.section-accent { background: var(--bg-accent); color: var(--text-on-accent); }

/* =========================================
   BUTTONS
========================================= */
.btn-brand-primary {
    background: var(--brand-rust);
    border-color: var(--brand-rust);
    color: var(--text-on-dark);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 0.75rem 1.75rem;
}
.btn-brand-primary:hover { background: var(--brand-rust-light); border-color: var(--brand-rust-light); color: var(--text-on-dark); }
.btn-brand-ghost {
    background: transparent;
    border: 1px solid rgba(243,236,221,0.3);
    color: var(--text-on-dark);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 0.75rem 1.75rem;
}
.btn-brand-ghost:hover { border-color: var(--brand-gold); color: var(--brand-gold); }
.section-light .btn-brand-ghost { border-color: rgba(32,35,31,0.3); color: var(--text-on-light); }
.section-light .btn-brand-ghost:hover { border-color: var(--brand-rust); color: var(--brand-rust); }

/* =========================================
   NAV
========================================= */
#main-nav { background: transparent; transition: background 0.25s ease, padding 0.25s ease; padding: 14px 0; }
#main-nav.scrolled { background: var(--bg-nav-scrolled); backdrop-filter: blur(6px); padding: 8px 0; }
.brand-text { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--text-on-dark); }
#main-nav .nav-link { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-on-dark-muted); }
#main-nav .nav-link:hover { color: var(--brand-gold); }

/* =========================================
   HERO
========================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 100px;
    padding-bottom: 140px;
    overflow: hidden;
}
@media (max-width: 768px) {
    .hero-section { background-image: url('../images/hero-bg-mobile.jpg'); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--bg-hero-overlay-top), var(--bg-hero-overlay-bottom));
}
.hero-title { font-size: clamp(2.8rem, 7vw, 5.5rem); color: var(--text-on-dark); margin-bottom: 1rem; }
.hero-sub { font-size: 1.15rem; color: var(--text-on-dark-muted); max-width: 480px; margin-bottom: 2rem; }

.ridge { position: absolute; bottom: -1px; left: 0; width: 100%; height: 100px; }
.ridge-path { fill: var(--bg-light); opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease, transform 0.8s ease; }
.hero-section.loaded .ridge-path { opacity: 1; transform: translateY(0); }

/* =========================================
   ABOUT
========================================= */
.about-img-wrap { border-radius: 4px; overflow: hidden; background: var(--bg-slate); }

/* =========================================
   MUSIC / VIDEOS
========================================= */
.music-embed-wrap { border-radius: 8px; overflow: hidden; background: var(--bg-light); padding: 4px; }
.video-card { position: relative; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-cc-badge {
    position: absolute; top: 12px; right: 12px;
    font-family: var(--font-mono); font-size: 0.7rem;
    background: rgba(0,0,0,0.7); color: var(--text-on-dark);
    padding: 3px 7px; border-radius: 2px;
    border: 1px solid rgba(243,236,221,0.2);
    pointer-events: none;
}

/* =========================================
   CONNECT
========================================= */
.social-row { display: flex; justify-content: center; gap: 28px; }
.social-row a { width: 26px; height: 26px; color: var(--text-on-accent); display: inline-block; transition: transform 0.15s ease, opacity 0.15s ease; }
.social-row a:hover { opacity: 0.75; transform: translateY(-2px); }
.social-row svg { width: 100%; height: 100%; }

/* =========================================
   CONTACT FORM
========================================= */
.contact-form { max-width: 560px; }
.contact-form .form-label { font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-on-light-muted); }
.contact-form .form-control { border-radius: 3px; border-color: rgba(32,35,31,0.2); }
.contact-form .form-control:focus { border-color: var(--brand-gold); box-shadow: 0 0 0 0.2rem rgba(201,162,39,0.2); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#form-status { margin-top: 14px; font-family: var(--font-mono); font-size: 0.85rem; min-height: 1.2em; }
#form-status.success { color: #2E7D4F; }
#form-status.error { color: var(--brand-rust); }

/* =========================================
   FOOTER
========================================= */
footer { background: var(--bg-footer); border-top: 1px solid rgba(243,236,221,0.1); }
.footer-copy { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-on-dark-muted); }

/* =========================================
   REVEAL ANIMATION
========================================= */
.about-img-wrap, .col-lg-7, .music-embed-wrap, .video-card, .social-row, .contact-form {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.visible { opacity: 1 !important; transform: translateY(0) !important; }

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 991px) {
    #navMenu { background: var(--bg-nav-scrolled); margin-top: 12px; padding: 16px; border-radius: 4px; }
}
@media (max-width: 576px) {
    .py-6 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}

/* =========================================
   ACCESSIBILITY
========================================= */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
:focus-visible { outline: 2px solid var(--brand-gold); outline-offset: 3px; }
