/* ============================================
   FIRAT OTOMOTİV - Opel & Chevrolet Temalı
   Mobile-First | Açık Tema (Kirli Beyaz)
   ============================================ */

/* --- Renk Paleti: White / Grey / Gold / Night Black --- */
:root {
  /* Real Madrid Gold - Ana Vurgu Rengi */
  --primary: #FEBE10;
  --primary-dark: #D9A40E;
  --primary-light: #FED85C;
  --primary-glow: rgba(254,190,16,0.3);

  /* Night Black - Koyu Tonlar */
  --navy: #1A1A1A;
  --navy-light: #2A2A2A;
  --navy-mid: #3A3A3A;

  /* Bölüm Arka Planları */
  --bg-1: #FFFFFF;
  --bg-2: #F2F2F2;
  --bg-3: #E8E8E8;
  --bg-hero-overlay: rgba(26,26,26,0.82);

  /* Metin Renkleri */
  --text-dark: #1A1A1A;
  --text-body: #4A4A4A;
  --text-muted: #777777;
  --text-white: #FFFFFF;

  /* Kart & Cam Efekti */
  --card-bg: #FFFFFF;
  --card-border: rgba(0,0,0,0.08);
  --glass-border: rgba(255,255,255,0.18);

  /* Genel */
  --radius: 16px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-lg: 0 16px 50px rgba(0,0,0,0.14);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* --- Reset & Genel --- */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-1);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* --- Viewport Animasyonları --- */
