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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #6a5acd;
    --text-color: #ffffff;
    --light-bg: #333;
    --white: #ffffff;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #333;
}

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

/* Navbar */
.navbar {
    background: var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: var(--white);
    height: 70px;               /* fixed height */
    display: flex;              
    align-items: stretch;        /* allow children to fill height */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}
.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* left / center / right */
    align-items: stretch;                 /* stretch sections to full height */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Sections */
.nav-left,
.nav-center,
.nav-right {
    display: flex;
    align-items: center;   /* vertical center content inside each section */
    height: 100%;          /* fill navbar height */
}

.nav-left {
    position: absolute;
    left: 0;                  /* stick to the left edge */
    top: 0;
    height: 100%;             /* fill navbar height */
    display: flex;
    align-items: center;
}


.nav-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); /* perfectly center band name */
}


.nav-right {
    position: absolute;
    right: 0;                   /* stick to the right edge */
    top: 0;
    height: 100%;              /* fill navbar height */
    display: flex;
    align-items: center;
    padding-right: 20px;        /* optional spacing from edge */
}


.nav-toggle {
    display: none;
}

/* Hamburger icons */
.hamburger,
.social-hamburger {
   display: none;
}

.hamburger i {
    color: var(--white);
}

/* Color for right hamburger */
.social-hamburger i {
    color: var(--secondary-color);
}


/* Logo */
.nav-logo {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
}

.nav-logo .star {
    font-size: 0.9em;  /* slightly smaller star */
    position: relative;
    top: -3px;          /* adjust vertical position of star */
}

/* Nav links */
.nav-links {
    display: flex;
    height: 100%;       /* full navbar height */
    gap: 0;             /* remove gap to allow hover box to fill */
}

.nav-links li {
    display: flex;
    height: 100%;       /* stretch list item */
}

.nav-links a {
    display: flex;
    align-items: center;       /* vertically center text */
    justify-content: center;   /* horizontally center text */
    height: 100%;              /* full height → hover box fills navbar */
    padding: 0 1.1rem;         /* tighter spacing so full menu fits */
    font-size: 0.92rem;
    color: var(--white);
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.nav-links a:hover {
    background: white;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(128, 0, 128, 0.7);
}

/* Social links (navbar only) */
.nav-right .social-links {
    display: flex;
    align-items: center;   /* vertical center icons */
    max-width: 100%;      /* limit width to prevent overflow */
    overflow: visible;
    gap: 0.7rem;           /* spacing between icons */
    height: 100%;          /* full navbar height for proper alignment */
}

.nav-right .social-links a {
    display: flex;
    align-items: center;   /* center the icon inside the link */
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-right .social-links a i {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-right .social-links a:hover {
    color: var(--secondary-color);
}

.nav-right .social-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 10px;
    left: auto;
    top: 70px;
    width: auto;
    height: auto;
    min-width: 100px;
    align-items: center;
    background: var(--primary-color);
    padding: 1rem;
    border-radius: 8px;
    gap: 1rem;
}

.nav-right .social-links.active a {
    justify-content: flex-start;  /* cleaner alignment */
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('images/448cover.png') center/cover no-repeat;
    background-attachment: fixed;
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero H1 styling (existing) */
.hero-content h1 {
    font-size: 6rem;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.75);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

/* Adjust the star inside hero H1 */
.hero-content h1 .star {
    font-size: 0.9em;     /* slightly smaller than letters */
    position: relative;    /* allow shifting */
    top: -0.1em;           /* move the star up slightly */
}

.tagline {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.75);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* Base button */
.cta-button {
    position: relative;              /* needed for pseudo-element */
    overflow: hidden;                /* hide the shine outside */
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Shine effect */
.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;                       /* start off to the left */
    width: 50%;                        /* width of the shine */
    height: 100%;
    background: rgba(255, 255, 255, 0.3); /* white shine with transparency */
    transform: skewX(-25deg);          /* slanted shine */
    transition: all 0.7s ease;         /* smooth animation */
}

/* On hover, animate shine across the button */
.cta-button:hover::before {
    left: 125%;                        /* move to the right */
}

.cta-button:hover {
    background: #ae01da;
}

#mediaOverlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px; /* spacing between buttons */

    background: transparent; /* 👈 remove purple box */
    z-index: 9999;
}

#playButton,
#pauseButton {
    background-color: #6c5ce7;  /* purple buttons */
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin: 0 10px;
    border-radius: 5px;
    width: 50px;   /* was ~50px */
    height: 42px;
}

#playButton i,
#pauseButton i {
    display: block; /* 👈 removes inline baseline shift */
}

