/* Custom Utilities */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Force hide ALL video controls and play buttons */
.video-bg::-webkit-media-controls {
    display: none !important;
    opacity: 0 !important;
}

.video-bg::-webkit-media-controls-enclosure {
    display: none !important;
    opacity: 0 !important;
}

.video-bg::-webkit-media-controls-panel {
    display: none !important;
    opacity: 0 !important;
}

.video-bg::-webkit-media-controls-play-button {
    display: none !important;
    opacity: 0 !important;
}

.video-bg::-webkit-media-controls-start-playback-button {
    display: none !important;
    opacity: 0 !important;
}

video::-internal-media-controls-overlay-cast-button {
    display: none !important;
}

/* Additional aggressive hiding for any video UI */
video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    opacity: 0 !important;
}

video::cue {
    display: none !important;
}

#hero-video::backdrop {
    display: none !important;
}

#mobile-menu {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

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

.menu-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Work Gallery Transitions */
.work-item {
    transition: all 0.4s ease-in-out;
}

.work-item.hidden-item {
    display: none;
}

.work-item.show-item {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #e9f1f4;
}

.dark ::-webkit-scrollbar-track {
    background: #0F0F11;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #333;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFEB3B;
}

/* Lazy Load / Scroll Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid items */
.delay-100 {
    transition-delay: 0.1s;
}

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

.delay-300 {
    transition-delay: 0.3s;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}