/* TOKU İletişim sayfası — V3 karanlık tema. tokens.css değişkenlerini kullanır. */

/* ---- Form + yan bilgi düzeni ---- */
.toku-contact-grid {
    display: grid;
    grid-template-columns: 1.6fr .9fr;
    gap: 32px;
    align-items: start;
}

.toku-contact-h2 {
    color: var(--white);
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 300;
    letter-spacing: -.02em;
    margin: 0 0 8px;
}

.toku-contact-form-wrap {
    background: rgba(255, 255, 255, .015);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 32px;
}

.toku-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 24px 0 20px;
}

.toku-field { display: flex; flex-direction: column; }
.toku-field--full { grid-column: 1 / -1; }

.toku-field label {
    color: var(--chrome);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 7px;
}

.toku-field input,
.toku-field select,
.toku-field textarea {
    background: var(--deep);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--white);
    font-size: 15px;
    font-family: inherit;
    transition: border-color .2s var(--ease), background .2s var(--ease);
}

.toku-field input::placeholder,
.toku-field textarea::placeholder { color: var(--muted); }

.toku-field input:focus,
.toku-field select:focus,
.toku-field textarea:focus {
    outline: none;
    border-color: var(--ice);
    background: #070b12;
}

.toku-field select option { background: var(--graphite); color: var(--white); }
.toku-field textarea { resize: vertical; min-height: 130px; }

.toku-field__hint { color: var(--muted); font-size: 12px; margin-top: 6px; text-align: right; }
.toku-field__err { color: #ff8a8a; font-size: 12px; margin-top: 5px; }

/* Bootstrap doğrulama görselini V3'e uyarla */
.toku-contact-form.was-validated input:invalid,
.toku-contact-form.was-validated select:invalid,
.toku-contact-form.was-validated textarea:invalid {
    border-color: #d9534f;
}

.toku-contact-form .toku-v3-button {
    border: 0;
    cursor: pointer;
    min-height: 50px;
    padding: 0 32px;
}

.toku-alert {
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 0;
    font-size: 14px;
    border: 1px solid;
}
.toku-alert--error { background: rgba(217, 83, 79, .12); border-color: rgba(217, 83, 79, .4); color: #ff9b9b; }
.toku-alert--success { background: rgba(80, 122, 98, .18); border-color: rgba(80, 122, 98, .5); color: #a8d5bc; }

/* ---- Yan bilgi kartları ---- */
.toku-contact-aside { display: grid; gap: 16px; }

.toku-info-card {
    background: rgba(255, 255, 255, .015);
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    padding: 22px 24px;
}
.toku-info-card h3 {
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 10px;
}
.toku-info-card p { color: var(--chrome); font-size: 14px; line-height: 1.6; margin: 0 0 10px; }
.toku-info-card a { display: block; color: var(--ice); text-decoration: none; font-size: 14px; margin-top: 4px; }
.toku-info-card a:hover { color: var(--white); }

.toku-hours {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    border-top: 1px solid var(--line-soft);
    color: var(--chrome);
    font-size: 14px;
}
.toku-hours:first-of-type { border-top: 0; }
.toku-hours--off { color: var(--muted); }

/* ---- Harita ---- */
.toku-contact-map {
    margin-top: 32px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    line-height: 0;
}
.toku-contact-map iframe { width: 100%; min-height: 380px; border: 0; filter: grayscale(.3) brightness(.85); }

/* ---- Değerlendirme kartları (partial) ---- */
.toku-assess-section { border-top: 1px solid var(--line-soft); }
.toku-assess { display: grid; gap: 40px; margin-top: 40px; }
.toku-assess__group {}
.toku-assess__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-soft);
}
.toku-assess__icon { font-size: 20px; }
.toku-assess__name { color: var(--white); font-size: 17px; font-weight: 500; }
.toku-assess__count {
    color: var(--muted);
    font: 500 11px/1 'IBM Plex Mono', monospace;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-left: auto;
}
.toku-assess__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}
.toku-assess__card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, .015);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}
.toku-assess__card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 203, 255, .55);
    background: rgba(52, 120, 246, .06);
}
.toku-assess__iso {
    align-self: flex-start;
    color: var(--ice);
    font: 500 11px/1 'IBM Plex Mono', monospace;
    letter-spacing: .06em;
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    margin-bottom: 14px;
}
.toku-assess__title { color: var(--white); font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.toku-assess__desc { color: var(--muted); font-size: 13.5px; line-height: 1.55; flex: 1; }
.toku-assess__footer {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--chrome);
    font-size: 12.5px;
}
.toku-assess__arrow { margin-left: auto; color: var(--ice); transition: transform .2s var(--ease); }
.toku-assess__card:hover .toku-assess__arrow { transform: translateX(4px); }

@media (max-width: 900px) {
    .toku-contact-grid { grid-template-columns: 1fr; }
    .toku-field-grid { grid-template-columns: 1fr; }
    .toku-contact-form-wrap { padding: 24px; }
}