.animate-on-scroll {
  opacity: 1; transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.animations-ready .animate-on-scroll {
  opacity: 0; transform: translateY(40px);
}
html.animations-ready .animate-on-scroll.fade-left { transform: translateX(-60px); }
html.animations-ready .animate-on-scroll.fade-right { transform: translateX(60px); }
html.animations-ready .animate-on-scroll.zoom-in { transform: scale(0.85); }
html.animations-ready .animate-on-scroll.flip-up { transform: perspective(600px) rotateX(15deg) translateY(40px); }
html.animations-ready .animate-on-scroll.visible,
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1) rotateX(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================
   KAYAN YAZI BARI (Ticker) - 1.5x boyut
   ============================================ */
.ticker-bar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1001;
  background: var(--primary);
  overflow: hidden; height: 48px;
  display: flex; align-items: center;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.ticker-bar.hidden {
  transform: translateY(-100%);
  opacity: 0; pointer-events: none;
}

/* Sabit (akış içi) kayan yazı - Hero/Hizmetler arası */
.ticker-bar.ticker-static {
  position: relative; top: auto;
  z-index: 1;
}
.ticker-track {
  display: flex; gap: 56px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.ticker-track span {
  font-size: 1.05rem; font-weight: 600;
  color: var(--navy); display: flex;
  align-items: center; gap: 8px;
}
.ticker-track span i { font-size: 0.9rem; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   HEADER - Siyah, kenarlarda boşluklu (floating)
   ============================================ */
.header {
  position: fixed; top: 56px; left: 24px; right: 24px;
  z-index: 1000; padding: 14px 18px;
  background: rgba(26,26,26,0.9);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  transition: all 0.4s ease;
}
.header.scrolled {
  background: rgba(26,26,26,0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.header.full-width {
  top: 0; left: 0; right: 0;
  border-radius: 0;
  padding: 14px 18px;
}
.header .container {
  width: 100%; max-width: none; margin: 0;
  position: relative;
  display: grid; align-items: center;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: clamp(10px, 2vw, 20px);
}
.header-brand-logos {
  display: flex; align-items: center; gap: 0;
  min-width: 0; max-width: 100%; justify-self: start;
}
.header-brand-logo {
  flex: 0 0 auto;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}
.header-brand-logo-castrol { width: 96px; }
.header-title {
  justify-self: center;
  min-width: 0;
  max-width: 100%;
  color: var(--primary);
  font-size: clamp(0.92rem, 3vw, 1.24rem);
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  min-width: 0;
}

/* Logo */
.logo {
  font-size: 1.4rem; font-weight: 800;
  color: var(--primary);
  display: flex; align-items: center; gap: 8px;
}
.logo i { font-size: 1.6rem; }

/* Hamburger (Mobil) */
.menu-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  z-index: 1002; padding: 4px;
  align-items: center; justify-content: center;
  width: 34px; min-width: 34px; height: 32px;
}
.menu-toggle span {
  width: 26px; height: 3px; background: var(--text-white);
  border-radius: 2px; transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }

/* Nav Menü */
.nav {
  position: fixed; top: 0; right: -100%;
  width: 75%; height: 100vh;
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 28px;
  transition: right 0.4s ease; z-index: 1001;
  justify-self: end;
}
.nav.open { right: 0; }
.nav a {
  font-size: 1.1rem; font-weight: 500;
  color: rgba(255,255,255,0.7); position: relative;
  padding: 4px 0; transition: color var(--transition);
  white-space: nowrap;
}
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--primary); transition: width var(--transition);
}
.nav a:hover::after { width: 100%; }

/* Nav CTA Butonu (Randevu Al) */
.nav-cta {
  background: var(--primary) !important;
  color: var(--navy) !important;
  padding: 10px 40px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  transition: all var(--transition) !important;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--primary-glow);
}

/* Kampanya Pop-up */
.campaign-popup {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 260ms ease;
}
.campaign-popup.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.campaign-popup__panel {
  position: relative;
  width: min(94vw, 980px);
  aspect-ratio: 2 / 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 62%, rgba(0,0,0,0.42) 100%),
    url('../images/campaigns/campaign1.webp') center / cover no-repeat;
  color: var(--text-dark);
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
  text-align: center;
  opacity: 0;
  transform: translateY(22px) scale(0.96);
  transition: opacity 260ms ease, transform 260ms ease;
}
.campaign-popup.active .campaign-popup__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.campaign-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.campaign-popup__cta {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  transform: scale(1);
  transform-origin: center;
  justify-content: center;
  min-width: 170px;
  isolation: isolate;
  overflow: visible;
  white-space: nowrap;
}
.campaign-popup__cta.btn-primary:hover {
  transform: scale(1.04);
}
.campaign-popup__cta::before,
.campaign-popup__cta::after {
  content: '';
  position: absolute;
  inset: -7px;
  border: 2px solid rgba(254,190,16,0.62);
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  animation: campaignCtaPulse 2s ease-out infinite;
}
.campaign-popup__cta::after {
  animation-delay: 1s;
}
@keyframes campaignCtaPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.72;
  }
  70% {
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
@media (max-width: 640px) {
  .campaign-popup {
    padding: 14px;
  }
  .campaign-popup__panel {
    width: min(96vw, 520px);
    aspect-ratio: 2 / 1;
  }
  .campaign-popup__close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }
  .campaign-popup__cta {
    bottom: 12px;
    min-width: max-content;
    max-width: calc(100% - 32px);
    padding: 10px 16px;
    font-size: clamp(0.72rem, 3.25vw, 0.84rem);
  }
}

