html, body {
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

main {
    padding: 0;
}

section {
    margin-bottom: 0;
}

.custom-section {
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
}

#about-us {
    background-color: #fff; /* Color de fondo blanco */
    border-radius: 8px;
}

#inmuebles {
    margin-top: 0;
    margin-bottom: 0; /* Ajustado para eliminar espacio */
}

section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2em;
}

/* Estilos para la sección de comentarios */
.comment-form {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
}

.comment-form button {
    background-color: #1abc9c;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.comment-form button:hover {
    background-color: #16a085;
}

.comments-list h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    padding-left: 15px; /* Alinea con los comentarios */
}

.comment-item {
    background-color: #fefefe;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.comment-item h4 {
    color: #34495e;
    margin-top: 0;
    margin-bottom: 5px;
}

.comment-item p {
    color: #666;
    margin-bottom: 0;
}

/* "Ver Mas" Button Style */
.ver-mas-btn {
    display: inline-block;
    background-color: #1abc9c; /* Fallback */
    background-image: linear-gradient(to top, #16a085, #1abc9c);
    color: white;
    padding: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: background-image 0.3s ease;
    margin-top: auto;
    border: none;
    border-radius: 5px; /* Redondea las esquinas */
}

.ver-mas-btn:hover {
    background-image: linear-gradient(to top, #138a85, #16a085);
}

.no-comments-message {
    padding-left: 15px;
}


@media (max-width: 768px) {
    #about-us,
    #inmuebles,
    #comentarios,
    #suscripcion,
    #explora-section,
    #guia-local-section,
    #lugares-cercanos {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
}

/* Estilos para la sección de suscripción */
#suscripcion {
    background-color: #f8f9fa;
}

/* --- Estilos para el Buscador en Hero --- */
.hero-search-form-container {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#hero-search-form .form-control {
    padding-left: 2.5rem; /* Espacio para el icono */
    height: 50px;
    border: none;
}

#hero-search-form .btn {
    height: 50px;
}

/* Responsive adjustments for the hero search form */
@media (max-width: 767px) {
    .hero-search-form-container {
        padding: 15px;
    }
    #hero-search-form .col-md-5, 
    #hero-search-form .col-md-3,
    #hero-search-form .col-md-4 {
        margin-bottom: 10px;
    }
    #hero-search-form .col-md-4 {
        margin-bottom: 0;
    }
}

.suscripcion-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.suscripcion-form-container p {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.1em;
}

.suscripcion-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: flex-end;
}

.suscripcion-form .form-group {
    flex: 1 1 200px; /* Permite que los campos crezcan y se ajusten */
    text-align: left;
}

.suscripcion-form input[type="text"],
.suscripcion-form input[type="email"] {
    width: 100%;
    box-sizing: border-box; /* Asegura que el padding no afecte el ancho total */
}

.suscripcion-form button {
    flex-shrink: 0; /* Evita que el botón se encoja */
    background-color: #1abc9c;
    color: white;
    padding: 10px 25px; /* Ajustado para coincidir con el padding vertical de los inputs */
    border: 1px solid transparent; /* Añadido para compensar el borde de los inputs */
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em; /* Ajustado para coincidir con el font-size de los inputs */
    margin-bottom: 15px; /* Alinea con los form-group */
}

.suscripcion-form button:hover {
    background-color: #16a085;
}

/* === Estilos para Mensajes de Suscripción === */

