/* Genel Ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #121212;
  color: #ffffff;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth; /* Tıklanan yere kayarak, yumuşak gitmeyi sağlar */
  scroll-padding-top: 100px; /* Sabit menünün yüksekliği kadar boşluk bırakarak kaydırır */
}

/* --- Premium Yükleme Ekranı (Loader) --- */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #121212; /* Sitenin arka planıyla kusursuz bütünlük sağlar */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99999; /* Her şeyin en üstünde durması için */
  transition:
    opacity 0.4s ease,
    visibility 0.4s; /* Yumuşakça kaybolması için */
}

/* Gerçek Lastik Animasyonu */
.tire-spinner-img {
  width: 90px;
  animation: spin-fast 1s linear infinite;
  margin-bottom: 25px;
  /* Lastiğin havada döndüğünü hissettiren şık bir alt gölge */
  filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.9));
}

@keyframes spin-fast {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Yükleniyor Yazısına Nefes Efekti */
.loader-text {
  color: #ff5722;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes pulse-text {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

/* Hero Section (Video Arka Planı) */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translateX(-50%) translateY(-50%);
  filter: brightness(0.4); /* Yazıların okunması için videoyu karartıyoruz */
}

.hero-content {
  z-index: 1;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #ff5722;
}

/* Navbar Tasarımı */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 50px; /* Eski haline, 20px'e döndü */
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 2px solid #333;
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.navbar .highlight {
  color: #ff5722;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff5722;
}

.btn-outline {
  border: 2px solid #ff5722;
  padding: 8px 20px;
  border-radius: 25px;
}

.btn-outline:hover {
  background: #ff5722;
  color: #fff !important;
}

/* Scroll Eden Lastik Konteyneri */
#scrolling-tire-container {
  position: fixed;
  top: 0;
  right: 5%; /* Ekranın sağından %5 içeride */
  height: 100vh;
  pointer-events: none; /* Farenin bu resme tıklamasını/takılmasını engeller */
  z-index: 999;
}

#scrolling-tire {
  width: 100px; /* Lastiğin boyutu */
  position: absolute;
  top: -120px; /* Başlangıçta ekranın üstünde gizli */
}

/* Lastik İzi Arka Planı (Opsiyonel Detay) */
.tire-track-bg {
  position: relative;
}

.tire-track-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Transparan bir lastik izi PNG'sini buraya koyabilirsin */
  background-image: url("../assets/images/tire-track-pattern.png");
  background-size: cover;
  opacity: 0.05; /* Sadece belli belirsiz bir doku vermek için */
  z-index: -1;
}
/* --- Hero Slayt Animasyonu --- */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1); /* Resim %10 büyük başlar */
  /* KRİTİK ÇÖZÜM: Animasyon süresini buraya taşıdık ki class silinince aniden durmasın */
  transition:
    opacity 2s ease-in-out,
    transform 10s ease-out;
}

.hero-slideshow .slide.active {
  opacity: 1; /* Sadece active sınıfı olan görünür */
  transform: scale(1); /* Resim görünürken yavaşça normal boyutuna iner */
}

.hero-slideshow .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    0,
    0,
    0,
    0.6
  ); /* Resimlerin üzerine siyah transparan perde (yazılar okunsun diye) */
  z-index: 1;
}

/* --- Footer Tasarımı --- */
.site-footer {
  background-color: #0a0a0a;
  padding: 60px 20px 20px;
  border-top: 3px solid #ff5722;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h3 {
  color: #ff5722;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #222;
  color: #777;
  font-size: 0.9rem;
}
.footer-col p {
  color: #bbb;
  line-height: 1.7; /* Satır aralarını ferahlatır */
  margin-top: 10px; /* Başlıkla arasına şık bir boşluk koyar */
  text-align: left;
}

/* --- Gelişmiş Çerez Bildirim Çubuğu --- */
.cookie-banner {
  position: fixed;
  bottom: -200px; /* Başlangıçta iyice gizli kalması için */
  left: 0;
  width: 100%;
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(15px);
  color: #fff;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  z-index: 9999;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.7);
  transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1); /* Lüks yaylanma efekti */
  border-top: 1px solid #333;
  flex-wrap: wrap; /* Mobilde alt alta geçmesi için kritik */
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  flex: 1;
  min-width: 300px;
}

.cookie-content p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
  color: #bbb;
}

