:root {
    --primary-bg: #121212;
    --secondary-bg: #1a1a1a;
    --accent-color: #FFD700;
    --text-light: #EAEAEA;
    --text-muted: #888888
}

body {
    background-color: var(--primary-bg);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    color: var(--accent-color)
}

.section-title h2 {
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    color: #fff
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4)
}

.neon-gold-text {
    color: var(--accent-color);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5)
}

.btn-brand {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 10px 25px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--accent-color)
}

.btn-brand:hover {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    box-shadow: 0 0 20px var(--accent-color);
    transform: scale(1.05)
}

.btn-social{
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 2px 20px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 2px var(--accent-color);
}

.btn-social:hover {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    box-shadow: 0 0 5px var(--accent-color);
    transform: scale(1.01)
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
    transition: opacity 0.5s ease
}

.film-loader-icon {
    font-size: 5rem;
    color: var(--accent-color);
    animation: pulse 2s ease-in-out infinite
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5
    }
    50% {
        transform: scale(1.1);
        opacity: 1
    }
    100% {
        transform: scale(1);
        opacity: 0.5
    }
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease
}

.navbar-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--accent-color) !important
}

.navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 15px;
    position: relative
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--accent-color)
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s
}

.navbar-nav .nav-link:hover::after {
    width: 100%
}

.navbar-scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 0.5rem 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5)
}

#hero {
    height: 100vh;
    width: 100%;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center
}

#hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 56px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5)
}

#hero .tagline {
    color: #eee;
    margin-bottom: 50px;
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif
}

.typewriter {
    overflow: hidden;
    border-right: .15em solid var(--accent-color);
    white-space: nowrap;
    letter-spacing: .15em;
    animation: typing 3.5s steps(30, end), blink-caret .75s step-end infinite
}

@keyframes typing {
    from {
        width: 0
    }
    to {
        width: 100%
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent
    }
    50% {
        border-color: var(--accent-color)
    }
}

section {
    padding: 100px 0;
    overflow: hidden
}

.bg-dark-subtle {
    background-color: var(--secondary-bg) !important
}

.director-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 40px auto;
    border-left: 3px solid var(--accent-color);
    padding-left: 20px
}

#about img {
    border-radius: 10px;
    box-shadow: -10px 10px 0px rgba(255, 215, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s
}

#about img:hover {
    transform: scale(1.02) translate(5px, -5px);
    box-shadow: 0px 0px 0px rgba(255, 215, 0, 0.5)
}

#filmography .nav-pills .nav-link {
    color: var(--text-light);
    border: 1px solid var(--accent-color);
    margin: 0 5px;
    border-radius: 50px;
    transition: all 0.3s
}

#filmography .nav-pills .nav-link.active {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    font-weight: bold;
    box-shadow: 0 0 15px var(--accent-color)
}

.film-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: opacity 0.4s ease, transform 0.4s ease
}

.film-item.hide {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none
}

.film-item .film-info {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(18, 18, 18, 0.85);
    padding: 15px;
    transition: bottom 0.4s ease-in-out;
    text-align: center
}

.film-item:hover .film-info {
    bottom: 0
}

.film-item img {
    transition: transform 0.3s ease;
    border-radius: 10px
}

.film-item:hover img {
    transform: scale(1.1)
}

.gallery-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    gap: 1rem
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
    border-radius: 10px
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.8)
}

.grid-item-wide {
    grid-column: span 2
}

.grid-item-tall {
    grid-row: span 2
}

.gallery-item::after {
    content: '\eb70';
    font-family: 'unicons-line';
    font-size: 2.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    color: #fff;
    opacity: 0;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5)
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1)
}

.lightbox {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease
}

.lightbox.active {
    visibility: visible;
    opacity: 1
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    transform: scale(0.9);
    transition: transform 0.4s ease
}

.lightbox.active .lightbox-content {
    transform: scale(1)
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s, transform 0.3s
}

.lightbox-close:hover {
    color: #bbb;
    transform: rotate(90deg)
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    user-select: none;
    transition: background-color 0.3s ease;
    background-color: rgba(0, 0, 0, 0.3)
}

.lightbox-prev i, .lightbox-next i {
    font-size: 2.5rem;
    display: block
}

.lightbox-next {
    right: 0;
    border-radius: 5px 0 0 5px
}

.lightbox-prev {
    left: 0;
    border-radius: 0 5px 5px 0
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.7)
}

#timeline {
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #333;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--primary-bg);
    border: 4px solid var(--accent-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--accent-color)
}

.timeline-left {
    left: 0
}

.timeline-right {
    left: 50%
}

.timeline-left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 30px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--secondary-bg);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--secondary-bg)
}

.timeline-right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 30px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--secondary-bg);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--secondary-bg) transparent transparent
}

.timeline-right::after {
    left: -10px
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--secondary-bg);
    position: relative;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5)
}

.timeline-content h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--accent-color)
}

.timeline-content p {
    margin-bottom: 0;
    color: #ccc;
    font-size: 0.95rem
}

.timeline-year {
    position: absolute;
    top: -15px;
    background: var(--accent-color);
    color: var(--primary-bg);
    font-family: 'Cinzel', serif;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem
}

.timeline-left .timeline-year {
    right: 20px
}

.timeline-right .timeline-year {
    left: 20px
}

.award-item {
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease
}

.award-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5)
}

.award-item i {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--accent-color);
    display: inline-block
}

