/* ============================================
   GAVIOTAS TACOS — Custom Styles
   Clean minimalist · Midnight blue + mint
   ============================================ */

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

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

body {
    margin: 0;
    overflow-x: hidden;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #03080c;
}
::-webkit-scrollbar-thumb {
    background: #1e3f4f;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #249b6a;
}

/* --- Selection --- */
::selection {
    background: rgba(60, 184, 132, 0.2);
    color: #e3faf0;
}

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

#navbar.scrolled {
    background: rgba(3, 8, 12, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(30, 63, 79, 0.4);
}

/* --- Nav Links --- */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #3cb884;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    position: relative;
}

/* --- Menu Item Hover --- */
.group:hover .group-hover\:text-mint-300 {
    transition: color 0.3s ease;
}

/* --- Image Hover Effects --- */
.overflow-hidden img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.overflow-hidden:hover img {
    transform: scale(1.02);
}

/* --- CTA Button Hover --- */
a.bg-mint-700:hover,
button.bg-mint-700:hover {
    background: #249b6a;
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(36, 155, 106, 0.2);
}

/* --- Scroll Reveal (Progressive Enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .reveal.revealed {
        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; }
}

/* --- 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;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}

/* --- Focus States --- */
a:focus-visible,
button:focus-visible {
    outline: 1px solid #3cb884;
    outline-offset: 4px;
    border-radius: 2px;
}

/* --- Print Styles --- */
@media print {
    #navbar,
    #mobile-menu,
    .overflow-hidden {
        display: none !important;
    }
    
    body {
        background: white;
        color: #1a1a1a;
    }
    
    a {
        color: #1a1a1a;
    }
}
