/* Custom Styles for The Healthy Corner */

/* Base Settings */
html {
    scroll-behavior: smooth;
}

body {
    /* Custom Tailwind Palette Integration */
    --color-stone-950: #0c0a09;
    --color-stone-900: #1c1917;
    --color-stone-800: #292524;
    --color-stone-200: #e7e5e4;
    --color-stone-400: #a8a29e;
    --color-amber-500: #f59e0b;
    --color-amber-600: #d97706;
}

/* Typography Overrides */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
}

p, li, a, button, span {
    font-family: 'Montserrat', sans-serif;
}

/* Animations */
@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 cubic-bezier(0.2, 0.8, 0.2, 1) 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 Classes */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 1; /* Default visible for accessibility/no-JS */
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

/* JS will add these classes to trigger animation */
.is-revealed.reveal-up { transform: translateY(0); }
.is-revealed.reveal-left { transform: translateX(0); }
.is-revealed.reveal-right { transform: translateX(0); }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #1c1917;
}
::-webkit-scrollbar-thumb {
    background: #44403c;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d97706;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}
