/* ===== CSS Variables ===== */
:root {
  --primary-color: #ffd700;
  --secondary-color: #ffa500;
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --text-color: #333;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark-color);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  margin: 15px auto 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--dark-color);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--dark-color);
  color: white;
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  background: #333;
  transform: translateY(-2px);
}

/* ===== Navbar ===== */
.navbar {
  background: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
}

.nav-brand i {
  color: var(--primary-color);
  font-size: 2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--secondary-color);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-call-btn {
  background: var(--primary-color);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--dark-color);
  transition: all 0.3s;
}

.nav-call-btn:hover {
  background: var(--secondary-color);
  transform: scale(1.05);
}

/* ===== Mobile Tab Bar ===== */
.mobile-tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px 0;
}

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px;
  color: #666;
  transition: all 0.3s;
}

.tab-item i {
  font-size: 1.3rem;
}

.tab-item span {
  font-size: 0.7rem;
}

.tab-item.active,
.tab-item:hover {
  color: var(--secondary-color);
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: all 0.3s;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
}

/* ===== Moving Taxi Animation ===== */
.taxi-road {
  position: relative;
  width: 100%;
  height: 5px;
  background: var(--dark-color);
  overflow: hidden;
}

.road-line {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    white 0px,
    white 30px,
    transparent 30px,
    transparent 60px
  );
  animation: roadMove 2s linear infinite;
}

.moving-taxi {
  position: absolute;
  top: -15px;
  font-size: 2rem;
  color: var(--primary-color);
  animation: taxiMove 8s linear infinite;
}

@keyframes roadMove {
  0% {
    transform: translateY(-50%) translateX(0);
  }
  100% {
    transform: translateY(-50%) translateX(-60px);
  }
}

@keyframes taxiMove {
  0% {
    left: -50px;
  }
  100% {
    left: 100%;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.3)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  opacity: 0.95;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== About Section ===== */
.about-section {
  padding: 80px 0;
  background: var(--light-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.8;
}

.about-features {
  list-style: none;
}

.about-features li {
  padding: 12px 0;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-features i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.about-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-video {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  border-radius: 20px;
}

/* ===== Map Animation with Rotating Taxi ===== */
.map-animation {
  position: relative;
}

.map-container {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #e0f7fa, #80deea);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-overlay {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 50px,
      rgba(0, 0, 0, 0.03) 50px,
      rgba(0, 0, 0, 0.03) 51px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 50px,
      rgba(0, 0, 0, 0.03) 50px,
      rgba(0, 0, 0, 0.03) 51px
    );
}

.rotating-taxi {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 3rem;
  color: var(--primary-color);
  animation: rotateTaxi 10s linear infinite;
  transform-origin: center;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.map-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: #ff5252;
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -50%) rotate(-45deg);
  animation: markerPulse 2s infinite;
}

.map-marker::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
}

@keyframes rotateTaxi {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateY(-100px);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) translateY(-100px);
  }
}

@keyframes markerPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1.2);
  }
}

/* ===== Calculator Section ===== */
.calculator-section {
  padding: 80px 0;
}

/* 3 Column Grid Layout */
.calculator-3col-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 30px;
  align-items: start;
}

.calculator-column {
  display: flex;
  flex-direction: column;
}

.calculator-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  height: 100%;
}

.calculator-info {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--light-color);
  border-radius: 15px;
}

.info-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}

.info-item i {
  font-size: 2rem;
  color: var(--secondary-color);
}

.calculator-form {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1.1rem;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.calculator-result {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  animation: fadeIn 0.5s;
}

.result-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.result-content i {
  font-size: 3rem;
  color: var(--dark-color);
}

.result-content > div {
  text-align: left;
}

.result-label {
  display: block;
  font-size: 1rem;
  color: var(--dark-color);
  opacity: 0.8;
}

.result-price {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
}

.result-note {
  font-size: 0.9rem;
  color: var(--dark-color);
  opacity: 0.7;
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Left Column: Mini Map Card ===== */
.mini-map-card,
.whatsapp-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mini-card-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-card-title i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.mini-map-box {
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  border-radius: 15px;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #ccc;
}

.map-pin-icon {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  animation: pinBounce 2s infinite;
}

@keyframes pinBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.map-description {
  font-size: 1rem;
  color: #666;
  margin: 0;
  font-weight: 500;
}

.btn-map-open {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--dark-color);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  margin-top: auto;
}

.btn-map-open:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== Right Column: WhatsApp Card ===== */
.whatsapp-description {
  margin-bottom: 25px;
  flex-grow: 1;
}

.whatsapp-description p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
}

.btn-whatsapp-quick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 20px;
  background: #25d366;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  margin-top: auto;
}

.btn-whatsapp-quick:hover {
  background: #1faa52;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp-quick i {
  font-size: 1.4rem;
}

