/* Custom styles for Top Notch Tint & Customs */

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

/* Hide scrollbar on mobile menu open */
body.menu-open {
    overflow: hidden;
}

/* Scroll reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Navbar transition */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Service card hover glow */
.service-card:hover {
    box-shadow: 0 20px 60px -15px rgba(13, 148, 136, 0.15);
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

/* Custom selection color */
::selection {
    background: rgba(45, 212, 191, 0.3);
    color: #1e293b;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

/* Subtle gradient for hero overlay */
.hero-gradient {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(13, 148, 136, 0.4) 100%);
}

/* Button focus states for accessibility */
button:focus-visible,
a:focus-visible {
    outline: 3px solid #2dd4bf;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Input focus states */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.3);
}

/* Map container hover */
iframe:hover {
    filter: brightness(1.02);
}
