/* ===================================
   El Toro Café & Bar — Custom Styles
   Premium Dark Luxury Theme
   Burgundy + Blush + Gold
   =================================== */

/* --- CSS Custom Properties --- */
:root {
    --color-burgundy-900: #6a1b20;
    --color-burgundy-950: #3a0a0c;
    --color-gold-400: #e8c460;
    --color-gold-500: #d4a843;
    --color-dark-950: #050505;
    --color-dark-900: #0d0d0d;
    --color-dark-800: #1a1a1a;
    --color-dark-700: #2d2d2d;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', 'Helvetica Neue', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #f5f5f5;
}

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

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

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

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

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes scroll {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50% { transform: scaleY(1.5); opacity: 1; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 67, 0.2); }
    50% { box-shadow: 0 0 20px 5px rgba(212, 168, 67, 0.1); }
}

/* --- Hero Animations --- */
.hero-title {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-desc {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* --- Scroll indicator --- */
.animate-scroll {
    animation: scroll 2s ease-in-out infinite;
    transform-origin: top;
}

/* --- Navbar --- */
.navbar-scrolled {
    background: rgba(5, 5, 5, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

.navbar-scrolled .nav-link {
    color: rgba(163, 163, 163, 0.8) !important;
}

/* --- Mobile Menu --- */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-menu-open .mobile-link {
    animation: fadeInUp 0.5s ease-out both;
}

.mobile-menu-open .mobile-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu-open .mobile-link:nth-child(4) { animation-delay: 0.4s; }

/* --- Mobile Menu Toggle --- */
#bar1.open {
    transform: rotate(45deg) translate(4px, 4px);
}

#bar2.open {
    opacity: 0;
}

#bar3.open {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 1.5rem;
}

/* --- Menu Tabs --- */
.menu-tab {
    color: #737373;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-tab:hover {
    color: #d4a843;
}

.menu-tab.active {
    background: linear-gradient(135deg, #d4a843, #e8c460);
    color: #050505;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.25);
}

/* --- Menu Content --- */
.menu-content {
    animation: fadeIn 0.5s ease-out;
}

/* --- Image hover effects --- */
img {
    transition: filter 0.5s ease;
}

/* --- Gold gradient text utility --- */
.text-gold-gradient {
    background: linear-gradient(135deg, #f5d78e, #d4a843, #c49a38);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Decorative elements --- */
.gold-accent-line {
    position: relative;
}

.gold-accent-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #d4a843, transparent);
}

/* --- Form Styles --- */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.5) sepia(1) saturate(5) hue-rotate(10deg);
}

select option {
    background: #1a1a1a;
    color: #f5f5f5;
}

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    #hero {
        padding-top: 100px;
    }
    
    .reveal {
        transform: translateY(20px);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* --- Print styles --- */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .no-print {
        display: none;
    }
}