/* ===== Regions Section ===== */
.regions-section {
  padding: 80px 0;
  background: var(--light-color);
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.region-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.region-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.region-card i {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.region-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.region-card p {
  color: #666;
}

/* ===== Comments Section (Yatay Kaydırma Düzeltildi) ===== */
.comments-section {
  padding: 80px 0;
  overflow: hidden; /* Sayfa dışına taşmayı engelle */
}

.comments-slider {
  position: relative;
  width: 100%;
}

.slider-container {
  display: flex; /* Yan yana dizilimi sağlar */
  flex-wrap: nowrap; /* ASLA alt satıra geçme */
  overflow-x: auto; /* Yatayda kaydırmaya izin ver */
  gap: 30px; /* Kartlar arası boşluk */
  padding: 20px 5px; /* Üst-alt boşluk (gölge kesilmesin diye) */
  scroll-behavior: smooth; /* Yumuşak kaydırma */

  /* Scrollbar'ı gizle (Daha temiz görünüm için) */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */

  /* Mobilde kaydırma hissini iyileştirir */
  -webkit-overflow-scrolling: touch;
}

/* Chrome/Safari için scrollbar gizleme */
.slider-container::-webkit-scrollbar {
  display: none;
}

.comment-card {
  /* Kart Yapısı */
  flex: 0 0 auto; /* ÖNEMLİ: Kartın büzülmesini veya genişlemesini engeller */
  width: 350px; /* Sabit genişlik */
  height: 400px; /* Sabit yükseklik */
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);

  /* İçerik Hizalama */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s;
}

.comment-card:hover {
  transform: translateY(-5px);
}

.comment-rating {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.comment-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  font-style: italic;

  /* Uzun yazıları kart içinde kaydır */
  overflow-y: auto;
  flex-grow: 1;
  margin-bottom: 15px;
  padding-right: 5px;

  /* Yazı içi scrollbar tasarımı */
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f1f1f1;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--light-color);
  overflow: hidden;
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Butonlar (Slider Okları) ===== */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  border: none;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.slider-prev {
  left: -20px;
}
.slider-next {
  right: -20px;
}

.slider-btn:hover {
  background: var(--dark-color);
  color: var(--primary-color);
}

/* ===== Mobil Düzenlemeler ===== */
@media (max-width: 768px) {
  /* Okları mobilde gizle (parmakla kaydırırlar) */
  .slider-prev,
  .slider-next {
    display: none;
  }

  .comment-card {
    /* Mobilde kartlar biraz daha dar olsun ama hala sabit */
    width: 300px;
    height: 380px;
  }
}

/* ===== Gallery Section ===== */
.gallery-section {
  padding: 80px 0;
  background: var(--light-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: white;
  font-size: 3rem;
}

/* ===== Contact Section ===== */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 5px;
}

.contact-item h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--dark-color);
}

.contact-item a {
  color: var(--secondary-color);
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--dark-color);
}

.contact-map {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
}

.contact-map iframe {
  display: block;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark-color);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col h3 i {
  color: var(--primary-color);
}

.footer-col h4 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.footer-col p {
  opacity: 0.8;
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  padding: 8px 0;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col ul li i {
  color: var(--primary-color);
  width: 20px;
}

.footer-col a {
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

/* ===== Lazy Loading ===== */
img.lazy {
  opacity: 0;
  transition: opacity 0.5s;
}

img.lazy.loaded {
  opacity: 1;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  .nav-menu,
  .nav-call-btn {
    display: none;
  }

  .mobile-tab-bar {
    display: flex;
  }

  .whatsapp-float {
    bottom: 90px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .slider-prev,
  .slider-next {
    display: none;
  }

  .comment-card {
    min-width: 300px;
  }

  /* 3-column calculator to 1 column on tablet */
  .calculator-3col-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* Reorder: center first, then right, then left */
  .center-column {
    order: 1;
  }

  .whatsapp-column {
    order: 2;
  }

  .map-column {
    order: 3;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .calculator-info {
    flex-direction: column;
    gap: 15px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .calculator-card {
    padding: 25px;
  }

  .result-price {
    font-size: 2rem;
  }

  .comment-card {
    min-width: 280px;
    padding: 25px;
  }
}

/* ===== Gezen Taksi (Yavaş Mod) ===== */
.roaming-taxi {
  position: fixed;
  width: 110px; /* Biraz büyüttük tıklaması kolay olsun */
  z-index: 9998;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.5s ease;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
}

.roaming-taxi.active {
  opacity: 1;
}

.taxi-body img {
  width: 100%;
  display: block;
}

/* Küçük İpucu (Hover yapınca çıkar) */
.taxi-mini-tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--dark-color);
  color: var(--primary-color);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
  white-space: nowrap;
}

.roaming-taxi:hover .taxi-mini-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== Sürücü Modal (Popup) Tasarımı ===== */
.driver-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7); /* Arka planı karart */
  z-index: 9999; /* Taksinin bile üstünde */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.driver-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.driver-modal-card {
  background: white;
  width: 90%;
  max-width: 350px;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-top: 5px solid var(--primary-color);
}

.driver-modal-overlay.open .driver-modal-card {
  transform: scale(1);
}

.close-modal-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  transition: color 0.3s;
}

.close-modal-btn:hover {
  color: red;
}

.driver-avatar {
  width: 80px;
  height: 80px;
  background: var(--light-color);
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--dark-color);
  border: 3px solid var(--primary-color);
}

.driver-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 5px;
}

.driver-status {
  color: #28a745;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #28a745;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #666;
}

.info-row i {
  color: var(--secondary-color);
}

.call-driver-btn,
.whatsapp-driver-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  transition: transform 0.2s;
}

.call-driver-btn {
  background: var(--dark-color);
  color: white;
}

.whatsapp-driver-btn {
  background: #25d366;
  color: white;
  margin-top: 10px;
}

.call-driver-btn:hover,
.whatsapp-driver-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