.cookie-content a {
  color: #ff5722;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cookie-content a:hover {
  color: #fff;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-buttons button {
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 25px;
  transition: all 0.3s ease;
  border: none;
}

/* Tercihler Butonu (Transparan/Çizgili) */
.btn-cookie-outline {
  background-color: transparent;
  color: #bbb;
  border: 1px solid #555 !important;
}
.btn-cookie-outline:hover {
  background-color: #333;
  color: #fff;
  border-color: #fff !important;
}

/* Reddet Butonu (Hafif Kırmızımsı Gri - Dikkat Çeker ama Yormaz) */
.btn-cookie-reject {
  background-color: #2a2a2a;
  color: #ff4c4c;
}
.btn-cookie-reject:hover {
  background-color: #ff4c4c;
  color: #fff;
}

/* Kabul Et Butonu (Kurumsal Turuncu - Ön Plana Çıkar) */
.btn-cookie-accept {
  background-color: #ff5722;
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3);
}
.btn-cookie-accept:hover {
  background-color: #e64a19;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 87, 34, 0.5);
}

/* Telefon Ekranları İçin Kusursuz Hizalama */
@media (max-width: 850px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    padding-bottom: 30px; /* iPhone'lardaki alttaki çizgi (home indicator) için ekstra boşluk */
  }
  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }
  .cookie-buttons button {
    flex: 1; /* Butonlar mobilde yan yana ekranı eşit kaplar */
    min-width: 100px;
    padding: 12px 10px;
  }
}
/* --- Footer İletişim Emojileri Hizalaması --- */
.contact-item {
  display: flex;
  align-items: flex-start; /* Yazı uzayıp alt satıra geçerse emoji hep üstte, sabit kalsın */
  gap: 12px; /* Emoji ile yazı arasındaki şık boşluk */
  margin-bottom: 15px; /* Alt alta gelen iki iletişim bilgisi arası boşluk */
  color: #bbb;
}

.contact-item .icon {
  font-size: 1.2rem;
  line-height: 1.4; /* Emojiyi yazının tam ortasına/başına oturtmak için */
}

.contact-item .text {
  line-height: 1.5;
}
/* --- Buton Stilleri --- */
.btn-primary {
  display: inline-block;
  background-color: #ff5722;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #e64a19;
  transform: translateY(-3px); /* Üzerine gelince hafifçe yukarı kalkar */
}

/* --- Galeri Sayfası Özel Karşılama (Hero) --- */
.page-header {
  margin-top: 80px; /* Menünün altında kalmaması için */
  padding: 60px 20px;
  text-align: center;
  background-color: #1a1a1a;
  border-bottom: 2px solid #333;
}

.page-header h1 {
  font-size: 3rem;
  color: #ff5722;
  margin-bottom: 15px;
}

.page-header p {
  color: #bbb;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}
/* --- Ortadaki Dev Logo Stili --- */
.hero-center-logo {
  width: 180px; /* İsteğine göre bu sayıyı büyütüp küçültebilirsin (örn: 220px) */
  height: auto;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Logoya şık bir gölge verir, arka plandan koparır */
}
/* --- Hizmet Kutusu İçindeki Resimler --- */
.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover; /* Resmi ezmeden kutuya doldurur */
  border-radius: 10px; /* Kenarlarını hafif yuvarlatır */
  margin-bottom: 20px; /* Yazıyla arasına boşluk bırakır */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Resmin altına hafif gölge atar */
}
/* --- 7/24 Acil Çağrı Şeridi (CTA) Tasarımı --- */
.cta-section {
  background: linear-gradient(135deg, #ff5722 0%, #e64a19 100%);
  padding: 70px 20px;
  text-align: center;
  color: #fff;
  border-top: 4px solid #333;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Yazıya derinlik katar */
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  font-weight: 500;
}

/* Dev İletişim Butonu */
.btn-cta {
  display: inline-block;
  background-color: #121212; /* Butonun içi siyah */
  color: #ff5722; /* Yazısı turuncu */
  padding: 18px 45px;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  animation: pulse 2s infinite; /* Nefes alma efekti (Dikkat çeker) */
}

.btn-cta:hover {
  background-color: #fff; /* Üstüne gelince parlar */
  color: #e64a19;
  transform: scale(1.05);
}

/* Buton için Nabız (Pulse) Animasyonu */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(18, 18, 18, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(18, 18, 18, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(18, 18, 18, 0);
  }
}
/* --- Hamburger Menü İkonu Tasarımı (Başlangıçta Gizli) --- */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001; /* Açılan menünün üstünde kalsın diye */
}

