/* /public/css/home.css */

/* =========================================================
   Hero Section
   ========================================================= */

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            160deg,
            rgba(0,0,0,0.20) 0%,
            rgba(0,0,0,0.30) 40%,
            rgba(0,0,0,0.60) 100%
    );
}

.form-success {
    text-align: center;
    padding: 20px;
    background: #e6f7e6;
    color: #2e7d32;
}

/* =========================================================
   Hero Title — Bottom Right
   ========================================================= */

.hero-title {
    position: absolute;
    bottom: 100px;
    right: 8%;
    text-align: right;
    color: white;
    z-index: 2;
}

.hero-title h1 {
    font-size: 64px;
    margin: 0 0 8px 0;
    font-family: "Times New Roman", Times, serif;
    font-weight: bold;
    letter-spacing: -1px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

.hero-title p {
    font-size: 20px;
    letter-spacing: 1px;
    margin: 0 0 24px 0;
    text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}

/* =========================================================
   Listen Button
   ========================================================= */

.listen-btn {
    display: inline-block;
    padding: 10px 32px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-family: "Times New Roman", Times, serif;
    font-size: 16px;
    letter-spacing: 2px;
    transition: background 0.2s ease, color 0.2s ease;
}

.listen-btn:hover {
    background: white;
    color: #111;
}

/* =========================================================
   Shows Section
   ========================================================= */

.home-shows-section {
    background: var(--cream);
    padding: 80px 0 60px;
}

.home-shows-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px;
}

.home-shows-heading {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--brown);
    margin: 0 0 36px 0;
    opacity: 0.6;
}

.home-show-row {
    display: grid;
    grid-template-columns: 90px 1fr auto auto;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(74, 58, 46, 0.15);
    transition: opacity 0.2s ease;
}

.home-show-row:first-of-type {
    border-top: 1px solid rgba(74, 58, 46, 0.15);
}

.home-show-row.no-shows {
    grid-template-columns: 1fr;
    opacity: 0.5;
    font-size: 15px;
    letter-spacing: 1px;
}

.home-show-date {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.show-day {
    font-size: 11px;
    letter-spacing: 2px;
    opacity: 0.55;
    font-weight: 400;
}

.show-month-day {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--brown);
}

.home-show-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/*
 * Lock the show-title link to the non-link look Nellie wanted on 2026-04-17:
 * no color change on :visited, no underline on :hover. Cursor stays a pointer,
 * so it still reads as clickable.
 */
.home-show-title,
.home-show-title:link,
.home-show-title:visited,
.home-show-title:hover,
.home-show-title:active,
.home-show-title:focus {
    font-family: "Cormorant Garamond", serif;
    font-size: 19px;
    font-weight: 500;
    color: var(--brown);
    text-decoration: none;
    letter-spacing: 0.3px;
    line-height: 1.3;
    margin-bottom: 3px;
}

.home-show-venue {
    font-size: 14px;
    font-weight: 400;
    color: var(--brown);
    opacity: 0.85;
}

.home-show-location {
    font-size: 13px;
    opacity: 0.6;
    letter-spacing: 0.5px;
}

.home-show-time {
    font-size: 13px;
    opacity: 0.55;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.home-show-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Tickets button */
.tickets-btn {
    display: inline-block;
    padding: 7px 18px;
    border: 1px solid var(--brown);
    color: var(--brown);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.tickets-btn:hover {
    background: var(--brown);
    color: var(--cream);
}

/* Add to Calendar dropdown */
.cal-dropdown {
    position: relative;
}

.cal-btn {
    padding: 7px 14px;
    border: 1px solid rgba(74, 58, 46, 0.35);
    background: none;
    color: var(--brown);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: "Times New Roman", Times, serif;
    white-space: nowrap;
    transition: border-color 0.2s ease, background 0.2s ease;
    border-radius: 0;
}

.cal-btn:hover {
    border-color: var(--brown);
    background: rgba(74, 58, 46, 0.06);
}

.cal-dropdown-menu {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    right: 0;
    background: #fff;
    border: 1px solid rgba(74, 58, 46, 0.2);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    min-width: 170px;
    z-index: 100;
    border-radius: 4px;
    overflow: hidden;
}

.cal-dropdown-menu a {
    display: block;
    padding: 11px 16px;
    font-size: 13px;
    color: var(--brown);
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: background 0.15s ease;
}

.cal-dropdown-menu a:hover {
    background: var(--cream);
}

.cal-dropdown.open .cal-dropdown-menu {
    display: block;
}

/* =========================================================
   Music Section (home)
   ========================================================= */

.home-music-section {
    background: var(--cream);
}

.home-music-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 40px 0;
}

.home-music-heading {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--brown);
    margin: 0;
    opacity: 0.6;
}