#playButton:hover,
#pauseButton:hover {
    background-color: #ae01da;
}

#mediaOverlay .cta-button {
    background-color: #6c5ce7;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
}

.cta-button:active {
    transform: none;        /* prevent movement */
    top: 0;                 /* reset any shift */
}

/* Latest News Section */
.latest-news {
    padding: 60px 0;
    background: var(--light-bg);
}

.latest-news h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(128, 0, 128, 0.7);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(175, 0, 219, 0.35);
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
}

.news-date {
    display: inline-block;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.5rem;
}

.news-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
    color: var(--white);
}

.news-card p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #f2f2f2;
}

/* About Section */
.about {
    padding: 60px 0;
    background: linear-gradient(rgba(51, 51, 51, 0.95), rgba(51, 51, 51, 0.95)), url('images/448cover.png') center/cover no-repeat;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(128, 0, 128, 0.7);
}

.about-text {
    display: flex;
    flex-direction: column;
    align-items: center;   /* this is the missing piece */
}

/* Paragraph text */
.about p {
    font-family: 'Rock Salt', monospace;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #f5f5f5;

    text-shadow:
        0 0 1px rgba(255,255,255,0.6),
        0 0 4px rgba(255,255,255,0.3);
}

.bandcamp-wrapper {
    text-align: center;
    margin-top: 20px;
}

.bandcamp-button {
    display: inline-block;
    background-color: #6c5ce7;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

/* hover effect */
.bandcamp-button:hover {
    background-color: #5a4bd6;
    transform: translateY(-2px);
}

/* click effect (optional) */
.bandcamp-button:active {
    transform: translateY(0);
}

.band-members {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    grid-column: 1 / -1;
}

.band-members h3 {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Bebas Neue', sans-serif;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(128, 0, 128, 0.7);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

/* ===============================
   BAND MEMBER CARDS - HOVER EFFECT
   Includes lift, shine, and text animation
=============================== */

/* Card container */
.member-card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transform: translateZ(0);
    will-change: transform;
    transition: transform 0.3s ease; /* lift effect */
}

/* Lift card on hover */
.member-card:hover {
    transform: translateY(-5px);
}

/* Keep media/text below shine overlay */
.member-card > * {
    position: relative;
    z-index: 1;
}

/* Shine overlay */
.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.5) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
    opacity: 0;
    z-index: 2;
    will-change: left, opacity;
}

/* Trigger shine on hover */
.member-card:hover::before {
    animation: memberCardShine 1s ease;
    opacity: 1;
}

@keyframes memberCardShine {
    from {
        left: -75%;
    }
    to {
        left: 125%;
    }
}

/* Card image */
.member-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top; /* lowers the image in the box */
    border-radius: 8px 8px 0 0;
}

/* Card text always visible, closer together */
.member-card h4 {
    margin: 0;              /* remove default margin */
    padding: 0.5rem 0 0 0;  /* only top padding */
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
    text-shadow: none;      /* default no shadow */
    font-size: 1.1rem;      /* adjust size if needed */
}

.member-card p {
    margin: 0;              /* remove default margin */
    padding: 0.25rem 0 0.5rem 0;  /* small padding to separate slightly */
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
    text-shadow: none;
    font-size: 0.95rem;     /* slightly smaller than name */
}

/* Hover effects remain the same */
.member-card:hover h4 {
    transform: translateY(-3px);
    text-shadow: 0 2px 8px rgba(255,255,255,0.6);
    color: var(--secondary-color);
}

.member-card:hover p {
    transform: translateY(-2px);
    text-shadow: 0 1px 4px rgba(255,255,255,0.4);
    color: var(--secondary-color);
}

/* Optional responsive tweaks */
@media (max-width: 600px) {
    .member-card img {
        height: 200px;
    }
}

/* Modal container */
.member-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show modal with fade-in */
.member-modal.show {
    display: flex;
    opacity: 1;
}

/* Two-column modal layout */
.member-modal-layout {
    width: min(920px, 96vw);
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

.modal-left,
.member-modal .modal-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 12px 26px rgba(0,0,0,0.28);
    overflow: hidden;
}

