/* Custom Styles & Overrides */
html {
    scroll-behavior: smooth;
}

body {
    /* Fallback font if Google Fonts fails */
    font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Quicksand', sans-serif;
}

/* Ensure text is readable on images */
.hero-overlay-text {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

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

/* Scroll Reveal Animation Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Staggered delays for grid items */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Navbar scroll state */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-not-scrolled {
    background-color: transparent;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #c44f11;
}
