/* Custom styles for Nate's Grill */

:root {
    --plum-950: #3e0a19;
    --plum-900: #711a39;
    --plum-800: #84183a;
    --plum-700: #a1173b;
    --plum-200: #f9d0d9;
    --plum-100: #fce8ed;
    --amber-400: #ffdb70;
    --amber-500: #ffcd11;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', system-ui, sans-serif;
    background-color: var(--plum-950);
    color: var(--plum-100);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, .font-serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Scroll reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(62, 10, 25, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

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

/* Focus styles */
a:focus, button:focus {
    outline: 2px solid var(--amber-400);
    outline-offset: 2px;
}

/* Mobile menu */
#mobile-menu {
    animation: fadeIn 0.3s ease-out;
}

/* Image hover effects */
img {
    transition: transform 0.7s ease;
}

img:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .reveal {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