/* ============================================
   HERO - Koyu arka plan korunur (görsel üzeri)
   ============================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: brightness(1.05) contrast(1.1) saturate(1.05); }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.93) 0%, rgba(26,26,26,0.65) 50%, rgba(254,190,16,0.1) 100%);
}
.hero-content {
  position: relative; z-index: 1; padding: 100px 0 60px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border);
  border-radius: 50px; padding: 8px 18px;
  font-size: 0.85rem; color: var(--primary-light);
  margin-bottom: 20px; backdrop-filter: blur(8px);
}
.hero h1 {
  font-size: 2.2rem; font-weight: 800;
  line-height: 1.2; margin-bottom: 16px; color: #fff;
}
.hero h1 span { color: var(--primary); }
.hero p {
  font-size: 1rem; color: rgba(255,255,255,0.7);
  margin-bottom: 28px; max-width: 500px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Butonlar (Gold + Lacivert) --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: all var(--transition); font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--navy); box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.45);
}
.hero-buttons .btn-primary {
  position: relative;
  isolation: isolate;
  animation: heroButtonBreath 2.4s ease-in-out infinite;
}
.hero-buttons .btn-primary::before,
.hero-buttons .btn-primary::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(254,190,16,0.55);
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  animation: heroButtonSignal 2.4s ease-out infinite;
}
.hero-buttons .btn-primary::after {
  animation-delay: 1.2s;
}
@keyframes heroButtonSignal {
  0% {
    transform: scale(0.98);
    opacity: 0.7;
  }
  70% {
    opacity: 0;
  }
  100% {
    transform: scale(1.42);
    opacity: 0;
  }
}
@keyframes heroButtonBreath {
  0%, 100% { box-shadow: 0 4px 20px var(--primary-glow); }
  50% { box-shadow: 0 8px 32px rgba(254,190,16,0.46); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-buttons .btn-primary,
  .hero-buttons .btn-primary::before,
  .hero-buttons .btn-primary::after {
    animation: none;
  }
}
.btn-outline {
  background: transparent; color: #fff;
  border: 2px solid var(--glass-border);
}
.btn-outline:hover {
  border-color: var(--primary); color: var(--primary);
  transform: translateY(-2px);
}

/* Hero İstatistik */
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 40px; padding: 24px 30px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.stat-item h3 { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.stat-item p { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 0; }

/* ============================================
   MARKA LOGOLARI
   ============================================ */
.brand-strip {
  padding: 64px 0 70px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--card-border);
}
.brand-strip .section-header {
  margin-bottom: 30px;
}
.brand-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 34px;
  max-width: 1100px;
  margin: 0 auto;
}
.brand-strip-item {
  min-height: 128px;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.brand-strip-item:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 8px);
  min-width: 140px;
}
.brand-strip-item img {
  max-width: 300px;
  max-height: 108px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-strip-item:nth-child(n+3) img {
  filter: brightness(0) saturate(0);
}

/* Castrol yeşili kayan bar */
.castrol-ticker {
  background: #007a3d;
  overflow: hidden;
  min-height: 81px;
  display: flex;
  align-items: center;
}
.castrol-ticker-track {
  display: flex;
  align-items: center;
  gap: 45px;
  width: max-content;
  animation: castrolTicker 34s linear infinite;
  white-space: nowrap;
}
.castrol-ticker-text {
  flex: 0 0 auto;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}
.castrol-ticker-logo {
  flex: 0 0 auto;
  height: 57px;
  width: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
}
@keyframes castrolTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SECTION ORTAK - Kirli Beyaz Arka Planlar
   ============================================ */
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag {
  display: inline-block; color: var(--primary-dark);
  font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px;
}
.section-header h2 {
  font-size: 1.8rem; font-weight: 800;
  margin-bottom: 14px; color: var(--text-dark);
}
.section-header p {
  color: var(--text-muted); max-width: 550px;
  margin: 0 auto; font-size: 0.95rem;
}

/* ============================================
   HİZMETLER - bg-1 (en açık kirli beyaz)
   ============================================ */
.services { padding: 80px 0; background: var(--bg-1); }
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
}

/* From Uiverse.io by marcelodolza - Boyutlandırılmış & Responsive Uyarlaması */ 
.card {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 190 / 254;
  background: #171717;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 0px 3px 1px #00000088;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0px 12px 24px rgba(0,0,0,0.5);
  z-index: 10;
}

/* Responsive grid mantığı (flex base) */
@media (min-width: 640px) {
  /* Tablet 2-2-1 */
  .card {
    width: calc(50% - 17px);
  }
}

@media (min-width: 1180px) {
  /* Desktop 3-2 */
  .card {
    width: calc(33.333% - 23px);
  }
}

.card .content {
  border-radius: 5px;
  background: #171717;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  z-index: 1;
  padding: 24px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
}

/* İçerik Gösterimi - Hover olunca açıklama yazsın */
.card-info {
  z-index: 2;
  position: relative;
}

.card-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
  transition: transform 0.3s ease;
}

