/**
 * TemaJet İletişim Sayfası Stilleri (Pixel-Perfect)
 *
 * @package TemaJet
 * @version 1.0.0
 */

.tj-contact-page-main {
    padding: 25px 0 45px;
    background-color: #F8F9FA;
}

.tj-contact-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* ==========================================================================
   1. Üst Header Bar (Koyu Mavi Zemin & İletişim Başlığı)
   ========================================================================== */
.tj-contact-topbar {
    position: relative;
    height: 48px;
    background-color: #2A3A60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-radius: 3px 3px 0 0;
    box-sizing: border-box;
}

.tj-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tj-topbar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tj-topbar-icon svg {
    display: block;
}

.tj-topbar-title {
    margin: 0;
    padding: 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.2px;
}

.tj-topbar-right {
    display: flex;
    align-items: center;
}

.tj-topbar-home-btn {
    width: 32px;
    height: 32px;
    background-color: #0E7CE2;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.tj-topbar-home-btn:hover {
    background-color: #0b69c2;
    transform: scale(1.05);
}

.tj-topbar-home-btn svg {
    display: block;
}

/* ==========================================================================
   2. Ana İçerik Kartı (Beyaz Zemin, Çift Sütun)
   ========================================================================== */
.tj-contact-card {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-top: none;
    border-radius: 0 0 4px 4px;
    padding: 35px 40px;
    display: flex;
    gap: 45px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.tj-contact-form-col {
    flex: 1.85;
    min-width: 0;
}

.tj-contact-info-col {
    flex: 1.15;
    min-width: 0;
}

/* Bölüm Başlıkları (Kırmızı Başlık + Sağa Uzanan Çizgi) */
.tj-contact-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
}

.tj-contact-section-title {
    margin: 0;
    padding: 0;
    color: #B91C1C;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.tj-contact-section-line {
    flex: 1;
    height: 1px;
    background-color: #E5E7EB;
    margin-left: 15px;
}

/* ==========================================================================
   3. İletişim Formu Alanları
   ========================================================================== */
.tj-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.tj-form-group {
    display: flex;
    flex-direction: column;
}

.tj-form-full {
    grid-column: 1 / -1;
}

.tj-form-label {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    display: inline-block;
}

.tj-form-label .required {
    color: #C82333;
}

.tj-form-input,
.tj-form-select,
.tj-form-textarea {
    width: 100%;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    padding: 9px 12px;
    font-size: 14px;
    color: #374151;
    background-color: #FFFFFF;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
}

.tj-form-select {
    height: 40px;
    cursor: pointer;
}

.tj-form-textarea {
    min-height: 135px;
    resize: vertical;
}

.tj-form-input:focus,
.tj-form-select:focus,
.tj-form-textarea:focus {
    border-color: #C82333;
    box-shadow: 0 0 0 2px rgba(200, 35, 51, 0.12);
}

.tj-contact-note {
    font-size: 13px;
    color: #4B5563;
    margin-top: 12px;
    margin-bottom: 16px;
    font-weight: 500;
}

/* Bildirim Kutusu */
.tj-contact-alert {
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.tj-contact-alert.success {
    background-color: #DEF7EC;
    color: #03543F;
    border: 1px solid #84E1BC;
}

.tj-contact-alert.error {
    background-color: #FDE8E8;
    color: #9B1C1C;
    border: 1px solid #F8B4B4;
}

/* Gönder Butonu */
.tj-form-actions {
    display: flex;
    align-items: center;
}

.tj-contact-btn {
    background-color: #C82333;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    padding: 9px 26px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.15s ease, transform 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.tj-contact-btn:hover {
    background-color: #A61B29;
}

.tj-contact-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

/* ==========================================================================
   4. Bize Ulaşın Bilgi Alanı
   ========================================================================== */
.tj-contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tj-info-item {
    display: flex;
    flex-direction: column;
}

.tj-info-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.tj-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.tj-info-icon svg {
    display: block;
    fill: #C82333;
}

.tj-info-label {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.tj-info-value {
    font-size: 14px;
    color: #4B5563;
    padding-left: 26px;
    line-height: 1.4;
    word-break: break-word;
}

.tj-info-value a {
    color: #4B5563;
    text-decoration: none;
    transition: color 0.15s ease;
}

.tj-info-value a:hover {
    color: #C82333;
}

/* ==========================================================================
   5. Mobil Uyumluluk (Responsive)
   ========================================================================== */
@media (max-width: 860px) {
    .tj-contact-card {
        flex-direction: column;
        padding: 25px 20px;
        gap: 35px;
    }

    .tj-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tj-contact-topbar {
        padding: 0 12px;
    }

    .tj-topbar-title {
        font-size: 16px;
    }
}