.modal-left {
    transform: scale(0.96);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Modal image */
#modal-img {
    width: 100%;
    max-height: 520px;
    display: block;
    object-fit: cover;
}

/* Name and role below image */
.modal-meta {
    text-align: center;
    padding: 0.9rem 1rem 1rem;
}

#modal-name {
    margin: 0;
    padding: 0.5rem 0 0 0;
    color: var(--primary-color);
    font-family: 'Rock Salt', sans-serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    text-shadow: none;
    font-size: 1.1rem;
    margin-bottom: 0.1rem;
}

#modal-role {
    margin: 0;
    padding: 0.25rem 0 0.5rem 0;
    color: var(--secondary-color);
    font-family: 'Rock Salt', sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: normal;
    text-transform: none;
    text-shadow: none;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Bio panel beside image */
.member-modal .modal-content {
    color: #333;
    padding: 1.1rem 1.35rem;
    transform: translateY(22px);
    opacity: 0;
    transition: transform 0.3s ease 0.1s, opacity 0.3s ease 0.1s;
}

.member-modal .modal-content h5 {
    margin: 0 0 0.55rem;
    font-size: 1.05rem;
    color: var(--secondary-color);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

#modal-bio {
    margin: 0;
    font-family: 'Rock Salt', sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: #333;
    white-space: pre-wrap;
}

/* Animate blocks when modal is shown */
.member-modal.show .modal-left,
.member-modal.show .modal-content {
    transform: none;
    opacity: 1;
}

/* Close button */
.member-modal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
    .member-modal-layout {
        grid-template-columns: 1fr;
        width: min(560px, 94vw);
    }

    #modal-img {
        max-height: 420px;
    }
}

@media (max-width: 600px) {
    #modal-name {
        font-size: 1.25rem;
    }

    #modal-role,
    #modal-bio {
        font-size: 0.95rem;
    }
}

/* Music Section */
.music {
    padding: 60px 0;
    background: var(--light-bg);
}

.music h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(128, 0, 128, 0.7);
}

.songs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.song-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.clip-video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    background: var(--primary-color);
}

.clip-video:fullscreen {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.song-cover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.song-card h3 {
    font-family: 'Rock Salt';
    padding: 1rem 0.5rem 0;
    color: var(--secondary-color);
    text-shadow: none;
}

.song-card p {
    padding: 0.5rem;
    color: #666;
}

.song-card:hover{
    transform: translateY(-5px);
    color: var(--secondary-color);
}

.song-card:hover h3 {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(128, 0, 128, 0.7);
}

/* Ensure lower text stays clean */
.clip-info p {
    text-shadow: none;
}

/* Tour Section */
.gig {
    padding: 60px 0;
    background: var(--light-bg);
}

.gig h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(128, 0, 128, 0.7);
}

.gig-list {
    max-width: 800px;
    margin: 0 auto;
}

.gig-date {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem;
    border: none;
    border-left: 5px solid var(--secondary-color);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    gap: 2rem;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gig-date:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.date-info {
    text-align: center;
    min-width: 100px;
    background: linear-gradient(135deg, var(--primary-color), #333);
    color: var(--white);
    padding: 1rem;
    border-radius: 6px;
    flex-shrink: 0;
}

.date {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--white);
    display: block;
}

.year {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}

.venue-info {
    flex: 1;
    min-width: 0;
}

.venue-info h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
    overflow-wrap: anywhere;
}

.venue-info p {
    color: #666;
    font-size: 0.95rem;
}

/* Base button */
.ticket-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;              /* keeps shine inside */
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1;
    transition: background 0.3s ease;
    white-space: nowrap;
}

/* Hover background */
.ticket-btn:hover {
    background: #9e00fa;
}

/* Shine layer */
.ticket-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.5) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    opacity: 0;
}

/* Trigger shine */
.ticket-btn:hover::after {
    animation: ticketShine 0.8s ease;
    opacity: 1;
}

/* Keyframes */
@keyframes ticketShine {
    from {
        left: -75%;
    }
    to {
        left: 125%;
    }
}

/* Wrap all gigs in a container */
.gigs-container {
    max-width: 900px;       /* limits width */
    margin: 0 auto;         /* centers container */
    padding: 0 20px;        /* optional side padding */
}

