/* css/style.css */

/* ===================================
   0) GENEL SIFIRLAMA & AYARLAR
   =================================== */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #fafafa;
  color: #333;
}
a { text-decoration: none; color: inherit; }
button, input { outline: none; }
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ===================================
   1) ÜST BİLGİ ÇUBUĞU (TOP BAR)
   =================================== */
.top-bar {
  background-color: #000;
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar .left-info,
.top-bar .right-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.top-bar .left-info i,
.top-bar .right-info i {
  margin-right: 5px;
  font-size: 14px;
}
.top-bar .left-info span {
  margin-right: 20px;
  font-weight: 500;
}
.top-bar .right-info a {
  color: #fff;
  margin-left: 15px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}
.top-bar .right-info a:hover {
  color: #ff6600;
}

/* ===================================
   2) NAVBAR
   =================================== */
.main-nav {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: fixed;
  top: 20px; /* top-bar’ın altında */
  left: 0;
  right: 0;
  z-index: 150;
  padding: 10px 0;
  overflow-x: auto;  /* Menü öğelerini kaydırılabilir yap */
  white-space: nowrap;
}
.navbar-brand {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  padding: 0 15px; /* Sağdan biraz boşluk verelim */
  display: inline-block;
  flex: 0 0 auto;
}
.main-nav .navbar-toggle {
  border: none;
}
.main-nav .navbar-toggle .icon-bar {
  background-color: #333;
}
/* .navbar-nav’u tek satır (nowrap) yapıyoruz */
.main-nav .navbar-nav {
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: nowrap;
  list-style: none;
}
/* Her bir <li> öğesinin “inline-flex” etiketlemesi */
.main-nav .navbar-nav > li {
  display: inline-flex;
  flex-shrink: 0;  /* Daralmasın, overflow durumda kaydırılsın */
}
/* Menü linklerinin padding’lerini biraz küçülttük */
.main-nav .nav > li > a {
  color: #333;
  font-weight: 500;
  text-transform: uppercase;
  padding: 10px 8px; /* Eski 10px 15px yerine 10px 8px */
  font-size: 14px;
  flex: 0 0 auto;   /* Flex içinde sabit kalsın */
  white-space: nowrap;  /* Link metni içinde sarma olmasın */
}
.main-nav .nav > li.active > a,
.main-nav .nav > li > a:hover {
  color: #ff3300;
  background-color: #f5f5f5;  /* Çok açık gri */
  border-radius: 4px;
}
.btn-login {
  background-color: #ff3300;
  border: none;
  color: #fff;
  padding: 6px 16px;
  font-size: 14px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  margin-left: 15px; /* Eski 10px yerine biraz daha boşluk */
  flex: 0 0 auto;
}
.btn-login i {
  margin-right: 6px;
}
@media (max-width: 991px) {
  .main-nav {
    padding: 10px 0;
  }
  .main-nav .nav > li > a {
    padding: 8px 6px; /* Daha küçük ekranlarda biraz daha dar */
  }
  .btn-login {
    margin-left: 8px;
    padding: 5px 12px;
  }
}

/* ===================================
   3) HERO
   =================================== */
.hero {
  position: relative;
  height: 400px;
  background: url('../images/hero-bg.png') no-repeat center center/cover;
  color: #fff;
  overflow: hidden;
  margin-top: 6px; /* top-bar (32px) + navbar (≈64px) */
}

.hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero .hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 15px;
}

.hero h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.hero h2 {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero p.subtitle {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  margin-top: 12px;
}


/* ===================================
   3.1) TOGGLE BUTONLARI (HERO ÜZERİNDE)
   =================================== */
.toggle-group {
  position: absolute;
  top: -40%;
  left: 10%;
  transform: translate(-50%, -50%);
  display: flex;
  z-index: 2;
}
.toggle-group .btn-toggle {
  position: relative;
  width: 130px;
  height: 50px;
  margin: 0 6px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
  background-color: #000;
}
.toggle-group .btn-toggle i {
  margin-right: 6px;
  font-size: 16px;
}
.toggle-group .btn-toggle.active {
  background-color: #ff3300;
}
.toggle-group .btn-toggle.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: #ff3300 transparent transparent;
}

/* ===================================
   4) ARAMA KARTI
   =================================== */
