/* Custom styles that extend beyond Tailwind */

:root {
    --forest-50: #f2f7f2;
    --forest-600: #2c5c2c;
    --forest-700: #234723;
    --forest-800: #1c381c;
    --cream-50: #fefdf8;
    --cream-100: #fdf8e8;
}

/* Smooth scrolling and base */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background-color: #3d7a3d;
    color: #fefdf8;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #96c496;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #61a361;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #3d7a3d;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 500px;
}

/* Ensure images don't cause layout shift */
img {
    max-width: 100%;
    height: auto;
}

/* Subtle hover effects for interactive elements */
button, a {
    transition: all 0.2s ease;
}

/* Print styles */
@media print {
    nav, .reveal {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
