/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    margin: auto;
    padding: 0rem;
    background-color: #f4f4f4;
    overflow-x: hidden;
    font-family: "Sansation", sans-serif;
    font-weight: 400;
    font-style: normal;


}

header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0rem;
    background-color: rgba(158, 193, 227, 255);
    color: white;
    padding: 0.5rem;
    position: relative;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
}

.sticky-cta {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #37a6aa;
    color: rgb(5, 0, 0);
    padding: 10px 20px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    font-size: 1rem;
    z-index: 999;
    display: none;
    transition: all 0.3s ease;
}

.sticky-cta a {
    color: rgb(5, 0, 0);
    text-decoration: none;
}

.hamburger-menu {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    color: rgb(0, 0, 0);
    cursor: pointer;
    padding: 1rem;
    position: absolute;
    top: 0.3rem;
    left: 0.3rem;
    z-index: 1000;
}

.hamburger-menu.open::before {
    content: "✖";
}

nav {
    display: flex;
    flex-direction: column;
    background-color: #37a6aa63;
    position: relative;
    width: 100%;
    z-index: 500;
    padding: 0px;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    border-radius: 5px;
    margin-bottom: 0px;
}

nav.active {
    animation: openMenu 0.4s ease-out forwards;
}

nav.closing {
    animation: closeMenu 0.4s ease-in-out forwards;
}

.navigation {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    align-items: center;
    width: 100%;
}

.navigation li {
    flex: 1;
    text-align: center;
}

.navigation a {
    display: block;
    text-decoration: none;
    color: rgb(0, 0, 0);
    padding: 0.75rem;
    transition: background-color 0.3s ease-in-out;
}

.navigation a:hover {
    background-color: #37a6aa63;
    border-radius: 25px;
}

.navigation a.active {
    border-bottom: 2px solid #37a6aa;
    color: #16494b;
    padding-bottom: 0.3rem;
}



h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #115e67;
    text-align: center;
    margin: 1.5rem 0;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);

}

.container-hero {
    position: relative;
    height: 100%;

    margin-top: -1rem;
}

.container-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #115e67;
    text-align: center;
    margin: 1.5rem 0;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 1rem;
    padding: 1rem;
}


.hero {
    position: relative;
    width: 100%;
}

.hero img {
    width: 100%;
    height: auto;
    margin-top: 15px;

}

.options-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    padding: 1rem;
    list-style: none;
}

#options-list h2 {
    margin-left: 1rem;
}

.option-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.option-item:hover {
    transform: translateY(-4px);
}

.option-item img {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
}

.option-item span {
    font-size: 0.9rem;
    color: #333;
}

.option-item a {
    padding-bottom: 1rem;
}

#comentarios {
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 12px;
    margin: 2rem 0;
}

#comentarios h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.comentario {
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.texto {
    font-style: italic;
    color: #444;
    margin-bottom: 0.5rem;
}

.autor {
    text-align: right;
    font-weight: bold;
    color: #666;
    font-size: 0.9rem;
}

.ubicacion {
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 12px;
    margin: 2rem 0;
}

.ubicacion .container {
    display: grid;
    gap: 1.5rem;
}

.info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.interactivemap {
    font-size: 1.5rem;
    color: #115e67;
}

.interactivetextmap,
.call-us-map-interactive {
    font-size: 0.95rem;
    color: #333;
}

.call-us-map-interactive {
    font-weight: bold;
    color: #115e67;
    text-decoration: none;
}

.call-us-map-interactive:hover {
    text-decoration: underline;
}

.map-link {
    display: inline-block;
    margin-top: 1rem;
    color: #115e67;
    font-weight: bold;
    text-decoration: none;
}

.restaurantes {
    margin-left: 1rem;
}

#restaurant-grid {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    grid-template-columns: 1fr;

}

.restaurant-card {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.restaurant-card h2 {
    margin-top: 0;
    color: #115e67;
    font-size: 1.2rem;
}

.faq-section {
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 1rem;
    width: 80%;
    margin: 0 auto;
    text-align: left;
}

#faq-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.faq-section h2 {
    color: #115e67;
    margin-bottom: 1rem;
}

details {
    margin-bottom: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

summary {
    font-weight: bold;
    color: #333;
}

details[open] {
    border-color: #37a6aa;
    background-color: #eafcfc;
}

.hotel-policies {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 1rem;
    width: 90%;
    max-width: 800px;
    margin: 2rem auto;
}

.policies-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.policies-table th,
.policies-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ccc;
    vertical-align: top;
}

