/* -------- Pop-up Estilos -------- */

/* Overlay */
.custom-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Oculto */
.custom-popup-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Contenedor del pop-up */
.custom-popup-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-start;
    background-color: #f7f3ed; /* fallback */
}

/* Zona de texto */
.popup-text-area {
    width: 50%;
    padding: 20px;
    color: #444;
    font-family: Arial, sans-serif;
}

.popup-text-area h2 {
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #5d4a3e;
}

.popup-text-area p {
    font-size: 1rem;
    margin-bottom: 25px;
}

.book-now-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #92755e;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.book-now-btn:hover {
    background-color: #7a614d;
}

/* Botón cerrar */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    font-weight: 100;
    color: #444;
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
}

.close-btn:hover {
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-popup-content {
        align-items: center;
        background-image: none !important;
        min-height: auto;
        width: 90%;
        max-width: 90%;
    }

    .popup-text-area {
        width: 100%;
        background-color: transparent;
        padding: 0;
        text-align: center;
    }
}
