/* 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: #FAFAF6;
}
::-webkit-scrollbar-thumb {
    background: #c6dccf;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #98bea4;
}

/* Selection color */
::selection {
    background: #c6dccf;
    color: #1c3526;
}

/* Subtle input focus ring animation */
input:focus, textarea:focus, select:focus {
    animation: none;
}

/* Button press effect */
button:active, a:active {
    transform: scale(0.98);
}

/* Mobile menu transition */
#mobileMenu {
    animation: slideDown 0.2s ease-out;
}

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

/* Prevent layout shift on images */
img {
    image-rendering: auto;
}
