/* Custom styles for Dominica International Airport */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Custom font families */
.font-sans {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Scrollbar hiding */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Custom animations */
@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-slide-in {
    animation: slide-in 0.3s ease-out forwards;
}

.animate-slide-up {
    animation: slide-up 0.5s ease-out;
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out forwards;
}

/* Pulse animation for operational status */
@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse-dot {
    animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Glass card effect */
.glass-card {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 1rem;
}

/* Custom selection colors */
::selection {
    background-color: #EAB308;
    color: #052e16;
}

/* Reveal on scroll animation classes */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

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

/* Navigation dropdown animation */
.nav-dropdown {
    opacity: 0;
    transform: scale(0.95) translateY(-8px);
    visibility: hidden;
    transition: all 0.3s ease-out;
}

.nav-dropdown.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    visibility: visible;
}

/* Hero background zoom */
.hero-bg {
    animation: zoom 20s ease-in-out infinite alternate;
}

/* Cookie notice slide-up */
.cookie-notice {
    animation: slide-up 0.5s ease-out;
}

/* High contrast mode */
.high-contrast {
    filter: contrast(1.2) saturate(0.8);
}

/* Custom scrollbar for desktop */
@media (min-width: 1024px) {
    ::-webkit-scrollbar {
        width: 10px;
    }
    
    ::-webkit-scrollbar-track {
        background: #052e16;
    }
    
    ::-webkit-scrollbar-thumb {
        background: #006B3F;
        border-radius: 5px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #EAB308;
    }
}

/* Flight card border animation */
.flight-card {
    position: relative;
    transition: all 0.3s ease;
}

.flight-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.flight-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #EAB308;
    transition: background 0.3s ease;
}

.flight-card:hover::before {
    background: white;
}

/* Status badges */
.status-boarding {
    background: #EAB308;
    color: #052e16;
    animation: pulse-dot 2s infinite;
}

.status-delayed {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.5);
}

.status-departed {
    background: rgba(107, 114, 128, 0.5);
    color: #9ca3af;
    border: 1px solid #4b5563;
}

.status-scheduled {
    background: rgba(0, 107, 63, 0.5);
    color: #6ee7b7;
    border: 1px solid #006B3F;
}

/* Mobile menu animation */
.mobile-menu-item {
    opacity: 0;
    transform: translateX(-20px);
    animation: slide-in 0.3s ease-out forwards;
}

.mobile-menu-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-item:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu-item:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu-item:nth-child(4) { animation-delay: 0.25s; }

/* Guide card overlay */
.guide-card-overlay {
    background: linear-gradient(to top, #052e16, transparent, transparent);
    opacity: 0.9;
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(234, 179, 8, 0.2);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 35px -10px rgba(234, 179, 8, 0.3);
}