/* =========================================
   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;
    font-size: 17px;
}

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: 1.1rem;
    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;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    padding-bottom: 25px;
    box-sizing: border-box;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero-bg-v3.jpg') 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.15) 0%, rgba(10, 10, 10, 0.25) 100%);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.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: 500;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-tagline-banner {
    position: relative;
    display: inline-block;
    padding: 12px 28px;
    background: rgba(10, 15, 30, 0.9);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(0, 212, 255, 0.7);
    border-radius: 35px;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.4), inset 0 0 12px rgba(0, 212, 255, 0.25);
    margin: 0 auto;
    text-align: center;
    transition: all 0.3s ease;
}

.hero-tagline-text {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.8px;
    margin: 0 auto;
    text-align: center;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.8);
}

.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;
    object-position: center;
    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;
}

/* =========================================
   Meet Our Actors — Gallery Film Strip
   ========================================= */
.gallery-section {
    background: #0a0a0a;
    padding-bottom: 50px;
    overflow: hidden;
}

.gallery-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Left and right edge fade-out to give film-strip depth */
.gallery-carousel-container::before,
.gallery-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.gallery-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, #0a0a0a, transparent);
}

.gallery-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, #0a0a0a, transparent);
}

.gallery-strip {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: gallery-scroll 40s linear infinite;
    padding: 8px 0 16px;
}

.gallery-strip:hover {
    animation-play-state: paused;
}

@keyframes gallery-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 6px)); }
}

.gallery-frame {
    flex-shrink: 0;
    width: 380px;
    height: 214px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.gallery-frame:hover {
    border-color: rgba(0, 212, 255, 0.7);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
    transform: scale(1.04) translateY(-4px);
    z-index: 5;
    position: relative;
}

.gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: opacity 0.3s ease;
}

.gallery-frame:hover img {
    opacity: 0.92;
}

@media (max-width: 768px) {
    .gallery-frame {
        width: 280px;
        height: 158px;
    }
    .gallery-carousel-container::before,
    .gallery-carousel-container::after {
        width: 50px;
    }
}

/* =========================================
   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;
}

/* =========================================
   In Production Banner
   ========================================= */
.production-banner {
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.08) 0%, rgba(10, 10, 10, 1) 100%);
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
}

/* =========================================
   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: 2.2rem;
    }

    .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: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-wrapper {
        padding: 30px 20px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .hero-tagline-banner {
        bottom: 12px;
        padding: 8px 16px;
        max-width: 95%;
    }

    .hero-tagline-text {
        font-size: 0.95rem;
    }
}

/* =========================================
   New Casting Form Styles
   ========================================= */

/* Casting Notification Banner */
.casting-notification {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(241,196,15,0.12), rgba(52,152,219,0.1));
    border: 1px solid rgba(241,196,15,0.4);
    border-radius: 12px;
    padding: 16px 24px;
    margin: 0 auto 36px;
    max-width: 800px;
    text-align: left;
}

.casting-notification i {
    font-size: 1.6rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.casting-notification p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Form Section Titles */
.form-section-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(241,196,15,0.25);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 14px;
}

/* Form labels and inputs - larger for readability */
.contact-form label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: var(--text-light);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    font-size: 1rem;
    padding: 12px 14px;
}

.optional {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-gray);
}

/* Union & Role Checkboxes */
.checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 8px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px 24px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: var(--text-light);
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

/* Trust Block */
.trust-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
    padding: 28px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.trust-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.trust-item i {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4px;
}

.trust-item p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

/* =========================================
   Standalone Gallery Page & Lightbox Styles
   ========================================= */
.gallery-page-section {
    padding: 120px 0 80px;
    background: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.gallery-grid-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
    border: 1px solid rgba(0, 212, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease, opacity 0.35s ease;
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 30, 0.65);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item-overlay i {
    font-size: 2.2rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
    transform: scale(0.8);
    transition: transform 0.35s ease;
}

.gallery-grid-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.35);
}

.gallery-grid-item:hover img {
    transform: scale(1.06);
}

.gallery-grid-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-grid-item:hover .gallery-item-overlay i {
    transform: scale(1);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 10, 0.95);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.3), 0 10px 40px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.4);
    object-fit: contain;
}

.lightbox-counter {
    margin-top: 16px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(15, 20, 35, 0.85);
    color: #fff;
    border: 1px solid rgba(0, 212, 255, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-close {
    top: 25px;
    right: 35px;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .lightbox-prev { left: 10px; width: 40px; height: 40px; }
    .lightbox-next { right: 10px; width: 40px; height: 40px; }
    .lightbox-close { top: 15px; right: 15px; width: 40px; height: 40px; }
}