/* Base & Typography */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: #f59e0b;
    color: #101e2c;
}

/* Navbar */
.nav-text {
    color: #101e2c;
}

.nav-text-muted {
    color: #d97706;
}

.nav-btn {
    background-color: #f0f4f8;
    color: #101e2c;
}

.navbar-scrolled .nav-text {
    color: #101e2c;
}

.navbar-scrolled .nav-text-muted {
    color: #d97706;
}

.navbar-scrolled .nav-link {
    color: #33475e;
}

.navbar-scrolled .nav-btn {
    background-color: #f0f4f8;
    color: #101e2c;
}

/* Hero floating cards */
@keyframes float-1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

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

@keyframes float-4 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.float-card-1 { animation: float-1 6s ease-in-out infinite; }
.float-card-2 { animation: float-2 5s ease-in-out infinite 0.5s; }
.float-card-3 { animation: float-3 7s ease-in-out infinite 1s; }
.float-card-4 { animation: float-4 4s ease-in-out infinite 0.3s; }

/* Scroll reveal animations - progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Mobile menu */
.mobile-link {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f4f8;
}

/* Button hover glow */
button:hover, a:hover {
    transition: all 0.3s ease;
}

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

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

::-webkit-scrollbar-thumb {
    background: #9fb3c8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #627d98;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* Form select styling */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239fb3c8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Image placeholder fallback */
img {
    background-color: #d9e2ec;
}
