/*
 * ==============================================
 * Estilos para formularios (pop-up)
 * ==============================================
 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background-color: var(--color-azul-oscuro);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 90%;
    position: relative;
    color: #fff;
    animation: fadeIn 0.3s ease-out;
}

.modal-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-morado-intenso);
}

.modal-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #cccccc;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    color: #ffffff;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: var(--color-naranja-intenso);
}

#contact-form .form-group {
    margin-bottom: 1.5rem;
}

#contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #222;
    color: #fff;
    font-family: var(--font-secundaria);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
