/* ========================================
   Luke Holton — Pianist / Composer
   Single-page site. Dark, full-bleed sections
   with white text. Styled after desertsky.com.
   ======================================== */

:root {
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.75);
    --accent: #c9a24b;            /* warm gold */
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --bg-dark: #0e0e10;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;     /* offset for fixed header on anchor jumps */
}

body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 6vw;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover { opacity: 0.8; }

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    line-height: 1.2;
}

/* ========================================
   Header / Navigation (fixed, translucent)
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.3s ease, padding 0.3s ease;
    padding: 18px 0;
}

.site-header.scrolled {
    background: rgba(14, 14, 16, 0.92);
    backdrop-filter: blur(8px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 34px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 0;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   Generic section
   ======================================== */
.section {
    position: relative;
    padding: 110px 0;
}

.section-bg {
    position: relative;
    overflow: hidden;
}

/* Two-layer background: dimmed image + dark overlay */
.section-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    z-index: 0;
}

.section-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.section-bg .container { position: relative; z-index: 2; }

#bio.section-bg::before { background-image: url('../images/bio-bg.webp'); }
#contact.section-bg::before { background-image: url('../images/contact-bg.webp'); }

.section-heading {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 35px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.section-heading .rule {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 14px auto 0;
}

/* ========================================
   Hero
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero-bg.webp') center/cover no-repeat;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 6vw;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 4.25rem;
    font-weight: 600;
    font-style: italic;
    line-height: 1.05;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 14px;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6);
}

.hero .tagline {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero .accent-line {
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin: 28px auto;
}

.hero-cta {
    display: inline-flex;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 13px 32px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--accent);
}

.btn-primary {
    background: var(--accent);
    color: #1a1a1a;
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
    opacity: 1;
}

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

.btn-outline:hover {
    background: #fff;
    color: #1a1a1a;
    opacity: 1;
}

/* ========================================
   Bio
   ======================================== */
.bio-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: 50px;
    align-items: center;
}

.bio-photo {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.bio-text p {
    margin-bottom: 18px;
    color: var(--text-muted);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.bio-text p:first-child { color: var(--text-light); }

/* ========================================
   Performances
   ======================================== */
.events-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 760px;
    margin: 0 auto;
}

.event-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 30px 26px;
    text-align: center;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.event-day {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.event-card p {
    color: var(--text-muted);
    margin-bottom: 4px;
}

.events-note {
    text-align: center;
    margin-top: 28px;
    color: var(--text-muted);
    font-style: italic;
}

/* ========================================
   Contact
   ======================================== */
.contact-intro {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 35px;
    color: var(--text-muted);
}

.contact-intro a { color: var(--accent); text-decoration: underline; }

.contact-form {
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group { flex: 1; }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.required-note { font-weight: 400; opacity: 0.5; font-size: 0.85rem; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    color: #222;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.35);
}

.form-group textarea { resize: vertical; }

.contact-form .btn-submit {
    display: block;
    margin: 0 auto;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: #000;
    text-align: center;
    padding: 40px 0;
}

.site-footer .location { font-size: 1rem; letter-spacing: 1px; }

.site-footer .copyright {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-top: 12px;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .navbar .container { justify-content: flex-end; }

    .mobile-menu-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: rgba(14, 14, 16, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 36px;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active { transform: translateX(0); }

    .nav-menu a { font-size: 1.1rem; }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero h1 { font-size: 4rem; letter-spacing: 1px; }
    .hero .tagline { font-size: 1.1rem; }

    .section { padding: 80px 0; }
    .section-heading { font-size: 1.7rem; }

    .bio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bio-photo { max-width: 360px; margin: 0 auto; }

    .form-row { flex-direction: column; gap: 0; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 3rem; }
}
