/* ==========================================================================
   1. VARIABLES DE MARCA Y CONFIGURACIÓN GENERAL
   ========================================================================== */
:root {
    --white: #ffffff;
    --beige: #f9f6f1;
    --brown: #4a3f35;
    --gold: #c5a059;
    --text-soft: #7a6e65;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: var(--brown);
    background-color: var(--white);
}

/* ==========================================================================
   2. HEADER & NAVBAR (Tu Estilo Nativo Idéntico)
   ========================================================================== */

header {
    background-color: var(--white);
    position: sticky; /* Cambiado de relative a sticky */
    top: 0;           /* Se queda pegado justo al borde superior de la pantalla */
    left: 0;
    width: 100%;
    z-index: 1100;    /* Mantiene la barra por encima de las secciones del formulario */
    box-shadow: 0 2px 10px rgba(74, 63, 53, 0.05); /* Sutil sombra para dar profundidad al hacer scroll */
}

.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 5%; 
    height: 80px;
    background: var(--white); 
    position: relative;
    z-index: 1100;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brown);
}

.logo span { 
    color: var(--gold); 
    font-weight: 400; 
}

/* Navegación Desktop */
.nav-links-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 40px; 
}

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 30px; 
    margin: 0; 
    padding: 0; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--brown); 
    text-transform: uppercase; 
    font-size: 0.9rem; 
    letter-spacing: 1px; 
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover, 
.nav-links a.active { 
    color: var(--gold); 
}

.btn-reserva {
    background: var(--gold);
    color: white !important; /* Forzamos color para enlaces */
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
    transition: all 0.3s ease;
}

.btn-reserva:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(197, 160, 89, 0.4);
    background: var(--gold); /* Mantenemos el color base en el hover de este botón */
}

/* --- BOTÓN HAMBURGUESA --- */
.menu-toggle {
    display: none; /* Escondido en PC */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1200;
    padding: 0;
    overflow: visible;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--brown);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   3. SECCIÓN DE RESERVAS Y FORMULARIO
   ========================================================================== */
.booking-section {
    padding: 80px 0;
    background-color: var(--white);
}

.booking-card {
    background-color: var(--beige);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 15px 35px rgba(74, 63, 53, 0.04);
    max-width: 650px;
    margin: 0 auto;
}

.booking-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    color: var(--brown);
    margin-bottom: 10px;
}

.cta-text {
    font-size: 1rem;
    color: var(--text-soft);
    margin-bottom: 30px;
}

/* Inputs y Selects */
.custom-input {
    background-color: var(--white);
    border: 1px solid rgba(197, 160, 89, 0.25);
    color: var(--brown) !important;
    font-family: 'Inter', sans-serif;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.custom-input:focus, 
.form-select.custom-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.12);
    outline: none;
    background-color: var(--white);
}

.custom-input::placeholder {
    color: rgba(74, 63, 53, 0.4);
}

input[type="file"].custom-input {
    padding: 8px 12px;
}

.form-label-custom {
    font-family: 'Inter', sans-serif;
    color: var(--brown);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Botón Principal de Enviar Formulario */
.btn-submit-booking {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-submit-booking:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
    background: var(--brown);
    color: var(--white);
}

/* ==========================================================================
   4. VENTANA FLOTANTE / MODAL (Cero Transparencias)
   ========================================================================== */
.modal-content-custom {
    --bs-modal-bg: #ffffff !important;
    --bs-modal-color: var(--brown) !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: 1px solid rgba(197, 160, 89, 0.25) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 50px rgba(74, 63, 53, 0.25) !important;
    opacity: 1 !important;
}

.modal-body {
    background-color: #ffffff !important;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.modal-header-custom {
    border-bottom: 1px solid rgba(197, 160, 89, 0.15) !important;
    padding: 20px 30px !important;
    background-color: #ffffff !important;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.modal-header-custom .modal-title {
    font-family: 'Playfair Display', serif;
    color: var(--brown);
    font-weight: 700;
}

/* Caja de Monto $40 */
.amount-box {
    background-color: var(--beige) !important;
    padding: 15px;
    border-radius: 12px;
    border: 1px dashed var(--gold);
}

.amount-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-soft);
    display: block;
}

.amount-value {
    font-family: 'Playfair Display', serif;
    color: var(--brown);
    font-size: 2rem;
    font-weight: 700;
    margin: 5px 0 0 0;
}

/* Cajas de Métodos de Pago */
.payment-info-box {
    background-color: #f9f6f1 !important; 
    border-left: 4px solid var(--gold) !important;
    padding: 20px;
    border-radius: 0 12px 12px 0;
}

.payment-method-title {
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 8px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(74, 63, 53, 0.1);
    padding-bottom: 4px;
}

.payment-info-box.zinli-box {
    border-left: 4px solid var(--brown) !important; 
}