.mensaje-suscripcion {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.mensaje-suscripcion.exito {
    background-color: #d4edda; /* Verde suave */
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mensaje-suscripcion.error {
    background-color: #f8d7da; /* Rojo suave */
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.mensaje-suscripcion.advertencia {
    background-color: #fff3cd; /* Amarillo suave */
    color: #856404;
    border: 1px solid #ffeeba;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    font-size: 35px; /* Ajustado para el icono de Font Awesome */
    box-shadow: 2px 2px 3px #999;
    z-index: 1030; /* Aumentado al máximo para asegurar visibilidad */
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none; /* Para quitar el subrayado del enlace */
    transition: transform 0.3s ease-in-out;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

/* Floating Reserve Button */
.floating-reserve-btn {
    position: fixed;
    bottom: 20px;
    left: 50%; /* Centrar horizontalmente */
    transform: translateX(-50%); /* Ajustar para el ancho propio del botón */
    z-index: 1050;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: none !important; /* Oculto por defecto */
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-reserve-btn:hover {
    transform: translateY(-3px) translateX(-50%); /* Mantener centrado al hacer hover */
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .floating-reserve-btn {
        bottom: 15px;
        left: 50%; /* Centrar horizontalmente */
        transform: translateX(-50%); /* Ajustar para el ancho propio del botón */
        padding: 12px 20px;
        font-size: 0.9em;
    }
}

.flatpickr-calendar {
    margin: 0 auto; /* Centrar el calendario */
    max-width: 350px; /* Aumentado para que sea más ancho en móviles */
}

/* Animación para el modal */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.custom-modal-content h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.modal-title-wrapper {
    text-align: center;
    margin-bottom: 20px; /* Espacio debajo del título completo */
}

.modal-title-main {
    font-size: 1.8em; /* Tamaño del título principal */
    color: #2c3e50;
    margin-bottom: 5px; /* Espacio entre el título y el subtítulo */
}

.modal-subtitle-calendar {
    font-size: 1.1em;
    color: #555;
    margin-top: 0;
    margin-bottom: 0; /* Ya hay margen en el wrapper */
}

.calendar-guide-text {
    font-size: 0.95em;
    color: #1abc9c; /* Un color que destaque */
    margin-top: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.custom-modal-content .form-group {
    margin-bottom: 15px;
}

.custom-modal-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #34495e;
}

.custom-modal-content textarea {
    resize: vertical;
}

.custom-modal-content button[type="submit"] {
    background-color: #1abc9c;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.custom-modal-content button[type="submit"]:hover {
    background-color: #16a085;
}

.modal-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #555;
    margin-top: -15px;
    margin-bottom: 20px;
}

#price-display {
    text-align: center;
    padding: 10px 20px;
    margin: 0 10px 15px 10px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    color: #2c3e50;
    transition: all 0.3s ease;
}


#hero {
    color: #fff;
    height: 60vh; /* Altura reducida para escritorio */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
    margin-bottom: 0; /* Ajustado para eliminar espacio */
    z-index: 1;
    overflow: hidden;
}

/* --- New Hero Swiper Styles --- */
.hero-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Behind the content */
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    cursor: pointer; /* Asegura que toda la diapositiva tenga el cursor de mano */
}

/* Add a dark overlay to each slide for better text readability */
.hero-swiper .swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05); /* Reducida la opacidad para que sea menos oscura */
    z-index: 1;
}

/* Ensure hero content is on top of the swiper and its overlay */
#hero .hero-content {
    z-index: 2;
}

/* Style Swiper's default navigation arrows */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
    color: #FEA116;
    --swiper-navigation-size: 30px; /* Make arrows a bit smaller */
}



.hero-content {
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease-in-out; /* Smooth transition for opacity */
}

.hero-content h2 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #fff; /* Ensure text is white */
}

.hero-content p {
    font-size: 1.2em;
    font-weight: 400;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-main-title {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    color: #fff;
}

@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.5em;
    }
}

.btn {
    text-decoration: none;
    padding: 12px 25px; /* Restaurado el padding original */
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em; /* Mantenido el tamaño del texto */
    line-height: 1; /* Añadido para igualar la altura */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #FEA116; /* Nuevo color naranja */
    --bs-btn-border-color: #FEA116; /* Nuevo color naranja */
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #e08e0f; /* Un poco más oscuro para el hover */
    --bs-btn-hover-border-color: #e08e0f; /* Un poco más oscuro para el hover */
    --bs-btn-focus-shadow-rgb: 254, 161, 22; /* RGB del nuevo color */
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #e08e0f; /* Un poco más oscuro para el activo */
    --bs-btn-active-border-color: #c77c0d; /* Más oscuro para el activo */
}

.btn-primary:hover {
    background-color: #e08e0f; /* Un poco más oscuro para el hover */
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(44, 62, 80, 0.3);
}

.btn-dark {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0F172B; /* Color azul oscuro del header */
    --bs-btn-border-color: #0F172B;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1c2b4a; /* Un poco más claro para el hover */
    --bs-btn-hover-border-color: #1c2b4a;
    --bs-btn-focus-shadow-rgb: 15, 23, 43;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1c2b4a;
    --bs-btn-active-border-color: #0a101d;
}

/* Responsive adjustments for hero section */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.2em;
    }
    .hero-content p {
        font-size: 1em;
    }
    #hero {
        height: 60vh;
    }
}



/* New Professional About Us Section Styles */
#about-us h2, #about-us .subtitle {
    text-align: left;
}




#about-us h2 {
    font-size: 2.2em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.2em;
    color: #6c757d;
    margin-bottom: 30px;
    font-weight: 400;
}

.about-us-text p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #000;
    margin-bottom: 40px;
}

.btn-secondary {
    color: #2c3e50;
    background-color: transparent;
    border: 2px solid #2c3e50;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #2c3e50;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #about-us h2 {
        text-align: left;
    }
}

.button-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.consultar-precio-btn, .video-btn {
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    box-sizing: border-box;
    line-height: 1; /* Añadido para igualar la altura */
}

.consultar-precio-btn {
    background-color: #1abc9c;
    border: none;
}

