/* Eski bir seyahat tarifesinden esinlenen sade düzen. Tek yazı ailesi: Spectral. */

@font-face {
  font-family: "Spectral";
  src: url("../fonts/spectral-400.b8ba64c3.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/spectral-500.fb75b5ae.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/spectral-600.c8da815e.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* Font yüklenirken kullanılan Georgia, satır kırılımları kaymasın diye Spectral ölçülerine uyarlanır. */
@font-face {
  font-family: "Spectral yedek";
  src: local("Georgia");
  size-adjust: 101.4%;
  ascent-override: 104.4%;
  descent-override: 45.7%;
  line-gap-override: 0%;
}

:root {
  --zemin: #f7f4ee;
  --murekkep: #222824;
  --yesil: #204c40;
  --yesil-koyu: #173a30;
  --cizgi: #d6d1c7;
  --soluk: #585e59;
  --kenarlik: #7a7f78;
  --yuzey: #fbf9f5;
  --secili: #eef1ea;
  --acik: #f0f4ee;
  --kalkis-kenar: #858a83;
  --hata: #9b2c1e;
  --yazi: "Spectral", "Spectral yedek", Georgia, serif;
  --kenar: 16px;
  --genislik: 1160px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  background: var(--zemin);
  color: var(--murekkep);
  font-family: var(--yazi);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  font-kerning: normal;
  font-variant-numeric: lining-nums proportional-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Form kontrolleri yazı ailesini açıkça miras alır. */
input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  letter-spacing: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--yesil);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--yesil-koyu);
  text-decoration-thickness: 2px;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--yesil);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.gorunmez {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.atla {
  position: absolute;
  left: var(--kenar);
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--yesil);
  color: var(--zemin);
  font-weight: 500;
  border-radius: 3px;
  text-decoration: none;
}

.atla:focus {
  top: 8px;
  color: var(--zemin);
}

.sarmal {
  width: 100%;
  max-width: calc(var(--genislik) + 2 * var(--kenar));
  margin: 0 auto;
  padding-left: var(--kenar);
  padding-right: var(--kenar);
}

/* ---------- Üst şerit ---------- */

.ust {
  container: ust / inline-size;
  border-bottom: 1px solid var(--cizgi);
}

.ust > .sarmal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding-top: 9px;
  padding-bottom: 9px;
}

/* Marka: işaret, firma adı ve altında küçük hizmet satırı. Çerçeve ve gölge yok. */
.marka {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--murekkep);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.marka:hover {
  color: var(--murekkep);
}

