/* Custom styles beyond Tailwind */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f4f9f2;
}
::-webkit-scrollbar-thumb {
    background: #9cc5a5;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6fa378;
}

/* Selection color */
::selection {
    background: #c6dfca;
    color: #101d13;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Active nav state */
.nav-link.active {
    color: #4f8459;
}
.nav-link.active::after {
    width: 100%;
}

/* Focus visible styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #6fa378;
    outline-offset: 2px;
}

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