/* =========================================================
   ARAMA SAYFASI — Yerel Stil (v1.1)
   ========================================================= */

.hero-slogan {
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Arka plan resmi */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* kırpmadan doldur */
  z-index: 0;
}

/* Yazılar */
.slogan-box {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.55);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  max-width: 650px;
}

.slogan {
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin: 0;
}
.slogan-desktop { font-size: 2rem; display: block; }
.slogan-mobile  { display: none; }

@media (max-width: 768px) {
  .hero-slogan { min-height: 20vh; }
  .slogan-desktop { display: none; }
  .slogan-mobile { display: block; font-size: 1.2rem; }
}




/* Chip/pill */
.feature-chip{
  color: #0A7A2E;                   /* koyu metin */
  background: #E6F4F1;              /* açık yeşil zemin */
  border: 1px solid #B9E2DB;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 600;
  line-height: 1.25;
  gap: .45rem;
}
.feature-chip i{ color: currentColor; }

/* Dark mode için ters palet */
@media (prefers-color-scheme: dark){
  .feature-chip{
    color: #0D2B23;                 /* koyu metin (açık chip üstünde) */
    background: #9EF4D8;            /* açık chip rengi */
    border-color: #74e0c7;
  }
}


/* =========================================================
   Info Columns (Güvenli Ödeme / Hızlı Rezervasyon / 7/24 Destek)
   ========================================================= */
.info-col {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--bd-soft);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform .2s ease, box-shadow .25s ease;
  text-align: left;
}

@media (max-width: 576px){
  .info-col{ text-align: center; justify-content: center; flex-direction: column; }
}

/* Hover efekti */
@media (hover: hover){
  .info-col:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

/* İkon kapsayıcı */
.info-col .icon-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--brand) 15%, var(--surface));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--brand) 40%, transparent);
}

/* Başlık */
.info-col h6 {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin: 0 0 .35rem 0;
}

/* Açıklama */
.info-col p {
  font-size: .9rem;
  color: var(--muted);
  margin: 0;
}


/* =========================================================
   Araç Kategorileri – Profesyonel Kartlar
   ========================================================= */

/* Genel konteyner */
.arac-kart { margin-top: 3rem; }

/* Kart */
.arac-kategori {
  --tone: #9aa4c4; /* varsayılan gri ton */
  --tone-bg: color-mix(in oklab, var(--tone) 18%, transparent);
  --tone-bg-hover: color-mix(in oklab, var(--tone) 28%, transparent);

  position: relative;
  border: 1px solid var(--bd-soft);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem .9rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--ink);
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
  cursor: default;
}

/* Hover efekti */
@media (hover:hover){
  .arac-kategori:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in oklab, var(--tone) 36%, var(--bd-soft));
    background: color-mix(in oklab, var(--surface) 92%, var(--tone) 8%);
  }
}
.arac-kategori:active { transform: translateY(-1px) scale(.995); }

/* Başlık */
.arac-kategori__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-top: .6rem;
}

/* Açıklama */
.arac-kategori__desc {
  font-size: .86rem;
  color: var(--muted);
  margin-top: .25rem;
}

/* İkon */
.arac-kategori img {
  display: block;
  width: 44px;
  height: 44px;
  padding: .5rem;
  border-radius: 50%;
  background: var(--tone-bg);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--tone) 32%, transparent);
  object-fit: contain;
  transition: transform .18s ease, background .18s ease, filter .18s ease;
}
@media (hover:hover){
  .arac-kategori:hover img {
    background: var(--tone-bg-hover);
    transform: scale(1.06);
    filter: brightness(1.05) contrast(1.05);
  }
}