.hamburger .bar {
  display: block;
  width: 28px;
  height: 3px;
  margin: 6px auto;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/* --- TELEFON VE TABLET EKRANLARI İÇİN UYUMLULUK (Responsive) --- */
@media (max-width: 850px) {
  /* 1. Hamburger ikonunu mobilde görünür yap */
  .hamburger {
    display: block;
  } /* İŞTE BU PARANTEZ EKSİKTİ */

  /* --- Mobilde Yuvarlanan Lastik Ayarı --- */
  #scrolling-tire-container {
    right: 5%; /* Ekranın sağından %5 içeride dursun */
    z-index: 990;
  }

  #scrolling-tire {
    width: 45px !important; /* Mobilde lastiği iyice küçültüp eziyoruz (!important ile güvenceye aldık) */
  }

  /* 2. Menü linklerini ekranın sağ dışına gizle */
  .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    flex-direction: column;
    background-color: rgba(18, 18, 18, 0.98);
    width: 70%;
    height: 100vh;
    text-align: center;
    padding-top: 100px;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
  }

  /* 3. JS ile active class'ı gelince menüyü ekrana sok */
  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 25px 0;
  }

  /* 4. Hamburger ikonuna tıklandığında şeklinin X (Çarpı) olması animasyonu */
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: #ff5722;
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #ff5722;
  }

  /* --- Mobilde Kaba Duran Dev Yazıları Küçültme --- */
  .hero-center-logo {
    width: 130px;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content h2 {
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .services-container {
    flex-direction: column;
    align-items: center;
  }
}
/* --- MÜŞTERİ YORUMLARI TASARIMI --- */
.testimonials-section {
  padding: 100px 0; /* Kenar boşluklarını sıfırladık ki slider tam ekrana yayılsın */
  text-align: center;
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

/* Sağ ve Sol Kenardaki "Sis/Karartma" Efekti */
.slider-wrapper::before,
.slider-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15%; /* Kenarlardaki karartma genişliği */
  height: 100%;
  z-index: 2;
  pointer-events: none; /* Fare tıklamalarını engellemesin diye */
}

/* Sol kenar siyahlık */
.slider-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #121212 0%, transparent 100%);
}

/* Sağ kenar siyahlık */
.slider-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #121212 0%, transparent 100%);
}

/* Yorumların Aktığı Ray Sistemi */
.testimonials-track {
  display: flex;
  gap: 30px;
  width: max-content; /* Genişliği içindeki kartlar kadar olsun */
  /* Animasyon: 35 Saniyede bir tam tur (Hızı buradan ayarlayabilirsin) */
  animation: scrollSlider 35s linear infinite;
}

/* Fareyle yorumun üstüne gelince slider durur (Okuması kolaylaşır) */
.testimonials-track:hover {
  animation-play-state: paused;
}

/* Sonsuz Akış Animasyonu */
@keyframes scrollSlider {
  0% {
    transform: translateX(0);
  }
  /* Tam yarısına geldiğinde başa atar, kullanıcı kesinti olduğunu anlamaz */
  100% {
    transform: translateX(calc(-50% - 15px));
  }
}

/* Kart Tasarımı */
.testimonial-card {
  background: linear-gradient(145deg, #1a1a1a, #111);
  padding: 30px;
  border-radius: 15px;
  width: 380px;
  border-top: 4px solid #ff5722;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.4s ease,
    border-color 0.4s ease;
  white-space: normal; /* Yazıların kart içinde alt satıra geçmesi için */
}

.testimonial-card:hover {
  transform: translateY(-10px);
  border-top-color: #fff;
  box-shadow: 0 15px 35px rgba(255, 87, 34, 0.15);
}

.stars {
  color: #ffc107; /* Yıldız sarısı */
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.comment {
  font-style: italic;
  color: #ccc;
  margin-bottom: 20px;
  line-height: 1.6;
}

.customer-info {
  border-top: 1px solid #333;
  padding-top: 15px;
}

.customer-name {
  font-weight: bold;
  color: #fff;
}

.customer-date {
  font-size: 0.8rem;
  color: #888;
}

/* --- SIKÇA SORULAN SORULAR (FAQ) TASARIMI --- */
.faq-section {
  padding: 100px 5%; /* Diğer bölümlerle aynı ferahlığı yakalamak için 100px yaptık */
  text-align: center; /* İçindeki tüm başlık ve metinleri tam ortaya hizalar */
}

/* Kutu içindeki soruların ortalanmaması, sola yaslı düzgün durması için ufak bir koruma */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Soruya tıklandığında yanındaki ok işaretini simüle eden after efekti */
.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: #ff5722;
  transition: transform 0.3s ease;
}

.faq-question.active {
  background-color: #222;
  color: #ff5722;
}

.faq-question.active::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  background-color: #1a1a1a;
  padding: 0 20px; /* Kapalıyken yükseklik 0 olduğu için padding de 0 */
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease; /* Akordeon efekti hızı */
}