.search-card {
  position: relative;
  z-index: 3;
  margin: -120px auto 20px;
  background-color: #000;
  border-radius: 6px;
  max-width: 90%;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 20px 14px;
}

/* 4.1) TEK SATIR GİDİŞ–DÖNÜŞ */
.trip-type-inline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.trip-type-inline .label {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin-right: 8px;
  white-space: nowrap;
}
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: 0.4s;
  border-radius: 50%;
}
.switch input:checked + .slider {
  background-color: #ff3300;
}
.switch input:checked + .slider:before {
  transform: translateX(20px);
}

/* 4.2) INPUT & “X” İKONLARI */
.search-card .form-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
}
.location-row {
  display: flex;
  align-items: center;
  flex: 3;
  min-width: 0;
  position: relative;
}
.location-row .field-group {
  flex: 1;
  margin-bottom: 0;
  position: relative;
}
.field-group i.map-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #888;
  z-index: 1;
}
.field-group i.clear-icon {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #888;
  cursor: pointer;
  display: none;
  z-index: 1;
}
.field-group .form-control {
  width: 100%;
  padding: 8px 28px 8px 28px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  background-color: #fff;
}
.field-group .form-control:focus {
  border-color: #ff3300;
  box-shadow: 0 0 6px rgba(255,51,0,0.3);
}
/* Saat picker ikonu konumu — clear ikonu ile çakışmaz */
.field-group .time-picker-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #888;
  cursor: pointer;
}
.field-group .form-control.timepicker-input {
  padding-right: 32px; /* ikona yer bırak */
}

.swap-btn {
  background-color: #fff;
  border: 2px solid #ff3300;
  border-radius: 50%;
  width: 52px;        /* eskiden 32px idi */
  height: 52px;       /* eskiden 32px idi */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0 -6px;
  z-index:3;
}

.swap-btn i {
  color: #ff3300;
  font-size: 20px;    /* eskiden 14px idi */
}

.date-row {
  display: flex;
  align-items: center;
  flex: 3;
  min-width: 0;
  gap: 6px;
}
.date-row .field-group {
  flex: 3;
  margin-bottom: 0;
  position: relative;
}

.btn-search {
  background-color: #ff3300;
  border: none;
  color: #fff;
  padding: 10px 10px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;

  /* Eski flex:1; yerine: */
  flex: 0 0 auto;
  width: 150px;      /* buton genişliği */
  min-width: 0;

  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
  margin-left: 6px;
}

.btn-search i {
  margin-left: 6px;
  font-size: 14px;
}
.btn-search:hover {
  background-color: #e62e00;
  color: #fff;
}
/* --------------------------------------------------
   5) HOURLY RENTAL DURATION FIELD KISITLAMALARI
   -------------------------------------------------- */
.search-card .duration-group {
  /* .duration-group zaten .field-group olduğu için flex:1 filan inherite ediyordur,
     ama hizalama için kesinlikle display:flex */
  display: flex;
  align-items: center;        /* dikey ortalar */
  position: relative;         /* unit-label’i absolute yapabilmek için */
  flex: 0 0 auto;
  width: 100%;
  max-width: 140px;           /* Diğer kutularla uyumlu genişlik */
  margin-bottom: 0;           /* .field-group margin'i ile çakışmasın */
}

.search-card .duration-group .form-control {
  /* sağ tarafa “hour(s)” span’i için boşluk aç */
  padding:6px 36px 6px 36px;  /* top/right/bottom/left – diğer inputlarla uyumlu */
  height: auto;               /* Bootstrap vs custom çakışmasın diye */
}

.search-card .duration-group .unit-label {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  pointer-events: none;       /* tıklanabilir alan input’ta kalsın */
  font-size: 14px;
  color: #666;
}

/* ===================================
   5) HARİTA (MAP)
   =================================== */
#map {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  z-index: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
  #map {
    height: 30vh;
  }
  .toggle-group {
  position: absolute;
  top: -10%;
  left: 40%;
  transform: translate(-50%, -50%);
  display: flex;
  z-index: 2;
}
}

/* ===================================
   6) BODY PADDING-TOP (NAVBAR & TOP-BAR)
   =================================== */
