/* Contact Page Styles */

/* Import Tailwind CSS utilities - although the actual import happens in HTML */
/* Font definitions based on imported Google Fonts */
:root {
    --font-poiret: 'Poiret One', sans-serif;
    --font-cormorant: 'Cormorant Garamond', serif;
    --primary-color: #043b6e;
    --secondary-color: #0d6efd;
    --text-color: #333;
    --light-color: #e9ecef;
    --light-bg: #f8f9fa;
    --danger-color: #dc3545;
}

/* Section heading styles */
.section h2 {
    color: var(--secondary-color);
    text-align: center;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 0.5rem;
    font-family: var(--font-poiret);
    margin-bottom: 1rem;
}

.section p {
    font-family: var(--font-cormorant);
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Contact form styles */
.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: var(--font-poiret);
    color: var(--primary-color);
    font-size: 1.1rem;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-family: var(--font-cormorant);
    font-size: 1rem;
    background-color: var(--light-bg);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-poiret);
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 1rem;
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.required {
    color: var(--danger-color);
}

/* Close button for the modal */
.contact-close {
    position: absolute;
    right: 10px;
    top: 5px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    z-index: 1001;
    cursor: pointer;
}

.contact-close:hover,
.contact-close:focus {
    color: black;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-form {
        width: 100%;
    }
    
    .submit-btn {
        width: 100%;
        align-self: center;
    }
}