/* Custom styles that complement Tailwind */
html {
    scroll-behavior: smooth;
}

body {
    /* Custom font rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Geometric pattern overlay for sections */
.pattern-overlay {
    background-image: radial-gradient(circle, #e8f1e9 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

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

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

::-webkit-scrollbar-thumb {
    background: #283f2b;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #314e34;
}

/* Animation utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(40, 63, 43, 0.1);
}

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

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

/* Navbar scroll effect */
.nav-scrolled {
    background-color: rgba(249, 249, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Button hover effects */
button, a {
    transition: all 0.2s ease-in-out;
}

/* Image lazy loading placeholder */
img {
    background-color: #e3ece5;
}