/* Poster styles */
.gig-poster-card {
    position: relative;
    overflow: hidden;
    width: 100px;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 8px;
}

/* Give the gigs section a tighter layout at tablet sizes */
@media (max-width: 992px) {
    .gig-list {
        max-width: 100%;
    }

    .gig-date {
        padding: 1.25rem;
        gap: 1rem;
    }

    .date-info {
        min-width: 88px;
        padding: 0.8rem;
    }

    .gig-poster-card {
        width: 75px;
    }
}

/* Stack gig card content cleanly on phones */
@media (max-width: 768px) {
    .gig-date {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .venue-info {
        width: 100%;
    }

    .gig-poster-card {
        width: min(140px, 50vw);
    }

    .ticket-btn {
        width: 100%;
        max-width: 220px;
    }
}

/* Poster image */
.gig-poster-card img {
    width: 100%;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

/* Scale slightly on hover */
.gig-poster-card:hover img {
    transform: scale(1.05);
}

/* Shine effect */
.gig-poster-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.4) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    opacity: 0;                      /* hidden by default */
}

/* Trigger animation only on hover */
.gig-poster-card:hover::after {
    animation: shine 0.8s ease;
    opacity: 1;
}

/* Keyframes (prevents reverse animation bug) */
@keyframes shine {
    from {
        left: -75%;
    }
    to {
        left: 125%;
    }
}

/* Smooth transition */
.venue-info h4 {
    transition: all 0.3s ease;
}

/* Glow when hovering anywhere on the card */
.gig-date:hover .venue-info h4 {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(128, 0, 128, 0.7);
}

.venue-info h4,
.venue-info p {
    transition: all 0.3s ease;
}

/* Modal styling */
.modal {
    display: none; 
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}

#caption {
    text-align: center;
    color: #fff;
    margin-top: 10px;
    font-size: 1rem;
}

/* Responsive: stack columns on small screens */
@media (max-width: 900px) {
    .gigs-grid {
        grid-template-columns: 1fr;
    }
    .gig-posters {
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
    }
}

/* Gallery Section */
.gallery {
    padding: 60px 0;
    background: var(--light-bg);
}

.gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--white);
    font-family: 'Bebas Neue', sans-serif;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(128, 0, 128, 0.7);
}

.gallery-grid {
    display: grid;
    position: relative;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    transition: max-height 0.35s ease;
}

.gallery-grid.is-collapsed {
    max-height: var(--gallery-collapsed-height, none);
    overflow: hidden;
}

.gallery-grid.is-collapsed::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 90px;
    background: linear-gradient(180deg, rgba(51, 51, 51, 0), rgba(51, 51, 51, 0.96));
    pointer-events: none;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Gallery images container */
.gallery-grid img {
    position: relative;           /* for pseudo-element */
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    display: block;
    overflow: hidden;
}

/* Shine overlay */
.gallery-grid img::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;                     /* start off to the left */
    width: 50%;                      /* width of shine */
    height: 100%;
    background: rgba(255, 255, 255, 0.3); /* white shine */
    transform: skewX(-25deg);        /* slanted shine */
    transition: all 0.7s ease;       /* smooth animation */
    pointer-events: none;            /* allow clicking the image */
}

/* Hover effect */
.gallery-grid img:hover::after {
    left: 125%;                      /* move shine across */
}

/* Keep your scale transform */
.gallery-grid img:hover {
    transform: scale(1.05);
}
/* Gallery item wrapper */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.gallery-toggle-btn {
    min-width: 140px;
}

.gig-controls {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    margin: 1rem 0 2rem;
    flex-wrap: wrap;
}

.gig-toggle-btn {
    min-width: 140px;
}

.gallery-controls[hidden],
.gallery-toggle-btn[hidden],
.gig-controls[hidden],
.gig-toggle-btn[hidden],
.gig-date[hidden] {
    display: none !important;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Scale image on hover */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Shine overlay */
.gallery-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;                      /* start off left */
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
    pointer-events: none;
}

/* Animate shine on hover */
.gallery-item:hover::after {
    left: 125%;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.lightbox .prev,
.lightbox .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 0 15px;
}
.lightbox .prev { left: 0; }
.lightbox .next { right: 0; }

