/* =========================================================
   CONTACT PAGE — follows style.css color theme
   ========================================================= */

/* ===== PAGE WRAPPER ===== */
.contact-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    padding: 48px 24px;
    background: var(--bg-main);
}

/* ===== PAGE HEADING ===== */
.contact-heading {
    text-align: center;
    margin-bottom: 48px;
}

.contact-heading h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}

.contact-heading p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ===== GRID LAYOUT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* ===== SHARED CARD STYLE ===== */
.contact-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
    padding: 32px;
}

.contact-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
}

/* ===== FORM FIELDS ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--text-main);
    background: var(--bg-main);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(47, 98, 208, 0.12);
    background: #fff;
}

.form-field textarea {
    resize: none;
}

.form-field-full {
    margin-bottom: 24px;
}

/* ===== SUBMIT BUTTON ===== */
.contact-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(47, 98, 208, 0.35);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-100%) skewX(-20deg);
    transition: transform 0.5s;
}

.contact-submit:hover::before {
    transform: translateX(100%) skewX(-20deg);
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(47, 98, 208, 0.45);
}

/* ===== CONTACT INFO ITEMS ===== */
.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    background: var(--bg-section);
    border: 1px solid var(--border-soft);
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
}

.info-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.info-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== MAP SECTION ===== */
.contact-map {
    margin-top: 64px;
}

.contact-map h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-main);
    margin-bottom: 24px;
}

.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    height: 380px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-heading h1 {
        font-size: 1.8rem;
    }

    .contact-map h2 {
        font-size: 1.5rem;
    }
}