/* Custom Styles & Overrides */

html {
    scroll-behavior: smooth;
}

body {
    /* Fallback font stack if Google Fonts fail */
    font-family: 'Montserrat', sans-serif;
}

.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

/* Hero Animations */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Base State */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

/* Scroll Reveal Hidden State (applied by JS) */
.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

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

::-webkit-scrollbar-track {
    background: #0f1c15;
}

::-webkit-scrollbar-thumb {
    background: #2d6a4f;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #52b788;
}

/* Mobile Menu Animation */
#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #52b788;
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        animation: none;
        opacity: 1;
    }
    
    .reveal {
        transition: none;
    }
}
