/* ════════════════════════════════════════════════════
   contact.css  v2.2
   Düzeltmeler:
   - Hero section eklendi
   - 2-kolon grid (340px | 1fr) düzeltildi
   - Input/select full-width zorlandı
   - KVKK satır içi checkbox+metin
   - Dark mode desteği
════════════════════════════════════════════════════ */

/* ─── Genel Reset ─────────────────────────────── */
.contact-hero,
.contact-main,
.contact-faq {
    box-sizing: border-box;
    width: 100%;
}

/* ─── HERO ────────────────────────────────────── */
.contact-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #fff;
    padding: 80px 20px 60px;
    text-align: center;
}

.contact-hero__inner {
    max-width: 760px;
    margin: 0 auto;
}

.contact-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249,115,22,.15);
    border: 1px solid rgba(249,115,22,.4);
    color: #fb923c;
    font-size: .85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.contact-hero__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
	color: rgba(255,255,255);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px;
}

.contact-hero__title .highlight {
    color: #f97316;
}

.contact-hero__desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.75);
    margin: 0 0 40px;
    line-height: 1.7;
}

.contact-hero__stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #f97316;
    line-height: 1;
}

.stat-label {
    font-size: .8rem;
    color: rgba(255,255,255,.6);
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ─── ANA İÇERİK ──────────────────────────────── */
.contact-main {
    padding: 60px 20px;
    background: #f8fafc;
}

[data-theme="dark"] .contact-main {
    background: #0f172a;
}

.contact-main__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    align-items: start;
}

/* ─── BİLGİ PANELİ ────────────────────────────── */
.contact-info {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    position: sticky;
    top: 90px;
}

[data-theme="dark"] .contact-info {
    background: #1e293b;
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

.contact-info__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 24px;
    color: #0f172a;
}

[data-theme="dark"] .contact-info__title {
    color: #f1f5f9;
}

.contact-info__list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info__list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ci-icon {
    width: 40px;
    height: 40px;
    background: rgba(249,115,22,.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f97316;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info__list li div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-info__list strong {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #64748b;
    font-weight: 600;
}

.contact-info__list a,
.contact-info__list span {
    font-size: .95rem;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.4;
}

[data-theme="dark"] .contact-info__list a,
[data-theme="dark"] .contact-info__list span {
    color: #cbd5e1;
}

.contact-info__list a:hover {
    color: #f97316;
}

/* Sosyal İkonlar */
.contact-info__social {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.contact-info__social a {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 1rem;
    text-decoration: none;
    transition: background .2s, color .2s;
}

[data-theme="dark"] .contact-info__social a {
    background: #334155;
    color: #94a3b8;
}

.contact-info__social a:hover {
    background: #f97316;
    color: #fff;
}

/* Hizmetler Listesi */
.contact-info__services {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
}

[data-theme="dark"] .contact-info__services {
    background: #0f172a;
}

.contact-info__services h3 {
    font-size: .9rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

[data-theme="dark"] .contact-info__services h3 {
    color: #f1f5f9;
}

.contact-info__services ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info__services li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    color: #475569;
}

[data-theme="dark"] .contact-info__services li {
    color: #94a3b8;
}

.contact-info__services li i {
    color: #22c55e;
    font-size: .8rem;
    flex-shrink: 0;
}

/* ─── FORM ALANI ──────────────────────────────── */
.contact-form-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

[data-theme="dark"] .contact-form-wrap {
    background: #1e293b;
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

.contact-form-wrap__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 28px;
    color: #0f172a;
}

[data-theme="dark"] .contact-form-wrap__title {
    color: #f1f5f9;
}

/* Alert */
.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: .95rem;
    font-weight: 500;
}

.alert--success {
    background: #dcfce7;
    color: #166534;
    border-left: 4px solid #22c55e;
}

.alert--error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

[data-theme="dark"] .alert--success {
    background: rgba(34,197,94,.15);
    color: #86efac;
}

[data-theme="dark"] .alert--error {
    background: rgba(239,68,68,.15);
    color: #fca5a5;
}

/* Form Grid */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

/* Labels */
.form-group label {
    font-size: .875rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

[data-theme="dark"] .form-group label {
    color: #e2e8f0;
}

.req {
    color: #ef4444;
    font-size: 1rem;
    line-height: 1;
}

.char-counter {
    font-size: .78rem;
    font-weight: 400;
    color: #94a3b8;
    margin-left: auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

.required-star {
  color: #ef4444;
  margin-left: 2px;
}

.optional-tag {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 4px;
}

.char-counter {
  float: right;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 400;
}

.field-error {
  display: block;
  font-size: var(--fs-xs);
  color: #ef4444;
  margin-top: 4px;
  min-height: 16px;
}

/* Validation states */
.form-control.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .12) !important;
}
.form-control.is-valid {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .12) !important;
}

/* Select styling */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
[data-theme="dark"] select.form-control {
  background-color: var(--bg-card);
  color: var(--text);
}
[data-theme="dark"] select.form-control option {
  background: var(--bg-card);
  color: var(--text);
}
/* ── Inputlar – FULL WIDTH ZORLA ── */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: .95rem;
    font-family: inherit;
    color: #1e293b;
    background: #f8fafc;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

[data-theme="dark"] .form-group input[type="text"],
[data-theme="dark"] .form-group input[type="email"],
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249,115,22,.15);
    background: #fff;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    background: #1e293b;
}

