/* Bad Moms Coffee — Custom Styles */

/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

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

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

/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal[data-reveal="hidden"] {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        /* Animated via JS */
    }
}

/* Navbar Glass Effect */
.navbar-scrolled {
    background: rgba(18, 9, 7, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 213, 192, 0.06);
}

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

::-webkit-scrollbar-track {
    background: #1a0f0a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #c8956c;
}

/* Selection */
::selection {
    background: rgba(200, 149, 108, 0.3);
    color: #e8d5c0;
}

/* Mobile Menu Transitions */
#mobile-menu {
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu Card Hover */
.bg-bm-dark-card {
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.bg-bm-dark-card:hover {
    box-shadow: 0 0 40px rgba(200, 149, 108, 0.06);
}

/* Image Hover */
.relative.rounded-2xl.overflow-hidden.group:hover img {
    transform: scale(1.1);
}

/* Button Focus */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #c8956c;
    outline-offset: 2px;
}

/* Smooth Scroll Offset for Fixed Nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Mobile Link Hover */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c8956c;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Gold Accent Divider */
.gold-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 160, 86, 0.3), transparent);
}
