/* Custom styles for Ice Cream Alley */

:root {
    --color-burgundy-50: #fdf0f2;
    --color-burgundy-500: #7B2D3B;
    --color-burgundy-700: #5a1e29;
    --color-blush-100: #ffe8e8;
    --color-cream-50: #fffbf5;
    --color-warm-700: #964818;
    --color-warm-900: #331808;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Nunito', system-ui, sans-serif;
    overflow-x: hidden;
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Hero badge animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-badge {
    animation: float 3s ease-in-out infinite;
}

/* Navbar styles */
.nav-scrolled {
    background: rgba(255, 251, 245, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

.nav-scrolled .logo-text {
    color: #7B2D3B !important;
}

/* Mobile menu */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #7B2D3B;
}

/* Selection color */
::selection {
    background: #f2a8b3;
    color: #5a1e29;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .hero-badge {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Tablet and above adjustments */
@media (min-width: 768px) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
