/* =============== ESTILOS GENERALES =============== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden !important; /* Evitar el scroll horizontal */
}

.carousel-control-next,
.carousel-control-prev {
/* Fija los botones del carrusel en una posición específica dentro del contenedor */
  position: absolute;

   /* Asegura que estos botones estén por encima de otros elementos del carrusel */
  z-index: 2;
  /* Limita el ancho de los botones para evitar que sean demasiado grandes y causen desbordamiento */
  width: 40px !important;
  height: 40px !important;
  /* Centra verticalmente el botón respecto al alto del contenedor del carrusel */
  top: 50%;
  transform: translateY(-50%);
/* Oculta cualquier contenido que se salga de su área asignada */
  overflow: hidden;
  /* Evita que el botón se extienda más allá del ancho de la pantalla en dispositivos pequeños */
  max-width: 100vw;
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #918f86;
    background-image: url('img/Fondo_3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-blend-mode: overlay;
    color: #333333;
    font-family: 'Poppins', 'Arial', sans-serif;
    min-height: 100vh;
    line-height: 1.6;
}

/* =============== Se elimina el fondo blanco que se carga con bootrap =============== */
:root {
  --bs-body-bg: transparent !important; /* Para eliminar el fondo */
}

/* =============== HEADER Y NAVEGACIÓN =============== */
.header-container {
    background-color: rgba(86, 50, 63, 0.90); /* CAMBIO: Añadir transparencia */
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px); /* AÑADIDO: Efecto de cristal */
}

/* Esta sección modifica los espacios del contenido de navegación */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; /* Asegúrate que tome siempre todo el ancho disponible */
  padding: 0 20px; /* Reduce el padding para mayor adaptabilidad */
}

.logo {
    max-height: 60px;
    width: auto;
    margin-left: 0; /* elimina margen izquierda */
}

.logo:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;

    color: #e2c698;
    cursor: pointer;
    padding: 10px;
    z-index: 1000; /* Tenía 1001 */
    transition: all 0.3s ease;
        /* AGREGADO: Mantener en el lado derecho */
    margin-left: 10px; /* separación mínima a la derecha */
    order: 2; /* Asegura posición más a la derecha si se usa flex */
}

.menu-toggle:hover {
    color: #dfc675;
    transform: scale(1.1);
}

/* Menú principal */
.nav-main {
    display: flex;
    margin-left: auto; /* empuja menú completamente a la derecha */
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

/* Esta sección modifica el texto de la navegación */
.nav-item {
    position: relative;
    font-size: 18px;
    font-weight: 500; /* Opción más común */
}

.nav-link {

    text-decoration: none;
    color: #545a3a;
    font-weight: 600;
    font-size: 20px;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #d4b45f;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #d4b45f;
    transition: width 0.3s ease;
}

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

/* Overlay para el menú móvil */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Animación para los enlaces del menú */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =============== CARRUSEL PERFECTAMENTE CENTRADO =============== */
#main-carousel {
    position: relative;
    margin-top: 0;
    z-index: 1;
    width: 100%;
}

.carousel-inner {
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    height: 90vh;
    min-height: 550px;
    background-color: #5a4a3a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    width: 100%;
    max-width: 100%;
    overflow: hidden; 
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.carousel-item:hover img {
    transform: scale(1.02);
}

/* SOBRESCRIBIR COMPLETAMENTE LOS ESTILOS DE BOOTSTRAP */
#main-carousel .carousel-caption {
 /* Resetear todos los estilos de Bootstrap */
    position: absolute !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;

    /* Nuestros estilos personalizados */
    max-width: 800px;
    width: 90%;
    background-color: rgba(245, 234, 195, 0.92);
    padding: 30px 50px 50px 50px !important; /* AGREGAR ESTA LÍNEA */
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(223, 198, 117, 0.3);
    animation: slideInUp 0.8s ease-out;
    z-index: 10;

    /* Nuestros estilos personalizados */
    max-width: 800px;
    width: 90%;
    background-color: rgba(245, 234, 195, 0.92);
    padding: 40px 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(223, 198, 117, 0.3);
    animation: slideInUp 0.8s ease-out;
    z-index: 10;
}

/* Animación de entrada */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -30%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

#main-carousel .carousel-caption h1 {
    color: #5a4a3a !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    line-height: 1.2 !important;
    text-align: center !important;
}