.marka:hover .marka-ad {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.marka-isaret {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
}

.marka-isaret svg,
.marka-isaret img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.marka-yazi {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.marka-ad {
  overflow-wrap: anywhere;
}

.marka-satir {
  color: var(--soluk);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.3;
}

.ust-baglantilar {
  display: flex;
  flex-shrink: 0;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ust-baglantilar a {
  display: inline-block;
  padding: 10px 0;
  color: var(--murekkep);
  font-weight: 500;
  text-decoration: none;
}

.ust-baglantilar a:hover {
  text-decoration: underline;
}

.ust-baglantilar .wa {
  color: var(--yesil);
}

/* Güzergâhlar ve Araçlar yalnızca şeritte yer varken görünür; WhatsApp her zaman en sağda. */
.ust-ek {
  display: none;
}

@container ust (min-width: 640px) {
  .ust-ek {
    display: block;
  }
}

/* ---------- Ana bölüm ---------- */

.ana {
  container: ana / inline-size;
  padding-top: 16px;
  padding-bottom: 72px;
}

.giris {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}

.tarife-sutun {
  container: sutun / inline-size;
  min-width: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.125rem, 1.2rem + 3.2vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.012em;
}

.secimler {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.etiket,
.alan label {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

.etiket {
  font-size: 1rem;
  line-height: 1.3;
}

/* Kalkış çoğu müşteri için zaten seçili: daha hafif. Varış araması daha belirgin. */
.etiket-kalkis {
  color: var(--soluk);
}

.kutu {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  background: #fffdf9;
  border: 1px solid var(--kenarlik);
  border-radius: 3px;
  font-size: 1rem;
  font-weight: 500;
  -webkit-appearance: none;
  appearance: none;
}

.kutu-kalkis {
  min-height: 48px;
  background: transparent;
  border-color: var(--kalkis-kenar);
  font-weight: 400;
}

.kutu-varis {
  min-height: 48px;
  border-color: var(--murekkep);
  font-size: 1.0625rem;
}

.kutu::placeholder {
  color: var(--soluk);
  font-weight: 400;
  opacity: 1;
}

.kutu:focus-visible,
.kutu:focus {
  outline: 2px solid var(--yesil);
  outline-offset: 0;
  border-color: var(--yesil);
}

.kutu[aria-invalid="true"] {
  border-color: var(--hata);
}

textarea.kutu {
  min-height: 96px;
  resize: vertical;
}

input[type="date"].kutu,
input[type="time"].kutu {
  text-align: left;
}

input[type="date"].kutu::-webkit-date-and-time-value,
input[type="time"].kutu::-webkit-date-and-time-value {
  text-align: left;
}

input[type="search"].kutu::-webkit-search-cancel-button,
input[type="search"].kutu::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.secim-sarici {
  position: relative;
}

/* Uzun havalimanı adı alanı taşırmaz; sonu üç noktayla kısalır. */
.secim-sarici select.kutu {
  padding-right: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.secim-sarici::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--murekkep);
  border-bottom: 2px solid var(--murekkep);
  transform: rotate(45deg);
  pointer-events: none;
}

.secim:not(.secim-varis) .secim-sarici::after {
  border-color: var(--soluk);
}

.arama-sarici {
  position: relative;
}

.arama-sarici .kutu {
  padding-right: 92px;
}

.temizle {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  padding: 0 12px;
  background: none;
  border: 0;
  border-radius: 3px;
  color: var(--yesil);
  font-weight: 500;
  cursor: pointer;
}

.temizle:hover {
  text-decoration: underline;
}

@container sutun (min-width: 520px) {
  .secimler {
    grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
    align-items: start;
    gap: 16px;
    margin-top: 22px;
  }
}

.filtre {
  margin: 16px 0 0;
  padding: 10px 12px;
  background: var(--secili);
  border-left: 2px solid var(--yesil);
}

.baglanti-dugme {
  display: inline;
  min-height: 0;
  margin: 0;
  padding: 4px 0;
  background: none;
  border: 0;
  color: var(--yesil);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.baglanti-dugme:hover {
  text-decoration-thickness: 2px;
}

/* ---------- Tarife ---------- */

.tarife {
  margin-top: 20px;
}

.tarife-bas {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--murekkep);
}

.tarife-bas h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Fiyat sütununun başlığı, sağdaki açılma oku kadar içeride biter. */
.tarife-sag {
  margin: 0;
  padding-right: 28px;
  color: var(--soluk);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: right;
}

.ornek-ibare {
  margin: 8px 0 0;
  color: var(--soluk);
  font-size: 0.9375rem;
}

.liste {
  margin: 0;
  padding: 0;
  list-style: none;
}

.satir {
  border-bottom: 1px solid var(--cizgi);
}

/* Üstte varış adı ve fiyat aynı hizada; altta ilçe/il ve gerekirse "başlangıç fiyatı"; sağda açılma oku. */
.satir-dugme {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 16px;
  grid-template-areas:
    "ad fiyat ok"
    "alt not ok";
  align-items: baseline;
  column-gap: 12px;
  row-gap: 1px;
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 12px 0;
  background: none;
  border: 0;
  border-radius: 0;
  text-align: left;
  cursor: pointer;
}

.satir-dugme:hover {
  background: var(--yuzey);
}

.satir-dugme:focus-visible {
  outline-offset: -2px;
}

.satir-ad {
  grid-area: ad;
  display: flex;
  align-items: baseline;
  min-width: 0;
}

.satir-ad-metin {
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.3;
}

/* Noktalı kılavuz yalnızca yeterince geniş tarifede ve çok hafif. */
.satir-cizgi {
  display: none;
  flex: 1 1 auto;
  min-width: 24px;
  margin-left: 14px;
  border-bottom: 1px dotted #d3cdc2;
}

.satir-fiyat {
  grid-area: fiyat;
  text-align: right;
  white-space: nowrap;
}

.tutar {
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.satir-fiyat .tutar {
  font-size: 1.1875rem;
  line-height: 1.3;
}

.satir-sor {
  color: var(--yesil);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
}

.satir-alt {
  grid-area: alt;
  min-width: 0;
  color: var(--soluk);
  font-size: 0.9375rem;
  line-height: 1.35;
}

.satir-not {
  grid-area: not;
  color: var(--soluk);
  font-size: 0.875rem;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

.satir-ok {
  grid-area: ok;
  align-self: center;
  position: relative;
  width: 16px;
  height: 16px;
}

.satir-ok::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--soluk);
  border-bottom: 1.5px solid var(--soluk);
  transform: rotate(-45deg);
}

.satir-dugme[aria-expanded="true"] .satir-ok::before {
  top: 2px;
  left: 4px;
  border-color: var(--yesil);
  transform: rotate(45deg);
}

/* Açık satır: çok hafif yeşil zemin ve ince sol çizgi; yazı hizası kaymaz. */
.satir.acik {
  margin: 0 -12px;
  padding: 0 12px;
  background: var(--acik);
  box-shadow: inset 2px 0 0 var(--yesil);
}

.satir.acik > .satir-dugme:hover {
  background: transparent;
}

.satir.acik > .satir-dugme .satir-ad-metin,
.satir.acik > .satir-dugme .tutar {
  color: var(--yesil);
}

/* Açık satırda başlık seçili aracın tam fiyatını gösterir; "başlangıç fiyatı" gizlenir. */
.satir.acik > .satir-dugme .satir-not {
  display: none;
}

.satir-bos {
  padding: 16px 0;
  border-bottom: 1px solid var(--cizgi);
  color: var(--soluk);
}

@container sutun (min-width: 520px) {
  .satir-cizgi {
    display: block;
  }
}

/* ---------- Ayrıntı: araç ve fiyat bir arada ---------- */

.detay {
  container: detay / inline-size;
  padding: 0 0 18px;
}

.detay-yon,
.ozet-yon {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.yon-ok {
  color: var(--yesil);
}

.detay-kaynak,
.detay-durum {
  margin: 0 0 10px;
  color: var(--soluk);
  font-size: 0.9375rem;
}

.detay-durum {
  color: var(--murekkep);
  font-size: 1rem;
}

/* Dar: araç seçenekleri, küçük fotoğraf + ad/kapasite, tam ücret, buton. Fotoğraf fiyatı aşağı itmez. */
.detay-govde {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  grid-template-areas:
    "secim secim"
    "foto ozet"
    "ucret ucret"
    "dugme dugme";
  align-items: center;
  gap: 12px 14px;
}

.detay-govde.tek-arac {
  grid-template-areas:
    "foto ozet"
    "ucret ucret"
    "dugme dugme";
}

.detay-govde.fotosuz {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "secim" "ozet" "ucret" "dugme";
}

.detay-govde.fotosuz.tek-arac {
  grid-template-areas: "ozet" "ucret" "dugme";
}

.arac-secimi {
  grid-area: secim;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.arac-secimi legend {
  padding: 0;
  margin-bottom: 4px;
  color: var(--soluk);
  font-size: 0.9375rem;
  font-weight: 500;
}

.arac-secenek {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 0;
  border-top: 1px solid var(--cizgi);
  font-weight: 500;
  cursor: pointer;
}

.arac-secenek:last-child {
  border-bottom: 1px solid var(--cizgi);
}

.arac-secenek input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--yesil);
}

.arac-secenek:has(input:checked) {
  color: var(--yesil);
}

.arac-secenek-ad {
  min-width: 0;
}

.arac-secenek-kap {
  color: var(--soluk);
  font-weight: 400;
}

.arac-gorsel {
  grid-area: foto;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--cizgi);
  border: 1px solid var(--cizgi);
}

.arac-gorsel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arac-ozet {
  grid-area: ozet;
  min-width: 0;
}

.arac-adi {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
}

.arac-kapasite {
  margin: 2px 0 0;
  color: var(--soluk);
  font-size: 0.9375rem;
  line-height: 1.35;
}

.arac-temsili {
  margin: 2px 0 0;
  color: var(--soluk);
  font-size: 0.875rem;
}

.detay-ucret {
  grid-area: ucret;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--cizgi);
}

.detay-ucret-etiket {
  font-weight: 500;
}

.detay-ucret .tutar {
  font-size: 1.5rem;
  line-height: 1.2;
}

.detay-dugme {
  grid-area: dugme;
  width: 100%;
}

/* Geniş: küçük araç fotoğrafı solda, ad, kapasite, ücret ve buton sağda. */
@container detay (min-width: 520px) {
  .detay-govde {
    grid-template-columns: 220px minmax(0, 1fr);
    grid-template-areas:
      "secim secim"
      "foto ozet"
      "foto ucret"
      "foto dugme";
    align-items: start;
    gap: 12px 24px;
  }

  .detay-govde.tek-arac {
    grid-template-areas:
      "foto ozet"
      "foto ucret"
      "foto dugme";
  }

  .detay-govde.fotosuz {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "secim" "ozet" "ucret" "dugme";
  }

  .detay-govde.fotosuz.tek-arac {
    grid-template-areas: "ozet" "ucret" "dugme";
  }

  .detay-dugme {
    justify-self: start;
    width: auto;
  }
}

/* Rezervasyon özeti */
.ozet-liste {
  margin: 8px 0 12px;
}

.ozet-liste > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid var(--cizgi);
}

.ozet-liste dt {
  flex-shrink: 0;
  color: var(--soluk);
  white-space: nowrap;
}

.ozet-liste dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
}

