/* Custom styles for NAS JAX Auto Skills Center */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(56, 161, 105, 0.2);
    color: #0A1628;
}

/* Subtle gradient overlay for hero image */
.hero-img-col::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.15) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

/* Service card accent on hover */
.service-card:hover .w-14 {
    transform: scale(1.05);
}

/* Form input focus transition */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.1);
}

/* Mobile menu overlay transition */
#mobile-menu {
    transition: opacity 0.35s ease;
}

/* Prevent content flash on scroll reveal */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal-up.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Print styles */
@media print {
    nav, #mobile-menu, .cta-section, form { display: none; }
    body { color: #000; background: #fff; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-img-col { display: none; }
}
