@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;600;700;800;900&display=swap');

/* 
 * ALLVIN AVIATION - Premium Light Design System Base
 * Tailwind handles utilities; this file handles complex animations and bespoke components.
 */

:root {
    --brand-orange: #EF6C00;
    --brand-dark: #1f2937;
    /* Very Dark Charcoal overlay for high impact areas */
    --brand-bg: #ffffff;
    --brand-surface: #f8f9fa;
    /* Very light gray for soft contrast sections */
}

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

body {
    background-color: var(--brand-bg);
    color: #374151;
    /* Default slate text for high readability */
}

/* =========================================
   Custom Animations & Keyframes
   ========================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-fade-up {
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slowZoom {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.15);
    }
}

.animate-slow-zoom {
    animation: slowZoom 20s ease-out forwards;
}

@keyframes float {

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

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

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

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spinSlow 8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* =========================================
   Elevated Light Components (Replaces Glass)
   ========================================= */

.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    /* Soft elevated shadow */
}

/* =========================================
   Dropdown Menu Animation
   ========================================= */

[x-cloak] {
    display: none !important;
}

/* =========================================
   Custom Underline Hover Effects (Nav)
   ========================================= */

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--brand-orange);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}