.video-btn {
    background-color: #e74c3c; /* A different color to distinguish */
    display: inline-block;
}

/* === Animation Utilities === */
@keyframes slide-in-left-animation {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.hero-content h2,
.hero-content p,
.hero-content .btn {
    transition: transform 0.8s ease-out, opacity 0.8s ease-out; /* Smooth transition for opacity */
}

@keyframes fly-in-from-right {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fly-in-from-left {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-in-up {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animated {
    animation-duration: 1.2s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fly-in-right {
    animation-name: fly-in-from-right;
}

.fly-in-left {
    animation-name: fly-in-from-left;
}

.fade-in-up {
    animation-name: fade-in-up;
}


/* --- Estilos para Moderación de Reservas --- */
.reservation-form {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.reservation-form .form-group {
    margin-bottom: 15px;
}

.reservation-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2c3e50;
}

.reservation-form input[type="text"],
.reservation-form input[type="email"],
.reservation-form input[type="date"],
.reservation-form select,
.reservation-form textarea {
    width: 100%; /* Ajustar para padding y borde */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.reservation-form textarea {
    resize: vertical;
}

.reservation-form button[type="submit"] {
    background-color: #1abc9c;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.reservation-form button[type="submit"]:hover {
    background-color: #16a085;
}

/* Mejoras visuales para el formulario de pre-reserva */
.reservation-form {
    padding: 20px; /* Aumentar padding interno */
    border: 1px solid #e0e0e0; /* Borde más suave */
    border-radius: 8px; /* Esquinas redondeadas */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* Sombra sutil */
    background-color: #ffffff; /* Fondo blanco */
}

.reservation-form .form-group {
    margin-bottom: 18px; /* Más espacio entre grupos de campos */
}

.reservation-form label {
    font-weight: 600; /* Un poco más de peso */
    color: #34495e; /* Color de texto más oscuro */
    margin-bottom: 6px; /* Espacio entre label e input */
}

.reservation-form input[type="text"],
.reservation-form input[type="email"],
.reservation-form input[type="tel"] { /* Añadido type="tel" */
    padding: 12px; /* Más padding interno */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    width: 100%; /* Asegurar que ocupe todo el ancho */
    box-sizing: border-box; /* Incluir padding y borde en el ancho */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.reservation-form input[type="text"]:focus,
.reservation-form input[type="email"]:focus,
.reservation-form input[type="tel"]:focus {
    border-color: #1abc9c; /* Borde de color al enfocar */
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.2); /* Sombra al enfocar */
    outline: none; /* Eliminar el contorno por defecto */
}

.reservation-form button[type="submit"] {
    padding: 14px 25px; /* Más padding para el botón */
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    background-color: #1abc9c;
    color: white;
    border: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.reservation-form button[type="submit"]:hover {
    background-color: #16a085;
    transform: translateY(-2px); /* Efecto de elevación */
}

.reservations-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.reservations-table th,
.reservations-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.reservations-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: #333;
}

.reservations-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.reservations-table tr:hover {
    background-color: #f1f1f1;
}

.reservations-table button {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.reservations-table button[type="submit"] {
    background-color: #e74c3c; /* Rojo para eliminar */
    color: white;
}

.reservations-table button[type="submit"]:hover {
    background-color: #c0392b;
}

.reservations-table button:not([type="submit"]) {
    background-color: #3498db; /* Azul para editar */
    color: white;
    margin-left: 5px;
}

.reservations-table button:not([type="submit"]):hover {
    background-color: #2980b9;
}

.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.message.success {
    background-color: #d4edda; /* Verde suave */
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da; /* Rojo suave */
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.advertencia {
    background-color: #fff3cd; /* Amarillo suave */
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Estilos para fechas reservadas en Flatpickr */
.flatpickr-day.reserved-date {
    position: relative;
    /* Estilo para el círculo de fondo */
    background-image: radial-gradient(circle at center, #e74c3c 40%, transparent 45%) !important; /* Rojo */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%; /* Ajusta el tamaño del círculo */
    color: #fff !important; /* Asegura que el número del día sea blanco para contraste */
    border-color: #e74c3c !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.flatpickr-day.reserved-date:hover {
    background-color: #c0392b !important; /* Rojo más oscuro al pasar el ratón */
}

/* Estilos para tablas en moderación */
.reservations-table .col-id { width: 50px; }
.reservations-table .col-inmueble-id { width: 80px; }
.reservations-table .col-inicio, .reservations-table .col-fin { width: 100px; }
.reservations-table .col-estado { width: 80px; }
.reservations-table .col-precio-total { width: 100px; }
.reservations-table .col-acciones { width: 120px; }

.reservations-table .col-email {
    max-width: 150px; /* Limitar ancho del email */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1024px) {
    .reservations-table .col-telefono,
    .reservations-table .col-comentarios {
        display: none; /* Ocultar estas columnas en pantallas medianas */
    }
}

@media (max-width: 768px) {
    .container {
        width: 100%; /* Asegurar que el contenedor ocupe todo el ancho en móvil */
        /* padding: 0 15px; */ /* Desactivado para permitir un layout de ancho completo en móvil si es necesario */
    }

    /* Restaurar padding para la página de artículo específica */
    .article-page .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .detail-container {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box; /* Asegura que el padding se incluya en el ancho total */
    }

    #resultados-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* ... (otros estilos) ... */


    .reservations-table {
        display: block;
        width: 100%;
        border: none;
    }

    .reservations-table thead {
        display: none;
    }

    .reservations-table tbody,
    .reservations-table tr {
        display: block;
        width: 100%;
    }

    .reservations-table tr {
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        background-color: #fff;
        overflow: hidden;
        padding: 15px;
        box-sizing: border-box;
    }

    .reservations-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
        padding: 10px 0;
        border: none; /* Eliminar bordes heredados */
        border-bottom: 1px solid #f0f0f0; /* Dejar solo el separador inferior */
    }
    
    .reservations-table tr td:last-child {
        border-bottom: none;
    }

    .reservations-table td::before {
        content: attr(data-label);
        display: block;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 6px;
        font-size: 0.9em;
    }

    .reservations-table td[data-label="Acciones:"] form,
    .reservations-table td[data-label="Acciones:"] button {
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin: 5px 0;
    }

    /* Adjust form inputs and buttons for full width */
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="date"],
    .form-group select,
    .form-group textarea,
    .reservation-form button[type="submit"] {
            width: 100%;
            box-sizing: border-box;
        }
        
        @keyframes price-highlight-animation {
            0% {
                transform: scale(1);
                background-color: #f8f9fa;
                box-shadow: 0 1px 3px rgba(0,0,0,0.06);
            }
            50% {
                transform: scale(1.05);
                background-color: #d4edda; /* Light green */
                box-shadow: 0 4px 15px rgba(26, 188, 156, 0.4);
            }
            100% {
                transform: scale(1);
                background-color: #f8f9fa;
                box-shadow: 0 1px 3px rgba(0,0,0,0.06);
            }
        }
        
        .price-highlight {
        
            animation: price-highlight-animation 1s ease-in-out 6;
        
        }
        
        
        
        .reservation-summary {
        
            background-color: #f0f7ff;
        
            border: 1px solid #b3d7ff;
        
            border-radius: 8px;
        
            padding: 15px;
        
            margin-top: 10px;
        
            margin-bottom: 20px;
        
            font-size: 1.0em;
        
            color: #004085;
        
        }
        
        
        
        .reservation-summary p {
        
            margin: 5px 0;
        
        }
        
        
        
        .reservation-summary strong {
        
            color: #004085;
        
        }

        .custom-modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 15px;
    }

    /* Reset desktop-specific column widths for mobile view */
    .reservations-table .col-id,
    .reservations-table .col-inmueble-id,
    .reservations-table .col-inicio,
    .reservations-table .col-fin,
    .reservations-table .col-cliente,
    .reservations-table .col-email,
    .reservations-table .col-telefono,
    .reservations-table .col-estado,
    .reservations-table .col-precio-total,
    .reservations-table .col-acciones {
        width: 100% !important; /* Forzar el ancho completo */
        max-width: none !important; /* Eliminar el ancho máximo */
        white-space: normal !important; /* Permitir que el texto se ajuste */
        overflow: visible !important;
        text-overflow: clip !important;
    }

    /* Mobile styles for moderation tabs */
    .tab-nav {
        flex-direction: column;
        border-bottom: none;
    }

    .tab-nav button {
        width: 100%;
        box-sizing: border-box;
        margin-right: 0;
        margin-bottom: 5px; /* Space between vertical buttons */
        border-radius: 5px; /* Adjust border-radius for stacked buttons */
        border-bottom: 1px solid #ddd; /* Add bottom border */
    }

    .tab-nav button.active {
        border-bottom: 1px solid #ddd; /* Ensure active button also has border */
    }

    /* Fix for Flatpickr calendar overflow on mobile */
    #mobile-calendar-inline .flatpickr-calendar {
        max-width: 100%;
        overflow-x: auto; /* Add scroll if content is too wide */
        box-sizing: border-box; /* Ensure padding/border are included in width */
    }
    #mobile-calendar-inline .flatpickr-calendar .flatpickr-innerContainer {
        max-width: 100%;
        box-sizing: border-box;
    }
    #mobile-calendar-inline .flatpickr-calendar .flatpickr-rContainer {
        max-width: 100%;
        box-sizing: border-box;
    }
    #mobile-calendar-inline .flatpickr-calendar .flatpickr-days {
        max-width: 100%;
        box-sizing: border-box;
    }







}

/* Asegurar que el número de capacidad esté en negrita */


/* === Estilos para el enlace de la imagen principal y el overlay === */
.main-image-link {
    position: relative;
    display: block; /* Asegura que el enlace ocupe el espacio de la imagen */
    text-decoration: none; /* Elimina el subrayado del enlace */
    cursor: pointer;
    overflow: hidden; /* Asegura que el contenido del overlay no se desborde */
    border-radius: 8px; /* Hereda el border-radius de la imagen */
}

.main-image-link:hover .image-overlay {
    background-color: rgba(0, 0, 0, 0.75); /* Un poco más oscuro en hover */
    transform: scale(1.02); /* Un zoom más sutil */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Sombra en hover */
}

.image-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 15; /* Asegura que esté por encima de la imagen */
    background-color: rgba(0, 0, 0, 0.6); /* Fondo semitransparente */
    color: white;
    padding: 10px 18px;
    border-radius: 25px; /* Más redondeado para un aspecto de 'píldora' */
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px); /* Un poco más de blur */
    -webkit-backdrop-filter: blur(8px);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Espacio entre el icono y el texto */
    white-space: nowrap;
}

.image-overlay::before {
    content: '\f03e'; /* Icono de imagen de Font Awesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.1em;
    color: white;
}

/* Estilos para el elemento fantasma de SortableJS */
.sortable-ghost {
    opacity: 0.4;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
}

/* Estilos para títulos de sección personalizados */
.section-title-orange {
    color: #FEA116; /* Color naranja */
    font-size: 0.8em; /* Reducido el tamaño de fuente a 0.8em */
    font-weight: 700; /* Negrita */
    text-transform: uppercase; /* Mayúsculas */
    letter-spacing: 0.1em; /* Espaciado entre letras */
    text-align: center; /* Alineación centrada */
}

/* Estilos para la línea divisoria naranja */
.orange-divider {
    border: 0;
    height: 3px; /* Grosor de la línea */
    background-color: #FEA116;
    max-width: 100px; /* Ancho máximo de la línea */
    margin: 0 auto 30px auto; /* Centrar y margen inferior */
    opacity: 1; /* Asegurar que sea visible */
}

/* ========================================= */
/* === Overrides de Colores de Bootstrap === */
/* ========================================= */

/* Define el color naranja para los botones primarios */
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #FEA116; /* Nuevo color naranja */
    --bs-btn-border-color: #FEA116; /* Nuevo color naranja */
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #e08e0f; /* Un poco más oscuro para el hover */
    --bs-btn-hover-border-color: #e08e0f; /* Un poco más oscuro para el hover */
    --bs-btn-focus-shadow-rgb: 254, 161, 22; /* RGB del nuevo color */
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #e08e0f; /* Un poco más oscuro para el activo */
    --bs-btn-active-border-color: #c77c0d; /* Más oscuro para el activo */
}

/* Define el color naranja para los botones de borde primario */
.btn-outline-primary {
    --bs-btn-color: #FEA116;
    --bs-btn-border-color: #FEA116;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #FEA116;
    --bs-btn-hover-border-color: #FEA116;
    --bs-btn-focus-shadow-rgb: 254, 161, 22;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #FEA116;
    --bs-btn-active-border-color: #FEA116;
}

/* === Corrección de Alineación para Menú Móvil === */
@media (max-width: 991.98px) {
    .navbar-nav {
        /* Forzar la alineación de los elementos a la izquierda */
        align-items: flex-start;
    }

    .navbar-nav .nav-link {
        /* Asegurar que el texto dentro de cada enlace esté alineado a la izquierda */
        text-align: left;
        /* Opcional: ajustar el padding si es necesario para una mejor alineación visual */
        padding-left: 0;
        padding-right: 0;
    }
}

/* Estilos para marcar fechas de reservas confirmadas con un círculo rojo */
.flatpickr-day.confirmed-reservation-day {
    position: relative;
    /* Estilo para el círculo de fondo */
    background-image: radial-gradient(circle at center, red 40%, transparent 45%) !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%; /* Ajusta el tamaño del círculo */
    color: white !important; /* Asegura que el número del día sea blanco para contraste */
}

/* Ajuste para que el círculo sea visible si el día está deshabilitado */
.flatpickr-day.confirmed-reservation-day.flatpickr-disabled {
    background-image: radial-gradient(circle at center, rgba(255, 0, 0, 0.6) 40%, transparent 45%) !important; /* Un rojo más tenue */
    color: rgba(255, 255, 255, 0.7) !important; /* Color de texto más tenue */
}
/* Estilo para el botón de reserva principal (azul) */
.btn-primary.disponibilidad-btn:not(.floating-reserve-btn),
.btn-primary.disponibilidad-btn:not(.floating-reserve-btn):focus {
    background-color: #0F172B !important;
    background-image: none !important;
    border-color: #0F172B !important;
    box-shadow: none !important;
}

.btn-primary.disponibilidad-btn:not(.floating-reserve-btn):hover,
.btn-primary.disponibilidad-btn:not(.floating-reserve-btn):active {
    background-color: #1a2b4c !important;
    background-image: none !important;
    border-color: #1a2b4c !important;
}

@media (max-width: 768px) {
    #calendar-container {
        display: flex;
        justify-content: center;
    }
}