.ozet-toplam dt {
  color: var(--murekkep);
  font-weight: 600;
}

.ozet-toplam dd.tutar {
  font-size: 1.25rem;
  font-weight: 600;
}

/* ---------- Düğmeler ---------- */

.dugme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 10px 20px;
  border: 1px solid var(--yesil);
  border-radius: 3px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.birincil {
  background: var(--yesil);
  color: var(--zemin);
}

.birincil:hover {
  background: var(--yesil-koyu);
  border-color: var(--yesil-koyu);
  color: var(--zemin);
}

.birincil:focus-visible {
  outline-offset: 3px;
}

.ikincil {
  background: transparent;
  color: var(--yesil);
}

.ikincil:hover {
  background: var(--secili);
  color: var(--yesil-koyu);
}

.genis {
  width: 100%;
}

/* ---------- Form ---------- */

.talep {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--murekkep);
}

.talep-baslik {
  margin: 0 0 12px;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.25;
  scroll-margin-top: 16px;
}

.alan {
  margin-bottom: 14px;
}

.alan-ek {
  color: var(--soluk);
  font-weight: 400;
}

.alan-ipucu {
  margin: 4px 0 0;
  color: var(--soluk);
}

.alan-hata {
  margin: 4px 0 0;
  color: var(--hata);
  font-weight: 500;
}

