/* Custom CSS File for RN Express */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Background Patterns for Hero */
.pattern-dots {
    background-image: radial-gradient(circle, #ffffff 1px, transparent 1px);
    background-size: 20px 20px;
    animation: slide-bg 60s linear infinite;
}

@keyframes slide-bg {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 1000px 500px;
    }
}

/* Base animations */
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-pulse-quick {
    animation: pulseQuick 0.3s ease-out;
}

@keyframes pulseQuick {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Seat specific styles tweaking */
#seat-map button {
    /* To prevent double tap zoom on mobile */
    touch-action: manipulation;
}

/* Custom Scrollbar for a premium look */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #9180A3;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #000000;
}
/* Premium Hero Section Styles */
.hero-gradient {
    background: radial-gradient(circle at top left, #1a1a1a 0%, #0a0a0a 50%, #000000 100%);
} 

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.2);
}

.glowing-edge {
    position: relative;
    overflow: hidden;
}

.glowing-edge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    border-radius: inherit;
    background: linear-gradient(45deg, transparent, rgba(211, 210, 124, 0.3), transparent) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
}

/* Light Trails Animation */
.light-trail {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(211, 210, 124, 0.5), #D3D27C, white);
    filter: blur(1px);
    border-radius: 100px;
    opacity: 0;
    animation: move-trail 4s linear infinite;
}

@keyframes move-trail {
    0% {
        transform: translateX(-100%) scaleX(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(300%) scaleX(1.5);
        opacity: 0;
    }
}

.trail-1 { top: 20%; left: -10%; width: 150px; animation-delay: 0s; }
.trail-2 { top: 45%; left: -20%; width: 250px; animation-delay: 1.5s; }
.trail-3 { top: 75%; left: -15%; width: 200px; animation-delay: 3s; }

/* Gold & Red Highlights */
.text-gold { color: #D3D27C; }
.bg-gold { background-color: #D3D27C; }
.text-soft-red { color: #D22D2B; }
.bg-soft-red { background-color: #D22D2B; }
.purple-glow {
    box-shadow: 0 0 20px rgba(145, 128, 163, 0.3);
}

/* Floating Badges Animation */
.floating-badge {
    animation: float-badge 4s ease-in-out infinite;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-10px) translateX(5px); }
}

/* Motion Blur Highway Effect */
.highway-blur {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.8), transparent);
    pointer-events: none;
}

.highway-blur::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(255, 255, 255, 0.05) 101px, rgba(255, 255, 255, 0.05) 150px);
    transform: perspective(500px) rotateX(60deg);
    filter: blur(2px);
    opacity: 0.3;
    animation: highway-move 10s linear infinite;
}

@keyframes highway-move {
    from { transform: perspective(500px) rotateX(60deg) translateX(0); }
    to { transform: perspective(500px) rotateX(60deg) translateX(-50%); }
}

/* Mobile Image Caption Fix */
@media (max-width: 768px) {
    .group .translate-y-4 {
        transform: translateY(0);
    }
    .group .opacity-0 {
        opacity: 1;
    }
}