/* Make navbar links fully white for better contrast */
.navbar-dark .navbar-nav .nav-link {
    color: #FFFFFF;
}

/* Optional: Slightly dim the link on hover for feedback */
.navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* Clase de utilidad para el color de texto azul oscuro del encabezado */
.text-header-blue {
    color: #0F172B !important;
}

/* Estilos para las tarjetas de inmuebles en index.php */
.card-img-container-index {
    position: relative;
    border-radius: 0;
}

.card-img-container-index .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}



.card-img-overlay-index {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Aligns content to the bottom of the overlay */
}

.card-title-overlay-index {
    font-weight: bold;
    margin-bottom: 0; /* No margin bottom for title */
    color: #fff;
    font-size: 1.25rem;
}

/* Estilos para iconos en los inputs del buscador */
.input-with-icon {
    position: relative;
}

.input-with-icon .form-control {
    padding-left: 2.5rem; /* Espacio para el icono */
}

.input-with-icon i {
    position: absolute;
    left: 0.8rem; /* Posición del icono */
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d; /* Color del icono */
    pointer-events: none; /* Para que no interfiera con el clic en el input */
}

@media (max-width: 991.98px) {
    .about-us-text-column {
        margin-bottom: 30px;
    }
}

.card-footer .badge .text-primary {
    color: #0F172B !important;
}

