/* Custom styles beyond Tailwind */

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(253, 252, 247, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-text {
    color: #1b5e20 !important;
}

.nav-scrolled .nav-link {
    color: #374151 !important;
}

/* Smooth transitions */
nav a, button, .reveal {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, visibility;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Selection color */
::selection {
    background-color: #33691e;
    color: #ffffff;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #33691e;
    outline-offset: 2px;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
    box-shadow: 0 0 0 30px white inset;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f0e0;
}
::-webkit-scrollbar-thumb {
    background: #7cb342;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #558b2f;
}