#main-carousel .carousel-caption p.lead {
    font-size: 1.3rem !important;
    color: #6b5d4a !important;
    margin-bottom: 30px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

#main-carousel .carousel-caption .btn {
    padding: 15px 40px !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    background-color: #684753 !important;
    color: #cdb159 !important;
    border: none !important;
    border-radius: 12px !important;
    transition: all 0.3s ease-in-out !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(223, 198, 117, 0.4);
    text-decoration: none !important;
    display: inline-block !important;
    margin-top: 1rem !important;
}

#main-carousel .carousel-caption .btn:hover {
    background-color: #cdb159 !important;
    color: #fff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 25px rgba(0,0,0,0.25) !important;
}

#main-carousel .carousel-caption .btn:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

/* CONTROLES MEJORADOS */
.carousel-control-prev,
.carousel-control-next {
    width: 70px !important;
    height: 70px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1 !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(68, 58, 20, 0.95) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    background-size: 50% !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;
    transition: all 0.3s ease !important;
    border: 3px solid rgba(223, 198, 117, 0.5) !important;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #dfc675 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4) !important;
}

/* INDICADORES MEJORADOS */
#main-carousel .carousel-indicators {
    bottom: 30px !important;
    margin-bottom: 0 !important;
    justify-content: center !important;
}

#main-carousel .carousel-indicators [data-bs-target] {
    width: 16px !important;
    height: 16px !important;
    background-color: rgba(255, 255, 255, 0.6) !important;
    border: 2px solid #dfc675 !important;
    border-radius: 50% !important;
    opacity: 0.7 !important;
    transition: all 0.4s ease !important;
    margin: 0 6px !important;
}

#main-carousel .carousel-indicators .active {
    background-color: #dfc675 !important;
    width: 35px !important;
    border-radius: 20px !important;
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

/* =============== SECCIÓN DE DOMOS =============== */
.domos-section {
    padding: 60px 20px;
    background-color: rgba(26, 25, 25, 0.9); /* Más transparente: de 0.9 a 0.7 */
    margin: 40px 0;
    backdrop-filter: blur(3px); /* Añadido: efecto de desenfoque para mejor integración */
    margin-top: 0px;
    margin-bottom: 0px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Título de la sección con colores más oscuros y sobreado iluminado */
.section-title {
    color: #e9e8e8; /* Cambio: de #5a4a3a a azul oscuro más contrastante */
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 5px rgba(240, 223, 128, 0.7); /* Añadido: sombra blanca para mejor legibilidad */
    font-weight: 700; /* Añadido: más bold */

    margin-top: 0px; /* Se quita el margen del titulo principal */

}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 3px;
    background-color: #ecc02d; /* Cambio: color más vibrante para la línea decorativa */
}

/* Títulos de las tarjetas */
.domo-title {
    color: #eff0e9; /* Cambio: color más oscuro y contrastante */
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700; /* Aumentado: más bold */
    text-shadow: 1px 1px 7px rgba(36, 35, 4, 0.9); /* Añadido: sombra sutil */
}

/* Descripción de las tarjetas */
.domo-description {
    color: #391e0f !important;
    margin-bottom: 20px;
    flex-grow: 1;
    font-weight: 250; /* Añadido: un poco más de peso */
    line-height: 1.5; /* Mejorado: mejor interlineado */
}

/* Subtítulo de la sección con colores más oscuros y sobreado iluminado */
.section-subtitle {
    color: #ffffff !important;
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(252, 243, 205, 0.8); /* Añadido: sombra para mejor legibilidad */
    font-weight: 500; /* Añadido: un poco más de peso */
}

/* Tarjetas de domos con fondo más transparente */
.domo-card {
    background: #e2c698; /* Cambio: de sólido a 85% transparente */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Mejorado: sombra más pronunciada */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px); /* Añadido: efecto de vidrio esmerilado */
    border: 1px solid rgba(201, 190, 129, 0.3); /* Añadido: borde sutil */
}

.domos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* ← fuerza 2 columnas en escritorio */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.domo-card:hover {
    transform: translateY(-12px); /* Aumentado: efecto hover más pronunciado */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: #b4a967; /* Al hover, se vuelve menos transparente */
}

.domo-card:hover .domo-image img {
    transform: scale(1.05);
}

.domo-image {
    height: 220px;
    overflow: hidden;
}

