/* =========================================
   PAGE BACKGROUND FIX
   ========================================= */
body {
    background-color: var(--primary); /* Prevents white flicker during nav slideDown */
}

/* =========================================
   CUSTOM CONTACT HEADER
   ========================================= */
.contact-header {
    background-color: var(--primary);
    padding: 3rem 0 3.75rem;
    text-align: center;
    margin-top: 6rem; /* Desktop margin */
}

.header-content {
    animation: slideUp 0.8s ease 0.2s both;
    max-width: 800px;
    margin: 0 auto;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.header-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--light);
    line-height: 1.1;
    margin-bottom: 0.8rem;
}

.header-content h1 strong {
    font-weight: 700;
    color: var(--accent);
}

.header-content p {
    font-size: 1.1rem;
    color: var(--mid);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   CONTACT LAYOUT
   ========================================= */
.contact-section {
    background: var(--light);
    padding: 4.75rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

.contact-info .section-title {
    margin-bottom: 1rem;
    text-align: left;
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
	margin-top:1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.icon {
    width: 50px;
    height: 50px;
    background: rgba(26, 35, 50, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 0 0.5rem 0.5rem;
    border: none;
    border-bottom: 2px solid var(--mid);
    background: transparent;
    font-size: 1rem;
    color: var(--text);
}

/* Responsive Overrides */
@media (max-width: 968px) {
    .contact-header {
        margin-top: 5rem; /* Matches the 5rem mobile nav height */
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}