/* Custom styles that extend beyond Tailwind */

html {
    scroll-behavior: smooth;
}

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

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(4, 43, 29, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

#mobile-menu.open {
    max-height: 500px;
}

/* Hero scroll indicator */
@keyframes fadeInUp {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Service card hover */
.group:hover .group-hover\:bg-emerald-600 {
    background-color: #0D6B4A;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(13, 107, 74, 0.15);
}

/* Subtle pattern overlay for sections */
.services-grid-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(13, 107, 74, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Selection color */
::selection {
    background: rgba(13, 107, 74, 0.2);
    color: #042B1D;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F0;
}
::-webkit-scrollbar-thumb {
    background: #0D6B4A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0A5238;
}
