/* Overlay del popup con fondo dark green semitransparente */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 68, 51, 0.85); /* Fondo oscuro verde */
    display: none; /* Se mostrará vía JS */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.5s ease-in-out;
}

/* Contenedor del contenido del popup */
.popup-content {
    background: #1a2a1a; /* Fondo oscuro con matices verdes */
    max-width: 90%;
    max-height: 90%;
    padding: 30px;
    position: relative;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: bounceIn 0.8s ease-out;
    color: #f0f0f0; /* Texto claro */
}

/* Estilo para la imagen dentro del popup */
.popup-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Botón de cierre (X) */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #a8d5ba; /* Verde claro */
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #e0ffe0; /* Verde más suave al pasar el cursor */
}

/* Botón de llamada */
.popup-call {
    margin-top: 20px;
    display: inline-block;
    background: #004d40; /* Verde oscuro-teal */
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.popup-call:hover {
    background: #00695c; /* Tono ligeramente más claro al hover */
}

/* Animación para el overlay */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Animación de rebote para el popup */
@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}