.award-item h4 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.4
}

.award-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5
}

.contact-info-box {
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: 10px;
    height: 100%;
    color: var(--text-light)
}

.contact-info-box h3 {
    font-size: 1.8rem
}

.contact-info-box p {
    color: var(--text-muted)
}

.contact-details-list li {
    list-style: none;
    margin-bottom: 15px
}

.contact-details-list i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--accent-color);
    vertical-align: middle
}

.contact-socials a {
    font-size: 1.8rem;
    color: var(--text-muted);
    margin-right: 20px;
    transition: color 0.3s, transform 0.3s;
    display: inline-block
}

.contact-socials a:hover {
    color: var(--accent-color);
    transform: translateY(-3px)
}

.form-control {
    background-color: var(--secondary-bg);
    border: 1px solid #333;
    color: #EAEAEA;
    border-radius: 5px;
    padding: 12px
}

.form-control:focus {
    background-color: var(--secondary-bg);
    color: #EAEAEA;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color)
}

.form-control::placeholder {
    color: #888;
    opacity: 1
}

.form-control:-ms-input-placeholder {
    color: #888
}

.form-control::-ms-input-placeholder {
    color: #888
}

#footer {
    background: #000;
    padding: 30px 0;
    color: var(--text-muted);
    text-align: center;
    border-top: 1px solid #333
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns:repeat(3, 1fr)
    }
}

@media (max-width: 768px) {
    #hero {
        height: 80vh;
        min-height: 500px;
        background-size: cover;
        background-attachment: scroll;
        background-position: 60% center !important
    }

    #hero h1 {
        font-size: 2.8rem
    }

    .timeline::after {
        left: 31px
    }

    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px
    }

    .timeline-container::before {
        left: 60px;
        border: medium solid var(--secondary-bg);
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--secondary-bg) transparent transparent
    }

    .timeline-left::after, .timeline-right::after {
        left: 21px
    }

    .timeline-right {
        left: 0%
    }

    .contact-info-box {
        margin-bottom: 30px
    }

    .gallery-grid {
        grid-template-columns:repeat(2, 1fr);
        grid-auto-rows: 200px
    }
}

@media (max-width: 480px) {
    #hero {
        height: 70vh;
        min-height: 400px
    }

    #hero h1 {
        font-size: 2rem
    }
}

.film-item {
    transition: transform 0.4s ease, opacity 0.4s ease
}

.film-item.animating-out {
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none
}

.film-item.hide {
    display: none
}

.text-secondary strong, .text-highlight {
    color: #FFD700
}

.video-thumb {
    position: relative;
    cursor: pointer;
    overflow: hidden
}

.video-thumb img {
    transition: transform 0.3s ease
}

.video-thumb:hover img {
    transform: scale(1.05)
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.85);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s ease
}

.play-btn:hover {
    background: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1)
}

.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center
}

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 900px
}

.video-close {
    position: absolute;
    top: -25px;
    right: -25px;
    color: #fff;
    font-size: 32px;
    cursor: pointer
}

.film-item img {
    transition: transform 0.3s ease;
    border-radius: 10px;
    max-height: 200px;
    object-fit: contain
}

#expertise {
}

.expertise-header .section-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600
}

.expertise-header h2 {
    color: #fff;
    font-size: 2.5rem;
    max-width: 600px;
    margin: 10px auto 0 auto
}

.expertise-item {
    padding: 30px;
    transition: all 0.3s
}

.expertise-item .icon {
    margin-bottom: 20px
}

.expertise-item .icon i {
    font-size: 3.5rem;
    color: var(--accent-color);
    transition: all 0.3s
}

.expertise-item h4 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px
}

.expertise-item p {
    line-height: 1.7
}

.experience-stat-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    background-color: var(--secondary-bg);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 5px solid var(--accent-color)
}

.experience-stat-box .number {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1
}

.experience-stat-box .text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
    color: #fff
}

.film-item {
    transition: opacity 0.4s ease, transform 0.4s ease
}

.film-item.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none
}

#video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center
}

#video-modal iframe {
    width: 80%;
    height: 80%
}

.video-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer
}

#custom-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center
}

#custom-lightbox.active {
    display: flex
}

#custom-lightbox img {
    max-width: 90%;
    max-height: 90%
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    color: #fff;
    font-size: 2rem;
    cursor: pointer
}

.lightbox-close {
    top: 20px;
    right: 30px
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%)
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%)
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgb(26 26 26 / 76%);
        backdrop-filter: blur(8px);
        padding: 1.2rem 1.5rem;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        z-index: 999;
        border-radius: 0;
        transition: all 0.35s ease-in-out
    }

    .navbar-collapse.show {
        animation: slideDownMobile 0.35s ease forwards
    }

    @keyframes slideDownMobile {
        0% {
            opacity: 0;
            transform: translateY(-10px)
        }
        100% {
            opacity: 1;
            transform: translateY(0)
        }
    }.navbar-nav .nav-link {
         color: var(--text-light);
         font-weight: 600;
         text-transform: uppercase;
         margin: 0.5rem 0;
         display: block;
         transition: color 0.2s ease
     }

    .navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
        color: var(--accent-color)
    }
}

.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out
}

.hero-slider .slide.active {
    opacity: 1;
    z-index: 1
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: #fff
}

@media (max-width: 768px) {
    .hero-slider .slide {
        background-position: 62% center !important
    }
}