.card-info p {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  font-size: 0.95rem;
  margin-top: 15px;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

.card:hover .card-info h3 {
  transform: translateY(-10px);
}

.card:hover .card-info p {
  opacity: 1;
  transform: translateY(0);
}

.content::before {
  opacity: 0;
  transition: opacity 300ms;
  content: " ";
  display: block;
  background: white;
  width: 75px;
  height: 75px;
  position: absolute;
  filter: blur(50px);
  z-index: -1;
}

.card:hover .content::before {
  opacity: 1;
}

/* Kenarlık gradient animasyonu boyutu % ile */
.card::before {
  opacity: 0;
  content: " ";
  position: absolute;
  display: block;
  width: 150%;
  height: 150%;
  background: linear-gradient(
    90deg,
    transparent,
    #ff2288,
    #387ef0,
    transparent
  );
  transition: opacity 300ms;
  animation: rotation_9018 3000ms infinite linear;
  animation-play-state: paused;
}

.card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

/* Fluluk sağlayan arka plan */
.card::after {
  position: absolute;
  content: " ";
  display: block;
  width: 100%;
  height: 100%;
  background: #17171733;
  backdrop-filter: blur(50px);
}

@keyframes rotation_9018 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================
   HAKKIMIZDA - bg-2 (orta kirli beyaz)
   ============================================ */
.about {
  padding: 80px 0;
  background: var(--bg-2);
}
.about-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 40px; align-items: center;
}
.about-image { border-radius: var(--radius); overflow: hidden; position: relative; }
.about-image img {
  width: 100%; height: 300px;
  object-fit: cover; border-radius: var(--radius);
}
.about-image::after {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius);
  border: 2px solid rgba(254,190,16,0.2);
}
.about-content h2 {
  font-size: 1.8rem; font-weight: 800;
  margin-bottom: 16px; color: var(--text-dark);
}
.about-content > p { color: var(--text-muted); margin-bottom: 28px; }

.feature-list { display: flex; flex-direction: column; gap: 18px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon {
  width: 44px; height: 44px; min-width: 44px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(254,190,16,0.15), rgba(254,190,16,0.05));
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark); font-size: 1.1rem;
}
.feature-item h4 { font-size: 1rem; margin-bottom: 4px; color: var(--text-dark); }
.feature-item p { font-size: 0.85rem; color: var(--text-muted); }

/* ============================================
   CASTROL AUTO SERVICE VURGUSU
   ============================================ */
.castrol-authority {
  padding: 82px 0;
  background: var(--navy);
  color: #fff;
}
.castrol-authority-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.castrol-authority-content h2 {
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.08;
  margin: 8px 0 18px;
  max-width: 720px;
}
.castrol-authority-content p {
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin-bottom: 26px;
}
.castrol-authority-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.castrol-authority-points div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: rgba(255,255,255,0.86);
}
.castrol-authority-points i {
  color: var(--primary);
}
.castrol-authority-card {
  background: transparent;
  color: #fff;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border-top: none;
}
.castrol-authority-card img {
  width: min(260px, 100%);
  margin-bottom: 24px;
}
.castrol-authority-card strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #fff;
}
.castrol-authority-card p {
  color: rgba(255,255,255,0.72);
  margin: 0;
}

/* ============================================
   CHECK-UP - bg-3 (en koyu kirli beyaz)
   ============================================ */
.checkup { padding: 80px 0; background: var(--bg-3); }
.checkup-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 40px; align-items: center;
}
.checkup-content .section-tag { text-align: left; }
.checkup-content h2 {
  font-size: 1.8rem; font-weight: 800;
  margin-bottom: 16px; color: var(--text-dark);
}
.checkup-content > p { color: var(--text-muted); margin-bottom: 24px; }
.checkup-list { display: flex; flex-direction: column; gap: 14px; }
.checkup-list li {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-body); font-size: 0.95rem;
}
.checkup-list li i { color: var(--primary-dark); font-size: 1.1rem; }
.checkup-image { border-radius: var(--radius); overflow: hidden; }
.checkup-image img {
  width: 100%; height: 280px;
  object-fit: cover; border-radius: var(--radius);
}

/* ============================================
   RANDEVU - bg-2 tonu
   ============================================ */
.appointment { padding: 80px 0; background: var(--bg-2); }
.appointment-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }

