/* =========================================
   CSS Variables & Reset
   ========================================= */
:root {
    --primary-color: #f1c40f;
    /* Cinematic Gold */
    --secondary-color: #3498db;
    /* Electric Blue */
    --bg-dark: #0a0a0a;
    --bg-dark-accent: #111111;
    --text-light: #ffffff;
    --text-gray: #b3b3b3;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   Typography & Utilities
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #d4ac0d);
    color: var(--bg-dark);
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(241, 196, 15, 0.5);
}

.btn-outline {
    border-color: var(--text-light);
    color: var(--text-light);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 20px auto 0;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
}

.logo-subtext {
    font-size: 0.65rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-body);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-socials {
    display: flex;
    gap: 15px;
    margin-left: 10px;
}

.nav-socials a {
    color: var(--text-light);
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-socials a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--primary-color);
}

.btn-nav {
    padding: 8px 25px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    opacity: 1;
}

.btn-nav:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-light);
    transition: var(--transition);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    min-height: 600px;
    /* Fallback for content */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('DC-AuhHxIhh6whqjz_QIY.png') center/cover no-repeat;
    animation: cinematic-pan 20s ease-in-out infinite alternate;
}

@keyframes cinematic-pan {
    0% {
        background-position: 100% 50%;
        /* Start at Right (Brain) */
        background-size: 100%;
    }

    100% {
        background-position: 0% 50%;
        /* End at Left (Camera) */
        background-size: 125%;
        /* Zoom in 25% */
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.4) 100%);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 8px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-gray);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

/* =========================================
   About Section
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-left: 3px solid var(--secondary-color);
    padding-left: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

.stat-row {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.visual-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.visual-card:hover,
.highlight-card {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(241, 196, 15, 0.05));
    border-color: var(--secondary-color);
    transform: translateX(10px);
}

.visual-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.visual-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.visual-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* =========================================
   Videos Section (Grid)
   ========================================= */
.videos {
    background-color: var(--bg-dark);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

.video-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    background: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    display: block;
    aspect-ratio: 16/9;
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    display: block;
}

.video-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.4);
    border-color: var(--secondary-color);
    z-index: 3;
    position: relative;
}

.video-card:hover img {
    opacity: 0.9;
}

/* =========================================
   Community Banner
   ========================================= */
.community-banner {
    background: linear-gradient(90deg, #111 0%, #0a0a0a 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.banner-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-gray);
}

.btn-large {
    padding: 15px 50px;
    font-size: 1.1rem;
}

/* =========================================
   Contact Section
   ========================================= */
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-dark-accent);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: #000;
    border: 1px solid #333;
    border-radius: 5px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
}

.file-drop-area {
    position: relative;
    padding: 20px;
    border: 2px dashed #333;
    border-radius: 5px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.file-drop-area:hover {
    border-color: var(--primary-color);
    background: rgba(241, 196, 15, 0.05);
}

.file-drop-area input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-msg {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.file-drop-area i {
    font-size: 2rem;
    color: var(--text-gray);
}

.btn-block {
    width: 100%;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background: #000;
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-info p {
    color: var(--text-gray);
    margin-bottom: 20px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-dark-accent);
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-gray);
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* =========================================
   Animations
   ========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1002;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #111;
        flex-direction: column;
        justify-content: center;
        transition: 0.5s ease;
        padding-top: 60px;
    }

    .nav-menu.active {
        right: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-wrapper {
        padding: 30px 20px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}