:root {
    --color-bg: #0a0f1c;
    /* Deep Navy */
    --color-bg-alt: #0f1629;
    /* Slightly lighter navy */
    --color-text: #e0e6ed;
    /* Off-white/Silver */
    --color-primary: #9d00ff;
    /* Electric Purple */
    --color-secondary: #ff0055;
    /* Contrast Accent (optional) */
    --font-heading: 'Metal Mania', cursive;
    --font-body: 'Roboto', sans-serif;
    --transition-speed: 0.3s;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Canvas */
#lightning-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Moved up to overlay hero background */
    opacity: 0.4;
    pointer-events: none;
}

/* Typography & Utilities */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

.btn {
    display: inline-block;
    padding: 14px 35px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    color: #000000;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.btn-electric:hover {
    background: var(--color-primary);
    color: #000000;
    box-shadow: 0 0 20px var(--color-primary);
}

.btn:disabled {
    background: #4a4a4a;
    color: #888888;
    cursor: not-allowed;
    box-shadow: none;
}

.btn:disabled:hover {
    background: #4a4a4a;
    color: #888888;
    box-shadow: none;
}

/* Scroll Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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


/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10, 15, 28, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(157, 0, 255, 0.2);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(157, 0, 255, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-family: 'Sancreek', cursive;
    text-transform: uppercase;
    font-size: 1.4rem;
    /* Adjusted for Sancreek sizing */
    letter-spacing: 1.5px;
}

.nav-links a:hover {
    color: var(--color-primary);
    text-shadow: 0 0 8px var(--color-primary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--color-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger:hover span {
    box-shadow: 0 0 8px var(--color-primary);
}

/* Hamburger active state (X animation) */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}


/* Hero Section */
/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Ensure image doesn't spill out */
}

/* Background Image Container */
.hero-image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Moved down below lightning */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Create the fade effect into background */
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at center, black 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 90% 90% at center, black 40%, transparent 100%);
    opacity: 0.8;
}

.hero-bg-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.2) brightness(0.8) saturate(1.1);
}

/* Base style for band photo if used elsewhere */
.band-photo {
    max-width: 100%;
    border-radius: 4px;
}

/* Content Overlay */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
    margin-top: calc(150px + 20vh);
    /* Push content down towards bottom */
}

.hero-content h1 {
    font-size: 5rem;
    /* Larger text */
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(157, 0, 255, 0.6);
    letter-spacing: 5px;
}

.hero-text-container {
    margin-bottom: 50px;
}

.powerhouse-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.text-bar {
    height: 2px;
    background: #6b2d9d;
    box-shadow: 0 0 12px rgba(107, 45, 157, 0.8);
    position: relative;
}

/* Left bar - starts touching right bar at center, moves left */
.text-bar:first-child {
    width: 150px;
    margin-right: -150px;
    animation: curtainLeft 1.5s ease-out 0.5s forwards;
}

/* Right bar - starts touching left bar at center, moves right */
.text-bar:last-child {
    width: 150px;
    margin-left: -150px;
    animation: curtainRight 1.5s ease-out 0.5s forwards;
}

.text-main {
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 8px;
    color: #ffffff;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.9),
        4px 4px 8px rgba(0, 0, 0, 0.8);
    /* Start hidden and fade in as curtains open */
    opacity: 0;
    animation: textReveal 1.5s ease-out 0.8s forwards;
}

/* Keyframes for left curtain */
@keyframes curtainLeft {
    0% {
        width: 150px;
        margin-right: -150px;
    }

    100% {
        width: 60px;
        margin-right: 20px;
    }
}

/* Keyframes for right curtain */
@keyframes curtainRight {
    0% {
        width: 150px;
        margin-left: -150px;
    }

    100% {
        width: 60px;
        margin-left: 20px;
    }
}

