/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Contact Hero - Uses standard hero structure but can have specific overrides if needed */
.contact-hero {
    position: relative;
    min-height: 50vh;
    /* Shorter hero for contact page */
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-secondary-dark) 100%);
    overflow: hidden;
    padding-top: var(--space-20);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* Contact Section */
.contact-section {
    background: var(--color-primary-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    margin-top: var(--space-8);
}

/* Contact Info (Left Column) */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.contact-info h2 {
    margin-bottom: var(--space-6);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-green);
    font-size: var(--text-2xl);
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-content h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-1);
    color: var(--color-white);
}

.info-content p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* Contact Form (Right Column) */
.contact-form-container {
    background: rgba(44, 62, 80, 0.5);
    backdrop-filter: blur(10px);
    padding: var(--space-10);
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    color: var(--color-gray-light);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: var(--space-4);
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid var(--color-gray-dark);
    border-radius: var(--border-radius-md);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--text-base);
    transition: all var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

textarea.form-control {
    resize: none;
    min-height: 120px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .contact-hero {
        min-height: 40vh;
    }
}

/* Success Message */
.success-message {
    background-color: rgba(209, 250, 229, 0.9);
    /* Green-100 with opacity */
    color: #065f46;
    /* Green-800 */
    padding: var(--space-4);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--space-6);
    text-align: center;
    font-weight: 500;
    border: 1px solid #10b981;
    /* Green-500 */
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-in-out;
}

/* Error Message */
.error-message {
    background-color: rgba(254, 226, 226, 0.9);
    /* Red-100 with opacity */
    color: #991b1b;
    /* Red-800 */
    padding: var(--space-4);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--space-6);
    text-align: center;
    font-weight: 500;
    border: 1px solid #ef4444;
    /* Red-500 */
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-in-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}