/* ==========================================================================
   İletişim Sayfası - Modüler Sayfa Stilleri
   ========================================================================== */

/* Kompakt İletişim Hero Kartı (Kompakt İnce Görünüm) */
.gd-contact-hero-compact {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 14px 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0 !important;
}

.gd-contact-hero-compact .gd-page-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gd-contact-hero-compact .gd-page-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.gd-contact-hero-compact .gd-page-subtitle {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Ana Sayfa Gövdesi — site.css .gd-page-body ana omurgasına bağlı */

/* Hero Başlık Kartı */
.gd-contact-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 100%);
    border: 1px solid #4f46e5;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(55, 48, 163, 0.4);
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gd-contact-hero__shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
    animation: gd-contact-shimmer 3.5s infinite;
    pointer-events: none;
}

@keyframes gd-contact-shimmer {
    0%   { left: -100%; }
    50%  { left: 200%; }
    100% { left: 200%; }
}

.gd-contact-hero__inner {
    position: relative;
    z-index: 1;
}

.gd-contact-hero__title {
    color: #fcd34d;
    margin: 0 0 15px 0;
    font-size: 2.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gd-contact-hero__desc {
    color: #e0e7ff;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
}

/* Uyarı / Başarı Bildirimleri */
.gd-contact-alert {
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    animation: gd-contact-slide-in 0.3s ease-out;
}

@keyframes gd-contact-slide-in {
    from { transform: translateY(-20px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

.gd-contact-alert--success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.gd-contact-alert--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fee2e2;
}

/* İki Sütunlu Düzen */
.gd-contact-split {
    display: flex;
    gap: 8px;
    flex: 1;
}

/* Sol Sütun — Form Alanı */
.gd-contact-form-panel {
    flex: 1.2;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

/* Sağ Sütun — Bilgi Paneli */
.gd-contact-info-panel {
    flex: 0.8;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
}

/* Panel Başlık */
.gd-contact-panel-title {
    font-size: 22px;
    font-weight: 850;
    color: #0f172a;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gd-contact-panel-title--sm {
    font-size: 20px;
}

.gd-contact-panel-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 24px 0;
}

/* Form Alanları */
.gd-contact-form-group {
    margin-bottom: 20px;
}

.gd-contact-form-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.gd-contact-form-label--accent {
    color: #10b981;
}

.gd-form-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.gd-input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.gd-input-valid-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    justify-content: center;
    color: #10b981;
    pointer-events: none;
    transition: all 0.2s ease;
}

.gd-input-wrapper.is-valid .gd-input-valid-icon {
    display: inline-flex;
}

.gd-input-wrapper.is-valid .gd-contact-input,
.gd-input-wrapper.is-valid .gd-contact-select,
.gd-input-wrapper.is-valid .gd-contact-textarea {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.gd-contact-input,
.gd-contact-select,
.gd-contact-textarea {
    width: 100%;
    padding: 14px 40px 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14.5px;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
    color: #1e293b;
    font-weight: 500;
}

.gd-contact-input:focus,
.gd-contact-select:focus,
.gd-contact-textarea:focus {
    border-color: #4f46e5;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.gd-contact-textarea {
    resize: vertical;
}

/* Captcha Kutusu */
.gd-contact-captcha-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    padding: 16px 20px;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
}

.gd-contact-captcha-label {
    font-weight: 900;
    font-size: 1.2rem;
    color: #0f172a;
    white-space: nowrap;
}

.gd-contact-captcha-input {
    width: 120px;
    flex-shrink: 0;
}

/* Gönder Butonu */
.gd-contact-submit-btn {
    background-color: #16a34a;
    color: #ffffff !important;
    border: none;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 0.98rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
    width: 100%;
}

.gd-contact-submit-btn:hover {
    background-color: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
}

/* Bilgi Kartları */
.gd-contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.gd-contact-info-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    word-wrap: break-word;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.gd-contact-info-card:hover {
    transform: translateY(-3px);
    border-color: #28a745;
    background: #f0fdf4;
    box-shadow: 0 15px 30px rgba(40, 167, 69, 0.05);
}

/* Statik kart (tıklanamaz) hover efekti aynı */
.gd-contact-info-card--static:hover {
    border-color: #28a745;
    background: #f0fdf4;
}

.gd-contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;
    border: 1px solid transparent;
}

.gd-contact-card-icon--email {
    background: #ecfdf5;
    color: #28a745;
    border-color: rgba(40, 167, 69, 0.15);
}

.gd-contact-card-icon--telegram {
    background: #eaf6fc;
    color: #0088cc;
    border-color: rgba(0, 136, 204, 0.15);
}

.gd-contact-card-icon--phone-online {
    background: #ecfdf5;
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.15);
}

.gd-contact-card-icon--phone-offline {
    background: #f1f5f9;
    color: #64748b;
    border-color: rgba(100, 116, 139, 0.15);
}

.gd-contact-card-icon--form {
    background: #f5f3ff;
    color: #8b5cf6;
    border-color: rgba(139, 92, 246, 0.15);
}

.gd-contact-info-card:hover .gd-contact-card-icon--email,
.gd-contact-info-card:hover .gd-contact-card-icon--form {
    background: #28a745;
    color: #fff;
}

.gd-contact-info-card:hover .gd-contact-card-icon--telegram {
    background: #0088cc;
    color: #fff;
}

.gd-contact-info-card:hover .gd-contact-card-icon--phone-online {
    background: #10b981;
    color: #fff;
}

.gd-contact-info-card:hover .gd-contact-card-icon--phone-offline {
    background: #64748b;
    color: #fff;
}

.gd-contact-card-text {
    min-width: 0;
    flex: 1;
}

.gd-contact-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px 0;
    word-wrap: break-word;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.gd-contact-card-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
}

.gd-contact-card-desc a {
    color: inherit;
    text-decoration: none;
    font-weight: 800;
    border-bottom: 1.5px dashed currentColor;
    padding-bottom: 1px;
}

/* Telefon Durum Rozeti */
.gd-contact-phone-badge {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
}

.gd-contact-phone-badge--online {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.gd-contact-phone-badge--offline {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .gd-contact-split {
        flex-direction: column;
    }

    .gd-contact-info-panel {
        position: static;
    }
}

@media (max-width: 768px) {
    .gd-contact-hero {
        padding: 28px 20px;
    }

    .gd-contact-hero__title {
        font-size: 1.6rem;
    }

    .gd-contact-form-panel,
    .gd-contact-info-panel {
        padding: 20px 16px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01), 0 4px 12px rgba(0, 0, 0, 0.02);
    }

    .gd-contact-info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        gap: 12px;
    }

    .gd-contact-captcha-box {
        flex-wrap: wrap;
    }

    .gd-contact-card-title {
        justify-content: center;
    }
}
