/* Global Contact Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 10, 7, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000; /* Ensure it stays above everything */
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.modal-content {
    background: #0a0a0a; /* Premium near-black as requested */
    width: 90%;
    max-width: 500px;
    padding: 3rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.modal-close:hover {
    opacity: 1;
}

.modal-h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-field input, .modal-field select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.modal-field input:focus, .modal-field select:focus {
    border-color: #e9c400;
}

.modal-field input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    font-weight: 700;
}

.modal-btn-submit {
    margin-top: 1rem;
    background: #e9c400;
    color: #00251b;
    border: none;
    padding: 1rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.modal-btn-submit:hover {
    background: #fff;
    transform: translateY(-2px);
}

.modal-btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 600px) {
    .modal-content {
        padding: 2rem;
        width: 100%;
        height: 100%;
        max-width: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
