/* =====================================================================
   Ücretsiz Araçlar + Otelcilik Sözlüğü — ortak stil
   Tüm sınıflar "ot-" önekli: sitenin mevcut CSS'iyle çakışmasın diye.
   Renkler sitenin paletinden (bordo #7A1A1E, ink #1F2233, gri #F3F4F7).
   Bootstrap 5 ızgarası (row/col) zaten sitede yüklü; burada yalnızca
   bileşen görünümü var.
   ===================================================================== */
.ot-wrap {
  --ot-bordo: #7A1A1E;
  --ot-bordo-soft: #F6ECEC;
  --ot-ink: #1F2233;
  --ot-muted: #5B6072;
  --ot-line: #E3E5EC;
  --ot-grey: #F3F4F7;
  --ot-ok: #1E6B45;
  --ot-warn: #8A5A00;
  color: var(--ot-ink);
  padding-top: 2rem;
  padding-bottom: 4rem;
}

/* ── Izgara (Bootstrap yerine) ─────────────────────────────────────────
   ÖNCEKİ SÜRÜMDEKİ SORUN: Sayfalar Bootstrap'in container/row/col-*
   sınıflarını kullanıyordu, ancak sitenin _Layout'u Bootstrap CSS'ini
   yüklemiyor (yalnızca site.css ve bootstrap-icons). Bu sınıflar
   tanımsız kalınca form ve sonuç kartları yan yana durmaz, alt alta
   tam genişlikte dizilirdi. Gereken birkaç kural burada, .ot-wrap altına
   sınırlanmış olarak tanımlı; sitede ileride Bootstrap yüklenirse de
   değerler aynı olduğu için çakışma yaratmaz. */
.ot-wrap { width: 100%; max-width: 1180px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
.ot-wrap *, .ot-wrap *::before, .ot-wrap *::after { box-sizing: border-box; }
.ot-wrap .row { display: flex; flex-wrap: wrap; margin-left: -12px; margin-right: -12px; }
.ot-wrap .row > * { width: 100%; max-width: 100%; padding-left: 12px; padding-right: 12px; }
.ot-wrap .g-3 { row-gap: 1rem; }
.ot-wrap .g-4 { row-gap: 1.5rem; }
.ot-wrap .g-5 { row-gap: 3rem; }
.ot-wrap .align-items-start { align-items: flex-start; }
.ot-wrap .row > .col-6 { width: 50%; }
@media (min-width: 576px) {
  .ot-wrap .row > .col-sm-3 { width: 25%; }
  .ot-wrap .row > .col-sm-5 { width: 41.6667%; }
  .ot-wrap .row > .col-sm-6 { width: 50%; }
  .ot-wrap .row > .col-sm-7 { width: 58.3333%; }
}
@media (min-width: 992px) {
  .ot-wrap .row > .col-lg-4 { width: 33.3333%; }
  .ot-wrap .row > .col-lg-5 { width: 41.6667%; }
  .ot-wrap .row > .col-lg-7 { width: 58.3333%; }
  .ot-wrap .row > .col-lg-8 { width: 66.6667%; }
  .ot-wrap .g-5 { margin-left: -24px; margin-right: -24px; }
  .ot-wrap .g-5 > * { padding-left: 24px; padding-right: 24px; }
}
.ot-wrap .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.ot-wrap .mt-3 { margin-top: 1rem; }
.ot-wrap .mt-4 { margin-top: 1.5rem; }
.ot-wrap .mb-0 { margin-bottom: 0; }
.ot-wrap .h5 { font-size: 1.15rem; font-weight: 600; }

/* Sayfa üst kısmı */
.ot-crumb { font-size: .875rem; color: var(--ot-muted); margin-bottom: 1.25rem; }
.ot-crumb a { color: var(--ot-muted); text-decoration: none; }
.ot-crumb a:hover { color: var(--ot-bordo); text-decoration: underline; }
.ot-crumb span[aria-hidden] { margin: 0 .4rem; }

.ot-eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ot-bordo); background: var(--ot-bordo-soft);
  padding: .3rem .65rem; border-radius: 999px; margin-bottom: .9rem;
}
.ot-h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.15; margin: 0 0 .6rem; }
.ot-alt { color: var(--ot-muted); font-size: 1rem; margin: -.2rem 0 1rem; }
.ot-lead { font-size: 1.125rem; line-height: 1.6; color: var(--ot-muted); max-width: 46rem; margin-bottom: 2rem; }

