/* ==========================================================================
   CONTACT PAGE CUSTOM STYLES (css/contact.css)
   ========================================================================== */

.contact-page-section {
    padding: 6.5rem 1.5rem 3rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.content-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header-compact {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 1.5rem auto;
}

.contact-header-compact h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0.2rem 0 0.5rem 0;
    color: var(--text-primary);
}

.contact-header-compact p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2rem;
    align-items: start;
}

.contact-info-column {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.contact-info-column h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-info-column > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.75rem;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-detail-icon {
    font-size: 1.2rem;
    background: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    flex-shrink: 0;
}

.contact-detail-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.1rem;
}

.contact-detail-text p, 
.contact-detail-text a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 1.3;
}

.contact-detail-text a:hover {
    color: var(--accent);
}

.trust-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.trust-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(25, 83, 146, 0.08);
    padding: 0.35rem 0.7rem;
    border-radius: 20px;
}

/* Form Container */
.contact-form-container {
    background: #ffffff;
    border: 2px solid rgba(25, 83, 146, 0.18);
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 12px 35px -10px rgba(25, 83, 146, 0.12);
}

.form-card-header {
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
}

.form-badge {
    display: inline-block;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.form-card-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.form-card-header p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 0.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
}

.form-input {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 0.65rem 0.85rem;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    background-color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(25, 83, 146, 0.15);
}

textarea.form-input {
    resize: vertical;
    min-height: 80px;
    height: 80px;
}

.submit-btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    background-color: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 6px 18px var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
    margin-top: 0.4rem;
}

.submit-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(25, 83, 146, 0.35);
}

.btn-arrow {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.form-guarantee {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.6rem;
    margin-bottom: 0;
    font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE DESIGN / MOBILE STYLES
   ========================================================================== */

@media screen and (max-width: 900px) {
    /* Formu informasiyadan önə keçirmək üçün column-reverse istifadə edildi */
    .contact-layout {
        display: flex;
        flex-direction: column-reverse;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 600px) {
    .contact-page-section {
        padding: 5.5rem 1rem 2rem;
    }
    
    /* Mobil üçün başlıq və alt yazı daha da kiçildildi */
    .contact-header-compact h1 {
        font-size: 1.4rem;
    }
    .contact-header-compact p {
        font-size: 0.85rem;
        margin-top: 0.4rem;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
        margin-bottom: 0;
    }
    .contact-form-container {
        padding: 1.2rem;
    }
}