/* Custom styles that complement Tailwind */

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

/* Selection color */
::selection {
    background-color: #3f6d31;
    color: #faf8f4;
}

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

/* Subtle image hover effect */
img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f0e8;
}
::-webkit-scrollbar-thumb {
    background: #9dc58d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3f6d31;
}

/* Ensure cards have consistent height in menu grid */
#menu .bg-white.rounded-2xl {
    display: flex;
    flex-direction: column;
}
#menu .bg-white.rounded-2xl .p-6 {
    flex: 1;
    display: flex;
    flex-direction: column;
}
#menu .bg-white.rounded-2xl .p-6 a {
    margin-top: auto;
}
