/* Custom Styles for Jane's Beauty Boutique */

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

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #F9F7F2;
}
::-webkit-scrollbar-thumb {
    background: #304535;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1f2c24;
}

/* 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 cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0; /* Start hidden */
}

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

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

#menu-btn:focus, #close-menu:focus {
    outline: 2px solid #9bb89d;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Focus states for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #527256;
    outline-offset: 2px;
}

/* Utility for hiding scrollbar in mobile menu when open */
body.menu-open {
    overflow: hidden;
}

/* Image aspect ratios */
img {
    vertical-align: middle;
}