.map-container {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.map-container iframe {
    width: 100%;
    height: 400px; /* Adjust height as needed */
    border: 0;
}

.map-container iframe {
    width: 100%;
    height: 400px; /* Adjust height as needed */
    border: 0;
}

/* Efecto hover para las tarjetas de "Explora los alrededores" */
#lugares-cercanos .card {
    position: relative;
    border-radius: 12px !important; /* Forzar el redondeo */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    isolation: isolate; /* Crear un nuevo contexto de apilamiento para forzar el recorte */
}

#lugares-cercanos .card-img-top {
    height: 250px;
    /* Eliminar cualquier radio en la imagen para que se ajuste al contenedor padre */
}

#lugares-cercanos .card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; /* Altura del degradado */
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    /* No necesita radius, ya que el contenedor padre lo recorta */
}

#lugares-cercanos .card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    color: #fff;
    z-index: 2; /* Asegurar que esté por encima del degradado */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    margin: 0;
}

    box-shadow: 0 2px 4px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.12); /* Sombra base para las tarjetas de lugares */
}

#lugares-cercanos .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Estilos para el elemento fantasma de SortableJS */
.sortable-ghost {
    opacity: 0.4;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
}

.bg-header-blue {
    background-color: #0F172B;
}

.title-divider-orange {
    border: none;
    height: 3px;
    background-color: #FEA116;
    opacity: 1;
}

