/* Custom Styles for Castillo's Beauty */

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

body {
    /* Custom font settings applied via Tailwind, but base fallback */
    font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Animations */
.hero-anim {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden */
}

.hero-anim:nth-child(1) { animation-delay: 0.1s; }
.hero-anim:nth-child(2) { animation-delay: 0.3s; }
.hero-anim:nth-child(3) { animation-delay: 0.5s; }
.hero-anim:nth-child(4) { animation-delay: 0.7s; }
.hero-anim:nth-child(5) { animation-delay: 0.9s; }

/* Scroll Reveal Utility */
.reveal-on-scroll {
    opacity: 1; /* Default visible for progressive enhancement */
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When JS is active, we might add a hidden class initially, 
   but per rules, default state must be visible. 
   We will use JS to add 'revealed' class for animation. */
.revealed {
    opacity: 0;
    transform: translateY(30px);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #6f163d;
}

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

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

/* Image Hover Effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}
