/* ============================================================================
   X RENT A CAR — modern tasarim katmani
   Bootstrap 3 + theme.css uzerine biner. Dis bagimlilik yoktur:
   yazi tipleri sistemden gelir, ikonlar mevcut glyphicon setidir.
   ========================================================================= */

:root {
  --lacivert: #1d4557;
  --lacivert-koyu: #12303d;
  --petrol: #2a5f77;
  --turuncu: #ff7200;
  --altin: #e0a53c;
  --zemin: #faf9f6;
  --kart: #ffffff;
  --metin: #1f2937;
  --soluk: #6b7280;
  --cizgi: #e6e4de;
  --r: 10px;
  --golge: 0 1px 3px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);
  --baslikYazi: Georgia, "Times New Roman", serif;
  --govdeYazi: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  background: var(--zemin);
  color: var(--metin);
  font-family: var(--govdeYazi);
  -webkit-font-smoothing: antialiased;
}

.bigtitle, h1, h2, h3 {
  font-family: var(--baslikYazi);
  color: var(--lacivert);
  letter-spacing: -.01em;
}

/* ---------------------------------------------------------------- BUTONLAR */
.dbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease, box-shadow .18s ease;
}
.dbtn:hover, .dbtn:focus { text-decoration: none; transform: translateY(-1px); }
.dbtn-vurgu { background: var(--turuncu); color: #fff; }
.dbtn-vurgu:hover { background: #e56600; color: #fff; box-shadow: 0 6px 18px rgba(255, 114, 0, .28); }
.dbtn-koyu { background: var(--lacivert); color: #fff; }
.dbtn-koyu:hover { background: var(--lacivert-koyu); color: #fff; }
.dbtn-hayalet { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.dbtn-hayalet:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.dbtn-tam { width: 100%; }

/* ------------------------------------------------------------------ USTBAR */
.ustbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--cizgi);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
}
.ustbar-ic { display: flex; align-items: center; gap: 18px; height: 70px; }
.ustbar-bosluk { display: none; }

.marka {
  font-family: var(--baslikYazi);
  font-size: 24px;
  font-weight: 700;
  color: var(--lacivert);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -.02em;
}
.marka:hover, .marka:focus { color: var(--turuncu); text-decoration: none; }

.anamenu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.anamenu > a {
  padding: 9px 13px;
  border-radius: 8px;
  color: #3d4757;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.anamenu > a:hover { background: #f1f0ec; color: var(--lacivert); text-decoration: none; }
.anamenu > a.aktif { color: var(--turuncu); font-weight: 600; }

.menudil {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--cizgi);
}
.menudil a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--soluk);
  text-decoration: none;
}
.menudil a:hover { background: #f1f0ec; text-decoration: none; }
.menudil a.aktifdil { background: #eef2f4; color: var(--lacivert); }
.menudil img { display: block; border-radius: 2px; }

.ustbar-sag { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.ustbar-tel { padding: 11px 18px; font-size: 14.5px; }

.mobmenu {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--cizgi);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}
.mobmenu span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3.5px auto;
  border-radius: 2px;
  background: var(--lacivert);
  transition: transform .2s, opacity .2s;
}
.mobmenu.acik span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.mobmenu.acik span:nth-child(2) { opacity: 0; }
.mobmenu.acik span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* --------------------------------------------------------------------- HERO */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--lacivert-koyu);
}
.hero-gorsel { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.hero-gorsel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-perde {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(100deg, rgba(12, 32, 42, .94) 0%, rgba(12, 32, 42, .78) 42%, rgba(12, 32, 42, .35) 100%);
}
.hero-ic { position: relative; z-index: 2; padding: 64px 0; max-width: 660px; }
.hero-etiket {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero h1 { margin: 0 0 16px; color: #fff; font-size: 46px; line-height: 1.18; font-weight: 700; }
.hero p { margin: 0 0 28px; color: rgba(255, 255, 255, .86); font-size: 17.5px; line-height: 1.65; max-width: 540px; }
.hero-dugmeler { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-guven {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-guven div { color: #fff; }
.hero-guven strong { display: block; font-family: var(--baslikYazi); font-size: 24px; line-height: 1.2; }
.hero-guven span { font-size: 13px; color: rgba(255, 255, 255, .7); }

.hero-nokta {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3;
  display: flex; justify-content: center; gap: 8px;
}
.hero-nokta button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .42); cursor: pointer;
  transition: width .2s, background .2s;
}
.hero-nokta button.aktif { width: 26px; border-radius: 100px; background: var(--turuncu); }

/* -------------------------------------------------------------- ARAC KARTI */
.bolum { padding: 64px 0; }
.bolum-basi { margin-bottom: 34px; text-align: center; }
.bolum-basi h2 { margin: 0 0 10px; font-size: 34px; }
.bolum-basi p { margin: 0; color: var(--soluk); font-size: 16px; }

.kartizgara { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.akart {
  display: flex;
  flex-direction: column;
  background: var(--kart);
  border: 1px solid var(--cizgi);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--golge);
  transition: transform .16s ease, box-shadow .16s ease;
}
.akart:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(16, 24, 40, .12); }
.akart-gorsel { position: relative; display: block; aspect-ratio: 3 / 2; background: #f2f1ed; overflow: hidden; }
.akart-gorsel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.akart:hover .akart-gorsel img { transform: scale(1.04); }
.akart-rozet {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 11px; border-radius: 100px;
  background: rgba(29, 69, 87, .92); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
}
.akart-ic { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 18px; }
.akart-ic h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.3; }
.akart-ic h3 a { color: var(--lacivert); text-decoration: none; }
.akart-ic h3 a:hover { color: var(--turuncu); text-decoration: none; }
.akart-sinif { margin: 0 0 12px; font-size: 13px; color: var(--soluk); }

/* Kart icindeki tek iletisim butonu */
.kartiletisim { margin-top: 0; }
.kartiletisim .kartara {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px; border-radius: var(--r);
  background: var(--turuncu); color: #fff;
  font-weight: 600; font-size: 14.5px; border: 0; text-decoration: none;
  transition: background .18s;
}
.kartiletisim .kartara:hover { background: #e56600; color: #fff; text-decoration: none; }

/* ------------------------------------------------------------------ MOBIL */
@media (max-width: 991px) {
  .kartizgara { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero h1 { font-size: 38px; }
}

@media (max-width: 767px) {
  .ustbar-ic { height: 64px; gap: 10px; }
  .marka { font-size: 20px; }
  .mobmenu { display: block; }
  .tel-yazi { display: none; }
  .ustbar-tel { padding: 0; width: 42px; height: 42px; border-radius: 9px; }

  /* Menu: ustbarin altina acilan panel */
  .anamenu {
    position: fixed; left: 0; right: 0; top: 64px; z-index: 999;
    display: block; margin: 0; padding: 10px 16px 18px;
    background: #fff; border-bottom: 1px solid var(--cizgi);
    box-shadow: 0 12px 26px rgba(16, 24, 40, .10);
    max-height: calc(100vh - 64px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .anamenu.acik { opacity: 1; visibility: visible; transform: translateY(0); }
  .anamenu > a { display: block; padding: 13px 10px; border-radius: 8px; font-size: 16px; border-bottom: 1px solid #f2f1ed; }
  .anamenu > a:last-of-type { border-bottom: 0; }
  .menudil { margin: 12px 0 0; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--cizgi); }

  .hero { min-height: auto; }
  .hero-ic { padding: 48px 0 40px; max-width: 100%; }
  .hero-perde { background: linear-gradient(180deg, rgba(12, 32, 42, .86) 0%, rgba(12, 32, 42, .92) 100%); }
  .hero h1 { font-size: 30px; line-height: 1.25; }
  .hero p { font-size: 16px; margin-bottom: 22px; }
  .hero-dugmeler { flex-direction: column; gap: 10px; }
  .hero-dugmeler .dbtn { width: 100%; padding: 15px 20px; font-size: 16px; }
  .hero-guven { gap: 18px; margin-top: 26px; }
  .hero-guven strong { font-size: 20px; }
  .hero-nokta { bottom: 14px; }

  .bolum { padding: 44px 0; }
  .bolum-basi { margin-bottom: 24px; }
  .bolum-basi h2 { font-size: 26px; }
}

@media (max-width: 480px) {
  .kartizgara { grid-template-columns: 1fr; }
}

/* Eski tema kalintilarini gizle */
.headbar, .midbar, .menubar, .bnrezervasyon { display: none !important; }

/* ---------------------------------------------- USTBAR TASMA DUZELTMESI */
/* Menu + 4 dil + telefon butonu dar masaustunde satira sigmiyordu. */
.ustbar-ic { min-width: 0; }
.anamenu { min-width: 0; flex-wrap: nowrap; }
.anamenu > a { padding: 9px 10px; font-size: 14px; }
.ustbar-sag { flex-shrink: 0; }

/* Masaustunde dil kodu gizli, sadece bayrak: ciddi yer kazandirir */
.menudil em { display: none; }
.menudil a { padding: 6px; gap: 0; }

/* Tablet ve alti: menu hamburgere duser */
@media (max-width: 991px) {
  .mobmenu { display: block; }
  .tel-yazi { display: none; }
  .ustbar-tel { padding: 0; width: 42px; height: 42px; border-radius: 9px; }
  /* Menu "position: fixed" oldugu icin akistan cikar; telefon + hamburger
     ikilisini sag kenara yaslayan bosluk buradan verilir. */
  .ustbar-sag { margin-left: auto; }
  .anamenu {
    position: fixed; left: 0; right: 0; top: 70px; z-index: 999;
    display: block; margin: 0; padding: 10px 16px 18px;
    background: #fff; border-bottom: 1px solid var(--cizgi);
    box-shadow: 0 12px 26px rgba(16, 24, 40, .10);
    max-height: calc(100vh - 70px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .anamenu.acik { opacity: 1; visibility: visible; transform: translateY(0); }
  .anamenu > a { display: block; padding: 13px 10px; border-radius: 8px;
    font-size: 16px; border-bottom: 1px solid #f2f1ed; }
  .anamenu > a:last-of-type { border-bottom: 0; }
  .menudil { margin: 12px 0 0; padding: 12px 0 0; border-left: 0;
    border-top: 1px solid var(--cizgi); gap: 6px; }
  .menudil em { display: inline; }
  .menudil a { padding: 8px 12px; gap: 6px; background: #f7f6f3; }
}
@media (max-width: 767px) {
  .anamenu { top: 64px; max-height: calc(100vh - 64px); }
}

/* ------------------------------- HERO OZEL TELEFON BUTONU ------------- */
.telbtn {
  display: inline-flex; align-items: center; gap: 13px;
  padding: 10px 22px 10px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; text-decoration: none;
  transition: background .25s ease, border-color .25s ease, transform .18s ease;
}
.telbtn:hover, .telbtn:focus {
  background: rgba(255, 255, 255, .17);
  border-color: rgba(255, 255, 255, .55);
  color: #fff; text-decoration: none; transform: translateY(-2px);
}

.telbtn-ikon {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--turuncu); color: #fff; font-size: 16px;
  flex-shrink: 0;
}
/* Cevre halkasi: dikkat cekici ama olculu nabiz */
.telbtn-ikon::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  border-radius: 50%;
  border: 2px solid var(--turuncu);
  animation: telNabiz 2.4s ease-out infinite;
}
@keyframes telNabiz {
  0%   { transform: scale(1);    opacity: .75; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .telbtn-ikon::after { animation: none; opacity: 0; } }

.telbtn-yazi { display: flex; flex-direction: column; line-height: 1.25; }
.telbtn-yazi em {
  font-style: normal; font-size: 11.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}
.telbtn-yazi b { font-size: 19px; font-weight: 700; letter-spacing: .01em; }

@media (max-width: 767px) {
  .telbtn { width: 100%; justify-content: center; padding: 10px 18px 10px 10px; }
  .telbtn-yazi b { font-size: 18px; }
}

/* ==========================================================================
   SABIT ARAMA BUTONU (sayfayi takip eder)
   Afisteki .telbtn ile ayni dil: turuncu daire + nabiz halkasi.
   Kapaliyken sadece daire; uzerine gelince numara yana acilir.
   ========================================================================== */
.sabittel {
  position: fixed; right: 18px; bottom: 20px; z-index: 999;
  display: inline-flex; align-items: center; gap: 0;
  padding: 6px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--cizgi);
  box-shadow: 0 10px 28px rgba(16, 24, 40, .18);
  color: var(--lacivert); text-decoration: none;
  transition: gap .25s ease, padding .25s ease,
              box-shadow .25s ease, transform .18s ease;
}
.sabittel:hover, .sabittel:focus-visible {
  gap: 12px; padding-right: 20px;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(16, 24, 40, .26);
  color: var(--lacivert); text-decoration: none;
}

.sabittel-ikon {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--turuncu); color: #fff; font-size: 17px;
  flex-shrink: 0;
}
/* .telbtn-ikon ile ayni nabiz */
.sabittel-ikon::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  border-radius: 50%;
  border: 2px solid var(--turuncu);
  animation: telNabiz 2.4s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .sabittel-ikon::after { animation: none; opacity: 0; }
  .sabittel { transition: none; }
}

.sabittel-yazi {
  display: flex; flex-direction: column; line-height: 1.25;
  max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap;
  transition: max-width .3s ease, opacity .22s ease;
}
.sabittel:hover .sabittel-yazi,
.sabittel:focus-visible .sabittel-yazi { max-width: 230px; opacity: 1; }

.sabittel-yazi em {
  font-style: normal; font-size: 10.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--soluk);
}
.sabittel-yazi b { font-size: 16.5px; font-weight: 700; letter-spacing: .01em; }

@media (max-width: 575px) {
  .sabittel { right: 14px; bottom: 14px; }
  .sabittel-ikon { width: 52px; height: 52px; font-size: 18px; }
}

/* RTL: buton sol alt kosede */
[dir="rtl"] .sabittel { right: auto; left: 18px; }
[dir="rtl"] .sabittel:hover, [dir="rtl"] .sabittel:focus-visible {
  padding-right: 6px; padding-left: 20px;
}
@media (max-width: 575px) { [dir="rtl"] .sabittel { right: auto; left: 14px; } }
