/* Custom Styles for Isleta Nutrition */

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

/* Base Typography */
body {
    font-family: 'Montserrat', sans-serif;
    color: #3b2637; /* plum-900 */
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Cormorant Garamond', serif;
}

/* Animation Keyframes */
@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 JS enhancement safety */
}

.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: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Navbar Glass Effect */
.nav-scrolled {
    background: rgba(33, 19, 31, 0.95); /* plum-950 with opacity */
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

::-webkit-scrollbar-track {
    background: #f5f5f4; /* stone-100 */
}

::-webkit-scrollbar-thumb {
    background: #6b4660; /* plum-600 */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #462d41; /* plum-800 */
}

/* Focus States for Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid #f59e0b; /* amber-500 */
    outline-offset: 2px;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Image Aspect Ratios */
img {
    max-width: 100%;
    height: auto;
}