body {
  padding-top: 96px; /* top-bar (~32px) + navbar (~64px) */
}
@media (max-width: 991px) {
  .main-nav .navbar-left,
  .main-nav .navbar-right {
    float: none !important;
  }
  .main-nav .navbar-nav {
    margin: 0;
  }
}

/* ===================================
   7) SERVICES, HOW IT WORKS, FLEET, STATS, PARTNERS, FOOTER
   =================================== */
/* Services */
.service-row {
  padding: 40px 0 40px;
  background-color: #fff;
}
.service-col {
  text-align: center;
  margin-bottom: 30px;
}
.service-col i {
  font-size: 36px;
  color: #ff3300;
  margin-bottom: 12px;
}
.service-col h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.service-col p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* How It Works */
.how-it-works {
  padding: 60px 0;
  background-color: #f9f9f9;
}
.how-step {
  text-align: center;
  padding: 0 20px;
}
.how-step i {
  font-size: 40px;
  color: #ff3300;
  margin-bottom: 12px;
}
.how-step h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.how-step p {
  font-size: 13px;
  color: #555;
}

/* Fleet */
.fleet {
  padding: 40px 0;
  background-color: #fff;
}
.fleet h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 40px;
}
.vehicle-card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  background-color: #fff;
  margin-bottom: 30px;
}
.vehicle-card:hover {
  transform: translateY(-5px);
}
/* Araç Kartı Görseli için Düzenleme */
.vehicle-card img {
  width: 85%;
  height: 400px;        /* Masaüstte 300px yüksek */
  object-fit: cover;    /* Kapsayıcıyı doldur, kırpa */
  object-position: center;
}
@media (max-width: 767px) {
  .vehicle-card img {
    height: 200px;    /* Mobilde biraz daha kısa */
  }
}
.vehicle-card-body {
  padding: 20px;
}
.vehicle-card-body h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.vehicle-card-body p {
  font-size: 14px;
  color: #555;
  margin-bottom: 0;
}

/* Stats */
.stats-strip {
  background-color: #ff3300;
  color: #fff;
  padding: 40px 0;
}
.stats-strip .stat {
  text-align: center;
}
.stats-strip .stat h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}
.stats-strip .stat p {
  font-size: 14px;
  font-weight: 300;
  margin: 0;
}

/* Partners */
.partners {
  padding: 60px 0;
  background-color: #f9f9f9;
}
.partners h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 40px;
}
.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}
.partner-logo img {
  max-height: 60px;
  max-width: 100%;
}
.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Footer */
.footer {
  background-color: #000;
  color: #fff;
  padding: 60px 0 20px;
}
.footer a {
  color: #fff;
}
.footer a:hover {
  color: #ff3300;
  text-decoration: none;
}
.footer h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.footer p, .footer li {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
}
.footer .newsletter-input {
  width: 100%;
  max-width: 300px;
  border-radius: 4px;
  border: none;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 14px;
}
.footer .btn-subscribe {
  background-color: #ff3300;
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
}
.footer .btn-subscribe:hover {
  background-color: #e62e00;
}
.social-icons a {
  display: inline-block;
  margin-right: 12px;
  font-size: 18px;
  color: #fff;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: #ff3300;
}
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #777;
}

/* 2) NAVBAR (GÜNCELLENDİ)  ———— (bu kısım zaten style.css içinde yer aldığı için yukarıda tamamlama yapıldı) */

/* ================================================
   Corporate Page – CSS
   (css/style.css içerisine eklenir)
   ================================================ */
.corporate-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../images/kurumsal-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-content h1,
.hero-content p {
  color: #fff;
}
.font-bold {
  font-weight: 700 !important;
}
.display-4 {
  font-size: 3rem;
}
.section {
  position: relative;
  width: 100%;
}
.bg-light {
  background-color: #f9f9f9 !important;
}
.pt-5 {
  padding-top: 3rem !important;
}
.pb-5 {
  padding-bottom: 3rem !important;
}


/* ================================================
   Araçlarımız Sayfası – Ek CSS
   ================================================ */
.vehicles-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  background-image: url('../images/vehicles-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vehicles-hero .hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.vehicles-hero .hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.vehicles-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
}
.vehicles-hero p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}
/* ——— VEHICLES GRID LAYOUT ——— */


.vehicle-card-wrapper:focus .vehicle-card {
  box-shadow: 0 0 0 3px rgba(255, 51, 0, 0.5);
}