/* --- Refined Offer Card Styles --- */
.oferta-card {
    border: 1px solid #eee; /* Lighter border */
    border-radius: 12px; /* All corners rounded */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff; /* Ensure card background is white */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Softer, more modern shadow */
}

.oferta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12); /* Slightly stronger shadow on hover */
}

.oferta-card-img {
    width: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .oferta-card-img {
        height: 280px;
    }
}

@media (min-width: 992px) {
    .oferta-card-img {
        height: 250px;
    }
}

.oferta-card-body {
    padding: 1rem;
}

.oferta-card-title {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.25rem; /* Reduced space */
}

.oferta-card-dates {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.oferta-title-divider {
    border: 0;
    height: 2px;
    background-color: #bbb; /* Solid gray */
    width: 100%; /* Full width */
    margin: 0.5rem 0 1rem 0; /* Adjusted margins for full width */
}

.oferta-card .original-price {
    text-decoration: line-through;
    color: #e74c3c; /* Rojo */
    font-size: 1em; /* Adjusted size */
}

.oferta-card .final-price {
    color: #000; /* Negro */
    font-size: 1.5em; /* Increased size */
    font-weight: bold; /* Removed bold */
}

.badge-off-text {
    font-weight: normal; /* Make only the 'OFF' text normal weight */
}

.discount-percentage-badge {
    background-color: #27ae60; /* Green to signify savings */
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 700;
    line-height: 1;
}

.price-container-new {
    margin-bottom: 1rem;
}

.price-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem; /* Small space between the two rows */
}

