/* Hide scrollbars but keep scroll functionality */
body {
    overflow: auto;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Video Section Styles */
.video-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: #000;
}

.video-section #video,
.video-section #vimeo-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 15;
    cursor: pointer;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: transparent;
    padding: 20px 38px;
    z-index: 20;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-controls.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.progress-container {
    position: relative;
    flex: 1;
    height: 40px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.progress-bar-bg {
    position: relative;
    width: 100%;
    height: 1px;
    background-color: rgba(138, 140, 143, 0.5);
    transition: height 0.2s ease;
}

.progress-container:hover .progress-bar-bg {
    height: 3px;
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: white;
    width: 0%;
    transition: width 0.3s ease-out;
}

.progress-thumb {
    position: absolute;
    left: 0;
    width: 14px;
    height: 14px;
    background-color: white;
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    cursor: pointer;
    transition: left 0.3s ease-out, transform 0.2s ease;
    opacity: 0;
}

.progress-container:hover .progress-thumb {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

.thumb-timecode {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    user-select: none;
}

.control-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 580;
    font-size: 11px;
    color: white;
    background: transparent;
    border: none;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 56px;
    text-align: left;
    cursor: pointer;
}

.control-btn:hover {
    opacity: 0.7;
}

.control-btn.muted {
    text-decoration: line-through;
}
.info-bar-01 {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 100%;
    text-align: left;
}

/* Fullscreen controls styling */
.video-section:fullscreen .video-controls,
.video-section:-webkit-full-screen .video-controls,
.video-section:-moz-full-screen .video-controls,
.video-section:-ms-fullscreen .video-controls {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Ensure controls stay at bottom in fullscreen */
.video-section:fullscreen,
.video-section:-webkit-full-screen,
.video-section:-moz-full-screen,
.video-section:-ms-fullscreen {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Hide cursor when controls are hidden in fullscreen */
.video-section:fullscreen.hide-cursor,
.video-section:-webkit-full-screen.hide-cursor,
.video-section:-moz-full-screen.hide-cursor,
.video-section:-ms-fullscreen.hide-cursor {
    cursor: none;
}

/* Cursor style for clickable elements */
button, a, .cursor-pointer, .nav-hover, #progressBar, .control-btn {
    cursor: pointer !important;
    user-select: none;
}

button:hover, a:hover, .cursor-pointer:hover, .nav-hover:hover {
    cursor: pointer !important;
}

/* Default cursor for non-interactive elements */
#videoContainer, #currentTime, #duration, span {
    cursor: default !important;
    user-select: none;
}

/* Hide default cursor on video links */
.video-link, .project-section {
    cursor: none !important;
}

/* Floating Play Cursor */
.play-cursor {
    position: fixed;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    display: none;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, opacity 0.2s ease;
}

.play-cursor.active {
    display: block;
}

.play-cursor::after {
    content: 'PLAY';
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translate(100%, -50%);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.play-cursor.hovering {
    transform: translate(-50%, -50%) scale(1.2);
}

/* Custom font styles */
.font-inter-regular {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: white;
    word-wrap: break-word;
}

.font-inter-bold {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: white;
    text-transform: uppercase;
    word-wrap: break-word;
    letter-spacing: 0.05em;
}

.font-inter-black {
    font-family: 'Gotham Condensed', 'Gotham', sans-serif;
    font-weight: 950;
    font-stretch: ultra-condensed;
    font-size: 128px;
    color: white;
    text-transform: uppercase;
    word-wrap: break-word;
    line-height: 100%;
}

/* Responsive styles */
@media (max-width: 768px) {
    .font-inter-black {
        font-size: 64px;
    }
    .font-inter-bold {
        font-size: 6.5px;
    }
}

@media (max-width: 480px) {
    .font-inter-black {
        font-size: 48px;
    }
    .font-inter-bold {
        font-size: 5.5px;
    }
}

/* Work Page Responsive Styles */
@media (max-width: 1024px) {
    .font-inter-black {
        font-size: 64px;
    }
}

@media (max-width: 768px) {
    .font-inter-black {
        font-size: 48px;
    }
    .font-inter-bold {
        font-size: 12px;
    }
    .font-inter-regular {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .font-inter-black {
        font-size: 32px;
    }
    .font-inter-bold {
        font-size: 10px;
    }
    .font-inter-regular {
        font-size: 10px;
    }
}

/* Hover effects for navbar */
.nav-hover {
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-hover::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-hover:hover::after {
    width: 100%;
}

.nav-hover:hover {
    opacity: 1;
}

/* Remove underline for WORK nav item (has submenu) */
.nav-hover:has(.work-submenu)::after {
    display: none;
}

/* Work submenu styles */
.work-submenu {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-hover:hover .work-main-text {
    opacity: 0;
}

.nav-hover:hover .work-submenu {
    opacity: 1;
    pointer-events: auto;
}

.work-submenu a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    position: relative;
    display: inline-block;
}

.work-submenu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: white;
    transition: width 0.3s ease;
}

.work-submenu a:hover::after {
    width: 100%;
}

.work-submenu a:hover {
    opacity: 1;
}

/* Knockout text effect */
.knockout-text {
    color: white;
    mix-blend-mode: difference;
    font-family: 'Gotham Condensed', 'Gotham', sans-serif;
    font-weight: 950;
    font-stretch: ultra-condensed;
    font-size: 100px;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 100%;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ff8000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-overlay.fade-out {
    opacity: 0;
}

.loading-overlay.slide-down {
    transform: translateY(100%);
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Home page - no slide animation */
.main-content {
    transform: translateY(0);
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loading-text {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.progress-container {
    width: 300px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: white;
    width: 0%;
    border-radius: 2px;
    transition: width 0.1s ease-out;
}

.percentage-text {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 1px;
}

/* Production title responsive styles */
.production-title {
    font-size: 120px;
    line-height: 100%;
}

@media (max-width: 1440px) {
    .production-title {
        font-size: 100px;
    }
}

@media (max-width: 1200px) {
    .production-title {
        font-size: 80px;
    }
}

@media (max-width: 1024px) {
    .production-title {
        font-size: 70px;
    }
}

@media (max-width: 768px) {
    .production-title {
        font-size: 56px;
    }
}

@media (max-width: 640px) {
    .production-title {
        font-size: 42px;
    }
}

@media (max-width: 480px) {
    .production-title {
        font-size: 32px;
    }
}

@media (max-width: 360px) {
    .production-title {
        font-size: 28px;
    }
}

@media (max-width: 320px) {
    .production-title {
        font-size: 24px;
    }
}

/* Animated line effect */
.animated-line {
    transform-origin: left center;
    transform: scaleX(0);
    will-change: transform;
}

/* Project info transition */
#projectTitle, #projectFormat {
    transition: opacity 0.3s ease-in-out;
}

.project-info-fade {
    opacity: 0.3;
}

/* Sticky project bar positioning */
.sticky-scroll {
    position: sticky;
    top: 40%;
}

/* Mix blend mode constraint for navbar */
nav.mix-blend-difference {
    filter: contrast(1000%) brightness(100%);
}

/* Lenis smooth scroll setup */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

body {
    overflow-x: hidden;
}

/* Responsive styles for loading */
@media (max-width: 768px) {
    .progress-container {
        width: 250px;
    }
    .loading-text {
        font-size: 16px;
    }
    .percentage-text {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .progress-container {
        width: 200px;
    }
    .loading-text {
        font-size: 14px;
    }
    .percentage-text {
        font-size: 18px;
    }
}

/* ========================================
   BURGER MENU - Tablet & Mobile
   ======================================== */

/* Desktop nav - visible by default */
.desktop-nav {
    display: flex;
}

.desktop-instagram {
    display: block;
}

/* Burger button - hidden on desktop */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    gap: 6px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

/* Burger button active state - Close button (X) */
.burger-btn.active {
    z-index: 1002;
    background: rgba(255, 255, 255, 0.1);
}

.burger-btn.active span {
    width: 26px;
    height: 2.5px;
}

.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Hover effect on burger/close button */
.burger-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.burger-btn.active:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

/* Close button inside mobile menu */
.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 0.5rem;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-close span {
    display: block;
    width: 26px;
    height: 2.5px;
    background-color: white;
    position: absolute;
    transition: all 0.3s ease;
}

.mobile-menu-close span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-close span:nth-child(2) {
    transform: rotate(-45deg);
}

@media (min-width: 768px) {
    .mobile-menu-close {
        top: 1.5rem;
        right: 2rem;
    }
}

/* Mobile menu navigation */
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-item {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.mobile-menu.active .mobile-menu-item {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.mobile-menu.active .mobile-menu-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-item:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-item:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-item:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu-item:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu-item:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu-item:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* Submenu styling in mobile */
.mobile-submenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.mobile-submenu-item {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-submenu-item:hover {
    color: white;
}

/* Mobile menu separator */
.mobile-menu-separator {
    width: 60px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 1rem 0;
}

/* Mobile menu social */
.mobile-menu-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease 0.4s, transform 0.3s ease 0.4s;
}

.mobile-menu.active .mobile-menu-social {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-social a {
    color: white;
    transition: opacity 0.3s ease;
}

.mobile-menu-social a:hover {
    opacity: 0.7;
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Tablet breakpoint - 1024px */
@media (max-width: 1024px) {
    /* Hide all desktop nav elements on tablet/mobile */
    nav .desktop-nav,
    nav .desktop-instagram {
        display: none !important;
    }

    /* Keep only logo and burger visible */
    nav {
        justify-content: space-between;
    }

    .burger-btn {
        display: flex !important;
    }
}

/* Mobile breakpoint adjustments */
@media (max-width: 768px) {
    .mobile-menu-item {
        font-size: 1.25rem;
    }

    .mobile-submenu-item {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .mobile-menu-item {
        font-size: 1.1rem;
    }

    .mobile-submenu-item {
        font-size: 0.8rem;
    }

    .mobile-menu-nav {
        gap: 1.5rem;
    }
}

/* ========================================
   FOOTER STYLES - All Pages
   ======================================== */

/* Desktop Footer - visible on desktop only */
.footer-desktop {
    width: 100%;
    display: block;
    background: transparent !important;
}

/* Mobile Footer - hidden on desktop */
.footer-mobile {
    display: none;
    background: transparent !important;
}

/* ========================================
   FOOTER TABLET STYLES - 1024px
   ======================================== */
@media (max-width: 1024px) {
    /* Hide desktop footer on tablet */
    .footer-desktop {
        display: none !important;
    }

    /* Show mobile footer on tablet */
    .footer-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 3rem 2rem;
        color: white;
        background: transparent !important;
    }

    /* Section 1: Contact Info - Tablet */
    .footer-contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-bottom: 4rem;
        text-align: center;
    }

    .footer-contact-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-label {
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 0.5rem;
    }

    .footer-value {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 1.25rem;
        color: white;
    }

    /* Section 2: Social Stack - Tablet (NO gaps) */
    .footer-social-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 3rem;
        line-height: 1;
        text-align: center;
    }

    .footer-social-stack span,
    .footer-social-stack a {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 1rem;
        color: white;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin: 0;
        padding: 0;
        line-height: 1.3;
        text-decoration: none;
    }

    .footer-social-stack a:hover {
        opacity: 0.7;
    }

    /* Section 3: Logo - Tablet */
    .footer-logo-mobile {
        width: 100%;
        max-width: 600px;
        margin-bottom: 3rem;
    }

    .footer-logo-mobile img {
        width: 100%;
        height: auto;
    }

    /* Section 4: Created Stack - Tablet (NO gaps) */
    .footer-created-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1;
        text-align: center;
    }

    .footer-created-stack span {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 1rem;
        color: white;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin: 0;
        padding: 0;
        line-height: 1.3;
    }
}

/* ========================================
   FOOTER MOBILE STYLES - 768px
   ======================================== */
@media (max-width: 768px) {
    /* Hide desktop footer on mobile */
    .footer-desktop {
        display: none !important;
    }

    /* Show mobile footer */
    .footer-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 2rem 1rem;
        color: white;
        background: transparent !important;
    }

    /* Section 1: Contact Info */
    .footer-contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 3rem;
        text-align: center;
    }

    .footer-contact-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-label {
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 0.25rem;
    }

    .footer-value {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 1rem;
        color: white;
    }

    /* Section 2: Social Stack (NO gaps) */
    .footer-social-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
        line-height: 1;
        text-align: center;
    }

    .footer-social-stack span,
    .footer-social-stack a {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 0.875rem;
        color: white;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin: 0;
        padding: 0;
        line-height: 1.2;
        text-decoration: none;
    }

    .footer-social-stack a:hover {
        opacity: 0.7;
    }

    /* Section 3: Logo Mobile */
    .footer-logo-mobile {
        width: 100%;
        margin-bottom: 2rem;
    }

    .footer-logo-mobile img {
        width: 100%;
        height: auto;
    }

    /* Section 4: Created Stack (NO gaps) */
    .footer-created-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1;
        text-align: center;
    }

    .footer-created-stack span {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 0.875rem;
        color: white;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin: 0;
        padding: 0;
        line-height: 1.2;
    }
}