.faq-answer p {
  color: #bbb;
  padding: 15px 0;
  line-height: 1.6;
}
/* --- Sabit WhatsApp Butonu --- */
.floating-whatsapp {
  position: fixed;
  bottom: 100px; /* 30px yerine 100px yaptık, tam çizdiğin yere yükselecek */
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  transition: transform 0.3s ease;
  animation: pulse-wa 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1); /* Fareyle üstüne gelince büyür */
}

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

/* Telefon ekranlarında butonun yuvarlanan lastik ile üst üste binmemesi için ufak ayar */
@media (max-width: 850px) {
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .floating-whatsapp svg {
    width: 30px;
    height: 30px;
  }
}
/* --- İLETİŞİM SAYFASI TASARIMI --- */
.contact-page-section {
  padding: 60px 5%;
  background-color: #121212;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-details-box {
  background-color: #1a1a1a;
  padding: 40px;
  border-radius: 15px;
  border-top: 4px solid #ff5722;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.contact-details-box h3 {
  color: #ff5722;
  font-size: 2rem;
  margin-bottom: 15px;
}

.contact-details-box p {
  color: #bbb;
  line-height: 1.6;
  margin-bottom: 30px;
}

.info-line {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.5;
}

.info-line .icon {
  font-size: 1.5rem;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  border: 3px solid #333;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
/* --- İletişim Sayfası Özel WhatsApp Butonu --- */
.info-line.align-center {
  align-items: center;
}

.wa-mini-btn {
  display: inline-block;
  background-color: #25d366; /* WhatsApp Yeşili */
  color: #fff !important;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.wa-mini-btn:hover {
  background-color: #1ebe57; /* Üstüne gelince hafif koyulaşır */
  transform: translateY(-2px); /* Tıklama hissiyatı için yukarı kalkar */
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
}
/* --- Telefon Butonu (İletişim Sayfası) --- */
.phone-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ff5722; /* Yiğit Oto Lastik Turuncusu */
  color: #fff !important;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3);
}

.phone-mini-btn:hover {
  background-color: #e64a19; /* Üstüne gelince koyulaşır */
  transform: translateY(-2px); /* Şık bir kalkış efekti */
  box-shadow: 0 6px 15px rgba(255, 87, 34, 0.5);
}
/* --- Üst Menü (Navbar) Logo ve Telefon Grubu --- */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 2px solid #ff5722; /* Turuncu ayraç çizgisi */
  padding-left: 20px; /* Çizgi ile yazı arasındaki boşluk */
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.nav-phone a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-phone a:hover {
  color: #ff5722;
}

/* Telefon ekranında üst menü sıkışmasın diye numarayı gizliyoruz 
   (Çünkü zaten mobilde WhatsApp butonu ve aşağıdaki şerit var) */
@media (max-width: 850px) {
  .nav-phone {
    display: none;
  }
}

/* --- Ana Ekran (Hero) Yazı Büyüklük ve Denge Ayarları --- */
.hero-content h1 {
  font-size: 3.2rem; /* Çok kaba durmaması için hafif küçülttük */
  letter-spacing: 4px; /* Harf aralarını açıp premium hava kattık */
  margin-bottom: 10px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-content h2 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #ff5722; /* Alt başlığı turuncu yaparak asıl odak noktası haline getirdik */
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9);
}

