/* Custom styles for Top Notch Maintenance & Repair */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Space Grotesk', sans-serif;
}

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

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Geometric decorative shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0B1D3A;
}

::-webkit-scrollbar-thumb {
    background: #102A54;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #16366D;
}

/* Selection color */
::selection {
    background: rgba(52, 211, 153, 0.3);
    color: #fff;
}

/* Mobile menu transition */
#mobileMenu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

#mobileMenu.hidden {
    max-height: 0;
    opacity: 0;
}

#mobileMenu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

/* Nav active state */
nav a:hover {
    transition: color 0.2s ease;
}

/* Focus visible for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #34D399;
    outline-offset: 2px;
}

/* Image placeholder fallback */
img {
    background: linear-gradient(135deg, #0B1D3A 0%, #102A54 100%);
}
