/* Custom styles for Rooted Lounge 716 */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #831c31;
}

/* Selection color */
::selection {
    background: #fce7eb;
    color: #6c182b;
}

/* Base animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Reveal animations - only applied via JS for below-fold content */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #f5a8b8;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image aspect ratios */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent layout shift on images */
img[width][height] {
    aspect-ratio: attr(width) / attr(height);
}

/* Hero parallax-like effect on scroll */
#hero {
    will-change: transform;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

#mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

/* Button hover glow effect */
.bg-burgundy-700:hover,
.bg-blush-500:hover {
    box-shadow: 0 0 30px rgba(161, 30, 54, 0.3);
}

/* Card hover shadow depth */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(108, 24, 43, 0.25);
}

/* Loading state for images */
img {
    background: linear-gradient(135deg, #fce7eb 0%, #fad0d9 100%);
}

/* Print styles */
@media print {
    header,
    #hero,
    .animate-bounce {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