.domo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.domo-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.domo-features {
    margin-bottom: 20px;
}

/* Características/features con colores mejorados */
.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #332b07; /* Cambio: color más oscuro */
    font-weight: 500; /* Añadido: más peso */
}

/* Características/features de los iconos */
.feature-icon {
    margin-right: 10px;
    color: #56323f; /* Cambio: color más vibrante para los iconos */
    font-size: 1.1em; /* Añadido: iconos ligeramente más grandes */
}

/* Botón mejorado */
.domo-btn {
    background-color: #684753; /* Cambio: color más vibrante */
    color: #e2c698; /* Cambio: texto blanco para mejor contraste */
    border: none;
    padding: 12px 25px; /* Aumentado: botón más grande */
    border-radius: 8px; /* Aumentado: bordes más redondeados */
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    margin-top: auto;
    text-transform: uppercase; /* Añadido: texto en mayúsculas */
    letter-spacing: 0.5px; /* Añadido: espaciado entre letras */
    /*box-shadow: 0 2px 5px rgba(134, 114, 1, 0.3);  Añadido: sombra del color del botón */
}

.domo-btn:hover {
    background-color: #e2c698; /* Color más oscuro al hover */
    color: #56323f;
    transform: translateY(-3px);
    box-shadow: 0 2px 2px rgba(75, 28, 42, 0.4);
}

/* =============== SECCIÓN DE BOOKING MEJORADA =============== */
.booking-section {
    background-color:  rgba(26, 25, 25, 0.9);
    padding: 30px;
    border-radius: 15px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
}

.booking-header {
    text-align: center;
    margin-bottom: 30px;
}

.booking-title {
    color: #d8b236;
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.booking-subtitle {
    color: #7a6b5a;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.booking-table-container {
    overflow-x: auto;
    margin-top: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.booking-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.booking-table th {
    background-color: #56323f;
    color: #e2c698;
    font-weight: 600;
    padding: 15px;
    text-align: center;
    border-bottom: 2px solid #dfc675;
}

.booking-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    background-color: #fff;
}

/* Estilos para los inputs de fecha */
.date-input {
    border: 2px solid #56323f;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: #5a4a3a;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 140px;
}

.date-input:hover {
    border-color: #d4b45f;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.date-input:focus {
    outline: none;
    border-color: #d4b45f;
    box-shadow: 0 0 0 3px rgba(223, 198, 117, 0.2);
}

/* Estilos para los inputs de número */
.number-input {
    border: 2px solid #56323f;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: #5a4a3a;
    background-color: #fff;
    width: 60px;
    text-align: center;
    transition: all 0.3s ease;
}

.number-input:hover {
    border-color: #d4b45f;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.number-input:focus {
    outline: none;
    border-color: #d4b45f;
    box-shadow: 0 0 0 3px rgba(223, 198, 117, 0.2);
}

/* Personalizar el selector de fecha en navegadores webkit */
.date-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    background-color: #dfc675;
    border-radius: 3px;
    padding: 2px;
}

.date-input::-webkit-calendar-picker-indicator:hover {
    background-color: #d4b45f;
}

.availability-btn {
    background-color: rgb(104, 71, 83);
    color: #e2c698;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.availability-btn:hover {
    background-color: #e2c698;
    color: rgb(86, 50, 63);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* =============== SPINNER =============== */

.hidden {
  display: none !important;
}

  .modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; 
    backdrop-filter: blur(4px);/* OPCIONAL: efecto glassmorphism */
  }

  .modal-content {
    background: #e2c698 !important; /*Fondoalmodal*/
    padding: 30px;
    border-radius: 8px !important;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeIn 0.4s ease;
    -webkit-border-radius: 8px !important;
    -moz-border-radius: 8px !important;
    -ms-border-radius: 8px !important;
    -o-border-radius: 8px !important;
    position: relative;
    margin: auto;
    text-align: center;
}

  @keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-content button {
  margin-top: 1.5rem;
  padding: 12px 24px;
  background-color: rgb(104, 71, 83);
  color: #e2c698;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  -webkit-transition: background-color 0.3s ease;
  -moz-transition: background-color 0.3s ease;
  -ms-transition: background-color 0.3s ease;
  -o-transition: background-color 0.3s ease;
}

