/* Custom styles and animations */

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

/* Reveal animations - progressive enhancement, works without JS */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Hide reveals by default, show via JS for progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar styles */
.nav-scrolled {
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(45, 79, 35, 0.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #9abc82;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6fa052;
}

/* Focus styles */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Button hover effects */
button, a {
    transition: all 0.2s ease;
}

/* Image loading placeholder */
img {
    background-color: #e3ecd3;
}

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

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

/* Ensure hero content is always visible */
section.min-h-screen {
    min-height: 100vh;
}

/* Responsive typography adjustments */
@media (max-width: 640px) {
    .font-serif {
        line-height: 1.2;
    }
}

/* Print styles */
@media print {
    nav, #contact, footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