.price-description {
    display: block;
    font-size: 0.75em;
    color: #6c757d; /* Muted gray color */
    font-style: italic;
}

.ofertas-swiper .swiper-button-prev,
.ofertas-swiper .swiper-button-next {
    color: #FEA116;
}

.testimonial-container {
    position: relative;
    padding-bottom: 40px; /* Space for pagination */
}

.testimonial-pagination {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
}

/* Custom style to reduce space for 'Sección de Testimonios' */
.section-testimonios {
    margin-top: -4rem !important; /* Pull it up by 4rem */
}

.oferta-card-inmueble {
    color: #555;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.inmueble-services {
    display: flex;
    flex-wrap: wrap; /* Allow services to wrap on smaller screens */
    gap: 1rem;
    background-color: #fff3cd; /* Amarillo claro */
    padding: 12px 1rem; /* Padding vertical y horizontal */
    margin: 0.5rem -1rem; /* Margen para ocupar todo el ancho y separar */
    justify-content: flex-start; /* Alinear los servicios a la izquierda */
}

.inmueble-services span {
    color: #555;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.category-price {
    color: #000;
    font-size: 1.4em;
    font-weight: normal;
    line-height: 1.1;
}

.discount-badge-small {
    font-size: 0.7em; /* Tamaño de fuente más pequeño */
    padding: 0.2em 0.5em; /* Ajustar padding para que se vea bien */
    vertical-align: middle; /* Alineación vertical */
}

@media (min-width: 992px) {
    .oferta-card-img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .ofertas-swiper {
        /* Counteracts parent padding to leave a small margin */
        margin-left: -22px;
        margin-right: -22px;
    }
}

.oferta-card .final-price .noches-texto {
    font-size: 0.7em;
    font-weight: bold;
    color: #000;
}

/* --- Styles for oferta-card links --- */
.oferta-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.oferta-card-link .oferta-card {
    height: 100%; /* Ensure the inner card also takes full height */
}

/* Contenedor de la tarjeta de oferta necesita overflow:hidden para los bordes redondeados */
.ofertas-swiper .oferta-card {
    overflow: hidden;
}

.ofertas-swiper .swiper-slide {
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff !important;
}

/* Estilos para el contador de ofertas */
.contador-oferta {
    text-align: center;
    margin: 2px -15px; /* Margen vertical reducido, negativo horizontal para ocupar todo el ancho */
    padding: 12px 1.5rem; /* Aumentar padding vertical y horizontal */
    background-color: #fff3cd; /* Un amarillo claro y suave */
    border-radius: 0; /* Sin bordes redondeados */
    border: none; /* Sin borde */
    border-top: 1px solid #ffeeba; /* Borde superior para separar */
    border-bottom: 1px solid #ffeeba; /* Borde inferior para separar */
}

.contador-oferta .tiempo-restante {
    color: #856404; /* Un marrón oscuro que contrasta */
    font-size: 0.9em;
    font-weight: 500;
}

.contador-oferta .tiempo-restante b {
    font-weight: 700;
    color: #533f03;
}

.contador-oferta .expirado {
    color: #dc3545; /* Un rojo para indicar que terminó */
    font-weight: bold;
    font-size: 0.9em;
}

/* Estilos para el contenedor de la imagen de la oferta */
.oferta-card-img-container {
    position: relative; /* Necesario para posicionar elementos hijos absolutamente */
    overflow: hidden; /* Asegura que los elementos absolutos no se salgan si hay bordes redondeados */
}

/* Estilos para el nombre del inmueble sobre la imagen */
.inmueble-overlay-name {
    position: absolute;
    bottom: 10px; /* Ajusta la distancia desde abajo */
    left: 10px; /* Ajusta la distancia desde la izquierda */
    color: white;
    background-color: transparent; /* Sin fondo */
    padding: 0; /* Sin padding */
    border-radius: 0; /* Sin border-radius */
    z-index: 10; /* Asegura que esté por encima del degradado */
    font-weight: bold;
    font-size: 1em; /* Ligeramente más grande */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7); /* Sombra para legibilidad */
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
    max-width: calc(100% - 20px); /* Ajustar el ancho máximo */
}

.card-4-3 {
    position: relative;
    width: 100%;
    padding-top: 110%; /* Slightly reduced height for mobile */
    border-radius: .25rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .card-4-3 {
        padding-top: 75%; /* 4:3 aspect ratio for desktop */
    }
}

.card-4-3 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-4-3 .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: transparent;
    color: white;
}

.card-4-3 .card-content h3 {
    margin-bottom: 0.5rem;
}