.policies-table th {
    background-color: #f0f0f0;
    width: 30%;
}


#footer-container {
    width: 100%;
    padding: 1rem 0rem;
    border-radius: 5px;
    background-color: #e7e7e7;
    color: #000000;
    text-align: center;
    padding: 0.5rem;
}

#footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    justify-content: center;
    margin-top: 1rem;
}

a {
    text-decoration: none;
    color: black;
}

#social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

#hero-image {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 15px;

}

.image-card {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 0;
    transition: transform 0.3s ease;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    touch-action: none;
    border-radius: 15px;
}

.slider-track img {
    flex: 0 0 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
    margin: 0rem;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

#sliderDots {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    margin: 5px;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #000;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.534);
    color: rgb(0, 0, 0);
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.slider-btn.left {
    left: 0px;
}

.slider-btn.right {
    right: 0px;
}

@keyframes openMenu {
    0% {
        height: 0;
        opacity: 0;
        transform: scaleY(0);
    }

    100% {
        height: 300px;
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes closeMenu {
    0% {
        height: 200px;
        opacity: 1;
        transform: scaleY(1);
    }

    100% {
        height: 0;
        opacity: 0;
        transform: scaleY(0);
    }
}

#video-slider {
    color: white;
    width: 100%;
    max-width: 350px;
    margin: 1rem auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 10px 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to bottom, #e75a2f, #1b3479e7);
    padding: 3rem;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

#video-slider.visible {
    opacity: 1;
    transform: translateY(0);
}

.lazy-container {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.lazy-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.slider-videos-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 0px;

}

.video-card {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 0;
    transition: transform 0.3s ease;
}

.video-card video {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.video-card.active {
    transform: scale(1);
}

.video-card:not(.active) {
    transform: scale(0.8);
}

.slider-videos-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 0em;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
    outline: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.slider-videos-btn.left {
    left: 10px;
}

.slider-videos-btn.right {
    right: 10px;
}

.slider-videos-indicators {
    position: absolute;
    bottom: 10px;
    width: 70%;
    text-align: center;
    z-index: 2;
}

.video-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s ease;
}

.video-dot.active {
    background: #fff;
}

.play-pause-btn {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.play-pause-btn:hover {
    background: rgba(0, 0, 0, 0.61);
}

.mute-toggle-btn {
    position: absolute;
    top: 3rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}


#room-list {
    padding: 2rem 1rem;
}

#room-list h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.room-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.room-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1rem;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.room-images {
    display: flex;
    gap: 0.5rem;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.room-images img {
    width: 50%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.room-card h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    color: #333;
}

.room-card .price {
    color: #115e67;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.room-card ul.features {
    padding-left: 1rem;
    margin-top: 0.5rem;
    list-style-type: disc;
    color: #444;
    font-size: 0.95rem;
}

.open-modal-btn {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #c58958;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.open-modal-btn:hover {
    background-color: #d63f19;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    box-sizing: border-box;
}

.modal.visible {
    display: block;
}

.modal-content {
    background: white;
    max-width: 500px;
    margin: 100px auto;
    padding: 40px;
    border-radius: 12px;
    position: relative;
}

.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2.8rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 1002;
}

.close-modal-btn:hover {
    transform: scale(1.1);
    background: rgb(190, 188, 188);
}

.cta-book {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007f5f;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-book:hover {
    background-color: #005f44;
}

.room-images-slider {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.room-images-slider .slider-track {
    display: flex;
    transition: transform 0.4s ease;
    width: 100%;
}

.room-images-slider img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 2rem;
    padding: 0.3rem 0.7rem;
    cursor: pointer;
    z-index: 10;
}

.slider-arrow.left {
    left: 10px;
}

.slider-arrow.right {
    right: 10px;
}

/* Estilos base para formulario de reserva en mobile (seguros, accesibles, limpios) */

form {
    padding: 1rem;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    max-width: 100%;
    font-family: "Sansation", sans-serif;
    font-weight: 400;
    font-style: normal;

    color: #333;
}

h2,
h3 {
    font-size: 1.25rem;
    margin: 0.5rem;
    font-weight: 600;
}

p,
small {
    font-size: 0.875rem;
    color: #555;
    margin-bottom: 1rem;
}

fieldset {
    border: 2px solid #333;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    background-color: #f9f9f9;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

legend {
    font-size: 1.2rem;
    font-weight: bold;
    color: #444;
    padding: 5px 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
}


label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    display: block;
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.375rem;
    background-color: #fff;
    margin-top: 0.25rem;
}

input[type="checkbox"],
input[type="radio"] {
    margin-right: 0.5rem;
    accent-color: #0077cc;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

button[type="submit"] {
    background-color: #0077cc;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
}

button[type="submit"]:hover {
    background-color: #005fa3;
}

#room-preview {
    text-align: center;
    margin-bottom: 1.5rem;
}

#room-preview img {
    width: 80%;
    height: auto;
    border-radius: 0.5rem;
}

#info-box {
    background-color: #f3f3f3;
    padding: 1rem;
    border-radius: 0.375rem;
    margin: 1rem 0;
}

