/* ==========================================================================
   1. Mini-Reset (Reemplaza el Preflight de Tailwind)
   ========================================================================== */
.navbar, .navbar *, 
.mobile-menu-overlay, .mobile-menu-overlay * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.navbar button, 
.mobile-menu-overlay button {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ==========================================================================
   2. Barra de Navegación (Navbar Escritorio)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem; /* py-4 px-6 */
    color: #ffffff;
    background-color: rgba(0, 68, 165, 0.7); /* bg-[#0044a5]/70 */
    backdrop-filter: blur(24px); /* backdrop-blur-xl */
    -webkit-backdrop-filter: blur(24px); /* Soporte Apple */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* border-white/10 */
    transition: all 0.3s ease; /* transition-all */
}

@media (min-width: 768px) {
    .navbar {
        padding-left: 3rem; /* md:px-12 */
        padding-right: 3rem;
    }
}

/* Logotipo */
.navbar-logo-link {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 50;
}

.navbar-logo {
    height: 2rem; /* h-8 */
    width: auto;
    display: block;
}

/* Menú de Enlaces */
.navbar-menu {
    display: none; /* hidden (móvil) */
    list-style: none;
    font-size: 0.75rem; /* text-xs */
    line-height: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em; /* tracking-wider */
    font-weight: 300; /* font-light */
}

@media (min-width: 768px) {
    .navbar-menu {
        display: flex; /* md:flex */
        align-items: center;
        gap: 2rem; /* space-x-8 */
    }
}

/* Enlaces individuales */
.navbar-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.15s ease-in-out; /* transition-colors */
}

.navbar-link:hover {
    color: #e5e7eb; /* hover:text-gray-200 */
}

.navbar-link:focus-visible {
    outline: none; /* focus:outline-none */
    box-shadow: 0 0 0 2px #ffffff; /* focus:ring-2 focus:ring-white */
    border-radius: 0.125rem;
}

/* Botón de Reservar (Escritorio) */
.navbar-btn {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.5); /* border-white/50 */
    padding: 0.5rem 1.25rem; /* px-5 py-2 */
    border-radius: 0.75rem; /* rounded-xl */
    color: #ffffff;
    text-decoration: none;
    transition: all 0.15s ease-in-out; /* transition-all */
}

.navbar-btn:hover {
    background-color: #ffffff; /* hover:bg-white */
    color: #0044a5; /* hover:text-[#0044a5] */
}

.navbar-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #ffffff;
}

/* Botón Hamburguesa (Móvil) */
.navbar-mobile-btn {
    display: block;
    color: #ffffff;
    padding: 0.5rem; /* p-2 */
    position: relative;
    z-index: 50;
}

@media (min-width: 768px) {
    .navbar-mobile-btn {
        display: none; /* md:hidden */
    }
}

.navbar-mobile-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #ffffff;
    border-radius: 0.25rem;
}

.navbar-icon {
    width: 1.75rem; /* w-7 */
    height: 1.75rem; /* h-7 */
    display: block;
}

/* ==========================================================================
   3. Menú Móvil Desplegable (Overlay)
   ========================================================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 68, 165, 0.95); /* bg-[#0044a5]/95 */
    backdrop-filter: blur(40px); /* backdrop-blur-2xl */
    -webkit-backdrop-filter: blur(40px);
    z-index: 40;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 300ms ease; /* transition-opacity duration-300 */
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* space-y-6 */
    text-align: center;
    color: #ffffff;
    width: 100%;
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem;
    list-style: none;
}

/* Enlaces móviles */
.mobile-menu-link {
    font-size: 1.125rem; /* text-lg */
    line-height: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em; /* tracking-widest */
    font-weight: 300; /* font-light */
    display: block;
    width: 100%;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.mobile-menu-link:hover {
    color: #d1d5db; /* hover:text-gray-300 */
}

.mobile-menu-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #ffffff;
    border-radius: 0.25rem;
}

/* Botón de Reservar (Móvil) */
.mobile-menu-cta-item {
    padding-top: 2rem; /* pt-8 */
}

.mobile-menu-cta {
    display: inline-block;
    border: 1px solid #ffffff; /* border-white */
    padding: 0.75rem 2.5rem; /* px-10 py-3 */
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em; /* tracking-widest */
    color: #ffffff;
    text-decoration: none;
    transition: all 0.15s ease-in-out; /* transition-all */
    /* Nota: Tailwind no tenía un border-radius especificado para este botón */
}

.mobile-menu-cta:hover {
    background-color: #ffffff; /* hover:bg-white */
    color: #0044a5; /* hover:text-[#0044a5] */
}

.mobile-menu-cta:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #ffffff;
}

/* ==========================================================================
   4. Clases Dinámicas (Requeridas por tu JavaScript)
   ========================================================================== */
.hidden { display: none !important; }
.flex { display: flex !important; }
.opacity-0 { opacity: 0 !important; }
.opacity-100 { opacity: 1 !important; }