/* Custom styles for Seneca Valley Dental */

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

/* Navbar transition */
#navbar.scrolled {
    background: rgba(26, 26, 26, 0.97) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

/* Service card hover lift */
.service-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(232, 106, 84, 0.1);
}

/* Testimonial card hover */
.testimonial-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(232, 106, 84, 0.08);
}

/* Mobile menu transitions */
#mobileMenu.open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Input focus glow */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 1px rgba(232, 106, 84, 0.3);
}

/* Scroll reveal base (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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Button hover glow */
.shadow-coral\/20 {
    box-shadow: 0 10px 40px rgba(232, 106, 84, 0.2);
}

/* Subtle gold accent line */
.gold-accent {
    background: linear-gradient(90deg, transparent, #C9A84C, transparent);
    height: 1px;
}

/* Mobile menu animation */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }
