/* Custom Styles for Baba's */

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

/* Base Typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #faf8f2;
}
::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Animation Delays */
.hero-anim:nth-child(1) { animation: fadeInUp 0.8s ease-out forwards 0.1s; }
.hero-anim:nth-child(2) { animation: fadeInUp 0.8s ease-out forwards 0.3s; }
.hero-anim:nth-child(3) { animation: fadeInUp 0.8s ease-out forwards 0.5s; }
.hero-anim:nth-child(4) { animation: fadeInUp 0.8s ease-out forwards 0.7s; }

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

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

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

/* Custom Selection Color */
::selection {
    background-color: #294529; /* forest-800 */
    color: #fdfcf8; /* cream-50 */
}