.appointment-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-md);
}
.appointment-form h3 {
  font-size: 1.3rem; font-weight: 700; margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px; color: var(--text-dark);
}
.appointment-form h3 i { color: var(--primary-dark); }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-size: 0.82rem; font-weight: 500;
  color: var(--text-muted); margin-bottom: 6px;
}
.form-group input,
.form-group select {
  padding: 12px 14px;
  background: var(--bg-1);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-sm);
  color: var(--text-dark); font-size: 0.9rem;
  font-family: inherit; outline: none;
  transition: border var(--transition), box-shadow var(--transition);
  appearance: none; -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: var(--bg-1);
  padding-right: 36px;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
/* Dropdown seçenekleri */
.form-group select option {
  background: var(--card-bg);
  color: var(--text-dark);
  padding: 8px;
}
.form-group input::placeholder { color: var(--text-muted); opacity: 0.7; }

.btn-submit {
  width: 100%; margin-top: 8px;
  justify-content: center; font-size: 1rem; padding: 15px;
}

/* --- Özel Tarih Seçici --- */
.date-picker-wrapper {
  grid-column: 1 / -1;
}
.date-picker-wrapper label {
  font-size: 0.82rem; font-weight: 500;
  color: var(--text-muted); margin-bottom: 10px; display: block;
}
.date-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px; margin-bottom: 6px;
}
.date-btn {
  padding: 10px 6px; border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--bg-2); color: var(--text-dark);
  font-family: inherit; font-size: 0.82rem;
  font-weight: 500; cursor: pointer;
  transition: all var(--transition); text-align: center;
}
.date-btn .day-name { display: block; font-size: 0.72rem; color: var(--text-muted); margin-bottom: 2px; }
.date-btn .day-num { display: block; font-size: 1rem; font-weight: 700; }
.date-btn:hover:not(.booked) {
  border-color: var(--primary); background: rgba(254,190,16,0.08);
}
.date-btn.selected {
  background: var(--primary); color: var(--navy);
  border-color: var(--primary); box-shadow: 0 4px 12px var(--primary-glow);
}
.date-btn.selected .day-name { color: var(--navy); }
.date-btn.booked {
  opacity: 0.4; cursor: not-allowed;
  background: #eee; text-decoration: line-through;
}

/* --- Özel Saat Seçici --- */
.time-picker-wrapper {
  grid-column: 1 / -1;
  display: none;
}
.time-picker-wrapper.show { display: block; }
.time-picker-wrapper label {
  font-size: 0.82rem; font-weight: 500;
  color: var(--text-muted); margin-bottom: 10px; display: block;
}
.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
}
.time-btn {
  padding: 10px 8px; border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--bg-2); color: var(--text-dark);
  font-family: inherit; font-size: 0.9rem;
  font-weight: 600; cursor: pointer;
  transition: all var(--transition); text-align: center;
}
.time-btn:hover:not(.booked) {
  border-color: var(--primary); background: rgba(254,190,16,0.08);
}
.time-btn.selected {
  background: var(--primary); color: var(--navy);
  border-color: var(--primary); box-shadow: 0 4px 12px var(--primary-glow);
}
.time-btn.booked {
  opacity: 0.4; cursor: not-allowed;
  background: #eee; color: #999; text-decoration: line-through;
}
.time-btn i { margin-right: 4px; font-size: 0.75rem; }

/* Tarih/saat bilgi etiketi */
.picker-info {
  font-size: 0.78rem; color: var(--text-muted);
  margin-top: 6px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.picker-info span { display: flex; align-items: center; gap: 4px; }
.picker-info .dot {
  width: 10px; height: 10px; border-radius: 3px; display: inline-block;
}
.picker-info .dot.available { background: var(--primary); }
.picker-info .dot.booked { background: #ccc; }

/* Harita */
.map-wrapper {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--card-border);
  position: relative; height: 300px; cursor: pointer;
  transition: all 0.5s ease; box-shadow: var(--shadow-sm);
}
.map-wrapper.expanded {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 90vw; height: 80vh;
  z-index: 2000; border-radius: var(--radius);
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; }
.map-overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,26,0.35);
  display: flex; align-items: center; justify-content: center;
  transition: opacity var(--transition);
  cursor: pointer;
}
.map-overlay span {
  background: var(--primary); color: var(--navy);
  padding: 10px 22px; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem;
  display: flex; align-items: center; gap: 8px;
}
.map-wrapper:hover .map-overlay { opacity: 0.7; }
.map-wrapper.expanded .map-overlay { display: none; }
.map-close-btn {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  background: var(--navy); color: #fff;
  border: none; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer;
  z-index: 2001; display: none;
  align-items: center; justify-content: center;
}
.map-wrapper.expanded .map-close-btn { display: flex; }
.map-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 1999;
  display: none; backdrop-filter: blur(4px);
}
.map-backdrop.active { display: block; }

