/* 
    Custom styles for Alberto's Reception Hall
    Theme: Warm, Friendly, Charcoal + Coral
*/

html {
    scroll-behavior: smooth;
}

body {
    /* Prevent horizontal scroll from rounded corners if any overflow issues occur */
    overflow-x: hidden;
}

/* 
    Scroll Reveal Animations 
    Using @media to ensure content is visible by default even if JS fails.
    The JS will add the 'is-visible' class to trigger the animation.
*/
.reveal-on-scroll {
    opacity: 1; /* Default visible for accessibility */
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Only animate if user prefers motion and JS adds the class */
@media (prefers-reduced-motion: no-preference) {
    .reveal-on-scroll {
        opacity: 0; /* Hidden by default for JS to animate */
        transform: translateY(30px);
    }
    
    .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #FF6B6B; /* Coral */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c53030; /* Darker Coral */
}

/* Selection Color */
::selection {
    background-color: #FF6B6B;
    color: white;
}