.hero-content p {
  font-size: 1.1rem;
  color: #ddd;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase; /* Yazıları büyük harf yaparak altını tok bir şekilde çizdik */
}
/* --- Hizmetler Bölümü --- */
.services-section {
  padding: 100px 5%;
  text-align: center;
  overflow: hidden;
}

.services-container {
  display: grid;
  /* KRİTİK ÇÖZÜM: Kart genişliğini 320px-350px arasına kilitledik ve tam ortaya sabitledik */
  grid-template-columns: repeat(auto-fit, minmax(320px, 350px));
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Premium Kart Tasarımı */
.service-box {
  background: linear-gradient(145deg, #1a1a1a, #111);
  border: 1px solid #2a2a2a; /* Çok ince, şık bir çerçeve */
  padding: 25px;
  border-radius: 16px;
  text-align: left; /* Yazıları sola yaslamak lüks ve kurumsal bir hava katar */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
  overflow: hidden; /* Resim büyüdüğünde kartın dışına taşmasın diye */
  display: flex;
  flex-direction: column;
}

/* Karta dokunulduğundaki parlama efekti */
.service-box:hover {
  transform: translateY(-10px);
  border-color: #ff5722;
  box-shadow: 0 15px 40px rgba(255, 87, 34, 0.15);
}

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: transform 0.5s ease;
}

/* Karta gelince resim hafifçe içten büyür (Sıfır kasma, bol kalite) */
.service-box:hover .service-img {
  transform: scale(1.05);
}

.service-box h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Başlığın yanına lüks bir detay (Turuncu nokta) */
.service-box h3::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #ff5722;
  border-radius: 50%;
}

.service-box p {
  color: #aaa;
  line-height: 1.6;
  font-size: 0.95rem;
  flex-grow: 1;
}

/* --- Sosyal Medya Butonları --- */
.social-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Instagram Gradyan Rengi */
.ig-btn {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  box-shadow: 0 4px 10px rgba(220, 39, 67, 0.3);
}

.ig-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(220, 39, 67, 0.5);
}

/* Facebook Mavi Rengi */
.fb-btn {
  background-color: #1877f2;
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.3);
}

.fb-btn:hover {
  background-color: #166fe5;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(24, 119, 242, 0.5);
}
/* --- Lüks Hareketli Arka Plan (Services ve SSS İçin) --- */
.animated-dark-bg {
  /* Simsiyah, koyu gri ve çok derinden gelen bir turuncu tonu */
  background: linear-gradient(-45deg, #0a0a0a, #161616, #2a0b00, #121212);
  background-size: 400% 400%; /* Arka planı devasa yapıp sadece bir kısmını gösteriyoruz */
  animation: flowBG 15s ease infinite; /* 15 saniyede bir yavaşça dalgalanır */
}

@keyframes flowBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Kasmaları Önleyen Ekstra Performans Ayarı */
.service-box,
.tire-animate {
  will-change:
    transform, opacity; /* Tarayıcıya "bunlar animasyonlu, ekran kartına devret" diyoruz */
}
/* --- HAKKIMIZDA SAYFASI ANA DÜZENİ --- */
.about-section {
  padding: 100px 5%;
  background-color: #121212;
  overflow: hidden;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Sol Yazı Alanı */
.about-text {
  flex: 1.2;
}

.about-subtitle {
  color: #ff5722;
  font-size: 2rem;
  margin-bottom: 25px;
  line-height: 1.3;
}

.about-text p {
  color: #bbb;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Sağ Görsel Alanı ve Rozet */
.about-image-wrapper {
  flex: 1;
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  border: 2px solid #333;
  transition: transform 0.6s ease;
}

/* Fareyle üstüne gelince gazete haberi 3D gibi hafif eğilir */
.about-image-wrapper:hover .about-img {
  transform: scale(1.03) rotate(2deg);
  border-color: #ff5722;
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: linear-gradient(135deg, #ff5722 0%, #e64a19 100%);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  box-shadow: 0 10px 25px rgba(255, 87, 34, 0.4);
  border: 6px solid #121212;
  animation: badge-pulse 2.5s infinite;
}

.experience-badge .year {
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.9rem;
  text-align: center;
  font-weight: 500;
  margin-top: 5px;
}

@keyframes badge-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* --- İSTATİSTİK SAYAÇLARI BÖLÜMÜ --- */
.stats-section {
  background-color: #0a0a0a;
  padding: 70px 5%;
  border-top: 2px solid #222;
  border-bottom: 2px solid #222;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.stat-box {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  color: #ff5722;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  font-family: "Courier New", Courier, monospace;
}

.stat-title {
  color: #ddd;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobilde yan yana değil alt alta düzgün dursunlar diye */
@media (max-width: 850px) {
  .about-container {
    flex-direction: column;
  }
  .experience-badge {
    width: 100px;
    height: 100px;
    bottom: -15px;
    left: -10px;
    border-width: 4px;
  }
  .experience-badge .year {
    font-size: 1.5rem;
  }
  .stat-number {
    font-size: 2.8rem;
  }
}
/* --- BİZDEN KARELER (SONSUZ GALERİ) TASARIMI --- */
.gallery-section {
  padding: 80px 0; /* Yanlardan sıfırladık ki slider ekranın tamamına yayılsın */
  background-color: #121212;
  overflow: hidden;
}

.gallery-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

/* Sağ ve Sol Kenarlardaki Karanlık Sis Efekti */
.gallery-slider-wrapper::before,
.gallery-slider-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15%; /* Sis kalınlığı */
  height: 100%;
  z-index: 2;
  pointer-events: none; /* Fotoğraflara tıklamayı engellemesin diye */
}

.gallery-slider-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #121212 0%, transparent 100%);
}

.gallery-slider-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #121212 0%, transparent 100%);
}

/* Fotoğrafların Aktığı Ray */
.gallery-track {
  display: flex;
  gap: 25px; /* Fotoğraflar arası boşluk */
  width: max-content;
  animation: scrollGallery 30s linear infinite; /* 30 saniyede bir tam tur */
}

/* Fareyle üzerine gelince müşteri rahat incelesin diye akış durur */
.gallery-track:hover {
  animation-play-state: paused;
}

/* Kusursuz Dönüş Matematiği */
@keyframes scrollGallery {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 12.5px));
  }
}

