 /* ========================================= */
 /* ===== RESET Y ESTILOS GLOBALES ===== */
 /* ========================================= */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 html,
 body {
     height: 100%;
 }

 body {
     font-family: 'Lato', sans-serif;
     background: #e2ecec;
     /* Fondo blanco/gris muy claro */
     color: #7091b4;
     /* Texto principal en gris oscuro */
     line-height: 1.6;
     display: flex;
     flex-direction: column;
 }

 main {
     margin: 50px auto;
     background: #f6ebeb;
     /* Contenedor principal blanco puro */
     padding: 35px 50px;
     border-radius: 12px;
     box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
     color: #495057;
     font-weight: 300;
     flex: 1;
     width: 100%;
 }

 section {
     margin-bottom: 50px;
 }

 h2 {
     font-family: 'Playfair Display', serif;
     font-size: clamp(1.8rem, 5vw, 2.3rem);
     color: #007bff;
     /* Título principal en azul vibrante */
     margin-bottom: 25px;
     border-bottom: 2px solid #ced4da;
     padding-bottom: 8px;
     letter-spacing: 1px;
     text-shadow: none;
 }

 p,
 li {
     font-size: clamp(1rem, 2vw, 1.15rem);
     color: #6c757d;
     /* Texto secundario en gris */
     line-height: 1.7;
     text-shadow: none;
 }

 ul {
     list-style: none;
     padding-left: 0;
 }

 li {
     margin-bottom: 12px;
 }

 iframe {
     display: block;
     margin: 20px auto;
     border-radius: 10px;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
     width: 95%;
     max-width: 800px;
     border: 0;
     height: 450px;
 }

 /* ========================================= */
/* ===== HEADER Y NAVEGACIÓN ===== */
/* ========================================= */
header {
    background: #0e0b0b;
    /* Fondo negro */
    padding: 20px 50px;
    box-shadow: 0 4px 20px rgba(158, 132, 132, 0.1);
    border-bottom: 1px solid #475563;
    position: relative;
    z-index: 10;
}