/* Select ok */
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Textarea */
.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* ── KVKK ── */
.form-group--kvkk {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
}

[data-theme="dark"] .form-group--kvkk {
    background: #0f172a;
    border-color: #334155;
}

.kvkk-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 10px;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 400 !important;
    color: #475569;
    justify-content: flex-start !important;
}

[data-theme="dark"] .kvkk-label {
    color: #94a3b8;
}

.kvkk-label input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #f97316;
    cursor: pointer;
    padding: 0 !important;
    border: none !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

.kvkk-text {
    line-height: 1.5;
}

.kvkk-text a {
    color: #f97316;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.kvkk-text a:hover {
    color: #ea6c00;
}

/* ── Submit ── */
.btn-submit {
    width: 100%;
    padding: 14px 28px;
    background: #f97316;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background .2s, transform .1s, box-shadow .2s;
    letter-spacing: .02em;
}

.btn-submit:hover {
    background: #ea6c00;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249,115,22,.35);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ─── SSS ─────────────────────────────────────── */
.contact-faq {
    padding: 60px 20px 80px;
    background: #fff;
}

[data-theme="dark"] .contact-faq {
    background: #1e293b;
}

.contact-faq__inner {
    max-width: 860px;
    margin: 0 auto;
}

.contact-faq .section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 40px;
}

[data-theme="dark"] .contact-faq .section-title {
    color: #f1f5f9;
}

/* FAQ Accordion */
.faq-a {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    font-size: .95rem;
    color: #475569;
    line-height: 1.7;
    transition: max-height .35s ease, padding .2s;
}

.faq-item.open .faq-a {
    /* max-height YOK — JS scrollHeight ile ayarlıyor */
    padding: 0 20px 18px;
}

[data-theme="dark"] .faq-a {
    color: #94a3b8;
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    text-align: left;
    transition: color .2s;
}

.faq-q:hover {
    color: #f97316;
}

.faq-q i {
    flex-shrink: 0;
    font-size: .85rem;
    color: #94a3b8;
    transition: transform .3s;
}
.faq-item.open .faq-q i {
    transform: rotate(180deg);
}
[data-theme="dark"] .faq-item {
    border-color: #334155;
    background: #0f172a;
}

[data-theme="dark"] .faq-q {
    color: #e2e8f0;
}
.faq-item.open .faq-q {
    color: #f97316;
}
/* Açık durumda ok yukarı döner */
.faq-q[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
}

[data-theme="dark"] .faq-a {
    color: #94a3b8;
}

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
    .contact-main__inner {
        grid-template-columns: 1fr;
    }

    .contact-info {
        position: static;
    }
}

@media (max-width: 600px) {
    .contact-form-wrap {
        padding: 24px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-hero__stats {
        gap: 24px;
    }
}
