/**
 * Contact Page Styles — Navy + Gold Premium Theme
 *
 * @package DLM_EFormation
 */

/* ── Hero ──────────────────────────────────────── */
.contact-hero {
    background: linear-gradient(135deg, #102a43 0%, #0b1e33 100%);
    color: #fff;
    padding: 160px 0 60px;
    margin-top: -100px;
    text-align: center;
}

.contact-page .hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-page .hero-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.contact-page .hero-subtitle {
    font-size: 1.15rem;
    opacity: .85;
    color: #fff;
    margin: 0;
}

/* ── Quick Contact Bar ─────────────────────────── */
.contact-bar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
}

.contact-bar-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 0;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    font-size: .95rem;
    font-weight: 500;
    color: #102a43;
    text-decoration: none;
    border-left: 1px solid #e5e7eb;
    transition: background .2s;
}

.bar-item:first-child { border-left: none; }

a.bar-item:hover {
    background: #f8f9fa;
    color: #102a43;
    text-decoration: none;
}

.bar-item i {
    color: #d4a012;
    font-size: 1.05rem;
}

/* ── Content Section ───────────────────────────── */
.contact-content {
    padding: 56px 0 80px;
    background: #f8f9fa;
}

.contact-container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

/* ── Form Column ───────────────────────────────── */
.contact-form-wrap {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.contact-form-wrap h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #102a43;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.form-group .req {
    color: #d4a012;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: .95rem;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
    color: #111;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #102a43;
    box-shadow: 0 0 0 3px rgba(16,42,67,.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #102a43;
    color: #fff;
    padding: 14px 36px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .15s;
    margin-top: 4px;
}

.btn-submit:hover {
    background: #1a3a5c;
    transform: translateY(-1px);
}

.btn-submit.btn-success {
    background: #059669;
}

.btn-submit.btn-error {
    background: #dc2626;
}

/* ── Sidebar ───────────────────────────────────── */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: #fff;
    padding: 28px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.sidebar-icon {
    width: 44px;
    height: 44px;
    background: #102a43;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.sidebar-icon i {
    color: #d4a012;
    font-size: 1.15rem;
}

.sidebar-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #102a43;
    margin: 0 0 8px;
}

.sidebar-card p {
    font-size: .875rem;
    color: #4b5563;
    line-height: 1.55;
    margin: 0;
}

.sidebar-card a {
    display: inline-block;
    margin-top: 10px;
    font-size: .875rem;
    font-weight: 600;
    color: #102a43;
    text-decoration: none;
    border-bottom: 1px solid #d4a012;
}

.sidebar-card a:hover {
    color: #d4a012;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-card {
        flex: 1 1 250px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 140px 0 48px;
    }

    .contact-page .hero-container h1 {
        font-size: 2rem;
    }

    .contact-bar-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .bar-item {
        border-left: none;
        border-top: 1px solid #e5e7eb;
        justify-content: center;
        padding: 14px 20px;
    }

    .bar-item:first-child { border-top: none; }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 28px 20px;
    }

    .contact-sidebar {
        flex-direction: column;
    }

    .sidebar-card {
        flex: 1 1 auto;
    }
}