.vehicle-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.vehicle-img {
  width: 100%;
  max-height: 200px;      /* limits image height uniformly */
  object-fit: cover;
}

.vehicle-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}
.vehicle-info h5 {
  margin-bottom: .5rem;
  font-weight: 600;
}
.vehicle-info p {
  flex: 1;
  margin-bottom: 1rem;
}

@media (max-width: 767px) {
  .vehicle-img {
    height: 180px;
  }
}
.vehicle-item:focus .vehicle-card {
  box-shadow: 0 0 0 3px rgba(255, 51, 0, 0.5);
}
.font-bold {
  font-weight: 700 !important;
}
.display-4 {
  font-size: 3rem;
}
.mt-2 {
  margin-top: 0.5rem !important;
}
.mb-5 {
  margin-bottom: 3rem !important;
}

/* ================================================
   Hizmetlerimiz Sayfası – Ek CSS
   ================================================ */
.services-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  background-image: url('../images/services-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.services-hero .hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.services-hero .hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.services-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
}
.services-hero p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
}
.service-card {
  background-color: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-icon {
  background-color: #f0f0f0;
  padding-top: 20px;
  padding-bottom: 20px;
}
.service-icon i {
  color: #ff3300;
}
.service-card .img-responsive {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
@media (max-width: 767px) {
  .service-card .img-responsive {
    height: 180px;
  }
}
.service-item:focus .service-card {
  box-shadow: 0 0 0 3px rgba(255, 51, 0, 0.5);
}
/* ================================================
   6) ROUND-TRIP SWITCH HİZALAMA
   ================================================ */
.search-card .trip-type-inline {
  display: flex;
  align-items: center;      /* dikey ortala */
  flex: 0 0 auto;           /* boyutunu içeriğe göre ayarla */
  margin: 0px 16px;           /* sağ-sol boşluk (ihtiyacınıza göre) */
  height: 48px;             /* diğer .field-group yükseklikleriyle eşitle */
}

.search-card .trip-type-inline .toggle-wrapper {
  /* toggle’ınızın wrapper’ını bu sınıfla sarmaladıysanız: */
  margin-left: 8px;         /* label ile switch arasına boşluk */
}

.search-card .trip-type-inline label {
  font-size: 14px;          /* diğer input metinleriyle uyumlu */
  color: #fff;
  margin: 0;                /* ekstra margin kaldır */
}

/* eğer direkt input[type="checkbox"] + label kullanıyorsanız: */
.search-card .trip-type-inline input[type="checkbox"] {
  margin: 0;
  width: 40px;              /* toggle’ın genişliği */
  height: 20px;             /* toggle’ın yüksekliği */
  vertical-align: middle;
}
.search-card .trip-type-inline input[type="checkbox"] + label {
  margin-left: 8px;
  vertical-align: middle;
}
.hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background: url('../images/hero-bg.png') no-repeat center center/cover;
  color: #fff;
  overflow: hidden;
  margin-top: 6px;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.4);
  z-index: 1;
}
.hero .hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 15px;
}
/* vehicles-hero overrides only the image */
.vehicles-hero {
  background-image: url('../images/hakkimizda-bg.png');
  background-position: center;
  background-size: cover;
}

/* ===================================
   HERO SLOGAN (Ana Sayfa Başlığı Altı)
   =================================== */
.hero-inner h2 {
  font-size: 2.5rem;           /* Masaüstü için ~18px */
  font-weight: 400;              /* Normal ağırlık */
  color: rgba(255, 255, 255, .9);/* Hafif şeffaf beyaz */
  max-width: 900px;              /* Satır genişliğini sınırlıyoruz */
  margin: 2px auto 2px;        /* Üst/baslangıç boşluk */
  line-height: 1.5;              /* Okunabilir satır aralığı */
  text-align: center;
  text-transform: none;          /* Büyük harf zorlamasını kaldırır */
}

/* Tablet için biraz küçültme */
@media (max-width: 768px) {
  .hero-inner h2 {
    font-size: 2.5rem;            
    margin: 2px auto 2px;
    max-width: 600px;
  }
}

