/* Custom styles for B & B Lounge */

/* Smooth transitions for interactive elements */
a, button, img, .group * {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5f7;
}
::-webkit-scrollbar-thumb {
    background: #dda8bb;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b5527a;
}

/* Selection color */
::selection {
    background-color: #dda8bb;
    color: #320f1d;
}

/* Reveal animations (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .group:hover img {
        transform: none;
    }
}

/* Nav active state */
.nav-link.active {
    color: #d97706;
}

/* Mobile menu transitions */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

/* Image hover effects */
.group img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Card hover lift effect */
.group {
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.group:hover {
    transform: translateY(-4px);
}

/* Decorative line animation */
.w-12.h-px.bg-amber-500 {
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image aspect ratio preservation */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