.payment-info-box ul li {
    font-family: 'Inter', sans-serif;
    color: var(--text-soft);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.payment-info-box ul li strong {
    color: var(--brown);
}

/* Botón Secundario (Modificar) */
.btn-back-custom {
    background: transparent;
    border: 1px solid var(--text-soft);
    color: var(--text-soft);
    padding: 12px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-back-custom:hover {
    background: rgba(74, 63, 53, 0.05);
    color: var(--brown);
}

/* ==========================================================================
   5. FOOTER UNIFICADO
   ========================================================================== */
footer { 
    padding: 80px 0; 
    text-align: center; 
    background-color: var(--white); 
    border-top: 1px solid rgba(197, 160, 89, 0.1); 
    color: var(--brown);
}

.social-links { 
    display: flex; 
    justify-content: center; 
    gap: 30px; 
    margin-bottom: 20px; 
}

.social-icon {
    font-size: 1.5rem;
    color: var(--brown);
    text-decoration: none;
    opacity: 0.4; 
    transition: all 0.4s ease;
    display: inline-block;
}

.social-icon:hover {
    opacity: 1;
    color: var(--gold);
    transform: translateY(-5px);
}

footer p {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin: 0;
}

/* ==========================================================================
   6. RESPONSIVE DESIGN (Adaptación Móvil respetando tus selectores)
   ========================================================================== */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex; /* Se activa en móviles */
    }

    /* Tu contenedor de enlaces se vuelve el menú lateral desplegable */
    .nav-links-wrapper {
        position: fixed;
        top: 80px; /* Sincronizado perfectamente con el height: 80px de la navbar */
        right: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 30px;
        gap: 35px;
        box-shadow: -10px 10px 30px rgba(74, 63, 53, 0.05);
        transition: right 0.4s cubic-bezier(0.1, 0.9, 0.2, 1);
        z-index: 1150;
    }

    /* Clase de activación que inyectará tu JS */
    .nav-links-wrapper.is-active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }

    .btn-reserva {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .booking-card {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .booking-card h2 {
        font-size: 1.8rem;
    }
}
/* Estilos para el contenedor del logo */
.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
    max-height: 80px; /* Mantiene el límite estricto de la navbar */
    overflow: hidden; /* Corta cualquier excedente invisible */
}

.nav-logo {
    /* UN POCO MENOS DE TAMAÑO: Bajamos de 115px a 100px para darle más aire */
    height: 80px;       
    width: auto;         
    object-fit: contain;
    
    /* SUAVIZAMOS MÁRGENES: Reducimos el recorte de -18px a -10px para 
       compensar el nuevo tamaño más pequeño y mantenerlo centrado */
    margin-top: -5px;   
    margin-bottom: -5px;
    margin-left: -2px;   /* Alineación sutil con el borde izquierdo */
    
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.02);
}

/* Ajuste proporcional para teléfonos y tablets */
@media (max-width: 992px) {
    .logo-container {
        max-height: 80px;
    }
    .nav-logo {
        /* Ajuste equivalente en móvil para mantener la misma proporción */
        height: 75px;
        margin-top: -2px;
        margin-bottom: -2px;
        margin-left: -0px;
    }
}
/* ==========================================================================
   CRÉDITOS DEL DESARROLLADOR (FIVERR & LINKEDIN)
   ========================================================================== */
.developer-credits {
    margin-top: 25px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.developer-credits:hover {
    opacity: 1; /* Se ilumina sutilmente al posar el cursor */
}

.developer-credits p {
    color: var(--text-soft, #6a5f55);
    margin: 0;
}

.developer-credits strong {
    color: var(--brown);
    font-weight: 600;
}

/* Separadores visuales */
.dev-sep {
    color: var(--gold);
    margin: 0 6px;
    opacity: 0.5;
}

/* Enlaces a tus perfiles */
.dev-link {
    color: var(--brown);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.dev-link:hover {
    color: var(--gold); /* Cambia al dorado de la web */
}

/* Animación de línea inferior minimalista al hacer hover */
.dev-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -1px;
    left: 0;
    background-color: var(--gold);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.dev-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Ajuste sutil para que en móviles no se amontone */
@media (max-width: 480px) {
    .developer-credits {
        font-size: 0.8rem;
    }
    .dev-sep {
        margin: 0 3px;
    }
}
/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP (CON ANIMACIÓN)
   ========================================================================== */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* El color verde oficial de WhatsApp */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 2000; /* Lo mantiene por encima de la navbar fija y del modal */
    transition: all 0.3s ease;
}

/* El icono SVG interno */
.whatsapp-floating-btn svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Efecto Hover: Se eleva un poquito y brilla más */
.whatsapp-floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    background-color: #20ba5a;
}

/* --- ANIMACIÓN DE PULSO --- */
/* Crea un anillo de ondas expansivas muy sutil alrededor del botón */
.whatsapp-floating-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.5;
    z-index: -1;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Ajuste fino para pantallas móviles para que no estorbe al leer */
@media (max-width: 768px) {
    .whatsapp-floating-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-floating-btn svg {
        width: 26px;
        height: 26px;
    }
}
/* ==========================================================================
   SECCIÓN LEGAL DEL FOOTER
   ========================================================================== */
.footer-bottom-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.footer-bottom-info p {
    margin: 0;
    color: var(--text-soft, #6a5f55);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-legal a {
    color: var(--text-soft, #6a5f55);
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-legal a:hover {
    color: var(--gold, #c5a059);
    opacity: 1;
}

.legal-sep {
    color: var(--gold, #c5a059);
    font-size: 0.7rem;
    opacity: 0.5;
}

/* Ajuste responsive para celulares */
@media (max-width: 576px) {
    .footer-legal {
        flex-direction: column;
        gap: 6px;
    }
    
    .legal-sep {
        display: none; /* Escondemos el punto separador en vertical */
    }
}