/* Telefon için daha da küçültme */
@media (max-width: 480px) {
  .hero-inner h2 {
    font-size: 2rem;         
    margin: 2px auto 2px;
    max-width: 90%;
  }
}
/* ————————————————————————————————————————
   DÖNÜŞ TARİHİ & SAAT ALANLARI
   ———————————————————————————————————————— */
/* 4.3) DÖNÜŞ TARİH/SAAT ALANLARI – HER ZAMAN GÖRÜNÜR, DISABLED */
/* Wrapper’lar hep görünür, input’lar JS’le aktif/pasif olacak */

.return-date-wrapper,
.return-time-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* Disabled input’lar için görsel ipucu */
.search-card input:disabled {
  background-color: #e9e9e9 !important;
  color: #777 !important;
  cursor: not-allowed !important;
}

/* Eğer disabled input’a focus gelirse çizgi / gölge korunsun ama tıklanamasın */
.search-card input:disabled:focus {
  border-color: #ccc;
  box-shadow: none;
}

/* Clear-icon’lar sadece input aktifken gösterilsin */
.field-group.show-clear .clear-icon {
  display: block;
}

/* Return alanlarındaki clear-icon’ların konumu */
.return-date-wrapper .clear-icon,
.return-time-wrapper .clear-icon {
  right: 6px;
}

/* Responsive: mobilde alt alta */
/* (Eğer zaten gride dönen rule’lar varsa, bunlar korunur) */
@media (max-width: 768px) {
  .return-date-wrapper,
  .return-time-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
}
/* ─────────────────────────────────────────
   Load More Reviews Button – Kesin Görünür
   ───────────────────────────────────────── */
.review-btn {
  display: inline-block;
  margin: 1.5rem auto 0;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ff3300;
  border: 2px solid #ff3300;
  background: transparent;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}

.review-btn.hidden {
  display: none;
}

.review-btn:hover {
  background-color: #ff3300;
  color: #fff;
}



/* css/style.css veya index.css’inize ekleyin */

/* Varsayılan WhatsApp rengi */
.whatsapp-link {
  color: #25D366; /* WhatsApp yeşili, isterseniz #333 de olabilir */
  transition: color 0.2s, background-color 0.2s;
}

/* Hover ve aktif durumda turuncuya geçiş */
.whatsapp-link:hover,
.whatsapp-link:focus,
.whatsapp-link:active {
  color: #ff3300;              /* sitenizin turuncu tonu */
  background-color: rgba(255,51,0,0.1);
  border-radius: 4px;
  text-decoration: none;
  padding: 2px 6px;            /* küçük iç boşluk */
}
/* WhatsApp Chat Icon */
#whatsapp-chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 10000;
  transition: background-color 0.2s, transform 0.2s;
}
#whatsapp-chat-icon:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
}
#whatsapp-chat-icon i {
  color: #fff;
  font-size: 28px;
}
/* Chat Panel */
#whatsapp-chat-panel {
  position: fixed;
  bottom: 90px;
  right: -360px;               /* panel gizli */
  width: 360px;
  height: 500px;
  background: #fff;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: right 0.3s ease;
  z-index: 10001;
}
/* Açık hâli */
#whatsapp-chat-panel.open {
  right: 20px;
}
#whatsapp-chat-panel .chat-header {
  background-color: #25D366;
  color: #fff;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#whatsapp-chat-panel .chat-header i#whatsapp-close {
  cursor: pointer;
}
#whatsapp-chat-panel iframe {
  width: 100%;
  height: calc(100% - 40px);
  border: none;
}
/* Ortak düğme stili */
.review-btn,
.trustpilot-btn {
  --btn-base: #ff3300;           /* default review rengi */
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  border: 2px solid var(--btn-base);
  color: var(--btn-base);
  background-color: transparent;
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
  margin: 8px 0;
}

/* Load More Reviews turuncu */
.review-btn {
  --btn-base: #ff3300;
}

/* Trustpilot yeşili */
.trustpilot-btn {
  --btn-base: #00b67a;
}

/* Hover efektleri */
.review-btn:hover,
.trustpilot-btn:hover {
  background-color: var(--btn-base);
  color: #fff;
}

