/* Custom styles for Brown's Small Engine's */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5ecea;
}
::-webkit-scrollbar-thumb {
    background: #a86378;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8f4d60;
}

/* Selection color */
::selection {
    background: #d97706;
    color: #faf5f7;
}

/* Subtle pattern overlay for hero */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(168, 99, 120, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Ensure hero content is above pseudo-element */
#hero > div {
    position: relative;
    z-index: 1;
}

/* Service card hover lift */
.group:hover {
    transform: translateY(-2px);
}

/* Navbar glass effect on scroll */
.nav-scrolled {
    background: rgba(250, 245, 247, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(118, 61, 76, 0.1);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .group:hover {
        transform: none;
    }
    * {
        transition-duration: 0.01ms !important;
    }
}

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