/* First album row sits right under the heading — shrink its top padding */
.home-music-section .album-covers-section:first-of-type {
    padding-top: 36px;
}

/* =========================================================
   Songwriting Section (home)
   ========================================================= */

.home-songwriting-section {
    background: rgba(74, 58, 46, 0.06);
    padding: 80px 0;
}

.home-songwriting-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.home-songwriting-heading {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--brown);
    margin: 0 0 36px 0;
    opacity: 0.6;
}

.songwriting-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.songwriting-col h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
    font-weight: 400;
    margin: 0 0 12px 0;
    color: var(--brown);
    letter-spacing: 0.5px;
}

.songwriting-col p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--brown);
    opacity: 0.85;
    margin: 0 0 24px 0;
}

.songwriting-embed iframe {
    border-radius: 12px;
    display: block;
    width: 100%;
}

.commission-btn {
    display: inline-block;
    padding: 11px 30px;
    border: 1px solid var(--brown);
    color: var(--brown);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.commission-btn:hover {
    background: var(--brown);
    color: var(--cream);
}

@media (max-width: 768px) {
    .songwriting-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .home-songwriting-section {
        padding: 60px 0;
    }

    .home-songwriting-inner {
        padding: 0 24px;
    }
}

/* =========================================================
   Book Me Section (home)
   ========================================================= */

.home-book-section {
    background: rgba(74, 58, 46, 0.06);
    padding: 80px 0 100px;
}

.home-book-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.home-book-heading {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--brown);
    margin: 0 0 16px 0;
    opacity: 0.6;
}

.home-book-intro {
    max-width: 650px;
    margin: 0 auto 8px;
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
    color: var(--brown);
    opacity: 0.85;
}

.home-book-section .booking-card {
    margin-top: 24px;
}

/* Performance Clips */
.book-clips {
    margin-top: 72px;
}

.book-clips-heading {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--brown);
    text-align: center;
    margin: 0 0 32px 0;
    letter-spacing: 0.5px;
}

.book-clips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.book-clip-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.book-clip-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.book-clip-title {
    margin: 14px 0 0 0;
    text-align: center;
    font-size: 14px;
    color: var(--brown);
    letter-spacing: 0.5px;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .home-book-section {
        padding: 60px 0 80px;
    }

    .home-book-inner {
        padding: 0 24px;
    }

    .book-clips-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .book-clips {
        margin-top: 56px;
    }
}

/* =========================================================
   Parallax Section
   ========================================================= */

.parallax-section {
    position: relative;
    min-height: 120vh;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: translateY(0);
    will-change: transform;
    z-index: 0;
}

.parallax-content {
    position: relative;
    z-index: 2;
    min-height: 120vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 120px 8%;
}

.parallax-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* =========================================================
   Float Text — Tracklist Parallax
   ========================================================= */

.float-text {
    color: white;
    text-align: right;
    max-width: 360px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.75);
}

.float-text p {
    font-size: 20px;
    line-height: 1.9;
    margin: 0;
}

/* =========================================================
   Shows legacy (kept for /shows page)
   ========================================================= */

.shows-title-link {
    color: inherit;
    text-decoration: none;
}

.shows-title-link:hover {
    text-decoration: underline;
}