.modal-content button:hover {
  background-color: #8b6a2d;
}

  .date-ok {
    color: rgb(11, 75, 11);
    font-weight: bold;
    margin-top: 1rem; /* Añadido: margen superior para separación */
  }

  .date-busy {
    color: red;
    font-weight: bold;
    margin-top: 0.5rem; /* Añadido: margen superior para separación */
  }

  .spinner {
    margin-top: 10px;
    font-style: italic;
    color: #666;
  }
  
    .modal-body {
    text-align: center;
    padding: 2rem 2rem 2rem 2rem;
    padding-top: 3rem; /* ← más espacio arriba para que no se monte con la “X” */
    }

    .modal-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    }

    .modal-message {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #2c2c2c;
    }

    .modal-actions {
        margin-top: 1.5rem;
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .whatsapp-btn {
        background-color: #095a27;
        color: white;
        text-decoration: none;
        padding: 0.6rem 1.4rem;
        border-radius: 10px;
        font-weight: bold;
        transition: background-color 0.3s ease, transform 0.2s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    .whatsapp-btn:hover {
        background-color: #1ebe5d;
        transform: scale(1.05);
    }


    .close-x {
    position: absolute;
    top: -12px;           /* Subir más arriba del contenedor */
    right: -12px;         /* Aléjarlo del borde derecho del contenido */
    background-color: #5d3640;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 10;
    
    padding-bottom: 15px !important;

    }

    .close-x:hover {
    color: #a71e2a;
    }

/* =============== SECCIÓN DE GALERIA =============== */
    .galeria-section {
      background-color: rgba(26, 25, 25, 0.9);
      padding: 60px 20px;
      text-align: center;
    }

    .galeria-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .galeria-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    background-color: #1a1a1a; /* Fondo consistente */
    display: flex;
    flex-direction: column;
    height: 450px; /* ← Establece una altura fija */
    min-height: 450px;
    }

    .galeria-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 100%;
    flex-grow: 1;
    transition: transform 0.4s ease;
    display: block;
    }

    .galeria-card:hover img {
      transform: scale(1.08);
    }

    .galeria-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.65);
      color: #fff;
      opacity: 0;
      transition: opacity 0.4s ease;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 25px;
    }

    .galeria-card:hover .galeria-overlay,
    .galeria-card:focus-within .galeria-overlay {
      opacity: 1;
    }

    .galeria-title {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 10px;
      color: #ecc02d;
      text-shadow: 1px 1px 4px #000;
    }

    .galeria-divider {
      width: 50px;
      height: 3px;
      background-color: #ecc02d;
      margin-bottom: 10px;
    }

    .galeria-description {
      font-size: 1rem;
      color: #eee;
      text-shadow: 1px 1px 2px #000;
    }


/* =============== Sección de Servicios =============== */
.services-features {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;

}

.feature-item-spa {
    color: #d8c487; /* rojo llamativo */
    text-align: center;
    align-items: center; 
    margin-bottom: 8px;
    /* font-weight: 600;

    display: flex;
*/
}


/* =============== WHATSAPP FLOTANTE =============== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float a {
    display: block;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-float a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.1);
    top: 0;
    left: -100%;
    transition: all 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.whatsapp-float a:hover::before {
    left: 100%;
}

.whatsapp-float img {
    width: 36px;
    height: 36px;
    margin-top: 12px;
}

/* =============== FOOTER CENTRADO =============== */