/* Kart */
.ot-card { background: #fff; border: 1px solid var(--ot-line); border-radius: 14px; padding: 1.5rem; box-shadow: 0 1px 2px rgba(31,34,51,.04), 0 8px 24px rgba(31,34,51,.05); }
.ot-card h2 { font-family: 'Fraunces', Georgia, serif; font-size: 1.25rem; font-weight: 600; margin: 0 0 1.1rem; }

/* Form alanları */
.ot-field { margin-bottom: 1.05rem; }
.ot-field label, .ot-legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.ot-field .ot-help { display: block; font-size: .82rem; color: var(--ot-muted); margin-top: .3rem; }
.ot-input-group { position: relative; display: flex; align-items: stretch; }
.ot-input {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ot-ink);
  padding: .62rem .8rem; border: 1px solid #CDD1DB; border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.ot-input:focus { outline: none; border-color: var(--ot-bordo); box-shadow: 0 0 0 3px rgba(122,26,30,.15); }
.ot-input-group .ot-input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.ot-unit {
  display: flex; align-items: center; padding: 0 .8rem; font-size: .92rem; color: var(--ot-muted);
  background: var(--ot-grey); border: 1px solid #CDD1DB; border-left: 0; border-radius: 0 10px 10px 0;
  white-space: nowrap;
}
.ot-input.is-invalid { border-color: #B42318; }

/* Segment (iki seçenekli düğme) */
.ot-segment { display: flex; gap: .4rem; flex-wrap: wrap; }
.ot-segment label {
  flex: 1 1 12rem; margin: 0; font-weight: 500; font-size: .92rem; cursor: pointer;
  border: 1px solid #CDD1DB; border-radius: 10px; padding: .6rem .75rem; background: #fff;
}
.ot-segment input { margin-right: .45rem; accent-color: var(--ot-bordo); }
.ot-segment label:has(input:checked) { border-color: var(--ot-bordo); background: var(--ot-bordo-soft); }

.ot-check { display: flex; align-items: center; gap: .45rem; font-size: .88rem; color: var(--ot-muted); margin-top: .4rem; }
.ot-check input { accent-color: var(--ot-bordo); }

/* Sonuç kartı */
.ot-result { position: sticky; top: 6rem; background: var(--ot-ink); color: #fff; border: 0; }
.ot-result h2 { color: #fff; }
.ot-rows { list-style: none; padding: 0; margin: 0; }
.ot-rows li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .98rem; }
.ot-rows li:last-child { border-bottom: 0; }
.ot-rows .ot-k { color: rgba(255,255,255,.75); }
.ot-rows .ot-v { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; white-space: nowrap; }
.ot-big { margin-top: .6rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.25); }
.ot-big .ot-k { color: #fff; font-weight: 600; }
.ot-big .ot-v { font-size: 1.6rem; font-family: 'Fraunces', Georgia, serif; }
.ot-note { font-size: .82rem; color: rgba(255,255,255,.7); margin: 1rem 0 0; line-height: 1.5; }
.ot-alert { display: none; margin-top: 1rem; padding: .7rem .85rem; border-radius: 10px; font-size: .88rem; background: #FFF4E0; color: var(--ot-warn); }
.ot-alert.is-on { display: block; }
.ot-highlight { margin-top: 1.1rem; padding: 1rem; border-radius: 12px; background: rgba(255,255,255,.08); }
.ot-highlight .ot-v { color: #9BE3BD; }

/* İçerik bölümleri */
.ot-section { margin-top: 3rem; max-width: 50rem; }
.ot-section h2 { font-family: 'Fraunces', Georgia, serif; font-size: 1.5rem; font-weight: 600; margin: 0 0 .9rem; }
.ot-section p, .ot-section li { line-height: 1.7; }
.ot-formula {
  background: var(--ot-grey); border-left: 4px solid var(--ot-bordo); border-radius: 0 10px 10px 0;
  padding: .9rem 1.1rem; margin: 1rem 0; font-weight: 600; font-variant-numeric: tabular-nums;
}
.ot-example { background: #fff; border: 1px dashed #CDD1DB; border-radius: 10px; padding: .9rem 1.1rem; margin: 1rem 0; }
.ot-example strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ot-muted); margin-bottom: .3rem; }

/* SSS */
.ot-faq details { border-bottom: 1px solid var(--ot-line); padding: .9rem 0; }
.ot-faq summary { font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 1.75rem; }
.ot-faq summary::-webkit-details-marker { display: none; }
.ot-faq summary::after { content: "+"; position: absolute; right: .25rem; top: -.1rem; font-size: 1.3rem; color: var(--ot-bordo); }
.ot-faq details[open] summary::after { content: "−"; }
.ot-faq details p { margin: .6rem 0 0; color: var(--ot-muted); }

/* Zeus / CTA kutusu */
.ot-cta { margin-top: 3rem; background: var(--ot-bordo-soft); border-radius: 14px; padding: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.ot-cta p { margin: 0; max-width: 38rem; }
.ot-cta strong { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 1.15rem; margin-bottom: .25rem; }
.ot-btn { display: inline-block; background: var(--ot-bordo); color: #fff; font-weight: 600; text-decoration: none; padding: .7rem 1.2rem; border-radius: 10px; white-space: nowrap; }
.ot-btn:hover { background: #5E1417; color: #fff; }
.ot-btn-ghost { background: transparent; color: var(--ot-bordo); border: 1px solid var(--ot-bordo); }
.ot-btn-ghost:hover { background: var(--ot-bordo); color: #fff; }

.ot-disclaimer { font-size: .85rem; color: var(--ot-muted); margin-top: 2rem; max-width: 50rem; }

/* Etiket/çip listeleri */
.ot-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.ot-chips a, .ot-chips button {
  display: inline-block; font: inherit; font-size: .9rem; padding: .4rem .8rem; border-radius: 999px;
  border: 1px solid var(--ot-line); background: #fff; color: var(--ot-ink); text-decoration: none; cursor: pointer;
}
.ot-chips a:hover, .ot-chips button:hover { border-color: var(--ot-bordo); color: var(--ot-bordo); }
.ot-chips button[aria-pressed="true"] { background: var(--ot-ink); border-color: var(--ot-ink); color: #fff; }

/* Araç kartları (/araclar) */
.ot-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.25rem; }
.ot-tool { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.ot-tool:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31,34,51,.1); color: inherit; }
.ot-tool-icon { width: 2.75rem; height: 2.75rem; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--ot-bordo-soft); color: var(--ot-bordo); font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; }
.ot-tool h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.ot-tool p { color: var(--ot-muted); flex: 1; margin: 0 0 1rem; line-height: 1.6; }
.ot-tool .ot-more { color: var(--ot-bordo); font-weight: 600; }

/* Sözlük ana sayfası */
.ot-search { max-width: 34rem; margin-bottom: 1rem; }
.ot-letters { display: flex; flex-wrap: wrap; gap: .3rem; margin: 1rem 0 2rem; }
.ot-letters a { min-width: 2.1rem; text-align: center; padding: .3rem .4rem; border-radius: 8px; background: var(--ot-grey); color: var(--ot-ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.ot-letters a:hover { background: var(--ot-bordo); color: #fff; }
.ot-group { margin-bottom: 2rem; }
.ot-group h2 { font-family: 'Fraunces', Georgia, serif; font-size: 1.6rem; color: var(--ot-bordo); border-bottom: 1px solid var(--ot-line); padding-bottom: .4rem; margin-bottom: .5rem; scroll-margin-top: 6rem; }
.ot-terms { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 0 2rem; }
.ot-terms li { padding: .8rem 0; border-bottom: 1px solid var(--ot-grey); }
.ot-terms a { font-weight: 600; color: var(--ot-ink); text-decoration: none; }
.ot-terms a:hover { color: var(--ot-bordo); text-decoration: underline; }
.ot-terms p { margin: .25rem 0 0; font-size: .9rem; color: var(--ot-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ot-empty { display: none; color: var(--ot-muted); padding: 1rem 0; }
.ot-empty.is-on { display: block; }

/* Terim sayfası */
.ot-definition { font-size: 1.2rem; line-height: 1.65; border-left: 4px solid var(--ot-bordo); padding: .2rem 0 .2rem 1.1rem; margin: 0 0 2rem; max-width: 48rem; }
.ot-zeus { background: var(--ot-grey); border-radius: 12px; padding: 1.1rem 1.25rem; margin: 1.5rem 0; }
.ot-zeus strong { display: block; margin-bottom: .3rem; }
.ot-side h2 { font-size: 1.05rem; }
.ot-side ul { list-style: none; padding: 0; margin: 0; }
.ot-side li { padding: .45rem 0; border-bottom: 1px solid var(--ot-grey); }
.ot-side li a { color: var(--ot-ink); text-decoration: none; }
.ot-side li a:hover { color: var(--ot-bordo); text-decoration: underline; }

@media (max-width: 991.98px) {
  .ot-result { position: static; margin-top: 1.25rem; }
  .ot-big .ot-v { font-size: 1.35rem; }
  .ot-side { margin-top: 2rem; }
}