/* Form başarı mesajı */
.form-success {
  display: none; text-align: center; padding: 50px 20px;
  flex-direction: column; align-items: center; justify-content: center;
}
.form-success.show { display: flex; }
.form-success i { font-size: 3.5rem; color: #22c55e; margin-bottom: 18px; }
.form-success h3 { margin-bottom: 10px; color: var(--text-dark); font-size: 1.4rem; }
.form-success p { color: var(--text-muted); font-size: 0.95rem; max-width: 320px; }

/* ============================================
   FOOTER - Koyu Lacivert (Marka Kimliği)
   ============================================ */
.footer {
  padding: 60px 0 24px;
  background: var(--navy);
  border-top: 3px solid var(--primary);
}
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 32px; margin-bottom: 40px;
}
.footer-logo {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 18px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); transition: all var(--transition);
}
.social-links a:hover {
  background: var(--primary); color: var(--navy);
  border-color: var(--primary); transform: translateY(-3px);
}
.footer-col h4 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 16px; color: var(--text-white);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  color: rgba(255,255,255,0.6); font-size: 0.9rem;
  transition: color var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-col li a:hover { color: var(--primary); }
.footer-col li a i { font-size: 0.8rem; color: var(--primary); }
.footer-contact-col {
  display: grid;
}
.footer-brand-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(72px, 1fr));
  align-items: center; gap: 20px;
  margin-top: 18px;
  justify-self: end;
}
.footer-brand-logo {
  flex: 0 0 auto;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.32));
  transition: transform var(--transition), filter var(--transition);
}
.footer-brand-logo:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}
.footer-brand-logo:not(.footer-brand-logo-castrol):not(.footer-brand-logo-opel):not(.footer-brand-logo-chevrolet) {
  filter: brightness(0) invert(1);
}
.footer-brand-logo:not(.footer-brand-logo-castrol):not(.footer-brand-logo-opel):not(.footer-brand-logo-chevrolet):hover {
  filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}
.footer-brand-logo-castrol { width: 150px; }
.footer-brand-logo-chevrolet { width: 136px; }
.footer-brand-logo-opel { width: 58px; }
.footer-brand-logo-peugeot { width: 112px; }
.footer-brand-logo-citroen { width: 112px; }
.footer-brand-logo-renault { width: 52px; }
.footer-bottom {
  display: grid; align-items: center;
  grid-template-columns: 1fr; gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5); font-size: 0.82rem;
}
.footer-bottom p { margin: 0; }
.footer-design-credit {
  color: rgba(255,255,255,0.44);
  font-size: 0.74rem;
  letter-spacing: 0;
  justify-self: start;
  transition: color var(--transition);
}
.footer-design-credit:hover {
  color: var(--primary);
}
.payment-cards {
  display: flex; align-items: center; justify-content: flex-start;
  flex-wrap: wrap; gap: 10px;
  max-width: 100%;
}
.payment-card-logo {
  flex: 0 0 auto;
  width: 76px; height: 32px;
  object-fit: contain;
  padding: 5px 8px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.payment-card-logo-wide { width: 84px; }
.payment-card-logo-amex {
  padding: 1px 4px;
  object-fit: cover;
  object-position: center;
}
.payment-card-logo:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: var(--primary);
}

/* ============================================
   RESPONSIVE - Tablet (640px)
   ============================================ */
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  /* services flex alignment handles grid automatically */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-strip-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .brand-strip-item {
    grid-column: span 2;
  }
  .brand-strip-item:last-child {
    width: auto;
    min-width: 0;
  }
  .brand-strip-item:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .brand-strip-item:nth-child(5) {
    grid-column: 4 / span 2;
  }
  .castrol-authority-points {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero h1 { font-size: 2.8rem; }
  .section-header h2 { font-size: 2rem; }
}

