/* Custom Styles for White Woods Designs */

/* Base Reset & Typography */
html {
    scroll-behavior: smooth;
}

body {
    font-feature-settings: "cv02", "cv03", "cv04";
}

/* Animation Utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden for animation */
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Scroll Reveal Utility */
.reveal-on-scroll {
    opacity: 1; /* Default visible for accessibility/no-JS */
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Scroll State */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

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

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

::-webkit-scrollbar-thumb {
    background: #78281F;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5e1f1a;
}

/* Focus States for Accessibility */
button:focus, a:focus, input:focus, textarea:focus {
    outline: 2px solid #78281F;
    outline-offset: 2px;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 300px;
    opacity: 1;
}

/* Print Styles */
@media print {
    nav, #contact-form, footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-ww-burgundy, .bg-ww-charcoal {
        background: none !important;
        color: #000 !important;
    }
}
