/* ========================================
   feeney/winthrop — Main Stylesheet
   Warm, understated folk-concert aesthetic
   ======================================== */

/* CSS Variables */
:root {
    --bg-white: #ffffff;
    --bg-light: #f5f6f4;
    --bg-warm: #faf8f4;
    --accent: #1f7a6f;
    --accent-hover: #155c54;
    --accent-light: #e7f3f1;
    --text-dark: #283230;
    --text-body: #4f5b58;
    --text-muted: #8a948f;
    --border: #e6eae8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --nav-height: 70px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

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

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

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

a:hover {
    color: var(--accent-hover);
}

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    color: var(--text-dark);
}

/* The wordmark — "feeney/winthrop" rendered as styled text */
.wordmark {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.wordmark .slash {
    color: var(--accent);
    font-style: italic;
    font-weight: 400;
    margin: 0 1px;
}

/* ========================================
   Navigation — Sticky
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4vw;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo .wordmark {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-left: auto;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 0;
    position: relative;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--accent) !important;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

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

/* ========================================
   Sections — General
   ======================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(31, 122, 111, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: #ffffff;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    height: 82vh;
    min-height: 440px;
    max-height: 880px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: 0 0 6vh;
    /* Anchor to the top: headroom above the heads, crop lands near the waist */
    background: url('../images/band-hero.webp') center top / cover no-repeat;
    position: relative;
    overflow: hidden;
}

/* Keep the photo bright; only a soft scrim at the bottom for the wordmark */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 45%,
        rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 5vw;
}

.hero-logo {
    font-size: clamp(2.8rem, 9vw, 6rem);
    line-height: 1;
    color: #ffffff;
    margin-bottom: 22px;
}

.hero-logo .slash {
    color: #7fd9cc;
}

.hero-content .tagline {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 1px;
}

/* Scroll indicator */
.scroll-indicator {
    display: inline-block;
    margin-top: 26px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

/* ========================================
   Concert Section — Featured Event
   ======================================== */
.concert-section {
    background: var(--bg-warm);
}

.concert-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 45px 40px;
    text-align: center;
}

.concert-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.concert-card h3 {
    font-size: 1.9rem;
    margin-bottom: 25px;
}

.concert-details {
    list-style: none;
    margin: 0 auto 28px;
    max-width: 480px;
    text-align: left;
}

.concert-details li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
    color: var(--text-body);
}

.concert-details li:last-child {
    border-bottom: none;
}

.concert-details .label {
    flex: 0 0 90px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 3px;
}

.concert-note {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 22px;
}

/* ========================================
   Band Section
   ======================================== */
.band-section {
    background: var(--bg-white);
}

.band-text {
    max-width: 820px;
    margin: 0 auto 45px;
}

.band-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-body);
    margin-bottom: 20px;
}

.band-text p:last-child {
    margin-bottom: 0;
}

.band-highlight {
    text-align: center;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--accent);
    max-width: 700px;
    margin: 0 auto 45px;
    line-height: 1.7;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.member-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 22px;
    transition: var(--transition);
}

.member-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.member-card .name {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.member-card .role {
    font-size: 0.9rem;
    color: var(--accent);
}

/* ========================================
   Music Section — Featured Album
   ======================================== */
.music-section {
    background: var(--bg-light);
}

.album-feature {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.album-cover {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.album-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.album-info .album-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 10px;
}

.album-info h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.album-info .album-date {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.album-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.store-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ========================================
   Videos Section — Click-to-load grid
   ======================================== */
.videos-section {
    background: var(--bg-white);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.video-card {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    border: none;
    cursor: pointer;
    display: block;
    padding: 0;
}

.video-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.video-thumb:hover::before {
    background: rgba(0, 0, 0, 0.35);
}

.video-thumb .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(31, 122, 111, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-thumb:hover .play-btn {
    background: var(--accent);
    transform: translate(-50%, -50%) scale(1.08);
}

.video-thumb .play-btn::after {
    content: '';
    border-style: solid;
    border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 4px;
}

.video-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}

.video-title {
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    background: #1a1a1a;
}

.videos-cta {
    text-align: center;
    margin-top: 45px;
}

/* ========================================
   CDs Page — Discography grid
   ======================================== */
.cd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 35px 28px;
}

.cd-card {
    text-align: center;
}

.cd-art {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
    aspect-ratio: 1 / 1;
    background: var(--bg-light);
}

.cd-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.cd-card:hover .cd-art img {
    transform: scale(1.04);
}

.cd-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.cd-year {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.cd-stores {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.cd-stores a {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--accent);
}

.cd-stores a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

/* ========================================
   Standalone Pages (cds.html, contact.html)
   ======================================== */
.page-main {
    min-height: calc(100vh - var(--nav-height));
    padding: 130px 0 90px;
    background: var(--bg-white);
}

.page-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 18px auto 0;
    border-radius: 2px;
}

.page-intro {
    font-size: 1.15rem;
    color: var(--text-body);
    line-height: 1.8;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 55px;
    max-width: 950px;
    margin: 0 auto;
    align-items: start;
}

.contact-aside h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.contact-aside p {
    margin-bottom: 24px;
    color: var(--text-body);
}

.contact-block {
    margin-bottom: 32px;
}

.contact-form {
    max-width: 650px;
}

.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.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.required-note {
    color: var(--accent);
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(31, 122, 111, 0.12);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    display: inline-block;
    padding: 14px 40px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(31, 122, 111, 0.3);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--text-dark);
    padding: 45px 0;
    text-align: center;
}

.footer-wordmark {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-wordmark .slash {
    color: #7fd9cc;
}

.footer-location {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.footer-links {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin: 0 10px;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    .container {
        padding: 0 6vw;
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 15px 20px;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 15px 0 !important;
    }

    /* Mobile Menu Toggle Animation */
    .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(6px, -6px);
    }

    /* Sections */
    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .concert-card {
        padding: 35px 24px;
    }

    .concert-card h3 {
        font-size: 1.5rem;
    }

    /* Album feature stacks */
    .album-feature {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
        text-align: center;
    }

    .store-links {
        justify-content: center;
    }

    /* Contact stacks */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .page-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .nav-logo .wordmark {
        font-size: 1.25rem;
    }

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

    .cd-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 16px;
    }

    .cd-title {
        font-size: 1rem;
    }
}