/* ============================================
   RESPONSIVE - Desktop (1200px)
   ============================================ */
@media (min-width: 1200px) {
  .header {
    padding: 15px 40px;
  }
  .header.full-width {
    padding: 15px 40px;
  }
  .header .container {
    grid-template-columns: auto auto minmax(0,1fr);
    gap: 26px;
  }
  .header-brand-logo {
    height: 44px;
  }
  .header-brand-logo-castrol { width: 146px; }
  .header-title {
    justify-self: start;
    font-size: 1.42rem;
    text-align: left;
  }
  .header-actions {
    grid-column: 3;
    gap: 16px;
  }
  .menu-toggle { display: none; }
  .nav {
    position: static; width: auto; height: auto;
    background: none; backdrop-filter: none;
    flex-direction: row; gap: 15px;
    justify-content: flex-end; justify-self: end;
    min-width: 0;
  }
  .nav a { font-size: 1rem; }
  .nav-cta {
    display: inline-flex !important;
    padding: 9px 24px !important;
    font-size: 0.98rem !important;
    margin-left: 4px;
  }
  .hero h1 { font-size: 3.4rem; }
  .hero p { font-size: 1.1rem; }
  .services-grid {
    gap: 42px 34px;
  }
  .brand-strip-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .brand-strip-item,
  .brand-strip-item:nth-child(4),
  .brand-strip-item:nth-child(5) {
    grid-column: auto;
  }
  .brand-strip-item:last-child {
    width: auto;
  }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-image img { height: 400px; }
  .castrol-authority-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 48px;
  }
  .checkup-grid { grid-template-columns: 1fr 1fr; }
  .checkup-image img { height: 380px; }
  .appointment-grid { grid-template-columns: 1fr 1fr; }
  .map-wrapper { height: 100%; min-height: 450px; }
  .footer-grid { grid-template-columns: 1.45fr 0.75fr 0.75fr 2.05fr; }
  .footer-contact-col {
    grid-template-columns: minmax(0, max-content) 260px;
    column-gap: 46px;
    align-items: start;
  }
  .footer-contact-col h4,
  .footer-contact-col ul { grid-column: 1; }
  .footer-contact-col .footer-brand-logos {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin-top: 0;
  }
  .footer-bottom { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 16px 24px; }
  .footer-design-credit { justify-self: center; }
  .payment-cards { justify-content: flex-end; }
  .section-header h2 { font-size: 2.4rem; }
}

@media (max-width: 640px) {
  .header {
    left: 12px; right: 12px;
    padding: 14px 16px;
  }
  .header.full-width { padding: 14px 16px; }
  .header .container { gap: 8px; }
  .header-brand-logos { gap: 0; }
  .header-brand-logo {
    height: 28px;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.35));
  }
  .header-brand-logo-castrol { width: 88px; }
  .header-title { font-size: 0.92rem; }
  .menu-toggle span { width: 24px; }
}

@media (max-width: 420px) {
  .header {
    padding: 13px 12px;
  }
  .header.full-width { padding: 13px 12px; }
  .header-brand-logo {
    height: 24px;
  }
  .header-brand-logo-castrol { width: 76px; }
  .header-title { font-size: 0.82rem; }
  .menu-toggle {
    align-items: center;
    flex: 0 0 30px;
    width: 30px;
  }
  .menu-toggle span { width: 22px; }
}

/* ============================================
   RESPONSIVE - Büyük Ekran (1280px)
   ============================================ */
@media (min-width: 1280px) {
  .hero h1 { font-size: 3.8rem; }
  .container { width: 85%; }
}

