/* ============================================
   La Cabaña — Custom Styles
   Premium Dark Luxury · Emerald + Gold + Cream
   ============================================ */

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

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

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #faf9f6;
}

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

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

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Navbar --- */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(10, 15, 13, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(212, 160, 23, 0.1);
}

/* --- Menu Tabs --- */
.menu-tab {
    color: rgba(250, 249, 246, 0.5);
    background: transparent;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
}

.menu-tab:hover {
    color: rgba(250, 249, 246, 0.8);
}

.menu-tab.active {
    color: #0a0f0d;
    background: linear-gradient(135deg, #d4a017, #b8860b);
    font-weight: 600;
}

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

/* --- Mobile Menu --- */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    animation: fadeIn 0.4s ease-out forwards;
    opacity: 0;
}

.mobile-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-link:nth-child(2) { animation-delay: 0.15s; }
.mobile-link:nth-child(3) { animation-delay: 0.2s; }
.mobile-link:nth-child(4) { animation-delay: 0.25s; }

/* --- Custom Select Styling --- */
select option {
    background: #0d1410;
    color: #f5f3ed;
    padding: 8px;
}

/* --- Date Input --- */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(1) saturate(3) hue-rotate(10deg);
    cursor: pointer;
}

/* --- Subtle gold shimmer on hover for cards --- */
.group:hover .group-hover\:border-gold-400\/30 {
    border-color: rgba(212, 160, 23, 0.3);
}

/* --- Image hover effect --- */
.group img {
    will-change: transform;
}

/* --- Focus visible for accessibility --- */
:focus-visible {
    outline: 2px solid rgba(212, 160, 23, 0.6);
    outline-offset: 2px;
}

/* --- Responsive adjustments --- */
@media (max-width: 640px) {
    h1 {
        line-height: 1.05;
    }
}
