/* Custom styles for Pupuseria PATTY MOBIL */

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
}

/* Typography */
.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Space Grotesk', sans-serif;
}

/* Custom color palette */
:root {
    --color-terracotta: #B45309;
    --color-terracotta-dark: #92400E;
    --color-sand: #F2E8D5;
    --color-sand-light: #E6D5B8;
    --color-dark: #2C241B;
    --color-text: #4A3B2C;
}

/* Navbar scroll effect */
nav.scrolled {
    background-color: rgba(242, 232, 213, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(44, 36, 27, 0.1);
}

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

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

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

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

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

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

/* Form focus states */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.2);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 300px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    h1 {
        font-size: 3rem !important;
    }
}

/* 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;
    }
}