/* Contact Section */
.contact {
    padding: 60px 0;
    background: var(--light-bg);
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--white);
    font-family: 'Bebas Neue', sans-serif;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(128, 0, 128, 0.7);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(128, 0, 128, 0.7);
}

.contact-info p {
    margin-bottom: 1rem;
}

.social-links {
    list-style: none;
    margin-top: 1rem;
}

.contact-info .social-links {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.social-links a {
    color: var(--secondary-color);
    font-family: 'Rock Salt', cursive;
    font-size: 2.3rem;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: 0 0 10px rgba(128, 0, 128, 0.7);
}

.social-links a:hover {
    color: #8300d5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(255, 107, 53, 0.3);
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
    border-color: #8b05c0;
    box-shadow: 0 0 0 1px rgba(216, 67, 67, 0.4);
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.form-note {
    margin-top: -0.3rem;
    margin-bottom: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.form-status {
    min-height: 1.5em;
    font-size: 0.95rem;
    margin: 0;
    transition: color 0.2s ease;
}

.form-status.is-sending {
    color: #ffd07f;
}

.form-status.is-success {
    color: #8ef3a7;
}

.form-status.is-error {
    color: #ff9c9c;
}

/* Base button */
.submit-btn {
    position: relative;
    overflow: hidden;              /* keeps shine inside */
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Hover background + slight lift */
.submit-btn:hover {
    background: #6a5acd;
    transform: translateY(-2px);
}

/* Shine layer */
.submit-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.5) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    opacity: 0;
}

/* Trigger shine */
.submit-btn:hover::after {
    animation: submitShine 0.8s ease;
    opacity: 1;
}

/* Keyframes */
@keyframes submitShine {
    from {
        left: -75%;
    }
    to {
        left: 125%;
    }
}

/* Button style */
#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    background-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(128, 0, 128, 0.7);
    color: var(--white);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;                 /* use flexbox */
    align-items: center;           /* vertical center */
    justify-content: center;       /* horizontal center */
    font-size: 24px;
    transition: background 0.3s ease, transform 0.3s ease;
}   

/* Hover effect */
#back-to-top:hover {
    background-color: #a32ef7; /* slightly lighter or accent */
    transform: scale(1.1);     /* subtle pop */
}

@media (hover: none), (pointer: coarse) {
    .cta-button::before,
    .member-card::before,
    .ticket-btn::after,
    .gig-poster-card::after,
    .gallery-grid img::after,
    .gallery-item::after,
    .submit-btn::after {
        content: none;
        animation: none;
        transition: none;
    }

    .news-card:hover,
    .member-card:hover,
    .song-card:hover,
    .gig-date:hover,
    .gallery-grid img:hover,
    .gallery-item:hover img,
    .gig-poster-card:hover img,
    .submit-btn:hover,
    #back-to-top:hover {
        transform: none;
    }

    .member-card:hover h4,
    .member-card:hover p,
    .song-card:hover h3 {
        transform: none;
        text-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Auto-compact navbar mode (enabled by JS when sections overlap the centered logo). */
.navbar.compact-nav .hamburger,
.navbar.compact-nav .social-hamburger {
    display: flex;
}

.navbar.compact-nav .nav-left {
    padding-left: 5px;
}

.navbar.compact-nav .nav-right {
    padding-right: 5px;
}

.navbar.compact-nav .nav-links,
.navbar.compact-nav .nav-right .social-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar.compact-nav .nav-links li {
    text-align: center;
}

.navbar.compact-nav .nav-links a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.navbar.compact-nav #nav-toggle:checked ~ .nav-links {
    display: flex;
}

.navbar.compact-nav .nav-right .social-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 10px;
    left: auto;
    top: 70px;
    width: auto;
    height: auto;
    min-width: 100px;
    align-items: center;
    background: var(--primary-color);
    padding: 1rem;
    border-radius: 8px;
    gap: 1rem;
}

.navbar.compact-nav .nav-right .social-links.active a {
    justify-content: flex-start;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger,
    .social-hamburger{
        display: flex;
    }

      .nav-left {
        padding-left: 5px;   /* smaller padding when hamburger shows */
    }

    .nav-right {
        padding-right: 5px;  /* smaller padding when hamburger shows */
    }

    .nav-links,
    .nav-right .social-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .nav-links li {
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    #nav-toggle:checked ~ .nav-links {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .latest-news {
        padding: 50px 0;
    }

    .latest-news h2 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}
