﻿:root {
    /* Varsa mevcut tema değişkenlerinizle uyumlu */
    --bg: #f7f8fb;
    --panel: #ffffff;
    --ink: #0b1220;
    --muted: #6b7280;
    --line: #e5e7eb;
    --brand: #2563eb;
    --brand-ink: #ffffff;
    --focus: #93c5fd;
    --danger: #ef4444;
}

/* ============ GENEL KAPSAYICI ============ */
#contact-section {
    background: linear-gradient(180deg, #f6f8fb 0%, #f9fbff 100%);
    padding: 28px 0 40px;
}

    #contact-section .c { /* sayfa içi merkezleme */
        width: min(1120px, 94%);
        margin: 0 auto;
    }

/* Kart (sol+sağ) */
#contact-card {
    width:100%;
    background: var(--panel);
    color: var(--ink);
    border-radius: 14px;
    -webkit-box-shadow: 0px 7px 14px -5px rgba(66, 68, 90, 1);
    -moz-box-shadow: 0px 7px 14px -5px rgba(66, 68, 90, 1);
    box-shadow: 0px 7px 14px -5px rgba(66, 68, 90, 1);
    display: flex;
    align-items: stretch;
    min-height: 520px;
    overflow: hidden; /* radius için */
}

/* ============ SOL BLOK ============ */
#contact-left {
    flex: 0 0 44%;
    padding: 28px 28px 24px 28px;
    background: linear-gradient(180deg, #fbfcff 0%, #f4f7fb 70%);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

    #contact-left h2 { /* Başlık */
        font-size: 26px;
        line-height: 1.25;
        font-weight: 700;
        margin: 6px 0 20px;
    }

#contact-lead { /* Kısa açıklama */
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 8px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mdb);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
}

    .info-icon img {
        width: 22px;
        height: 22px;
        display: block;
    }

.info-body {
    line-height: 1.35;
}

.info-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.info-text {
    color: #374151;
    font-size: 14px;
}

    .info-text a {
        color: inherit;
        text-decoration: none;
    }

        .info-text a:hover {
            text-decoration: underline;
        }

/* Sosyal */
#social-block {
    margin-top: auto;
}

#social-label {
    font-weight: 600;
    margin-bottom: 10px;
}

.social-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
    transition: transform .14s ease, box-shadow .14s ease;
}

    .social-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 12px rgba(0,0,0,.08);
    }

    .social-btn img {
        width: 18px;
        height: 18px;
        display: block;
    }

/* ============ SAĞ BLOK ============ */
#contact-right {
    flex: 1 1 auto;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

form#contactForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.field-row {
    display: flex;
    gap: 12px;
}

.field {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .field label {
        font-size: 12px;
        color: var(--muted);
    }

.ui-input, .ui-textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #f7f8fb;
    border-radius: 10px;
    padding: 12px 12px;
    font-size: 14px;
    outline: none;
    transition: box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
}

    .ui-input:focus, .ui-textarea:focus {
        border-color: var(--focus);
        box-shadow: 0 0 0 3px rgba(147,197,253,.45);
        background: #fff;
    }

.ui-textarea {
    min-height: 120px;
    resize: vertical;
}

.ui-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.ui-btn--brand {
    background: var(--mdb);
    color: var(--brand-ink);
}

    .ui-btn--brand:hover {
        filter: brightness(1.05);
    }

.hint {
    font-size: 12px;
    color: var(--muted);
}

.error-text {
    font-size: 12px;
    color: var(--danger);
    display: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
    #contact-card {
        flex-direction: column;
    }

    #contact-left {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .field-row {
        flex-direction: column;
        gap: 10px;
    }
}

