/* Custom styles for Easy Method Driver Training School */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1b20;
}
::-webkit-scrollbar-thumb {
    background: #43454d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #65676f;
}

/* Selection color */
::selection {
    background: rgba(240, 96, 48, 0.3);
    color: #f6f6f7;
}

/* Navbar transition */
#navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(13, 14, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animations (progressive enhancement) */
@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; }
}

/* Service card hover */
.group:hover .group-hover\:bg-coral-600\/25 {
    background-color: rgba(240, 96, 48, 0.25);
}

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

/* Button hover lift */
a[href="tel:+12098337601"],
button[type="submit"] {
    transition: all 0.3s ease;
}

/* Image hover zoom */
.rounded-2xl.overflow-hidden img {
    transition: transform 0.6s ease;
}

.rounded-2xl.overflow-hidden:hover img {
    transform: scale(1.03);
}

/* Coral gradient for CTA */
section.bg-coral-600 h2 {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Subtle pattern overlay for hero */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(240, 96, 48, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* Print styles */
@media print {
    nav, #mobile-menu-btn, #mobile-menu {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
