/* ===== Custom Styles for Nicks Meats And Deli ===== */

:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #5E2230;
    --blush: #E8A08A;
    --blush-light: #E8C4B8;
    --cream: #FDF8F4;
    --warm-white: #F5E6D3;
    --dark: #2A1F1F;
    --muted: #5A4040;
    --subtle: #A07060;
}

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

/* Selection color */
::selection {
    background: var(--burgundy);
    color: var(--warm-white);
}

/* ===== Navbar ===== */
#navbar {
    background: rgba(253, 248, 244, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
}

#navbar.scrolled {
    background: rgba(253, 248, 244, 0.95);
    box-shadow: 0 4px 30px rgba(42, 31, 31, 0.08);
}

/* ===== Marquee ===== */
.marquee-track {
    animation: marquee 25s linear infinite;
}

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

/* ===== Reveal Animations ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger children */
.reveal-up:nth-child(2) { transition-delay: 0.1s; }
.reveal-up:nth-child(3) { transition-delay: 0.2s; }
.reveal-up:nth-child(4) { transition-delay: 0.3s; }

/* ===== Mobile Menu ===== */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--burgundy);
    transition: width 0.3s ease;
}

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

/* ===== Button hover effects ===== */
a.bg-\[#[a-fA-F0-9]{6}\]:hover,
button:hover {
    transform: translateY(-1px);
}

/* ===== Card hover ===== */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* ===== Focus styles ===== */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

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

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--blush-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy);
}

/* ===== Responsive adjustments ===== */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}

/* ===== Print styles ===== */
@media print {
    #navbar,
    #backToTop,
    .marquee-track {
        display: none;
    }
}
