/* TEMEL AYARLAR VE RENK SKALASI    */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* Menü linklerine tıklayınca yumuşak kayma sağlar */
}

body {
  /* Renk Paleti: Derin Kurumsal Lacivert (#0a1c3a) - Doygun Mavi (#133863) */
  background: #ffffff;
  font-family: "Montserrat", sans-serif;
  color: #0704ae; /* Açık slate/blue-gray text */
  -webkit-font-smoothing: antialiased;
}

/* Bulut Animasyonu */
.clouds {
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: url("https://www.transparenttextures.com/patterns/az-subtle.png");
  opacity: 0.08; /* Hafif bir bulut dokusu */
  z-index: 1;
  animation: drift 100s linear infinite;
  pointer-events: none;
}

/* ================================================== */
/* MENÜ (NAVİGASYON)                                  */
/* ================================================== */
.premium-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #1273f3; /* açık mavi  */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.nav-logo {
  font-size: 1.4rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.logo-light {
  font-weight: 400;
  color: #1273f3;
}
.logo-bold {
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.nav-links a:hover {
  color: #1273f3; /* Hover turuncu */
  opacity: 1;
}

/* ================================================== */
/* BÖLÜM SARMALAYICILARI VE GENEL DÜZEN               */
/* ================================================== */
.section-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 20px 80px 20px;
  position: relative;
  z-index: 10;
}

.bg-darker {
  /* Çok derin, doymuş lacivert arka plan */
  background: #0704ae;
  backdrop-filter: blur(5px);
}

.container {
  text-align: center;
  width: 100%;
  max-width: 1000px;
}

/* ================================================== */
/* 1. BÖLÜM: OTOBÜS VE YENİ TÜRKİYE YOLU SAHNESİ      */
/* ================================================== */
.animation-stage {
  position: relative;
  height: 320px;
  width: 100%;
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.bus-container {
  position: relative;
  z-index: 10;
  margin-bottom: -55px;
  animation: busBounce 0.8s ease-in-out infinite alternate;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bus-container:hover {
  transform: scale(1.08) translateY(-10px);
}

.bus-image {
  width: 650px;
  display: block;
  filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.15)) brightness(1.15)
    saturate(1.2) contrast(1.05);
  border-radius: 10px;
}

/* Turbo Etkileri */
.turbo-bus {
  animation: busTurbo 0.15s ease-in-out infinite alternate !important;
}
.turbo-road {
  animation: roadMove 0.2s linear infinite !important;
}

/* ================================================== */
/* TİPOGRAFİ VE RENKLER (TÜM TONLARLA HARMONİ)        */
/* ================================================== */
.pre-title {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 5px;
  color: #1273f3; /* İzer Turuncu */
  margin-bottom: 15px;
}

.premium-title,
.section-title {
  font-size: 2.8rem;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 25px;
  font-weight: 700;
}

.light-italic {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-style: italic;
  color: #0704ae; /* Slate/blue-gray */
}

.sub-text {
  font-size: 1.15rem;
  color: #0704ae; /* Slate/blue-gray */
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 40px;
}

.scroll-indicator {
  font-size: 0.85rem;
  color: #1273f3; /* İzer Turuncu */
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 30px;
  animation: pulse 2s infinite;
}

/* ================================================== */
/* 2. BÖLÜM: ÖZELLİK KARTLARI                         */
/* ================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  /* Derin Lacivert Kart Arka Planı */
  background: rgba(10, 28, 58, 0.2);
  border: 1px solid rgba(25, 76, 142, 0.3); /* Premium Lacivert Accent Sınırı */
  border-radius: 20px;
  padding: 40px 30px;
  text-align: left;
  transition: all 0.4s ease;
}

.feature-card:hover {
  background: #0704ae (10, 28, 58, 0.5); /* Hoverda derinleşir */
  border-color: #1273f3; /* İzer Turuncu Vurgu Sınırı */
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.95rem;
  color: #fff; /* Slate/blue-gray */
  line-height: 1.6;
}

/* ================================================== */
/* 3. BÖLÜM: FORMLAR VE DETAYLI İLETİŞİM              */
/* ================================================== */
.newsletter-wrapper {
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
}

.premium-form {
  display: flex;
  background: rgba(10, 28, 58, 0.05); /* Derin Lacivert */
  border: 1px solid rgba(25, 76, 142, 0.1); /* Premium Lacivert Accent Sınırı */
  border-radius: 50px;
  padding: 5px;
  width: 100%;
  max-width: 550px;
  transition: all 0.3s ease;
}