#info-box ul {
    list-style: disc inside;
    margin: 0;
    padding-left: 1rem;
    color: #333;
}

input:invalid,
select:invalid,
textarea:invalid {
    border-left: 2.5px solid #e63946;

    outline: none;
}

.sticky-note {
    position: fixed;
    top: .2rem;
    right: .2rem;
    width: 60px;
    height: 60px;
    background-color: #3b767a;
    color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.15rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 2px solid #085e59;
}

.sticky-note img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

#results {
    max-width: 90%;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-bottom: 2rem;
}

#results h2 {
    color: #e74c3c;
    font-size: 1.5rem;
}

#results p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

#contador-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    /* oscurece el fondo */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#contador-modal {
    background-color: white;
    padding: 2rem 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    font-family: system-ui, sans-serif;
}

.gallery {
    column-width: 250px;
    /* cada columna mide al menos 250px */
    column-gap: 12px;
    /* espacio entre columnas */
    padding: 10px;
}

.gallery img {
    width: 100%;
    /* la imagen ocupa todo el ancho de su columna */
    margin-bottom: 12px;
    /* espacio inferior */
    border-radius: 10px;
    /* esquinas redondeadas */
    display: block;
    object-fit: cover;
    /* mantiene proporción */
    cursor: pointer;
}

.lazy-img {
    opacity: 0;
    min-height: 150px;
    /* reserva espacio */
    background: #eee;
    /* gris de fondo como placeholder */
    transition: opacity 0.5s ease-in;
}

.lazy-img[src] {
    opacity: 1;
}

.gallery-filters {
    display: flex;
    /* alineamos los botones en fila */
    flex-wrap: wrap;
    /* se mueven a la siguiente línea si no caben */
    gap: 8px;
    /* espacio entre botones */
    margin-bottom: 16px;
    /* espacio con la galería */
    justify-content: center;
    /* opcional: centrado horizontal */
}


.filter-btn {
    padding: 12px 18px;
    margin: 4px;
    border: none;
    background-color: #c5c1c1;
    color: #000000;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.filter-btn:hover {
    background-color: #ccc;
}

.filter-btn.active {
    background-color: #00375f;
    color: #fff;
}

/* Contenedor del modal */
.modal-gallery {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

/* Oculto */
.modal-gallery[hidden] {
    display: none;
}

/* Overlay oscuro con blur */
.modal-overlay-gallery {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    transition: background 0.3s ease;

}

/* Contenido del modal con animación de aparición */
.modal-content-gallery {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 1001;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    opacity: 0;
    animation: modalShow 0.3s forwards;
    padding: 0;
}

/* Animación de apertura */
@keyframes modalShow {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Imagen dentro del modal */
.modal-content-gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: contain;
}

/* Botón de cerrar */
.modal-close-gallery {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 1002;
}

/* Efecto hover en cerrar */
.modal-close-gallery:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
}

/* Animación de fade-out cuando se cierra */
.modal-gallery[hidden] .modal-content-gallery {
    animation: modalHide 0.2s forwards;
}

@keyframes modalHide {
    to {
        transform: scale(0.8);
        opacity: 0;
    }
}
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50px;
    /* cambia a píldora para que quepa el texto */
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    color: white;
    font-weight: bold;
}

.whatsapp-btn img {
    display: block;
}

.whatsapp-btn:hover {
    background-color: #1ebc59;
}

.whatsapp-text {
    font-size: 0.9rem;
}

