@font-face {
    font-family: 'Designer';
    src: url('fonts/Designer.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-color: #050505;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    --accent: #ffffff;
    --font-heading: 'Designer', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --section-spacing: 120px;
    --glow-opacity: 0.8;
}

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

html {
    scroll-behavior: smooth;
    background-color: #050505;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
}

.section-title {
    font-size: 3.9rem;
    text-align: center;
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    text-transform: uppercase;
    color: var(--accent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--section-spacing) 20px;
}

/* Animations using Intersection Observer classes */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

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

.delay-1 {
    transition-delay: 0.2s;
}

/* Navigation */
#navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 50px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.9), transparent);
    transition: transform 0.4s ease-in-out, background 0.4s ease;
}

#navbar.nav-hidden {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}



.logo {
    font-weight: 600;
    letter-spacing: 2px;
    font-family: 'Designer', sans-serif;
    font-size: 1.5rem;
    color: var(--accent);
    text-transform: uppercase;
}

.lang-selector {
    margin-left: 20px;
    transition: opacity 0.5s ease;
}

.lang-selector select {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-muted);
    padding: 5px 10px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    border-radius: 2px;
}

.lang-selector select option {
    background: var(--bg-color);
    color: var(--text-main);
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: grayscale(30%);
}

.hero-content h1 {
    font-size: 9.9vw;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    opacity: 1;
    font-family: 'Designer', 'Playfair Display', serif;
    color: #fff;
    text-shadow:
        0 0 2px #fff,
        0 0 4px #fff,
        0 0 10px #0ff,
        0 0 20px #0ff,
        0 0 40px #0ff;
}

.hero-content .subtitle {
    background: #fff;
    color: #000;
    font-family: var(--font-body);
    font-weight: 600;
    padding: 8px 20px;
    display: inline-block;
    margin-bottom: 30px;
}

.hero-motto {
    font-size: 1.375rem;
    color: var(--text-muted);
    font-style: italic;
    max-width: 500px;
    margin: 0 auto;
}

/* About & Identity Layout Rebalance */
.about-grid,
.identity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 150px;
    align-items: center;
}

.about-text p,
.identity-text p {
    margin-bottom: 2rem;
    font-size: 1.35rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.identity-image-container,
.abstract-wrapper {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.identity-img,
.abstract-bg,
.abstract-main {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    filter: grayscale(15%);
    transition: filter 0.5s;
}

.abstract-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    will-change: opacity;
}

.abstract-main {
    position: relative;
    z-index: 1;
}

.identity-img:hover,
.abstract-bg:hover,
.abstract-main:hover {
    filter: grayscale(0%);
}

/* Events */
.events-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 200px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.events-col h3 {
    font-size: 2.16rem;
    color: var(--accent);
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.events-col h3 .subtitle {
    font-size: 0.6em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    font-family: var(--font-body);
    font-style: italic;
}

.events-col ul {
    list-style: none;
    padding: 0;
}

.annotation {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    font-weight: 300;
}

.events-col ul li {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.events-col ul li::before {
    content: "•";
    color: var(--text-main);
    position: absolute;
    left: 0;
}

/* Inspiration */
.inspiration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 200px;
    max-width: 1000px;
    margin: 0 auto;
}

.insp-col h3 {
    font-size: 2.86rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.insp-block {
    margin-bottom: 1.5rem;
}

.insp-block .label {
    color: var(--text-muted);
    font-style: italic;
    font-size: 1.2rem;
}

.insp-block p {
    font-size: 1.5rem;
    margin-top: 5px;
}

/* Music */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(312px, 1fr));
    gap: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 0 auto;
    gap: 40px;
}

.music-item {
    text-align: center;
    height: 75px;
    margin-bottom: 25px;
}

.music-item iframe {
    opacity: 0.7;
    transition: opacity 0.3s;
    transform: scale(1.25);
    transform-origin: top center;
    width: 80%;
}

.music-item iframe:hover {
    opacity: 1;
}

/* Media Gallery & Modal */
.gallery-item {
    cursor: pointer;
    text-align: center;
}

.gallery-thumb {
    transition: transform 0.3s ease, background 0.3s ease;
    border: none;
    aspect-ratio: 1/1;
    width: 100%;
    display: flex;
}

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

.media-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.media-modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
}

.modal-content video {
    width: 100%;
    height: auto;
    max-height: 85vh;
}

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

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 4rem;
    padding: 20px;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.2s, color 0.2s;
}

.gallery-btn:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 5%;
}

.next-btn {
    right: 5%;
}

/* Footer / Contact */
#contact {
    text-align: center;
    padding-bottom: 120px;
}

.contact-info {
    font-size: 1.92rem;
    margin-bottom: 50px;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.social-links a {
    color: var(--text-main);
    text-decoration: none;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
}

.social-links a img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.social-links a svg {
    height: 42px;
    width: auto;
}

.social-links a:hover {
    opacity: 0.6;
}

/* Index2 Alternative Version Styles */
body.video-bg-version {
    background-color: transparent;
}

#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -3;
    transform: translate(-50%, -50%);
    object-fit: cover;
    will-change: filter;
}

.vignette-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.85) 100%);
    pointer-events: none;
    will-change: background;
}

/* Responsive Optimization */
@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }

    body {
        font-size: 14px;
    }

    .container {
        padding: var(--section-spacing) 20px;
        width: 100%;
        overflow-x: hidden;
    }

    /* Mobile Navbar: Logo Centered + No Links */
    #navbar {
        padding: 15px 20px;
        background: linear-gradient(to bottom, rgba(5, 5, 5, 0.95), transparent);
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
        position: relative;
    }

    .nav-links {
        display: none; /* Removed standard navbar on mobile */
    }

    .logo-wrapper {
        width: 100%;
        order: 1;
    }

    .logo {
        font-size: 1.1rem;
        letter-spacing: 1.5px;
        text-align: center;
    }



    .lang-selector {
        position: absolute;
        top: 0;
        right: 0;
        margin-left: 0;
        order: 2;
        z-index: 10; /* Ensure it's clickable above other elements */
    }
    
    .lang-selector select {
        padding: 4px 8px;
        font-size: 0.8rem;
    }

    /* Single Column Layout */
    .about-grid,
    .identity-grid,
    .events-columns,
    .inspiration-grid,
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        max-width: 100% !important;
    }

    .section-title {
        font-size: 2.2rem;
        letter-spacing: 0.15em;
        margin-bottom: 2rem;
    }

    /* Background Video Optimization */
    #bg-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 85% center; /* Focus on the right side where things happen */
    }

    .hero-content h1 {
        font-size: 18vw;
        color: #fff;
        text-shadow: 
            0 0 2px #fff,
            0 0 5px #fff,
            0 0 10px #0ff,
            0 0 20px #0ff,
            0 0 40px #0ff;
    }

    .hero-motto {
        font-size: 1rem;
        padding: 0 20px;
    }

    .about-text p,
    .identity-text p,
    .events-col ul li,
    .insp-block p {
        font-size: 1.1rem;
        text-align: left;
    }

    .events-col h3, .insp-col h3 {
        font-size: 1.8rem;
    }

    .contact-info {
        font-size: 1.3rem;
    }

    .social-links {
        gap: 25px;
    }

    .social-links a img, .social-links a svg {
        height: 32px;
    }

    /* Specific Section Fixes */
    #inspiration, #events, #gallery {
        padding-left: 15px;
        padding-right: 15px;
        width: 100vw;
        max-width: 100%;
    }
}