.premium-form:focus-within {
  border-color: #1273f3; /* İzer Mavi Vurgu Sınırı */
  box-shadow: 0 0 20px rgba(243, 156, 18, 0.2);
}

.premium-form input {
  flex-grow: 1;
  padding: 15px 25px;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1rem;
  color: #fff;
}

.premium-form button {
  padding: 15px 35px;
  border: none;
  border-radius: 50px;
  background-color: #1273f3; /* İzer Mavi Buton */
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.premium-form button:hover {
  background-color: #1273f3; /* Koyu Mavi Hover */
}

/* Doğrudan İletişim Alanı */
.contact-box {
  margin-top: 40px;
  padding: 30px;
  background: rgba(5, 15, 30, 0.01); /* Çok Derin Lacivert Arka Plan */
  border-radius: 20px;
  display: inline-block;
  border: 1px dashed rgba(25, 76, 142, 0.15); /* Premium Lacivert Accent Sınırı */
}

.contact-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #0704ae; /* Slate/blue-gray */
  margin-bottom: 10px;
}

.phone-link {
  font-size: 2rem;
  color: #1273f3; /* İzer  Telefon Linki */
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s;
}

.phone-link:hover {
  color: #fff;
}

.contact-sub {
  font-size: 0.85rem;
  color: #0704ae; /* Slate/blue-gray */
  margin-top: 10px;
}

/* Bildirim Mesajları */
.alert {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  margin-bottom: 25px;
  font-weight: 600;
}

.alert.success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid #4ade80;
}
.alert.error {
  background: rgba(239, 68, 68, 0.15);
  color: #1273f3;
  border: 1px solid #1273f3;
}

/* Alt Bilgi (Footer Ziyaretçi Sayacı) */
.sub-footer {
  padding: 30px 20px;
  text-align: center;
  background: #0704ae; /* Koyu Derin Lacivert Arka Plan */
  position: relative;
  z-index: 100;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats {
  font-size: 0.8rem;
  color: #0704ae; /* Slate/blue-gray */
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Animasyon Keyframes --- */
@keyframes roadMove {
  0% {
    background-position:
      0 0,
      0 center;
  }
  100% {
    /* 100px ilerlemesi kesik çizgilerin aralığına tam uyar, pürüzsüz kayar */
    background-position:
      0 0,
      100px center;
  }
}

@keyframes busBounce {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-4px) rotate(-1deg);
  }
}

@keyframes busTurbo {
  0% {
    transform: translateY(0px) rotate(-2deg);
  }
  100% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes drift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -2000px 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* --- Nokta Animasyonu --- */

/* Noktaların kutusu  */
.premium-title .dots::after {
  content: ""; /* Başlangıçta boş */
  animation: dotsAnimation 1.5s steps(4, end) infinite; /* 1.5 saniyede bir döner */
  color: #1273f3; /* İzer  */
}

/* Adım adım nokta ekleme kuralları */
@keyframes dotsAnimation {
  0% {
    content: "";
  }
  25% {
    content: ".";
  }
  50% {
    content: "..";
  }
  75% {
    content: "...";
  }
  100% {
    content: "";
  }
}

/* MOBİL UYUMLULUK (RESPONSIVE TASARIM) KODLARI       */

@media screen and (max-width: 768px) {
  /* Menüyü mobilde alt alta daha zarif hale getir */
  .premium-nav {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
    top: 10px;
    border-radius: 20px;
  }

  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  /* Başlıkları mobil ekrana sığacak kadar küçült */
  .premium-title,
  .section-title {
    font-size: 2rem;
  }

  .sub-text {
    font-size: 1rem;
  }

  /* OTOBÜSÜ VE SAHNEYİ MOBİLE UYDUR */
  .animation-stage {
    height: 260px; /* Sahneyi daralt */
  }

  .bus-image {
    width: 100%; /* Ekrana göre esne */
    max-width: 320px; /* Telefondaki maksimum boyutu */
  }

  /* Bölüm iç boşluklarını daralt */
  .section-wrapper {
    padding: 180px 15px 60px 15px;
    min-height: auto; /* Mobilde tam ekran zorunluluğunu kaldır */
  }

  /* Özellik Kartlarını Mobilde Tek Sütun Yap */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Bülten Formunu Mobilde Alt Alta Al */
  .premium-form {
    flex-direction: column;
    border-radius: 25px;
    background: transparent;
    border: none;
  }

  .premium-form input {
    border-radius: 50px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
  }

  .premium-form button {
    width: 100%;
    border-radius: 50px;
  }
}