/* Fotoğraf Çerçevesi Tasarımı */
.gallery-img {
  width: 350px;
  height: 250px;
  object-fit: cover; /* Resmi ezmeden kareye sığdırır */
  border-radius: 12px;
  border: 2px solid #2a2a2a;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
  cursor: pointer;
}

/* Fotoğrafın Üstüne Gelince Lüks Parlama Efekti */
.gallery-img:hover {
  transform: scale(1.05) translateY(-10px); /* Büyür ve havaya kalkar */
  border-color: #ff5722;
  box-shadow: 0 15px 35px rgba(255, 87, 34, 0.25);
  z-index: 10;
}

/* Telefon ve Tablet Uyumluluğu */
@media (max-width: 850px) {
  .gallery-img {
    width: 280px;
    height: 200px;
  }
}
/* --- Çerez Tercihleri Modalı (Popup) Tasarımı --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

/* JS ile bu class eklendiğinde Modal görünür olur */
.cookie-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-box {
  background: #1a1a1a;
  width: 90%;
  max-width: 500px;
  border-radius: 15px;
  border: 1px solid #333;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  /* İlk başta hafif aşağıda durur, açılınca yerine oturur */
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.cookie-modal-overlay.active .cookie-modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #333;
  background: #121212;
}

.modal-header h3 {
  color: #ff5722;
  margin: 0;
  font-size: 1.3rem;
}

.close-btn {
  background: transparent;
  border: none;
  color: #bbb;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s;
}
.close-btn:hover {
  color: #ff5722;
}

.modal-body {
  padding: 25px;
}

.modal-desc {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid #333;
}

.option-info h4 {
  color: #fff;
  margin-bottom: 5px;
  font-size: 1rem;
}

.option-info p {
  color: #888;
  font-size: 0.85rem;
  margin: 0;
}

.modal-footer {
  padding: 20px 25px;
  border-top: 1px solid #333;
  background: #121212;
}

/* --- iOS Tarzı Şalter (Toggle Switch) Animasyonu --- */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #444;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
}

/* Buton Açıkken */
input:checked + .slider {
  background-color: #ff5722;
}
input:checked + .slider:before {
  transform: translateX(24px);
}

/* Yuvarlaklık */
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}

/* Zorunlu Çerezler Şalteri (Değiştirilemez) */
.slider.disabled {
  background-color: #ff5722;
  opacity: 0.5;
  cursor: not-allowed;
}