.footer {
    background: linear-gradient(to right, #56323f, rgb(77, 70, 36));
    color: #fff;
    padding: 50px 0 20px;
    margin-top: auto;
    text-align: center; /* Añadido para centrar el texto */
}


.footer a {
    color: #f3ebd1;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #e6cc06;
}

.footer a:active {
    color: rgb(255, 174, 0);        /* Cambiar el color del texto al hacer clic */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex; /* Cambiado de grid a flex */
    flex-direction: column; /* Apila los elementos verticalmente */
    align-items: center; /* Centra horizontalmente */
    gap: 30px;
}

.footer-logo {
    max-height: 70px;
    margin-bottom: 20px;
}

.footer-about {
    max-width: 600px; /* Limita el ancho del texto descriptivo */
    margin: 0 auto 30px; /* Centra el bloque */
    margin-bottom: 0px;

}

.footer-heading {
    color: #dfc675;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex; /* Cambiado a flex para enlaces en línea */
    flex-wrap: wrap; /* Permite que los enlaces se ajusten */
    justify-content: center; /* Centra los enlaces */
    gap: 15px 30px; /* Espaciado entre enlaces */
    margin-bottom: 30px;
}


.footer-links li {
    margin-bottom: 0; /* Elimina el margen inferior original */
}

.contact-info {
    list-style: none;
    padding: 0;
    max-width: 600px; /* Limita el ancho */
    margin: 0 auto; /* Centra el bloque */
    align-items: center;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    justify-content: center; /* Centra los items de contacto */
    align-items: center;
    text-align: left;
}

.social-links {
    justify-content: center; /* Asegura que los iconos sociales estén centrados */
    margin-bottom: 30px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
    font-size: 14px;
    width: 100%;
}


/* =============== MEDIA QUERIES =============== */

/* =============== INICIA EN 980PX =============== */


@media (max-width: 980px) {

    /* LIMPIAR COMPLETAMENTE LOS EVENT LISTENERS PROBLEMÁTICOS EN JS */
    .nav-link,
    .nav-link:link,
    .nav-link:visited,
    .nav-link:hover,
    .nav-link:active,
    .nav-link:focus {
        /* RESETEAR PROPIEDADES HEREDADAS */
        all: initial !important;
        font-family: inherit !important;

        /* APLICAR ESTILOS ESPECÍFICOS PARA MÓVIL */
        display: block !important;
        padding: 20px 30px !important;
        color: #474303 !important; /* ROJO FORZADO */
        font-size: 18px !important;
        font-weight: 600 !important;
        width: 100% !important;
        text-align: left !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        box-sizing: border-box !important;
        cursor: pointer !important;
        text-decoration: none !important;
        background: transparent !important;
        border: none !important;
        outline: none !important;
    }

    /* ESTADO HOVER - MÁXIMA ESPECIFICIDAD */
    .nav-main.nav-open .nav-link:hover,
    .mobile-menu-open .nav-main .nav-link:hover {
        color: #a71e2a !important; /* ROJO OSCURO */
        background-color: rgba(223, 198, 117, 0.2) !important;
        padding-left: 40px !important;
        text-decoration: none !important;
        transform: translateX(5px) !important;
    }

    /* ESTADO ACTIVE/FOCUS */
    .nav-main.nav-open .nav-link:active,
    .nav-main.nav-open .nav-link:focus {
        color: #595b0b !important; /* ROJO MUY OSCURO */
        background-color: rgba(223, 198, 117, 0.3) !important;
        text-decoration: none !important;
    }

    /* ELIMINAR PSEUDOELEMENTOS PROBLEMÁTICOS */
    .nav-link::after,
    .nav-link::before {
        display: none !important;
        content: none !important;
    }

    /* MOSTRAR BOTÓN HAMBURGUESA */
    .menu-toggle {
        display: block !important;
        font-size: 24px;
        position: relative;
        z-index: 1001;
        margin-left: auto;
    }

    /* MENÚ LATERAL CORREGIDO */
    .nav-main {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: rgba(245, 234, 195, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 80px 0 20px 0;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        border-left: 2px solid rgba(223, 198, 117, 0.3);
    }

    .nav-main.nav-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(223, 198, 117, 0.2);
        margin: 0;
    }

    /* HEADER ADJUSTMENTS */
    .header-content {
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        max-height: 50px;
        order: 1;
    }

    .menu-toggle {
        order: 2;
    }

      /* =============== Domos =============== */

    .domos-grid {
    grid-template-columns: 1fr !important; /* ← solo una columna en pantallas pequeñas */
  }

      /* =============== Galería =============== */

      .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        
      }

      .galeria-card {
        height: 400px;
    }

      /* =============== Booking =============== */
    .booking-section {
        padding: 25px 15px;
        margin: 30px 15px;
    }

    .booking-title {
        font-size: 1.8rem;
    }

    .booking-subtitle {
        font-size: 1rem;
    }

    /* Ocultar la tabla tradicional en móvil */
    .booking-table-container {
        overflow: visible;
        box-shadow: none;
        border-radius: 0;
    }

    .booking-table {
        border: none;
        min-width: auto;
        width: 100%;
        display: block;
    }

    .booking-table thead {
        display: none; /* Ocultar encabezados en móvil */
    }

    .booking-table tbody {
        display: block;
        width: 100%;
    }

    /* Convertir cada fila en una tarjeta */
    .booking-table tr {
        display: block;
        background: linear-gradient(135deg, #e2c698 0%, #97858c 100%);
        border: 2px solid #dfc675;
        border-radius: 15px;
        padding: 25px 20px;
        margin-bottom: 20px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        position: relative;
        overflow: hidden;
    }

    /* Efecto decorativo en la tarjeta */
    .booking-table tr::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #dfc675, #d4b45f, #dfc675);
        border-radius: 15px 15px 0 0;
    }

    /* Convertir cada celda en un campo con etiqueta */
    .booking-table td {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 12px 0;
        border: none;
        background: transparent;
        position: relative;
        margin-bottom: 15px;
    }

    .booking-table td:last-child {
        margin-bottom: 0;
    }

    /* Agregar etiquetas antes de cada campo */
    .booking-table td:nth-child(1)::before { content: "📅 Fecha de Llegada"; }
    .booking-table td:nth-child(2)::before { content: "📅 Fecha de Salida"; }
    .booking-table td:nth-child(3)::before { content: "👥 Adultos"; }
    .booking-table td:nth-child(4)::before { content: "👶 Niños"; }
    .booking-table td:nth-child(5)::before { content: "🔍 Consultar"; }

    .booking-table td::before {
        font-size: 16px;
        font-weight: 600;
        color: #5a4a3a;
        margin-bottom: 8px;
        text-align: center;
        width: 100%;
        letter-spacing: 0.5px;
    }

    /* Ajustar inputs para móvil */
    .date-input {
        width: 200px;
        font-size: 16px;
        padding: 12px 15px;
        border-radius: 12px;
        text-align: center;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(5px);
    }

    .number-input {
        width: 80px;
        font-size: 18px;
        padding: 12px;
        border-radius: 12px;
        text-align: center;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(5px);
    }

    /* Botón mejorado para móvil */
    .availability-btn {
        padding: 15px 30px;
        font-size: 16px;
        font-weight: 700;
        border-radius: 12px;
        text-transform: uppercase;
        letter-spacing: 1px;
        background: linear-gradient(135deg, #dfc675, #d4b45f);
        color: #5a4a3a;
        box-shadow: 0 6px 20px rgba(223, 198, 117, 0.4);
        min-width: 200px;
    }

    .availability-btn:hover {
        background: linear-gradient(135deg, #d4b45f, #c9a952);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(223, 198, 117, 0.6);
    }

    /* Animación suave para las tarjetas */
    .booking-table tr {
        animation: slideUpCard 0.6s ease forwards;
        opacity: 0;
        transform: translateY(30px);
    }

    @keyframes slideUpCard {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

     .footer .contact-info li {
    text-align: center !important;
    justify-content: center !important;
  }

  .footer .contact-info span {
    display: inline-block;
    text-align: center !important;
  }

}

/* Media Query adicional para móviles */
@media (max-width: 600px) {

    .galeria-grid {
        grid-template-columns: 1fr;
    }

      .galeria-card {
    height: 380px;
    }

    .domos-grid {
        grid-template-columns: 1fr; /* ← solo una columna en pantallas pequeñas */
    }

    .domo-card {
        height: auto; /* Permitir que la tarjeta se ajuste al contenido */
    }

    .domo-image {
        height: 200px; /* Ajustar la altura de la imagen */
    }

    .domo-content {
        padding: 15px;
    }

    .domo-title {
        font-size: 1.2rem;
    }

    .domo-description {
        font-size: 0.9rem;
    }

   .booking-section {
        padding: 20px 10px;
        margin: 20px 10px;
    }

    .booking-title {
        font-size: 1.5rem;
    }

    .booking-table tr {
        padding: 20px 15px;
        margin-bottom: 15px;
    }

    .date-input {
        width: 180px;
        font-size: 14px;
        padding: 10px 12px;
    }

    .number-input {
        width: 70px;
        font-size: 16px;
        padding: 10px;
    }

    .availability-btn {
        padding: 12px 25px;
        font-size: 14px;
        min-width: 180px;
    }

    .booking-table td::before {
        font-size: 14px;
    }

    }

    @media (max-width: 540px) {
    .modal-container {
        padding: 0 1rem;
    }
    }



a.skip-link {
  position: absolute;
  top: -1000px;
  left: -1000px;
  width: 0;
  height: 0;
  overflow: hidden;
}