/* Custom styles for Air Methods website */

:root {
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Soft shadow utility */
.shadow-soft {
    box-shadow: 0 4px 24px rgba(45, 92, 59, 0.06), 0 1px 4px rgba(45, 92, 59, 0.04);
}

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

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(253, 252, 250, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(45, 92, 59, 0.08);
}

.nav-scrolled .nav-text {
    color: #2d5c3b !important;
}

/* Hero overlay gradient fix */
#hero {
    scroll-margin-top: 0;
}

/* Scroll reveal animations (below fold only) */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service card stagger */
.service-card:nth-child(1) { transition-delay: 0ms; }
.service-card:nth-child(2) { transition-delay: 80ms; }
.service-card:nth-child(3) { transition-delay: 160ms; }
.service-card:nth-child(4) { transition-delay: 240ms; }
.service-card:nth-child(5) { transition-delay: 320ms; }
.service-card:nth-child(6) { transition-delay: 400ms; }

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

#mobile-menu.open {
    max-height: 400px;
    padding-top: 0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f4f0e8;
}
::-webkit-scrollbar-thumb {
    background: #bfe0c4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8fc59a;
}

/* Form focus states */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Button press effect */
button:active, a:active {
    transform: scale(0.98) !important;
}

/* Selection color */
::selection {
    background: #bfe0c4;
    color: #1c3825;
}
