/* Custom styles for Refresquería Flory */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --color-amber-300: #fcd34d;
    --color-amber-400: #fbbf24;
    --color-amber-500: #f59e0b;
    --color-amber-600: #d97706;
    --color-orange-500: #f97316;
    --color-orange-600: #ea580c;
    --color-stone-50: #fafaf9;
    --color-stone-100: #f5f5f4;
    --color-stone-300: #d6d3d1;
    --color-stone-400: #a8a29e;
    --color-stone-500: #78716c;
    --color-stone-700: #3f3f46;
    --color-stone-800: #27272a;
    --color-stone-900: #18181b;
    --color-stone-950: #0c0c0e;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-stone-950);
    color: var(--color-stone-100);
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--color-amber-600);
    border-radius: 4px;
}

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

/* Navigation styles */
#navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(12, 12, 14, 0.8);
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
}

#navbar.scrolled {
    background: rgba(12, 12, 14, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Mobile menu */
#mobile-menu {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

/* Button hover effects */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Form focus styles */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

/* Image hover effects */
img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth transitions */
* {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Selection color */
::selection {
    background-color: rgba(251, 191, 36, 0.3);
    color: var(--color-stone-50);
}

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

/* Print styles */
@media print {
    #navbar,
    #mobile-menu,
    button,
    input,
    textarea {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .font-playfair {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}
