/* Custom styles that extend Tailwind */

/* Marquee animation */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 20s linear infinite;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #c44040;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8a2020;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(250, 246, 243, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(26, 18, 16, 0.08);
}

/* Mobile link animation */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.4s; }

/* Image placeholder fallback */
img {
    background: linear-gradient(135deg, #f5efe9 0%, #fce7e7 100%);
}