.vehicleList-card img {
  width: 100%;
  max-height: 180px;      /* limits image height uniformly */
  object-fit: cover;
}
/* Mobil: 768px’e kadar */
@media (max-width: 768px) {
  /* Section’ları dikey yığılacak şekilde düzenle */
  .booking-summary,
  .vehicle-card,
  .customer-form {
    padding: 20px !important;
  }

  section .row {
    display: flex;
    flex-direction: column;
  }

  /* Özet ve araç görselini tam genişlikte göster */
  .booking-summary,
  .vehicle-card {
    width: 100%;
    margin-bottom: 20px;
  }

  /* Araç görseli yüksekliğini uygun yap */
  .vehicle-card img {
    height: auto !important;
    max-height: 400px;
    object-fit: cover;
  }

  /* Font boyutlarını küçült */
  .booking-summary h2,
  .customer-form h2 {
    font-size: 1.4rem;
  }
  .booking-summary .info-label {
    font-size: 0.9rem;
  }
  .booking-summary .info-value {
    font-size: 1rem;
  }

  /* Form kontrolleri tam genişlik */
  .customer-form .form-group {
    margin-bottom: 15px;
  }
  .customer-form .form-control {
    font-size: 0.95rem;
  }

  /* Butonu tam genişlik yap */
  .customer-form .btn-block {
    padding: 12px 0 !important;
    font-size: 1rem;
  }
}

/* Küçük ekranlar: 576px’e kadar */
@media (max-width: 576px) {
  /* Daha dar padding */
  .booking-summary,
  .customer-form {
    padding: 15px !important;
  }

  /* Başlıkları daha da küçült */
  .booking-summary h2,
  .customer-form h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  /* Bilgi satırlarını tek sütun yap */
  .booking-summary .info-label,
  .booking-summary .info-value {
    display: block;
    width: 100%;
  }

  /* Checkbox’ları blok olarak göster */
  .customer-form .checkbox-inline {
    display: block;
    margin-bottom: 8px;
  }

  /* Input kenar boşluklarını azalt */
  .customer-form input,
  .customer-form select,
  .customer-form textarea {
    padding: 8px;
  }

  /* Button’u biraz daha büyük tıklanabilir yap */
  .customer-form .btn-success {
    padding: 14px 0;
    font-size: 1.05rem;
  }
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.whatsapp-chat-window {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  height: 400px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  overflow: hidden;
  display: none;
}

.chat-header {
  background: #25D366;
  color: #fff;
  padding: 8px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .search-card .location-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    position: relative !important;
  }

  .search-card .location-row .swap-btn {
    align-self: center !important;
    position: static !important;
    transform: rotate(90deg) !important;
    margin: 5px 0 !important;
  }

  .search-card .location-row .field-group {
    width: 100% !important;
  }

  .search-card .trip-type-inline {
    justify-content: center;
    margin: 10px 0;
  }

  .search-card .btn-search {
    width: 100% !important;
    margin-left: 0 !important;
  }
}
/* Yolcu adları paneli */
.passenger-container {
  max-height: 300px;
  overflow-y: auto;
  padding: 15px;
  background: #fbfbfb;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 20px;
}


/* bootstrap.min.css | https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css */

@media (min-width: 1200px) {
  .container {
    /* width: 1170px; */
    width: 1600px;
  }
}

/* style.css | https://www.tripadventure.com.tr/css/style.css */

.vehicle-card img {
  /* width: 85%; */
  width: 75%;
}
#distanceOutput {
  display: none;               /* başlangıçta gizli */
  color: #fff;                 /* beyaz metin */
  background: rgba(0, 0, 0, 0.6); /* yarı saydam siyah arka plan */
  padding: 8px 12px;           /* iç boşluk */
  border-radius: 4px;          /* hafif yuvarlatma */
  font-size: 1.5rem;          /* okunaklı bir boyut */
  text-align: center;
  margin: 10px auto;           /* panel ile harita arasında boşluk */
  width: fit-content;          /* içerik kadar genişlik */
  position: relative;          /* normal belge akışı içinde, panel hemen altı */
  z-index: 1000;               /* haritanın üstünde kalsın */
}
/* Masaüstünde hero yüksekliğini küçült, haritaya daha çok yer kalsın */
@media (min-width: 992px) {
  .hero,
  .tours-hero {
    height: 40vh;     /* eski 60vh yerine */
    min-height: 300px;/* gerekirse taban yüksekliği */
  }
}

