/* Custom styles beyond Tailwind */

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

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

.nav-transparent {
    background: transparent !important;
    box-shadow: none !important;
}

/* Hero section padding offset for fixed nav */
#hero {
    padding-top: 80px;
}

/* Smooth focus outlines */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #507d32;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #c6d9b4;
    color: #111a0a;
}

/* Subtle hover lift for cards */
.group:hover {
    transform: translateY(-2px);
}

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

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

/* Back to top button animation */
#back-to-top.is-visible {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Print styles */
@media print {
    nav, #back-to-top, #contact-form button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