header::after {
    content: none;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.logo-container {
    height: 75px;
    padding: 5px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logo {
    height: 100%;
    transition: none;
    width: auto;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 0;
    list-style: none;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #ffffff;
    /* Color de texto blanco para mayor visibilidad */
    font-weight: 500;
    /* Un poco más de grosor para la legibilidad */
    font-size: 1.1rem;
    padding: 10px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: none;
    letter-spacing: normal;
}

.main-nav a:hover,
.main-nav a.active {
    background: #007bff;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

 /* ========================================= */
 /* ===== BOTONES DE ACCESO Y ADMINISTRADOR EN LA BARRA DE NAVEGACIÓN ===== */
 /* ========================================= */
 .main-nav ul li .boton-acceso {
     background-color: #28a745;
     color: #fff;
     border-radius: 5px;
     padding: 10px 20px;
     text-decoration: none;
     font-weight: bold;
     border: 2px solid #28a745;
 }

 .main-nav ul li .boton-acceso:hover {
     background: #218838;
     box-shadow: 0 4px 12px rgba(33, 136, 56, 0.3);
 }

 .main-nav ul li .cerrar-sesion {
     background: #dc3545;
     color: #fff;
     border-radius: 5px;
     padding: 10px 20px;
     text-decoration: none;
     font-weight: bold;
     border: 2px solid #dc3545;
 }

 .main-nav ul li .cerrar-sesion:hover {
     background: #c82333;
     box-shadow: 0 4px 12px rgba(200, 35, 51, 0.3);
 }

 .admin-buttons {
     margin-top: 15px;
     display: flex;
     justify-content: flex-end;
     gap: 10px;
 }

 .admin-buttons a {
     padding: 8px 12px;
     font-size: 0.9rem;
     border-radius: 5px;
     text-decoration: none;
     color: white;
     font-weight: bold;
     display: flex;
     align-items: center;
     transition: background-color 0.3s ease;
 }

 .admin-buttons a i {
     margin-right: 5px;
 }

 .admin-buttons .edit-btn {
     background-color: #28a745;
 }

 .admin-buttons .edit-btn:hover {
     background-color: #218838;
 }

 .admin-buttons .delete-btn {
     background-color: #dc3545;
 }

 .admin-buttons .delete-btn:hover {
     background-color: #c82333;
 }

 /* ========================================= */
 /* ===== SECCIÓN CARRUSEL ===== */
 /* ========================================= */
 .carousel-container {
     width: 95%;
     max-width: 800px;
     margin: 50px auto;
     position: relative;
     overflow: hidden;
     border-radius: 12px;
     box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
 }

 .carousel-slide {
     display: flex;
     transition: transform 0.5s ease-in-out;
 }

 .carousel-slide img {
     width: 100%;
     flex-shrink: 0;
     object-fit: cover;
     max-height: 450px;
     border-radius: 12px;
 }

 .carousel-btn {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background-color: rgba(0, 0, 0, 0.5);
     border: none;
     color: white;
     font-size: 2rem;
     padding: 10px;
     cursor: pointer;
     z-index: 10;
     border-radius: 50%;
     transition: background-color 0.3s ease;
 }

 .carousel-btn:hover {
     background-color: rgba(0, 0, 0, 0.8);
 }

 .prev-btn {
     left: 10px;
 }

 .next-btn {
     right: 10px;
 }

 /* ========================================= */
 /* ===== SECCIÓN HABITACIONES ===== */
 /* ========================================= */
 .vertical-menu {
     display: flex;
     flex-direction: column;
     gap: 30px;
     width: 100%;
     margin: 30px auto 50px auto;
     padding: 0;
 }

 .card-habitacion {
     background-color: #ffffff;
     border-radius: 15px;
     box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
     overflow: hidden;
     color: #495057;
     cursor: pointer;
     user-select: none;
     display: flex;
     flex-direction: column;
     align-items: center;
     max-height: 650px;
     transition: max-height 0.6s ease, box-shadow 0.4s ease, transform 0.3s ease;
     padding: 30px;
 }

 .card-habitacion img {
     width: 100%;
     height: auto;
     max-height: 280px;
     object-fit: cover;
     border-radius: 8px;
     border: 1px solid #e9ecef;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .card-habitacion:hover img {
     transform: scale(1.03);
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 }

 .card-habitacion:hover {
     box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
     transform: translateY(-5px);
 }

 .card-habitacion span {
     font-weight: 700;
     font-size: clamp(1.2rem, 3vw, 1.4rem);
     color: #007bff;
     margin-top: 20px;
     letter-spacing: 1px;
     text-shadow: none;
     user-select: none;
 }

 .card-habitacion.expanded {
     max-height: 900px;
     box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
 }

 .card-habitacion .contenido-expandido {
     opacity: 0;
     max-height: 0;
     overflow: hidden;
     padding: 0 25px;
     font-size: 1.1rem;
     color: #6c757d;
     transition: opacity 0.5s ease, max-height 0.5s ease;
     width: 100%;
     box-sizing: border-box;
     user-select: text;
 }

 .card-habitacion.expanded .contenido-expandido {
     opacity: 1;
     max-height: 370px;
     margin-top: 20px;
 }

 .card-habitacion .imagenes-multiples {
     display: flex;
     flex-wrap: nowrap;
     gap: 10px;
     margin-top: 10px;
     overflow-x: auto;
     padding-bottom: 5px;
     scrollbar-width: thin;
     scrollbar-color: #007bff transparent;
 }

 .card-habitacion .imagenes-multiples::-webkit-scrollbar {
     height: 8px;
 }

 .card-habitacion .imagenes-multiples::-webkit-scrollbar-track {
     background: #e9ecef;
 }

 .card-habitacion .imagenes-multiples::-webkit-scrollbar-thumb {
     background-color: #007bff;
     border-radius: 4px;
 }

 .card-habitacion .imagenes-multiples img {
     width: 100px;
     height: 70px;
     object-fit: cover;
     border-radius: 4px;
     cursor: pointer;
     transition: transform 0.2s ease-in-out;
     flex-shrink: 0;
     border: 1px solid #ced4da;
     box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
 }

 .card-habitacion .imagenes-multiples img:hover {
     transform: scale(1.05);
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
 }

 /* ========================================= */
 /* ===== UBICACIÓN Y FORMULARIO AHORA EN FLEXBOX ===== */
 /* ========================================= */
 .secciones-flex {
     display: flex;
     justify-content: space-between;
     gap: 50px;
 }

 .ubicacion {
     width: 50%;
 }

 .formulario {
     width: 50%;
     padding: 30px;
     border-radius: 12px;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
 }

 .ubicacion h2,
 .formulario h2 {
     margin-bottom: 25px;
     color: #007bff;
     text-shadow: none;
 }

 .ubicacion h2 {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 15px;
     font-size: 2.3rem;
     color: #007bff;
 }

 .ubicacion h2 i {
     font-size: 2.8rem;
     text-shadow: none;
     animation: none;
     color: #007bff;
 }

 .ubicacion-contenido {
     background: #ffffff;
     padding: 25px;
     border-radius: 15px;
     margin: 25px auto;
     text-align: center;
     border: 1px solid #e9ecef;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
     width: 100%;
 }

 .ubicacion-contenido h3 {
     font-family: 'Lato', sans-serif;
     font-size: 1.25rem;
     color: #343a40;
     text-shadow: none;
     line-height: 1.8;
 }

 .map-button {
     display: inline-block;
     background: #007bff;
     border: none;
     padding: 12px 25px;
     margin-top: 20px;
     color: #fff;
     font-size: 1.1rem;
     border-radius: 30px;
     cursor: pointer;
     font-weight: 600;
     text-decoration: none;
     box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
     transition: all 0.3s ease;
 }

 .map-button:hover {
     background: #0056b3;
     box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
     transform: translateY(-2px);
 }

 .ubicacion iframe {
     width: 100%;
     height: 400px;
     margin-top: 20px;
 }

 .formulario label {
     display: block;
     margin-bottom: 10px;
     font-weight: 600;
     color: #495057;
     text-shadow: none;
 }

 .formulario input,
 .formulario textarea {
     width: 100%;
     padding: 12px;
     margin-bottom: 20px;
     border: 1px solid #ced4da;
     border-radius: 8px;
     background: #ffffff;
     color: #495057;
     font-size: 1rem;
     transition: all 0.3s ease;
     box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
 }

 .formulario input:focus,
 .formulario textarea:focus {
     border-color: #007bff;
     outline: none;
     box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
 }

 .formulario button {
     background: #007bff;
     border: none;
     padding: 12px 30px;
     color: #fff;
     font-size: 1.2rem;
     border-radius: 30px;
     cursor: pointer;
     font-weight: 600;
     box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
     transition: all 0.3s ease;
 }

 .formulario button:hover {
     background: #0056b3;
     box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
 }

 /* ========================================= */
 /* ===== FOOTER Y REDES SOCIALES ===== */
 /* ========================================= */
 footer {
     text-align: center;
     margin-top: auto;
     padding-top: 50px;
     font-size: 0.9rem;
     color: #6c757d;
     text-shadow: none;
 }

 .social-icons {
     margin-top: 15px;
     margin-bottom: 15px;
     display: flex;
     justify-content: center;
     gap: 15px;
 }

 .social-icons a {
     color: #007bff;
     font-size: 1.6rem;
     transition: all 0.3s ease;
     text-shadow: none;
 }

 .social-icons a:hover {
     color: #0056b3;
     transform: scale(1.1);
     text-shadow: none;
 }

 .whatsapp-button {
     position: fixed;
     bottom: 30px;
     right: 30px;
     background-color: #28a745;
     /* Verde de WhatsApp */
     color: #fff;
     width: 60px;
     height: 60px;
     border-radius: 50%;
     display: flex;
     justify-content: center;
     align-items: center;
     font-size: 2rem;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
     z-index: 1000;
     transition: all 0.3s ease;
     animation: pulse 1.5s infinite alternate;
 }

 .whatsapp-button:hover {
     transform: scale(1.1);
     background-color: #218838;
     box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
 }

 @keyframes pulse {
     0% {
         transform: scale(1);
     }

     100% {
         transform: scale(1.05);
     }
 }

 /* ========================================= */
 /* ===== RESPONSIVIDAD ===== */
 /* ========================================= */
 @media (max-width: 768px) {
     body {
         padding: 10px;
     }

     .main-nav {
         flex-direction: column;
         gap: 15px;
     }

     .logo-container {
         height: 50px;
         margin-bottom: 15px;
     }

     .main-nav ul {
         flex-direction: column;
         gap: 10px;
     }

     main {
         margin: 20px 0;
         padding: 25px;
     }

     h2 {
         font-size: 2rem;
     }

     p,
     li {
         font-size: 1rem;
     }

     .secciones-flex {
         flex-direction: column;
         gap: 30px;
     }

     .ubicacion,
     .formulario {
         width: 100%;
     }

     .ubicacion-contenido {
         padding: 15px;
     }

     .ubicacion-contenido h3 {
         font-size: 1.1rem;
     }

     .card-habitacion .imagenes-multiples {
         gap: 10px;
         padding: 0;
     }

     .card-habitacion .imagenes-multiples img {
         width: 80px;
         height: 60px;
     }

     iframe {
         height: auto;
     }

     .whatsapp-button {
         width: 50px;
         height: 50px;
         font-size: 1.8rem;
         bottom: 20px;
         right: 20px;
     }
 }