/********************************************************************/
//* Kart gövdesi */
.thumbnail.treasure-card {
  padding: 0;
  border-radius: 8px;
  overflow: visible; /* Rotated metin taşsa bile görünür olsun */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Flex düzen: resim solda, bilgi sağda */
.treasure-wrapper {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  overflow: visible;
}

/* Sağ paneli daralt, resim genişlesin */
.treasure-info {
  position: relative;
  flex: 0 0 10%;        /* info %10, resim %90 */
  background: #fff;
  padding: 1rem 0.1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

/* Logo */
.trip-ad-logo {
  max-width: 100px;
  margin-bottom: 1rem;
  margin-top:-20px;
}

/* Başlık bloğu: 1–2 satır normal akışta yazılır, sonra -90° döner */
.treasure-title-block {
  position: absolute;
  bottom: 0.5rem;           /* panelin dibinden 2rem yukarıda başlasın */
  left: 4.5rem;             /* panelin iç sol kenarından 1rem içeride */
  transform: rotate(-90deg);
  transform-origin: bottom left;
  z-index: 1;

  /* Yatayda iki satır sığacak kadar genişlik */
  width: 480px;

  /* satır kaydırmaya izin ver */
  white-space: normal;
  word-break: break-word;

  /* maksimum iki satır yüksekliğe izin ver, geri kalanı gizlenmez */
  line-height: 1.2;
  max-height: calc(2 * 1.2em);

  /* Yazı stili */
  font-size: 3.2rem;
  font-weight: bold;
  color: #ff4500;

  margin: 0;
  padding: 0;
}

/* URL bloğu */
.treasure-url {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 1rem;
  color: #999;
  white-space: nowrap;
}

/* Resim paneli: geniş, sabit yükseklik */
.treasure-image {
  flex: 1;
  height: 400px;
  overflow: hidden;
}
.treasure-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobilde alt alta, döndürme ve sınır kaldırılır */
@media (max-width: 767.98px) {
  //* Kart gövdesi */
.thumbnail.treasure-card {
  padding: 0;
  border-radius: 8px;
  overflow: visible; /* Rotated metin taşsa bile görünür olsun */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Flex düzen: resim solda, bilgi sağda */
.treasure-wrapper {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  overflow: visible;
}

/* Sağ paneli daralt, resim genişlesin */
.treasure-info {
  position: relative;
  flex: 0 0 10%;        /* info %10, resim %90 */
  background: #fff;
  padding: 1rem 0.1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

/* Logo */
.trip-ad-logo {
  max-width: 70px;
  margin-bottom: 1rem;
  margin-top:-20px;
}

/* Başlık bloğu: 1–2 satır normal akışta yazılır, sonra -90° döner */
.treasure-title-block {
  position: absolute;
  bottom: 0.5rem;           /* panelin dibinden 2rem yukarıda başlasın */
  left: 2.5rem;             /* panelin iç sol kenarından 1rem içeride */
  transform: rotate(-90deg);
  transform-origin: bottom left;
  z-index: 1;

  /* Yatayda iki satır sığacak kadar genişlik */
  width: 220px;

  /* satır kaydırmaya izin ver */
  white-space: normal;
  word-break: break-word;

  /* maksimum iki satır yüksekliğe izin ver, geri kalanı gizlenmez */
  line-height: 1.2;
  max-height: calc(2 * 1.2em);

  /* Yazı stili */
  font-size: 2.2rem;
  font-weight: bold;
  color: #ff4500;

  margin: 0;
  padding: 0;
}

/* URL bloğu */
.treasure-url {
  position: absolute;
  bottom: .2rem;
  right: 0.2rem;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 0.8rem;
  color: #999;
  white-space: nowrap;
}

/* Resim paneli: geniş, sabit yükseklik */
.treasure-image {
  flex: 1;
  height: 250px;
  overflow: hidden;
}
.treasure-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
}

/* ======================================
   Tur Detay Sayfası – Gallery & Details
   ====================================== */

/* 1) Adım İlerleme Göstergesi Ortala */
.d-flex.justify-content-center.align-items-center.mb-4 {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 1rem;
  margin-bottom: 2rem;
}
.d-flex.justify-content-center.align-items-center.mb-4 .step {
  display: inline-flex;
  align-items: center;
  color: #777;
  font-size: 1rem;
}
.d-flex.justify-content-center.align-items-center.mb-4 .step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid #777;
  border-radius: 50%;
  margin-right: 0.5rem;
  font-weight: 600;
}
.d-flex.justify-content-center.align-items-center.mb-4 .step.active,
.d-flex.justify-content-center.align-items-center.mb-4 .step.active span {
  color: #ff3300;
  border-color: #ff3300;
}
.d-flex.justify-content-center.align-items-center.mb-4 .line {
  flex-grow: 1;
  height: 2px;
  background: #ddd;
}

/* 2) Bilgi Çubuğu */
.info-bar {
  display: flex;
  gap: 2rem;
  background: #ffecec;
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
}
.info-bar .info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.info-bar .info-item .fa {
  font-size: 1.5rem;
  color: #d33;
}
.info-bar .info-item .small {
  color: #555;
}

/* 3) Sol Panel: Katılımcı & Fiyat (Her satır tek satıra) */
.participants {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.participants .d-flex.justify-content-between {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}
.participants .btn-group {
  display: flex !important;
  align-items: center;
  gap: 0.5rem !important;
}
.participants .btn-group .btn {
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 1.8rem;
  line-height: 1;
}
.participants .btn-group .qty {
  width: 58px;
  text-align: center;
  margin: 0;
}
.participants .price {
  flex: 0 0 auto;
  min-width: 60px;
  text-align: right;
  font-weight: 600;
  color: #28a745;
}

/* 4) Galeri – Büyük resim + Alt thumbnail’lar */
.tour-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.tour-gallery .main-image {
  width: 70%;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.tour-gallery .main-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}
.tour-gallery .thumbnails {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tour-gallery .thumbnail {
  flex: 0 0 auto;
  width: 120px;
  height: 80px;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}
.tour-gallery .thumbnail.active {
  border-color: #ff3300;
}
.tour-gallery .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 5) Responsive */
@media (max-width: 768px) {
  /* Katılımcılar menüsü biraz sıkışmasın */
  .participants {
    gap: 0.75rem;
  }
  /* Galeriyi dikeye çevir */
  .tour-gallery {
    flex-direction: column;
  }
.tour-gallery .main-image {
  width: 100%;
  max-height: 500px;      /* 500px’ten fazla uzamasın */
  height: auto;           /* Oranı koruyarak küçülsün */
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
  .tour-gallery .thumbnail {
    width: 100px;
    height: 70px;
  }
  /* Buton boyutları biraz küçülsün */
  .participants .btn-group .btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  /* Tarih kutusu biraz daha sıkı */
  #tourDate {
    padding: 0.4rem;
  }
}
@media (min-width: 992px) {
  .tour-gallery .main-image {
    max-height: 500px;
  }
}
@media (max-width: 991px) {
  .tour-gallery .main-image {
    max-height: 400px;
  }
}
@media (max-width: 767.98px) {
  /* 1) Kaydırılabilir flex container */
  .treasure-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
  }
  .treasure-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
  }

  /* 2) Kart genişlik/flex ayarı */
  .thumbnail.treasure-card {
    flex: 0 0 auto;    /* satır içindeki sabit genişlik */
    width: 100%;        /* veya ihtiyacınıza göre px/yorumu */
    /* margin-right: 1rem; — gap zaten container’da */
  }
}
/* Turlar sayfası stil dosyası */
@import url('css/tours.css');

/* ================================================
   Anasayfa – Turlar Bölümü
================================================= */
.tours-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}
.tours-scroll-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
}
.tour-item {
  flex: 0 0 auto;
  cursor: pointer;
}
@media (min-width: 768px) {
  .tour-item { flex: 0 0 calc(33.333% - 1rem); }
}
@media (min-width: 576px) and (max-width: 767px) {
  .tour-item { flex: 0 0 calc(50% - 1rem); }
}
@media (max-width: 575px) {
  .tour-item { flex: 0 0 80%; }
}

/* thumbnail/treasure-card içi flex düzeni */
.treasure-wrapper {
  display: flex;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.treasure-info {
  flex: 0 0 30%;
  background:#fff;
  padding:1rem;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.treasure-image img {
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
}
/* ... gerekirse diğer küçük ayarlarınızı da buraya ekleyin ... */