.contact-list {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 280px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: fadeIn 0.3s ease forwards;
    font-family: 'Sansation', sans-serif;
    z-index: 999;
}
.contact-header {
    background-color: #25D366;
    color: white;
    padding: 12px 16px;
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: none;
    background-color: #fff;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s ease;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    background-color: #f5f5f5;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px #25D366;
}

.contact-info {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.contact-info strong {
    font-weight: 600;
    color: #333;
}

.status {
    font-size: 12px;
    color: #363636;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.age-selection-container {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 0;
}

.age-column {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.age-column p {
    font-weight: bold;
    margin-bottom: 0.5em;
}

.age-column input[type="checkbox"] {
    display: none;
}

.age-column label {
    display: inline-block;
    width: 25px;
    height: 25px;
    border-radius: 6px;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    cursor: pointer;
    transition: all 0.2s ease;
}

.age-column input[type="checkbox"]:checked+label {
    background-color: #4caf50;
    border-color: #4caf50;
}

.age-column label:hover {
    background-color: #d1e7dd;
    border-color: #4caf50;
}
/* Día con descuento */
.flatpickr-day.discount-day {
    position: relative;
}

/* Badge pequeño arriba a la derecha */
.flatpickr-day .discount-badge {
    position: absolute;
    top: .1px;
    right: .1px;
    background-color: #28a745;
    /* Verde */
    color: white;
    font-size: 0.55rem;
    /* más pequeño */
    font-weight: bold;
    padding: 2px 3px;
    border-radius: 3px;
    line-height: 1;
}

/* rules for the gallery page */

.galeria {
    column-width: 250px;
    column-gap: 12px;
    padding: 10px;
}

.galeria img {
    width: 100%;
    margin-bottom: 12px;
    border-radius: 10px;
    display: block;
    object-fit: cover;
    cursor: pointer;
}

.galeria-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    justify-content: center;
}

.modal-galeria {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.modal-galeria[hidden] {
    display: none;
}

.modal-overlay-galeria {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    transition: background 0.3s ease;

}

.modal-content-galeria {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 1001;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    opacity: 0;
    animation: modalShow 0.3s forwards;
    padding: 0;
}

.modal-content-galeria img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: contain;
}

.modal-close-galeria {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 1002;
}

.modal-close-galeria:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
}

.modal-galeria[hidden] .modal-content-galeria {
    animation: modalHide 0.2s forwards;
}

/* This is the message and the animation that appears while the server in render is waking up to make the fetch with supabase and show the images.*/
#galeria-section {
    position: relative;
    min-height: 200px;
}
#loader-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90%;
    max-width: 320px;
    z-index: 5;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.spinner {
    position: relative;
    width: 60px;
    height: 60px;
    border: 5px solid #ccc;
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
#loader-count {
    position: absolute;
    font-weight: bold;
    color: #3498db;
    font-size: 1.1rem;
    animation: counterSpin 1s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
@keyframes counterSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}
#loader-overlay p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
}
#loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}
.btn-pdf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: #006f77de;
    color: rgb(255, 255, 255);
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-pdf:hover {
    background: #006d88;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-pdf:active {
    transform: translateY(1px);
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1);
}

#pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#pdf-modal .modal-content {
    background: white;
    padding: 20px 40px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
}

#last-download-info {
    margin-top: 8px;
    padding: 3px 8px;
    color: #444;
    font-size: 0.8rem;
    text-align: center;
    font-style: italic;
    background-color: #cdd7df;
    border-radius: 6px;
    width: fit-content;
    max-width: 90%;
    word-wrap: break-word;
    margin-left: auto;
    margin-right: auto;
}

.btn-iphone {
    margin-left: 3px;
    background: #e0f2f1;
    color: #004d40;
    border: 1px solid #b2dfdb;
    border-radius: 6px;
    padding: 13px 10px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: .5rem;
}

.btn-iphone:hover {
    background: #b2dfdb;
}

#iphone-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#iphone-modal.hidden {
    display: none;
}

.iphone-modal-content {
    background: #fff;
    color: #222;
    padding: 1rem;
    border-radius: 10px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
    line-height: 1.4;
}

.iphone-modal-content h3 {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 0.6rem;
}

.iphone-modal-content ol {
    margin: 0;
    padding-left: 1rem;
}

