/* Custom styles beyond Tailwind */

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

/* Navbar shadow on scroll */
nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f3f0e6;
}
::-webkit-scrollbar-thumb {
    background: #85c48a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2d7a3a;
}

/* Selection color */
::selection {
    background: #b8ddb9;
    color: #184720;
}

/* Form focus styles */
input:focus, textarea:focus {
    outline: none;
    border-color: #2d7a3a;
    box-shadow: 0 0 0 3px rgba(45, 122, 58, 0.15);
}

/* Button ripple effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #f0f7f0 0%, #dceee0 100%);
}
