/* 
 * Hugo DeLuca's Deli - Custom Styles
 * Elegant, classic, serif-focused design
 */

:root {
    --color-burgundy: #722F37;
    --color-blush: #FDF2F2;
    --color-cream: #F9F7F5;
    --color-text: #2C2C2C;
}

body {
    background-color: var(--color-cream);
    color: var(--color-text);
}

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

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

/* Hero Animations */
.hero-title {
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.hero-desc {
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

.hero-cta {
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

.hero-img-main {
    animation: scaleIn 1s ease-out forwards;
    animation-delay: 0.3s;
}

.hero-img-accent {
    animation: slideRight 1s ease-out forwards;
    animation-delay: 0.6s;
}

.hero-circle {
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Navbar Scroll Effect */
nav.scrolled {
    background-color: rgba(253, 242, 242, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--color-burgundy);
    border-radius: 5px;
}

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

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-burgundy);
    outline-offset: 4px;
}
