﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.contact-modal-content {
    background-color: #222;
    margin: 1rem;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.close-modal:hover {
    color: white;
}

.contact-form-container {
    padding: 30px;
}

.contact-form-container h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: white;
    font-size: 24px;
}

.contact-subtitle {
    color: #aaa;
    margin-bottom: 25px;
    font-size: 16px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: white;
    font-weight: 500;
}

.contact-select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #444;
    background-color: #333;
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.contact-select {
    height: 45px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.form-actions button {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.primaryBtn {
    background: linear-gradient(135deg, #a156cf, #8a4dc7);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #9149c4, #7b40b8);
    box-shadow: 0 4px 12px rgba(138, 77, 199, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid #444;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
        overflow: auto;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .form-actions button {
        width: 100%;
    }
}