.lugares-turisticos-swiper .swiper-pagination-bullet-active {
    background-color: #FEA116;
}

.lugares-turisticos-swiper .swiper-button-next,
.lugares-turisticos-swiper .swiper-button-prev {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}
.lugares-turisticos-swiper .swiper-button-next:hover,
.lugares-turisticos-swiper .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.5);
}
.lugares-turisticos-swiper .swiper-button-next::after,
.lugares-turisticos-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Custom spacing utility class */
.px-custom-spacing {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

/* Floating Reservation Bar */
#floating-reservation-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1040; /* Below modals (1050) but above other content */
    border-top: 1px solid #eee;
}

/* Adjust body padding to prevent content from being hidden by the fixed bar */
@media (max-width: 767.98px) {
    body {
        padding-bottom: 80px; /* Height of the floating bar + some margin */
    }
}

/* Animation for price/nights update */
.price-fade-in-up {
    animation: fade-in-up 0.5s ease-out; /* Reusing existing fade-in-up animation */
}

/* Estilo para el estado 'Reservada' en las tarjetas de oferta */
.contador-oferta.estado-reservada {
    background-color: #cff4fc; /* Tono celeste de Bootstrap 'info' */
    border-top-color: #9eeaf9;
    border-bottom-color: #9eeaf9;
}

.contador-oferta.estado-reservada span {
    color: #055160; /* Tono azul oscuro de Bootstrap 'info' */
    font-weight: bold;
}
#ofertas-especiales .ofertas-swiper .swiper-slide {
    background-color: #fff;
}

/* --- Price Loader Overlay --- */
#price-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.loader-content {
    text-align: center;
}

.loader-content p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.car-animation {
    font-size: 4rem;
    position: relative; /* Needed for the keyframe animation */
    animation: travel 2.5s ease-in-out infinite;
}

@keyframes travel {
    0% {
        transform: translateX(200px);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateX(-200px);
        opacity: 0;
    }
}
/* Estilos para el texto de noches en el buscador del hero */
#nights-display {
    color: #FFFFFF !important; /* Forzar color blanco */
    font-weight: bold; /* Hacerlo negrita para mayor visibilidad */
    margin-top: 5px; /* Espacio superior para separarlo del input */
    text-align: left; /* Alineación a la izquierda */
    font-size: 0.9em; /* Tamaño de fuente ligeramente menor */
}

#nights-display .fas {
    color: #FFFFFF !important; /* Asegurar que el icono también sea blanco */
    margin-right: 5px; /* Espacio entre el icono y el texto */
}

/* Ajuste para que el carrusel de lugares turisticos sea full-width en móvil */
@media (max-width: 767.98px) {
    #descubre-santa-clara.container {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* --- Promotional Banner Styles --- */
.promo-banner-media {
    width: 100%;
    height: 150px; /* Mobile-first height */
    object-fit: cover; /* This is the key property to crop and center */
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    display: block;
}

@media (min-width: 768px) {
    .promo-banner-media {
        height: 200px; /* Taller height for desktop */
    }
}

/* --- Styles for Month Swiper Carousel --- */
.month-swiper-container .swiper-slide {
    cursor: pointer;
}

.month-swiper {
    padding-top: 5px; /* Espacio para la animación hover */
}

/* Estilos para las tarjetas de mes, sin cambios mayormente */
.month-card {
    flex: 0 0 auto;
    width: 110px;
    padding: 15px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
    text-align: center;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard syntax */
}

.month-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.month-card.selected {
    border-color: #FEA116;
    background-color: #FFF8E1;
    color: #FEA116;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(254, 161, 22, 0.3);
}

.month-card i {
    color: #6c757d;
}

.month-card.selected i {
    color: #FEA116;
}

.month-name {
    font-weight: 600;
    font-size: 0.9em;
}

.month-year {
    font-size: 0.8em;
    color: #6c757d;
}

/* Estilos para los botones de navegación de Swiper */
.month-swiper-button-prev,
.month-swiper-button-next {
    color: #FEA116; /* Color naranja */
    --swiper-navigation-size: 28px; /* Tamaño de las flechas */
}

/* Ajustes de posición si es necesario */
.month-swiper-button-prev {
    left: -5px;
}
.month-swiper-button-next {
    right: -5px;
}

/* Ocultar flechas en móvil */
@media (max-width: 767.98px) {
    .month-swiper-button-prev,
    .month-swiper-button-next {
        display: none;
    }
}
/* --- Styles for Guest Selector Modal --- */
.guest-selector-modal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.guest-selector-modal-row > div:first-child {
    flex-grow: 1;
}

.guest-stepper button.btn.btn-stepper {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    line-height: 1 !important;
}

.guest-counter-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.guest-count {
    min-width: 20px;
    text-align: center;
    font-size: 1.1rem;
}