/* Variables */
:root {
    --primary-color: #7B3FEF; /* Deep Purple */
    --secondary-color: #3FEFFB; /* Electric Blue */
    --accent-color: #FF2B72; /* Neon Pink */
    --text-color: #E0E0E0; /* Light Gray */
    --bg-dark: #1A1A2E; /* Dark background for overall site */
    --bg-darker: #0F0F1A; /* Even darker for some elements */
    --card-bg: #2B2B45; /* Card background */
    --border-color: rgba(255, 255, 255, 0.1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --transition-speed: 0.4s ease-in-out;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Prevent horizontal scroll due to animations */
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 0.8em;
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.8em; }
h3 { font-size: 1.8em; }
p { margin-bottom: 1em; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: transparent;
    transition: background-color var(--transition-speed), box-shadow var(--transition-speed);
    padding: 1.2rem 0;
}

.header.scrolled {
    background-color: rgba(15, 15, 26, 0.95); /* Darker background with slight opacity */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.2em;
    font-weight: 700;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(63, 239, 251, 0.5); /* Subtle glow */
    transition: color var(--transition-speed);
}

.logo:hover {
    color: var(--accent-color);
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1em;
    color: var(--text-color);
    position: relative;
    transition: color var(--transition-speed);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -8px;
    left: 0;
    transition: width var(--transition-speed);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Hamburger menu for mobile */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001; /* Ensure it's above other elements when active */
}

.hamburger {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    position: relative;
    transition: background-color 0s 0.2s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    left: 0;
    transition: transform var(--transition-speed), top var(--transition-speed), background-color 0s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-toggle.active .hamburger {
    background-color: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
    background-color: var(--accent-color);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
    background-color: var(--accent-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-dark), var(--primary-color));
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/image_14.jpg') no-repeat center center/cover;
    filter: brightness(0.4) grayscale(0.2); /* Darken and slightly desaturate */
    z-index: 1;
    animation: zoomEffect 30s infinite alternate; /* Subtle zoom animation */
}

@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}


.hero-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.hero-title {
    font-size: 4.5em;
    margin-bottom: 0.3em;
    line-height: 1.1;
    font-weight: 800;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1; /* For JS animation */
    transform: translateY(20px);
    /* Animation below handles initial appearance */
}

.hero-subtitle {
    font-size: 1.8em;
    font-weight: 400;
    color: var(--text-color);
    opacity: 1; /* For JS animation */
    transform: translateY(20px);
    /* Animation below handles initial appearance */
}

/* Keyframe for hero text reveal */
@keyframes fadeInSlideUp {
    from {
        opacity: 1;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title.visible-text {
    animation: fadeInSlideUp 1.2s ease-out forwards;
    animation-delay: 0.5s;
}
.hero-subtitle.visible-text {
    animation: fadeInSlideUp 1.2s ease-out forwards;
    animation-delay: 0.8s;
}


/* Section Styling */
.section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 3.2em;
    margin-bottom: 0.5em;
    position: relative;
    padding-bottom: 0.3em;
    display: inline-block;
    color: var(--secondary-color);
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(63, 239, 251, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-image: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-description {
    text-align: center;
    font-size: 1.2em;
    max-width: 700px;
    margin: 0.5em auto 3em auto;
    color: rgba(255, 255, 255, 0.7);
}

/* About Section */
.about-section {
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8rem;
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    transform: scale(0.98);
    transition: transform var(--transition-speed);
}

.about-image:hover {
    transform: scale(1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease-out;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1.2;
    font-size: 1.1em;
    line-height: 1.8;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Card Grids */
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 1.8rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex; /* For consistent card height in some cases */
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure consistent height */
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.card h3 {
    color: var(--secondary-color);
    font-size: 1.6em;
    margin-top: 1em;
    margin-bottom: 0.5em;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
    margin-bottom: 0.5em;
}


/* Lineup Cards */
.lineup-card {
    padding: 0; /* Remove padding for image to span full width */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.lineup-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    transition: transform 0.6s ease-out;
}

.lineup-card:hover img {
    transform: scale(1.08);
}

.lineup-card h3 {
    margin-top: 1.2em;
    margin-bottom: 0.2em;
    font-size: 1.7em;
    line-height: 1.2;
}

.lineup-card p {
    font-size: 1em;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1em;
}

.lineup-card .genre-tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 0.4em 0.8em;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem; /* Space from bottom of card */
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: background-color var(--transition-speed);
}

.lineup-card:hover .genre-tag {
    background-color: var(--accent-color);
}

/* Experience Cards */
.experience-card .card-icon {
    font-size: 3.5em;
    margin-bottom: 0.6em;
    line-height: 1;
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(255, 43, 114, 0.5);
    transition: transform var(--transition-speed);
}
.experience-card:hover .card-icon {
    transform: rotateY(180deg);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    z-index: 1;
    opacity: 1;
    transition: opacity var(--transition-speed);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease-out;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Info Section */
.info-card h3 {
    font-size: 1.7em;
    margin-bottom: 0.6em;
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 2.5rem 0;
    font-size: 0.9em;
    border-top: 1px solid var(--border-color);
}

/* Accessibility */
.nav-toggle[aria-label="toggle navigation"] {
    outline: none;
}
.nav-toggle[aria-label="toggle navigation"]:focus {
    box-shadow: 0 0 0 3px var(--secondary-color);
    border-radius: 4px;
}

/* Advanced Animations (JavaScript Driven) */
.reveal-on-scroll,
.reveal-item {
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.visible,
.reveal-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    h1 { font-size: 3em; }
    h2 { font-size: 2.2em; }
    h3 { font-size: 1.6em; }
    .hero-title { font-size: 3.5em; }
    .hero-subtitle { font-size: 1.5em; }
    .section-title { font-size: 2.5em; }

    .nav-list {
        margin-left: 1.5rem;
    }
    .nav-item {
        margin-left: 1.5rem;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-image {
        min-width: unset;
        width: 80%;
        margin: 0 auto 2rem auto;
    }
    .about-text {
        font-size: 1em;
    }

    .grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    .hero-title { font-size: 2.8em; }
    .hero-subtitle { font-size: 1.2em; }
    .section-title { font-size: 2em; }
    .section-description { font-size: 1em; }

    .nav-toggle {
        display: block;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        width: 70%;
        height: 100vh;
        background-color: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        transition: right var(--transition-speed);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        opacity: 1;
        visibility: hidden;
    }

    .nav-list.active {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .nav-link {
        font-size: 1.5em;
        padding: 0.5rem 0;
    }
    .nav-link::after {
        height: 2px;
        bottom: -5px;
    }
    .nav-link:hover::after {
        width: 100%;
    }

    .grid-3-col {
        grid-template-columns: 1fr; /* Stack cards vertically */
    }

    .about-image {
        width: 100%;
    }

    .lineup-card img {
        height: 220px;
    }

    .gallery-item img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    h1 { font-size: 2em; }
    h2 { font-size: 1.8em; }
    .hero-title { font-size: 2.2em; }
    .hero-subtitle { font-size: 1em; }
    .section-title { font-size: 1.8em; }
    .section-description { font-size: 0.9em; }

    .lineup-card h3 {
        font-size: 1.5em;
    }
    .lineup-card p {
        font-size: 0.9em;
    }
    .lineup-card .genre-tag {
        font-size: 0.8em;
    }

    .card h3 {
        font-size: 1.4em;
    }
    .card p {
        font-size: 0.9em;
    }

    .experience-card .card-icon {
        font-size: 3em;
    }
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