/* ============================================
   RESPONSIVE - Küçük Mobil (380px)
   ============================================ */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .footer-bottom { align-items: flex-start; }
  .payment-cards { justify-content: flex-start; gap: 8px; }
  .payment-card-logo { width: 68px; height: 30px; padding: 5px 7px; }
  .payment-card-logo-wide { width: 76px; }
  .payment-card-logo-amex { padding: 1px 3px; }
  .footer-design-credit { justify-self: start; }
  .footer-contact-col {
    grid-template-columns: minmax(0, 1fr) 112px;
    column-gap: 20px;
    align-items: start;
  }
  .footer-contact-col h4,
  .footer-contact-col ul { grid-column: 1; }
  .footer-contact-col .footer-brand-logos {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin-top: 0;
  }
  .footer-brand-logos { gap: 16px; }
  .footer-brand-logo { height: 34px; }
  .footer-brand-logo-castrol { width: 112px; }
  .footer-brand-logo-chevrolet { width: 104px; }
  .footer-brand-logo-opel { width: 46px; }
  .footer-brand-logo-peugeot,
  .footer-brand-logo-citroen { width: 92px; }
  .footer-brand-logo-renault { width: 42px; }
}

/* ============================================
   DİL SEÇİCİ (Language Dropdown)
   ============================================ */
.lang-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
  user-select: none;
  z-index: 1003;
}
.lang-selected {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.3s;
}
.lang-selected:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}
.flag-circle {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.lang-options {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background: var(--surface, #242424);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  list-style: none;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1010;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  min-width: 140px;
}
.lang-dropdown.active .lang-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-options li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.lang-options li:hover {
  background: rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
  .lang-dropdown { justify-content: flex-start; }
  .lang-options { right: 0; left: auto; }
}

/* ============================================
   KULLANICI SON REVİZYONLARI (Padding & Mobil Footer Ortalama)
   ============================================ */

/* Header'daki Randevu Al Butonu İçin Padding */
.nav-cta {
  padding-left: 28px !important;
  padding-right: 28px !important;
}

@media (min-width: 1200px) {
  .lang-dropdown {
    margin-left: 0;
    margin-right: 6px;
  }
  .lang-selected {
    padding: 8px 12px;
  }
  .flag-circle {
    width: 22px;
    height: 22px;
  }
  .nav-cta {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (min-width: 1440px) {
  .lang-dropdown {
    margin-left: 0;
    margin-right: 10px;
  }
  .nav-cta {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
}

/* Mobil Görünümde Footer Logolarını Ortalama */
@media (max-width: 768px) {
  .footer-contact-col {
    grid-template-columns: 1fr !important; /* Tek kolona düşür */
  }
  .footer-contact-col h4, 
  .footer-contact-col ul {
    grid-column: 1 !important;
  }
  .footer-contact-col .footer-brand-logos {
    grid-column: 1 !important;
    grid-row: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(90px, 1fr)) !important;
    justify-content: center !important; 
    align-items: center !important; /* Sayfayı ortala */
    width: 100% !important;
    margin-top: 32px !important;
    gap: 22px !important;
  }
  
  /* Mobilde Hero Badge'i Header'dan Uzaklaştırma */
  .hero-badge {
    margin-top: 48px !important;
  }
}

/* Footer logo boyutları */
.footer-contact-col .footer-brand-logo {
  height: 52px !important;
  width: auto !important;
  max-width: 100% !important;
  justify-self: center;
}
.footer-contact-col .footer-brand-logo-castrol {
  grid-column: 1 / -1;
  height: 72px !important;
}
.footer-contact-col .footer-brand-logo-peugeot,
.footer-contact-col .footer-brand-logo-citroen {
  height: 68px !important;
}
@media (max-width: 768px) {
  .footer-contact-col .footer-brand-logo {
    height: 46px !important;
  }
  .footer-contact-col .footer-brand-logo-castrol {
    height: 62px !important;
  }
  .footer-contact-col .footer-brand-logo-peugeot,
  .footer-contact-col .footer-brand-logo-citroen {
    height: 58px !important;
  }
}

/* Sayfa Taşmalarını Önleme */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative !important;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Varsayılan Tarayıcı Scrollbar'ını Gizleme (Chrome, Safari) */
::-webkit-scrollbar {
  display: none !important;
}

/* Görünürlük Sorunu Çözümü (Castrol PNG ve Hero WebP) */
.hero-bg img {
  filter: none !important; /* Tarayıcı bazlı bozulmaları önlemek için filtrelere reset */
  object-position: center !important;
}
.header-brand-logo-castrol,
.footer-brand-logo-castrol,
.castrol-authority-card img,
.castrol-ticker-logo {
  object-fit: contain !important;
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
