/* Custom Styles for Brooks and Sons Sealcoating */

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

/* Base Typography */
body {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Serif Headings */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.1;
}

/* Thin Line Accents */
.line-accent {
    height: 1px;
    background: linear-gradient(90deg, transparent, #c4a498, transparent);
}

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

::-webkit-scrollbar-track {
    background: #f9f5f0;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #b08b7a;
}

/* Form Styles */
input,
textarea,
select {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Animation Classes (Progressive Enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

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

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

/* Hover Effects */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Print Styles */
@media print {
    nav,
    #mobile-menu-btn,
    .reveal {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