.alan-cift {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 12px;
}

.alan-yolcu .kutu,
[data-alan-kutusu="yolcu"] .kutu {
  max-width: 160px;
}

.kapasite {
  margin: -4px 0 16px;
  padding: 10px 12px;
  background: var(--yuzey);
  border-left: 2px solid var(--hata);
}

.kapasite p {
  margin: 0;
}

.kapasite[data-durum="secildi"] {
  border-left-color: var(--yesil);
}

.kapasite-liste {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.kapasite-secenek {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 8px 12px;
  background: #fffdf9;
  border: 1px solid var(--yesil);
  border-radius: 3px;
  color: var(--yesil);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.kapasite-secenek + .kapasite-secenek,
.kapasite-liste li + li {
  margin-top: 8px;
}

.kapasite-secenek:hover {
  background: var(--secili);
}

.ozet {
  margin: 20px 0 16px;
  padding: 12px 14px 2px;
  background: var(--yuzey);
  border-top: 1px solid var(--murekkep);
}

.ozet-liste {
  margin: 8px 0 12px;
}

.ozet-liste > div:last-child {
  border-bottom: 0;
}

.dugme-not {
  margin: 8px 0 12px;
  color: var(--soluk);
}

.durum {
  margin: 10px 0 0;
  font-weight: 500;
}

.durum:empty {
  display: none;
}

.mesaj-onizleme {
  margin-top: 12px;
  padding: 12px;
  background: #fffdf9;
  border: 1px solid var(--cizgi);
}

.mesaj-onizleme p {
  margin: 0 0 6px;
  color: var(--soluk);
}

.mesaj-onizleme pre {
  margin: 0;
  font-family: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* ---------- Yoldan kareler ---------- */

.kareler-baslik {
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--murekkep);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Giriş karesi tam genişlikte, diğerleri altında ikişerli. Fotoğraflar büyütülmez. */
.kare-listesi {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kare:first-child {
  grid-column: 1 / -1;
}

.kare figure {
  margin: 0;
}

/* Doğal renkler, 4:3, tek ince kenarlık */
.kare-foto {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cizgi);
  border: 1px solid var(--cizgi);
}

.kare-foto img,
.arac-foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kare-yer {
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.35;
}

.kare:first-child .kare-yer {
  font-size: 0.9375rem;
}

.temsili {
  color: var(--soluk);
}

/* Orta genişlik (tablet): giriş karesi solda iki satır boyunca, diğerleri sağında küçük. */
@container ana (min-width: 520px) and (max-width: 859.98px) {
  .kare-listesi {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .kare:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* Geniş görünüm: sağ sütunda yaklaşık 280 px; giriş karesinin üst kenarı başlığın büyük harf hizasında. */
@container ana (min-width: 860px) {
  .giris.galerili {
    grid-template-columns: minmax(0, 1fr) 280px;
    column-gap: 56px;
    align-items: start;
  }

  .giris.galerili .kareler {
    margin-top: 10px;
  }

  .giris.galerili .kareler-baslik {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .giris.galerili .kare-listesi {
    gap: 12px 8px;
  }
}

/* ---------- Araçlar ---------- */

.araclar {
  margin-top: 72px;
}

.bolum-bas {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--murekkep);
}

.bolum-bas h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
}

.arac-izgara {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 48px 32px;
}

.arac {
  min-width: 0;
}

.arac-foto {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--cizgi);
}

/* İç mekân kareleri ana fotoğrafın altında yan yana; tek kare yarım genişlikte kalır. */
.arac-kucukler {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.arac-kucukler .arac-foto {
  flex: 1 1 0;
  max-width: calc(50% - 4px);
  aspect-ratio: 4 / 3;
}

/* Tek araç ve geniş alan: fotoğraflar solda, bilgiler sağda. */
.arac-izgara {
  container: araclar / inline-size;
}

@container araclar (min-width: 600px) {
  .arac:only-child {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 0 40px;
    align-items: start;
  }

  .arac:only-child .arac-bilgi h3 {
    margin-top: 0;
  }
}

.arac-foto-not {
  margin: 6px 0 0;
  color: var(--soluk);
}

.arac h3 {
  margin: 14px 0 0;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.25;
}

.arac-sinif {
  margin: 2px 0 0;
  color: var(--soluk);
}

.arac-ozellik {
  margin: 12px 0 16px;
  border-top: 1px solid var(--cizgi);
}

.arac-ozellik > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid var(--cizgi);
}

.arac-ozellik dt {
  color: var(--soluk);
}

.arac-ozellik dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.arac-eylem {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.arac-eylem a:not(.dugme) {
  padding: 12px 0;
  font-weight: 500;
}

/* ---------- Alt şerit ---------- */

.alt {
  border-top: 1px solid var(--cizgi);
}

.alt .sarmal {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 32px;
  padding-top: 20px;
  padding-bottom: 32px;
}

.alt-marka {
  margin: 10px 0 0;
  font-weight: 600;
}

.alt-baglantilar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.alt-baglantilar a,
.alt-baglantilar .baglanti-dugme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-weight: 500;
}

.alt-baglantilar svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.ana-ekran-yardim {
  flex-basis: 100%;
  margin: 0;
  max-width: 34em;
  color: var(--murekkep);
}

.alt-bilgi {
  flex-basis: 100%;
  margin: 4px 0 0;
  color: var(--soluk);
}

/* ---------- Işık kutusu ---------- */

.isik-kutusu {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--zemin);
}

.isik-kutusu,
.isik-kutusu::backdrop {
  background: #1d2220;
}

.ik-ic {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1160px;
  height: 100%;
  margin: 0 auto;
  padding: 12px var(--kenar) 16px;
}

.ik-ust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
}

.ik-baslik {
  margin: 0;
  font-weight: 500;
}

.ik-sayac {
  color: #cfcac0;
  font-variant-numeric: tabular-nums;
}

.ik-figur {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 8px 0;
}

.ik-gorsel {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 200px);
  object-fit: contain;
  background: #2c332e;
}

.ik-altyazi {
  margin: 10px 0 0;
  color: #e9e5dc;
  text-align: center;
}

.ik-alt {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ik-dugme {
  min-width: 112px;
  min-height: 48px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid #cfcac0;
  border-radius: 3px;
  color: var(--zemin);
  font-weight: 500;
  cursor: pointer;
}

.ik-dugme:hover {
  background: rgb(247 244 238 / 0.1);
}

.isik-kutusu :focus-visible {
  outline-color: var(--zemin);
}

/* ---------- Sayfa kenar boşlukları ve form ---------- */

@container detay (min-width: 440px) {
  .alan-cift {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (min-width: 720px) {
  :root {
    --kenar: 32px;
  }

  body {
    font-size: 1.0625rem;
  }

  .ana {
    padding-top: 32px;
    padding-bottom: 96px;
  }

  .talep {
    max-width: 560px;
  }

  .araclar {
    margin-top: 96px;
  }
}

@media (min-width: 1100px) {
  :root {
    --kenar: 48px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media print {
  .ust-baglantilar,
  .alt-baglantilar,
  .dugme,
  .isik-kutusu {
    display: none !important;
  }
}