/* Kategoriye göre renk varyantları */
.arac-kategori.vip        { --tone: #c59d00; }   /* altın */
.arac-kategori.luxury     { --tone: #8e44ad; }   /* mor */
.arac-kategori.business   { --tone: #2563eb; }   /* mavi */
.arac-kategori.economy    { --tone: #16a34a; }   /* yeşil */
.arac-kategori.family     { --tone: #e67e22; }   /* turuncu */
.arac-kategori.accessible { --tone: #dc2626; }   /* kırmızı */

/* Responsive */
@media (max-width: 576px){
  .arac-kategori { padding: .9rem .6rem; }
  .arac-kategori__title { font-size: .95rem; }
  .arac-kategori__desc { font-size: .8rem; }
}


/* =========================================================
   Araç Kartları – Kurumsal Stil
   ========================================================= */

.vehicle-card {
  border: 1px solid var(--bd-soft, rgba(0,0,0,.08));
  border-radius: 1rem;
  background: var(--surface,#fff);
  box-shadow: var(--shadow-sm, 0 6px 18px rgba(20,24,80,.06));
  overflow: hidden;
  transition: transform .22s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md, 0 12px 32px rgba(20,24,80,.12));
  border-color: color-mix(in oklab, var(--brand) 25%, var(--bd-soft));
}

/* Görsel alanı */
.vehicle-card figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--surface-2, #f8f9fb);
}

.vehicle-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}

.vehicle-card:hover .vehicle-media-img {
  transform: scale(1.05);
}

/* Üst rozet (Yeni vb.) */
.vehicle-badge {
  background: #fff;
  color: var(--brand,#4C6EF5);
  font-size: .8rem;
  font-weight: 600;
  padding: .35rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

/* Kart gövdesi */
.vehicle-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.5rem;
}

/* Başlık */
.vehicle-card .card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .75rem;
  line-height: 1.3;
}

/* Özellik listesi */
.vehicle-specs {
  margin: 0 0 1rem 0;
  padding: 0;
  list-style: none;
  font-size: .92rem;
}

.vehicle-specs li {
  margin-bottom: .4rem;
  display: flex;
  align-items: flex-start;
  gap: .3rem;
  color: var(--muted);
}

.vehicle-specs strong {
  color: var(--ink);
}

.spec-emoji {
  width: 1.2em;
  display: inline-block;
  text-align: center;
  flex-shrink: 0;
}

/* CTA butonu */
.btn-primary-soft {
  background: color-mix(in oklab, var(--brand,#4C6EF5) 15%, #fff);
  color: var(--brand,#4C6EF5);
  border: 1px solid color-mix(in oklab, var(--brand,#4C6EF5) 40%, #fff);
  font-weight: 600;
  transition: background .2s ease, color .2s ease, transform .1s ease;
}

.btn-primary-soft:hover {
  background: var(--brand,#4C6EF5);
  color: #fff;
  border-color: var(--brand,#4C6EF5);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 576px) {
  .vehicle-card .card-body { padding: 1rem; }
  .vehicle-card .card-title { font-size: 1rem; }
  .vehicle-specs { font-size: .85rem; }
}



/* ---- How-it cards: tipografi vurgusu ---- */
.howit-card {
  text-align: center;
  padding: 1.6rem 1.1rem;
  border: 1px solid var(--bd-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}

.howit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--brand) 30%, var(--bd-soft));
}

/* ikon kapsülü + numara rozeti */
.howit-icon {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: color-mix(in oklab, var(--brand) 14%, #fff);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--brand) 40%, transparent);
  color: var(--brand);
}
.howit-icon i {
  font-size: 1.6rem;
  line-height: 1;
  display: inline-block;
}
/* Numara rozeti */
.howit-step{
  position: absolute;
  right: -6px; top: -6px;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  display: grid; place-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.howit-title{
  font-size: 1.08rem;
  font-weight: 800;            /* daha belirgin başlık */
  letter-spacing: .1px;
  color: var(--ink);
  margin-bottom: .4rem;
}
.howit-text{
  font-size: .96rem;
  color: var(--muted);
  margin: 0 auto;
  max-width: 32ch;             /* okunabilir satır uzunluğu */
}

/* Mobil uyum */
@media (max-width: 576px){
  .howit-card{ padding: 1.25rem .9rem; }
  .howit-icon{ width: 56px; height: 56px; }
  .howit-icon i{ font-size: 1.4rem; }
  .howit-title{ font-size: 1.02rem; }
  .howit-text{ font-size: .92rem; }
}

/* ---- Bootstrap Icons fallback: font yoksa emoji göster ---- */
@supports not (font-variation-settings: normal) { /* harmless gate */
  .howit-icon i::before{
    content: attr(data-fallback);
    font-family: inherit !important;
  }
}
/* Alternatif: ikon fontu yüklenmemişse (güvenli tespit) */
.bi:not([class*="bi-"])::before { content: attr(data-fallback); }

/* Kontrast küçük dokunuş (dark mode) */
@media (prefers-color-scheme: dark){
  .howit-icon{
    background: color-mix(in oklab, var(--brand) 22%, var(--surface));
  }
}


/* === Heading size deprecation fix (Chrome) === */
/* Tek, responsive h1 boyutu (istersen rakamları değiştir) */
:root{
  --fs-h1: clamp(1.875rem, 1.1rem + 2vw, 2.5rem);
}

/* Global h1 (tüm sayfa) */
h1{
  font-size: var(--fs-h1) !important;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: .75rem;
  font-weight: 700;
}

/* Sectioning content içinde h1 (Chrome'un yeni davranışını bastır) */
:where(section, article, aside, nav) h1,
:where(section, article, aside, nav) .h1{
  font-size: var(--fs-h1) !important;
  line-height: 1.2;
}

/* Mobilde biraz küçültmek istersen: sadece değişkeni düşür */
@media (max-width: 576px){
  :root{ --fs-h1: 1.75rem; } /* ~28px */
}






/* Feature card özel stiller */
.feature-card {
  border-radius: 20px;
  background: #abe3be;
  transition: transform .2s ease, box-shadow .25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}




/* Check icon (custom) */
.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #008C7A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.check-icon::before {
  content: "✓";
  font-size: .75rem;
  color: #fff;
  font-weight: bold;
}

/* Footer */
.feature-card__footer {
  font-size: 0.85rem;
  background: #F8FAFC;
  border-top: 1px solid #E6EBF1;
}



/* Avantaj kutusu düzeni: masaüstünde yan yana, mobilde dikey */
.info-col{
  display:flex;
  align-items:flex-start;   /* ikon ile başlığı üstten hizala */
  gap:12px;
}

/* İkon rozeti: sabit ölçü + tam merkez */
.icon-badge{
  flex:0 0 auto;            /* daralmayı engelle */
  display:inline-grid;
  place-items:center;       /* hem yatay hem dikey merkez */
  width:48px;
  height:48px;
  border-radius:50%;
  background: var(--bs-body-tertiary); /* nötr arka plan */
  font-size:22px;           /* emoji boyutu */
  line-height:1;            /* yükseklik sapmasını engelle */
  /* Emoji render farklarını azaltmak için: */
  font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",system-ui,sans-serif;
}

/* Başlık ve paragraf boşlukları kontrol */
.info-col h6{ margin:0 0 4px 0; }
.info-col p { margin:0; }

/* Küçük ekran: ikon üstte, metin altta ve hepsi ortalı */
@media (max-width: 576px){
  .info-col{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }
}

/* === Flatpickr Soft Green Theme + Custom Time List === */
.flatpickr-calendar {
  background: #f9fdf9; /* çok açık yeşilimsi arka plan */
  border: 1px solid #cce3d2;
  color: #2f4f4f;
  box-shadow: 0 6px 16px rgba(0,0,0,.1);
  border-radius: 12px;
  font-family: inherit;
}

/* Ay/Yıl başlığı */
.flatpickr-months .flatpickr-month {
  background: #f9fdf9;
  color: #3b6e58;
  font-weight: 600;
}

/* Gün isimleri */
.flatpickr-weekdays {
  background: #f0faf3;
  border-bottom: 1px solid #cce3d2;
}
span.flatpickr-weekday {
  color: #3b6e58;
  font-weight: 600;
}

/* Günler */
.flatpickr-day {
  color: #4d665c;
  border-radius: 8px;
  transition: all .2s ease;
}
.flatpickr-day:hover {
  background: #cce3d2;
  color: #1f3a31;
}
.flatpickr-day.today {
  border: 1px solid #7ac598;
  color: #2f4f4f;
  font-weight: 700;
}
.flatpickr-day.selected {
  background: #7ac598 !important;
  color: #fff !important;
  box-shadow: 0 0 6px rgba(122,197,152,.6);
}
.flatpickr-day.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.prevMonthDay.inRange {
  background: #e3f2eb;
  color: #4d665c;
}
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #4caf7a !important;
  color: #fff !important;
}

/* Saat inputları (masaüstü için) */
.flatpickr-time input {
  background: #f9fdf9;
  color: #2f4f4f;
  border: 1px solid #cce3d2;
  border-radius: 6px;
}
.flatpickr-time input:focus {
  border-color: #7ac598;
  box-shadow: 0 0 5px rgba(122,197,152,.5);
}

/* === Mobil Saat Listesi (Minimalist) === */
.mobile-time-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(4px);
}

.mobile-time-modal {
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  width: calc(100% - 2rem);
  max-width: 380px;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  margin: auto;
  box-sizing: border-box;
  animation: fadeInScale .25s ease;
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.mobile-time-modal h5 {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #2b2f31;
  text-align: center;
  font-size: 1rem;
  letter-spacing: .2px;
}

.time-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.75rem;
}

/* Saat itemleri → buton gibi */
.time-list li {
  padding: 0.55rem 0.75rem;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
  background: #f8fafc;
  color: #1f2937;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid #e5e7eb;
  transition: all .2s ease;
  user-select: none;
}

.time-list li:hover {
  background: #e0f2f1;
  border-color: #34d399;
  color: #065f46;
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

.time-list li:active {
  transform: scale(0.96);
}

.time-list li.disabled-time {
  color: #9ca3af;
  background: #f3f4f6;
  border-color: #e5e7eb;
  pointer-events: none;
  opacity: 0.6;
}


@media (max-width: 576px) {
  #populer-rotalar .d-flex {
    flex-direction: column;        /* yan yana değil, dikey */
    align-items: flex-start;       /* sola hizala */
    gap: 0.75rem;                  /* araya boşluk koy */
  }
  #populer-rotalar .btn-group {
    width: 100%;                   /* tam genişlik */
    display: flex;
    flex-wrap: wrap;               /* butonlar taşarsa alt satıra insin */
  }
  #populer-rotalar .btn-group .btn {
    flex: 1;                       /* eşit genişlikte buton */
    min-width: 0;
  }
}

/* =========================================================
   Compare Section - Icon Variants
   ========================================================= */

/* Ortak ikon kapsayıcı */
.compare-section .icon-wrap {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: inset 0 0 0 2px var(--bd-soft);
}

/* Taksi (danger) */
.compare-section .icon-wrap.danger {
  background: #FDEAEA;
  box-shadow: inset 0 0 0 2px #F5C2C7;
  color: #dc3545; /* bootstrap danger */
}

/* Transfer (success) */
.compare-section .icon-wrap.success {
  background: #E6F4F1;
  box-shadow: inset 0 0 0 2px #B9E2DB;
  color: #198754; /* bootstrap success */
}

/* Mobil için küçültme */
@media (max-width: 576px) {
  .compare-section .icon-wrap {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }
}






/* =========================================================
   HERO SEARCH - TAM MOBİL UYUMLU
   ========================================================= */

.hero-search {
  width: 100%;
}

.hero-search .search-form {
  background: #fff;
  border: 2px solid #008C7A;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 140, 122, .15);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* ---- Desktop Grid ---- */
.hero-search .search-grid {
  display: grid;
  grid-template-columns: 1.5fr 50px 1.5fr 120px 180px 180px auto;
  gap: 12px;
  align-items: end;
  width: 100%;
}

/* ---- Temel Input Stilleri ---- */
.hero-search .form-control {
  height: 48px;
  border: 1px solid #cfd4e6;
  border-radius: 12px;
  width: 100%;
  padding: 0 16px;
  font-size: 14px;
}

.hero-search .form-icon-wrap {
  position: relative;
  width: 100%;
}

.hero-search .form-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 16px;
}

.hero-search .form-control.ps-5 {
  padding-left: 45px !important;
}

/* Switch Butonu */
.hero-search .btn-switch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #008C7A;
  background: #fff;
  color: #008C7A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.hero-search .btn-switch:hover {
  background: #008C7A;
  color: #fff;
}

/* Kişi Sayısı */
.hero-search .people-field {
  min-width: 120px;
}

.hero-search .number-input {
  display: flex;
  width: 100%;
  height: 48px;
}

.hero-search .btn-people {
  width: 36px;
  height: 48px;
  border: 1px solid #cfd4e6;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: #008C7A;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.hero-search .btn-people:hover {
  background: #008C7A;
  color: white;
}

.hero-search .btn-people:first-child {
  border-radius: 12px 0 0 12px;
  border-right: none;
}

.hero-search .btn-people:last-child {
  border-radius: 0 12px 12px 0;
  border-left: none;
}

.hero-search .number-input .form-control {
  border: 1px solid #cfd4e6;
  border-left: none;
  border-right: none;
  border-radius: 0;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  padding: 0;
  flex: 1;
  min-width: 40px;
}

/* Tarih Alanları */
.hero-search .date-field {
  min-width: 180px;
}

.hero-search .date-field .form-control {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Çift Yön Switch */
.hero-search .switch-field {
  min-width: 110px;
}

.hero-search .switch-box {
  height: 48px;
  border: 1px solid #cfd4e6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  width: 100%;
}

.hero-search .form-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.hero-search .form-check-input {
  margin: 0;
  transform: scale(1.2);
}

.hero-search .form-check-input:checked {
  background-color: #008C7A;
  border-color: #008C7A;
}

/* Arama Butonu */
.hero-search .btn-search {
  background: #008C7A;
  color: #fff;
  border: none;
  border-radius: 12px;
  height: 48px;
  padding: 0 20px;
  font-weight: 600;
  white-space: nowrap;
  min-width: 100px;
  transition: all 0.3s ease;
}

.hero-search .btn-search:hover {
  background: #007566;
}

/* Label Stilleri */
.hero-search .form-label {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  white-space: nowrap;
}

/* Input number oklarını gizle */
.hero-search input[type="number"]::-webkit-outer-spin-button,
.hero-search input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hero-search input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Taşma Önleyici */
.hero-search .search-grid > * {
  min-width: 0;
}

/* ---- Tablet (992px - 1199px) ---- */
@media (max-width: 1199px) and (min-width: 992px) {
  .hero-search .search-grid {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: 
      "start switch end"
      "people people people"
      "depart return return"
      "action action action";
    gap: 16px;
  }

  .search-field-wrap:nth-child(1) { grid-area: start; }
  .switch-wrap { grid-area: switch; justify-self: center; }
  .search-field-wrap:nth-child(3) { grid-area: end; }
  .people-field { grid-area: people; justify-self: center; max-width: 200px; }
  .date-field:nth-child(5) { grid-area: depart; }
  .date-field:nth-child(6) { grid-area: return; }
  .action-row { grid-area: action; justify-self: stretch; }
}

/* ---- Mobil (768px - 991px) ---- */
@media (max-width: 991px) and (min-width: 768px) {
  .hero-search .search-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
      "start start"
      "end end"
      "switch switch"
      "people people"
      "depart return"
      "action action";
    gap: 16px;
  }

  .search-field-wrap:nth-child(1) { grid-area: start; }
  .search-field-wrap:nth-child(3) { grid-area: end; }
  .switch-wrap { 
    grid-area: switch; 
    justify-self: center;
    margin: 10px 0;
  }
  .hero-search .btn-switch {
    transform: rotate(90deg);
  }
  .people-field { 
    grid-area: people; 
    justify-self: center;
    max-width: 200px;
  }
  .date-field:nth-child(5) { grid-area: depart; }
  .date-field:nth-child(6) { grid-area: return; }
  .action-row { 
    grid-area: action; 
    display: grid !important;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
    align-items: end;
  }
}

/* ---- Küçük Tablet & Büyük Mobil (576px - 767px) ---- */
@media (max-width: 767px) and (min-width: 576px) {
  .hero-search .search-form {
    padding: 16px;
  }

  .hero-search .search-grid {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "start"
      "switch"
      "end"
      "people"
      "depart"
      "return"
      "action";
    gap: 12px;
  }

  .search-field-wrap:nth-child(1) { grid-area: start; }
  .switch-wrap { 
    grid-area: switch; 
    justify-self: center;
    margin: 5px 0;
  }
  .search-field-wrap:nth-child(3) { grid-area: end; }
  .people-field { 
    grid-area: people; 
    justify-self: center;
    max-width: 180px;
  }
  .date-field:nth-child(5) { grid-area: depart; }
  .date-field:nth-child(6) { grid-area: return; }
  .action-row { 
    grid-area: action; 
    display: grid !important;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
    align-items: end;
  }

  .hero-search .btn-switch {
    transform: rotate(90deg);
  }
}

/* ---- Mobil (576px altı) ---- */
@media (max-width: 575px) {
  .hero-search .search-form {
    padding: 12px;
    border-radius: 12px;
  }

  .hero-search .search-grid {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "start"
      "switch"
      "end"
      "people"
      "depart"
      "return"
      "action";
    gap: 12px;
  }

  .search-field-wrap:nth-child(1) { grid-area: start; }
  .switch-wrap { 
    grid-area: switch; 
    justify-self: center;
    margin: 5px 0;
  }
  .search-field-wrap:nth-child(3) { grid-area: end; }
  .people-field { 
    grid-area: people; 
    justify-self: center;
    max-width: 160px;
  }
  .date-field:nth-child(5) { grid-area: depart; }
  .date-field:nth-child(6) { grid-area: return; }
  .action-row { 
    grid-area: action; 
    display: grid !important;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
    align-items: end;
  }

  .hero-search .btn-switch {
    transform: rotate(90deg);
    width: 44px;
    height: 44px;
  }

  .hero-search .form-control {
    height: 44px;
    font-size: 13px;
  }

  .hero-search .btn-people,
  .hero-search .btn-search {
    height: 44px;
  }
  
  .hero-search .btn-people {
    width: 32px;
  }
}

/* ---- Çok Küçük Mobil (400px altı) ---- */
@media (max-width: 400px) {
  .hero-search .search-form {
    padding: 10px;
  }

  .hero-search .search-grid {
    gap: 10px;
  }

  .hero-search .action-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-search .switch-field {
    justify-self: center;
  }

  .hero-search .btn-search {
    order: 1;
  }

  .hero-search .form-control {
    height: 42px;
    font-size: 12px;
  }

  .hero-search .btn-people,
  .hero-search .btn-search {
    height: 42px;
  }

  .hero-search .form-label {
    font-size: 11px;
  }
}

/* Geniş ekran için optimize */
@media (min-width: 1400px) {
  .hero-search .search-grid {
    grid-template-columns: 1.8fr 50px 1.8fr 130px 200px 200px auto;
  }
  
  .hero-search .date-field {
    min-width: 200px;
  }
}


/* Mobil Kişi & Switch Düzenlemesi */
@media (max-width: 767px) {
  .hero-search .search-grid {
    gap: 8px;
  }
  
  .hero-search .switch-wrap { 
    margin: 0;
    height: 40px;
  }
  
  .hero-search #switch-addresses.btn-switch {
    margin: 0;
  }
  
  .hero-search .people-field {
    justify-self: stretch;
    max-width: none;
    width: 100%;
  }
  
  .hero-search .number-input {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 575px) {
  .hero-search .search-grid {
    gap: 6px;
  }
  
  .hero-search .switch-wrap {
    margin: 2px 0;
    height: 35px;
  }
  
  .hero-search .people-field {
    max-width: none;
  }
}

/* Mobilde bitiş adresi boşluklarını tamamen sıfırla */
@media (max-width: 767px) {
  /* Grid area'daki end alanı için */
  .search-field-wrap[class*="end"],
  .search-field-wrap:nth-child(3) {
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Bitiş adresinin label'ı */
  .search-field-wrap.end .form-label,
  .search-field-wrap:nth-child(3) .form-label {
    margin-bottom: 2px !important;
    padding-bottom: 0 !important;
  }
  
  /* Bitiş adresinin input wrapper'ı */
  .search-field-wrap.end .form-icon-wrap,
  .search-field-wrap:nth-child(3) .form-icon-wrap {
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Switch butonundan hemen sonra gelen bitiş adresi için */
@media (max-width: 767px) {
  .switch-wrap + .search-field-wrap {
    margin-top: -8px !important;
  }
}

/* Daha güçlü seçicilerle yazı stilleri */
.hero-search .search-form .form-label {
  font-weight: 700 !important;
  color: #1e293b !important;
}

.hero-search .search-form .form-control {
  font-weight: 600 !important;
  color: #0f172a !important;
}

.hero-search .search-form .btn-search {
  font-weight: 700 !important;
}

/* Tüm text elementleri için */
.hero-search .search-form * {
  font-synthesis: weight; /* Font ağırlığını koru */
}

/* === Mobil Kenar Boşluklarını Azalt === */
@media (max-width: 767px) {
  /* container-fluid varsayılan padding'i sıfırla */
  .hero-search .search-shell.container-fluid {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  /* formun iç padding'ini azalt */
  .hero-search .search-form {
    padding: 10px 12px !important;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 140, 122, 0.12);
  }

  /* içteki grid'e minimum yatay boşluk */
  .hero-search .search-grid {
    gap: 8px !important;
  }

  /* form elemanları mobilde daha kompakt */
  .hero-search .form-control,
  .hero-search .btn-search,
  .hero-search .btn-people {
    height: 44px !important;
  }
}


/* === GENEL: Mobilde Kenar Boşluklarını Sıfırla === */
@media (max-width: 767px) {
  /* Ortak bölümler */
  .service-areas,
  .compare-section,
  .py-5.bg-body.border-top {
    margin-left: -12px !important;
    margin-right: -12px !important;
    border-radius: 0 !important; /* mobilde tam genişlik görünümü */
  }

  /* Container iç padding sıfırla */
  .service-areas .container,
  .compare-section .container,
  .py-5.bg-body.border-top .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Row margin düzelt */
  .service-areas .row,
  .compare-section .row,
  .py-5.bg-body.border-top .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

