/* Custom styles beyond Tailwind */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Service card hover lift */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Navbar scroll state */
.nav-scrolled {
    background-color: rgba(254, 252, 248, 0.97) !important;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

/* Mobile menu transitions */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

/* Subtle pattern for hero background */
.hero-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(209, 79, 46, 0.03) 0%, transparent 50%),
                       radial-gradient(circle at 75% 75%, rgba(223, 170, 85, 0.05) 0%, transparent 50%);
}

/* Ensure all links have proper contrast */
a:focus-visible {
    outline: 2px solid #d14f2e;
    outline-offset: 2px;
    border-radius: 4px;
}

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

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

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

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