/* Keyframes for text reveal */
@keyframes textReveal {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.location-text {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: #ffffff;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.9),
        4px 4px 8px rgba(0, 0, 0, 0.8);
    text-align: center;
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
    /* Ensure content stays above lightning */
}

.dark-alt {
    background-color: var(--color-bg-alt);
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: 10px auto 0;
    box-shadow: 0 0 10px var(--color-primary);
}

.section-subtitle {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    text-align: center;
    color: var(--color-text);
    margin-top: -5px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Current Section Slider */
.current-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 20px;
    transition: height 0.5s ease-in-out;
}

.current-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.current-slide {
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    padding: 20px 60px;
    box-sizing: border-box;
}

/* Navigation Links */
.view-lineup-link {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.1rem;
    color: var(--color-text);
    text-decoration: underline;
    cursor: pointer;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.view-lineup-link:hover {
    color: var(--color-primary);
}

.back-link {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.1rem;
    color: var(--color-text);
    text-decoration: underline;
    cursor: pointer;
    margin-bottom: 30px;
    display: inline-block;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--color-primary);
}

/* Lineup Grid */
.lineup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.band-member {
    text-align: center;
    cursor: pointer;
}

.member-photo-container {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.member-overlay-text {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.2rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.band-member:hover .member-overlay {
    opacity: 1;
}

.member-photo-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(157, 0, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    border-radius: 8px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.member-photo {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
    display: block;
}

.band-member:hover .member-photo {
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.4);
}

.band-member:hover .member-photo-placeholder {
    border-color: var(--color-primary);
    background: rgba(157, 0, 255, 0.05);
}

.member-info {
    font-family: 'Source Serif Pro', serif;
    font-size: 1rem;
    color: #fff;
}

.influence-list {
    list-style: none;
    border-left: 2px solid var(--color-primary);
    padding-left: 20px;
}

.influence-list li {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 16/9;
    background: #222;
    border: 1px solid #333;
    border-radius: 4px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}

.gallery-photo-last {
    object-position: center 30%;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay-text {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.2rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-photo {
    filter: brightness(0.5);
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.5);
}

.gallery-item.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #444;
}

/* Lightbox Modal */
.lightbox {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    /* Always flex layout, just hidden */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.lightbox.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox.active .lightbox-image {
    opacity: 1;
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    left: 30px;
    font-family: 'Source Serif Pro', serif;
    font-size: 1.1rem;
    color: var(--color-text);
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--color-primary);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(157, 0, 255, 0.2);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 3rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 0;
    padding-bottom: 4px;
}

.lightbox-arrow:hover {
    background: var(--color-primary);
    color: #000;
    box-shadow: 0 0 20px var(--color-primary);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Member Profile Modal */
.member-modal {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    padding: 80px 20px;
    pointer-events: none;
}

.member-modal.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.member-modal-content {
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding-bottom: 80px;
}

.member-modal.active .member-modal-content {
    opacity: 1;
    transform: scale(1);
}

.member-modal-image {
    width: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.1s ease-out, margin-bottom 0.1s ease-out;
    transform-origin: center center;
}

.member-modal-bio {
    background: rgba(15, 22, 41, 0.9);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(157, 0, 255, 0.3);
}

.member-modal-bio h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.member-modal-bio h4 {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 20px;
    font-weight: 400;
}

.member-modal-bio p {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--color-text);
}

.member-modal-bio strong {
    color: var(--color-primary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    font-family: 'Source Serif Pro', serif;
    font-size: 1.5rem;
    color: var(--color-text);
    text-decoration: underline;
    z-index: 2001;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        text-shadow: 0 0 5px rgba(157, 0, 255, 0.3);
    }

    50% {
        text-shadow: 0 0 15px rgba(157, 0, 255, 0.6);
    }
}

.scroll-indicator.hidden {
    opacity: 0;
}

.member-modal-close {
    position: fixed;
    top: 30px;
    left: 30px;
    font-family: 'Source Serif Pro', serif;
    font-size: 1.1rem;
    color: var(--color-text);
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.member-modal-close:hover {
    color: var(--color-primary);
}

.member-modal-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(157, 0, 255, 0.2);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 3rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 0;
    padding-bottom: 4px;
}

.member-modal-arrow:hover {
    background: var(--color-primary);
    color: #000;
    box-shadow: 0 0 20px var(--color-primary);
}

.member-modal-prev {
    left: 30px;
}

.member-modal-next {
    right: 30px;
}

/* Reviews */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 8px;
    border-top: 3px solid var(--color-primary);
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1rem;
}

.review-author {
    font-weight: bold;
    color: var(--color-primary);
    text-align: right;
    font-family: var(--font-heading);
}

/* Contact */
.contact-wrapper {
    display: flex;
    gap: 50px;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
}

.contact-message {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 20px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: #fff;
}

.email a {
    font-size: 1.2rem;
    color: var(--color-primary);
    text-decoration: underline;
}

.socials {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.social-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    border: 1px solid #fff;
    padding: 8px 16px;
    border-radius: 20px;
}

.social-link:hover {
    background: #fff;
    color: var(--color-bg);
}

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

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    padding: 15px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 15, 28, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
        border-bottom: 1px solid rgba(157, 0, 255, 0.2);
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transform: translateY(-10px);
        transition: max-height 0.4s ease-out, opacity 0.3s ease-out, transform 0.3s ease-out, padding 0.4s ease-out;
    }

    .nav-links.active {
        max-height: 300px;
        opacity: 1;
        transform: translateY(0);
        padding: 20px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

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

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

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

/* Tablet and larger mobile devices */
@media (max-width: 1024px) {
    .lineup-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}