.btn-close-iphone {
    margin-top: 1rem;
    width: 100%;
    padding: 0.5rem;
    background: #004d40;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-close-iphone:hover {
    background: #00332c;
}

.overlay-reservation-message {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

.content-reservation-message {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    max-width: 400px;
    text-align: center;
    position: relative;
    margin: 1rem .5rem;
}

#payment-message p {
    margin: 0.5rem 0;
    font-size: 1rem;
}
.age-instructions {
    font-size: 0.95rem;
    color: #333;
    background-color: #f9f9f9;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 0.8rem;
    border-left: 4px solid #0ea5e9;
}
.comentario-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.comentario-form input,
.comentario-form textarea,
.comentario-form button {
    width: 100%;
    font-size: 1rem;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.comentario-form textarea {
    resize: vertical;
    min-height: 6rem;
}

.comentario-form button {
    background-color: #094432;
    color: white;
    border: none;
    cursor: pointer;
}

.comentario-form button:hover {
    background-color: #0056b3;
}

#mensaje {
    font-size: 0.9rem;
    color: #333;
}
.comentario-form label {
    margin: 20px 10px 0px 5px;
}

main.card {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* === LISTA DE OPCIONES === */
.list {
    display: grid;
    gap: 1.5rem;
}

/* === CADA ITEM === */
.item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    background: #f3f4f6;
    border-radius: 0.75rem;
    transition: background 0.2s ease;
}

.item:hover {
    background: #e5e7eb;
}

/* Contacto_reservas.html file css rules */
.actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn {
    display: inline-block;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn.primary {
    background: #2563eb;
    color: #fff;
}

.btn.primary:hover {
    background: #1d4ed8;
}

p {
    color:#000;
}

#reserva-detalles {
    display: none;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #f9f9f9;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

#reserva-detalles h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #2c3e50;
}

#detalle-text {
    font-size: 1rem;
    color: #555;
}

#cancelar-btn {
    align-self: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 0.3rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#cancelar-btn:hover {
    background-color: #c0392b;
}

.sobre-maribao {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px
}
/* Historia */
.historia {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Propietarios */
.propietarios {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.propietarios h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #2c3e50;
    text-align: center;
}

.propietario-foto {
    align-self: center;
    max-width: 100%;
}

.propietario-foto img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 0.5rem;
}

/* Galería */
.galeria-sobre-maribao {
    max-width: 1200px;
    /* contenedor más ancho */
    margin: 2rem auto;
    padding: 1rem;
    background: #fdf6e3;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.galeria-sobre-maribao h2 {
    text-align: center;
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    color: #4b2e2e;
    margin-bottom: 1.5rem;
}

.galeria-sobre-maribao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* columnas más grandes */
    gap: 1.5rem;
    /* más espacio entre imágenes */
}

.galeria-sobre-maribao-grid picture {
    display: block;
    width: 100%;
}

.galeria-sobre-maribao-grid img {
    display: block;
    width: 100%;
    /* ocupa todo el ancho de la celda */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-sobre-maribao-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Mejoras */
.mejoras {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mejoras h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #2c3e50;
    text-align: center;
}

.promo-banner {
    background: linear-gradient(to bottom, #6f4e37, #a67c52);
    /* café oscuro → café claro */
    color: #ffffff;
    text-align: center;
    padding: 0.75em;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: bold;
}

.sobre-maribao-story {
    display: block;
    width: 100%;
    max-width: 700px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #d2b48c;
    /* tono café claro tipo sepia */
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);

    /* efecto de textura arrugada con degradado */
    background-image:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), transparent 70%),
        radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.15), transparent 70%),
        repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0px, rgba(0, 0, 0, 0.05) 2px, transparent 2px, transparent 6px);
    background-blend-mode: multiply;
}

.sobre-maribao-story-picture {
    display: block;
    width: 100%;
}

.sobre-maribao-story-picture img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sobre-maribao-story-picture img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.year-story-maribao {
    text-align: center;
    /* centra el texto horizontalmente */
    font-size: 1.2rem;
    /* tamaño de fuente más visible */
    font-weight: bold;
    /* resalta el año */
    color: #4b2e2e;
    /* tono café oscuro para combinar con el estilo vintage */
    margin-top: 1rem;
    /* espacio respecto a la imagen */
    letter-spacing: 2px;
    /* separación entre letras para un look retro */
    font-family: 'Georgia', serif;
    /* tipografía clásica */
}
