:root {
    --primary-color: #00f3ff;
    /* Cyan neon */
    --secondary-color: #bc13fe;
    /* Purple neon */
    --bg-dark: #0a0a0a;
    --text-light: #ffffff;
    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
}

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

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary-color);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Space between logo and text */
    font-size: 1.5rem;
    /* Restore font size for text */
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-img {
    height: 150px;
    /* Increased size */
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

nav ul {
    display: flex;
    align-items: center;
    /* Fix vertical alignment */
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

.cta-btn {
    border: 1px solid var(--secondary-color);
    padding: 8px 15px;
    border-radius: 4px;
}

.cta-btn:hover {
    background: var(--secondary-color);
    box-shadow: 0 0 15px var(--secondary-color);
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: var(--text-light);
    color: var(--bg-dark);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Parallax Sections */
.parallax-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* Taller for parallax movement */
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: translateZ(0);
    /* Optimize rendering */
    transition: transform 0.1s linear;
    /* Fallback gradients if images are missing */
    background: linear-gradient(45deg, #1a0b2e, #000000);
}

/* Specific fallbacks for sections since image gen failed */
.hero .parallax-bg {
    background: radial-gradient(circle at center, #222, #000), url('../images/hero_dj_background.png');
    background-size: cover;
    background-blend-mode: overlay;
}

.events-parallax .parallax-bg {
    background: linear-gradient(135deg, #2b1055, #7597de), url('../images/glow_festival_abstract.png');
    background-size: cover;
    background-blend-mode: overlay;
}

.gallery-parallax .parallax-bg {
    background: linear-gradient(to right, #434343, #000000), url('../images/party_vibes_abstract.png');
    background-size: cover;
    background-blend-mode: overlay;
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.mid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: -1;
}

/* Content Styling */
.hero .content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    letter-spacing: 5px;
    position: relative;
}

.hero p {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 40px;
    color: #ccc;
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    /* Match background to hide main text */
    mix-blend-mode: hard-light;
    /* Blend nicely */
    background: transparent;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 blue;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(20px, 9999px, 80px, 0);
    }

    20% {
        clip: rect(130px, 9999px, 160px, 0);
    }

    40% {
        clip: rect(60px, 9999px, 100px, 0);
    }

    60% {
        clip: rect(10px, 9999px, 40px, 0);
    }

    80% {
        clip: rect(150px, 9999px, 180px, 0);
    }

    100% {
        clip: rect(90px, 9999px, 120px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(120px, 9999px, 150px, 0);
    }

    20% {
        clip: rect(10px, 9999px, 50px, 0);
    }

    40% {
        clip: rect(80px, 9999px, 110px, 0);
    }

    60% {
        clip: rect(140px, 9999px, 170px, 0);
    }

    80% {
        clip: rect(40px, 9999px, 70px, 0);
    }

    100% {
        clip: rect(100px, 9999px, 130px, 0);
    }
}

/* About Section */
.content-section {
    padding: 100px 50px;
    background: var(--bg-dark);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #ccc;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    /* Changed from grid to flex to center single item */
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--secondary-color);
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Events Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.card p {
    color: #aaa;
    line-height: 1.6;
}

/* Gallery Grid */
.gallery-grid-section {
    text-align: center;
}

.section-subtitle {
    margin-bottom: 40px;
    color: #888;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    /* Placeholder height for empty divs */
}

.gallery-item {
    height: 300px;
    background-color: #222;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    /* Revert to center as baseline */
    transition: transform 0.3s;
}

/* Placeholder gradients for gallery */
.item-1 {
    background: linear-gradient(45deg, #ff00cc, #333399);
}

.item-2 {
    background: linear-gradient(45deg, #ff9966, #ff5e62);
}

.item-3 {
    background: linear-gradient(45deg, #00F260, #0575E6);
}

.item-4 {
    background: linear-gradient(45deg, #e1eec3, #f05053);
}

.item-5 {
    background: linear-gradient(45deg, #834d9b, #d04ed6);
}

.item-6 {
    background: linear-gradient(45deg, #00d2ff, #3a7bd5);
}


.gallery-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* Footer */
footer {
    background: #000;
    padding: 80px 50px 30px;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-left {
    flex: 1;
    min-width: 300px;
}

.footer-left h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.socials {
    margin-top: 30px;
}

.socials a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 20px;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--primary-color);
}

.footer-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.business-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.business-info p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.business-info a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.business-info a:hover {
    color: var(--primary-color);
}

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

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

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #111;
    color: #555;
    font-size: 0.8rem;
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        /* Mobile menu implementation to be added in JS */
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #000;
        padding: 20px;
        text-align: center;
    }

    nav ul.active {
        display: flex;
    }

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

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.logo-img {
    height: 150px;
    /* Increased size again */
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    /* Viewport height limit */
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2001;
}

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

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    /* Background for visibility */
    border-radius: 5px;
}

.lightbox-nav:hover {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

@media (max-width: 768px) {

    /* Fix for Events background on mobile to avoid cropping on specific person */
    .events-parallax .parallax-bg {
        background-image: url('../images/dj_crowd_wide.jpg') !important;
        background-position: center center !important;
    }

    /* Fix for Hero background on mobile */
    .hero .parallax-bg {
        background-image: url('../images/dj_energy.jpg') !important;
        background-position: top center !important;
    }

    /* Fix for Gallery background on mobile (avoid duplicate) */
    .gallery-parallax .parallax-bg {
        background-image: url('../images/dj_stadium_wave.jpg') !important;
        background-position: center center !important;
    }
}