/* Only custom styles that Tailwind doesn't cover */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Custom animations */
@keyframes slideLeft {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

@keyframes slideRight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0%); }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.8);
}

/* Navigation toggle for mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    /* transform: translateY(30px); */
    /* transition: all 0.6s ease; */
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
} */

/* Gallery scroll direction control */
.scroll-up .animate-slide-right {
    animation-direction: reverse;
}

/* Modal display utilities */
.modal.show {
    display: flex !important;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    #nav-menu.active {
        display: block;
    }
}


/* Enhanced cursor gradient with lowest z-index */
/* #cursor-gradient {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -10 !important;
    background: radial-gradient(
        circle,
        rgba(255, 215, 0, 0.4) 0%,
        rgba(255, 165, 0, 0.3) 30%,
        rgba(255, 215, 0, 0.2) 50%,
        transparent 70%
    );
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translate(-50%, -50%);
} */

/* Enhanced animations for content */
.animate-on-scroll {
    opacity: 0;
    transition: all 1s cubic-bezier(2, 0, 0.1, 0.8);
}

/* .animate-on-scroll.slide-up {
    transform: translateY(50px);
}

.animate-on-scroll.slide-left {
    transform: translateX(-60px);
}

.animate-on-scroll.slide-right {
    transform: translateX(60px);
}

.animate-on-scroll.slide-up-left {
    transform: translate(-40px, 40px);
}

.animate-on-scroll.slide-up-right {
    transform: translate(40px, 40px);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0, 0);
} */

.animate-on-scroll.slide-up {
    transform: translateY(60px);
}

.animate-on-scroll.slide-left {
    transform: translateX(-80px);
}

.animate-on-scroll.slide-right {
    transform: translateX(80px);
}

.animate-on-scroll.slide-up-left {
    transform: translate(-50px, 50px);
}

.animate-on-scroll.slide-up-right {
    transform: translate(50px, 50px);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.animate-on-scroll.move-out {
    opacity: 0.3;
    transform: scale(0.95);
    transition: all 0.6s ease-out;
}

/* Coverflow Carousel Styles */
/* .carousel-container {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    z-index: 10;
} */
/* 
.carousel-track {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    transform-style: preserve-3d;
} */

/* .carousel-item {
    position: absolute;
    width: 300px;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform-style: preserve-3d;
    border: 2px solid rgba(255, 215, 0, 0.3);
} */
/* 
.carousel-item.active {
    z-index: 100;
    transform: translateX(0) translateZ(0) rotateY(0deg) scale(1);
    opacity: 1;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.8);
}

.carousel-item.left-1 {
    z-index: 90;
    transform: translateX(-200px) translateZ(-200px) rotateY(35deg) scale(0.8);
    opacity: 0.7;
}

.carousel-item.left-2 {
    z-index: 80;
    transform: translateX(-350px) translateZ(-400px) rotateY(45deg) scale(0.6);
    opacity: 0.4;
}

.carousel-item.right-1 {
    z-index: 90;
    transform: translateX(200px) translateZ(-200px) rotateY(-35deg) scale(0.8);
    opacity: 0.7;
}

.carousel-item.right-2 {
    z-index: 80;
    transform: translateX(350px) translateZ(-400px) rotateY(-45deg) scale(0.6);
    opacity: 0.4;
}

.carousel-item.hidden {
    z-index: 10;
    transform: translateX(500px) translateZ(-600px) rotateY(-60deg) scale(0.3);
    opacity: 0;
} */

.item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

/* .carousel-item:hover .item-content,
.carousel-item.active .item-content {
    transform: translateY(0);
} */

.item-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFD700;
    margin: 0;
}

/* Mobile responsive */
/* @media (max-width: 768px) {
    .carousel-container {
        height: 300px;
    }
    
    .carousel-item {
        width: 200px;
        height: 280px;
    }
    
    .carousel-item.left-1,
    .carousel-item.right-1 {
        transform: translateX(-120px) translateZ(-150px) rotateY(35deg) scale(0.7);
    }
    
    .carousel-item.left-2,
    .carousel-item.right-2 {
        transform: translateX(-200px) translateZ(-300px) rotateY(45deg) scale(0.5);
    }
} */



/* Enhanced hero logo video styles with better iOS support */
.hero-logo-video {
    height: 340px;
    width: 100%;
    max-width: 340px;
    object-fit: contain;
    margin: 60px auto 0 auto;
    display: block;
   
    transition: var(--transition);
  
    background: transparent;
    z-index: 3;
}

.hero-logo-video:hover {
   
    transform: scale(1.02);
}


.hero-logo-apng {
    height: 960px;
    width: 100%;
    max-width: 960px;
    object-fit: contain;
    margin: 60px auto 0 auto;
    display: block;
   
    transition: var(--transition);
  
    background: transparent;
    z-index: 3;
}

.hero-logo-apng:hover {
   
    transform: scale(1.02);
}


/* Ensure fallback image is hidden when video loads */
.hero-logo-fallback {
    display: none;
    height: 460px;
    width: auto;
    border-radius: 50%;
    border: 3px solid #FFD700;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Show fallback if both video sources fail */
.hero-logo-video:not([src]):not([srcset]) + .hero-logo-fallback {
    display: block;
}


@media (max-width: 768px) {
    .hero-logo-video,
    .hero-logo-apng,
    .hero-logo-fallback {
        height: 500px;
    }
    
    .hero-logo {
        margin-bottom: -2rem;
    }
}

@media (max-width: 480px) {
    .hero-logo-video,
    .hero-logo-apng,
    .hero-logo-fallback {
        height: 400px;
    }
}



/* Enhanced hero video z-index */
.hero-video {
    z-index: 1 !important;
}

.hero-overlay {
    z-index: 2 !important;
}

.hero-content {
    z-index: 3 !important;
}

/* Infinite Ring Carousel Styles */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.05) 50%, transparent 70%);
    border-radius: 20px;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    transition: none;
    animation: none;
}

.carousel-item {
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.3);
    filter: brightness(1.1);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .carousel-wrapper {
        height: 300px;
    }
    
    .carousel-item {
        min-width: 250px;
        height: 250px;
    }
    
    .carousel-track {
        gap: 1rem;
    }
}