/* ===========================
   GENEL AYARLAR
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background-color: #fafafa;
  color: #333;
  line-height: 1.6;
}

/* Konteyner yapısı */
.container {
  padding-left: 12px;
  padding-right: 12px;
}

/* Link ve butonlar */
a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: #007bff;
  color: #fff;
}

.btn-primary:hover {
  background: #0056b3;
}

.btn-secondary {
  background: #333;
  color: #fff;
}

.btn-secondary:hover {
  background: #555;
}

/* ===========================
   HERO BÖLÜMÜ / CAROUSEL
=========================== */
.hero {
  position: relative;
  width: 100%;
  height: 60vh; /* Tam ekran yüksekliği */
  overflow: hidden;
}

.hero .carousel-item {
  height: 60vh;
}

.hero .carousel-img {
  width: 100%;
  height: 60vh;
  object-fit: cover; /* Görüntüyü kırpmadan tam ekran yayar */
}



/* Kontrol butonları (prev/next) */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1); /* Beyaz ikon */
}

/* Carousel göstergeleri */
.carousel-indicators button {
  background-color: #fff;
}

.carousel-indicators .active {
  background-color: #e63946;
}

/* ===========================
   İSTATİSTİKLER – GOLD EDITION
=========================== */

.stats {
  padding: 60px 20px;
  text-align: center;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stats-grid div {
  background: #ffffff;
  padding: 20px 40px;
  border-radius: 10px;

  /* Gold Border (soft) */
  border: 2px solid rgba(200,160,64,0.65);

  /* Premium Shadow */
  box-shadow:
    0 0 12px rgba(200,160,64,0.25),
    0 4px 15px rgba(0,0,0,0.08);

  min-width: 150px;
  transition: all 0.3s ease;
}

/* Hover – Gold Glow */
.stats-grid div:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow:
    0 0 16px rgba(200,160,64,0.45),
    0 8px 25px rgba(0,0,0,0.12);
}

/* Sayı */
.stats-grid h3 {
  font-size: 2rem;

  /* GOLD */
  color: #C8A040;
  font-weight: 900;
}

/* Açıklama */
.stats-grid p {
  color: #333;
  font-size: 1rem;
  font-weight: 600;
}

/* ===========================
   MESAJ ALANLARI
=========================== */
.messages {
  list-style: none;
  margin: 20px auto;
  padding: 10px;
  max-width: 800px;
}

.message {
  background: #f8f9fa;
  border-left: 5px solid #007bff;
  padding: 10px;
  margin-bottom: 10px;
}

/* Scroll to top butonu */
.scroll-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 22px;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1000;
}

.scroll-top-btn:hover {
  background: #0056b3;
  transform: scale(1.1);
}

/* Fade-in animasyonu */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE TASARIM
=========================== */
@media (max-width: 768px) {
  .hero {
    min-height: 50vh;
  }

  .stats-grid {
    flex-direction: column;
    gap: 20px;
  }
}


/* ============================================================
   PREMIUM REFERANS BÖLÜMÜ — GOLD & BLACK (FINAL 3x3)
============================================================== */

/* Başlık */
.refs-title {
  font-size: 2.4rem;
  font-weight: 900;

  /* Gold Gradient */
  background: linear-gradient(90deg, #C8A040, #E8C96C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  margin-bottom: 10px;
}

/* Alt Başlık */
.refs-subtitle {
  font-size: 1.15rem;
  color: #2b2b2b;
  margin-bottom: 50px;
}

/* === SABİT 3 KOLON DİZAYN (Desktop) === */
.refs-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* Tablet (2 kolon) */
@media (max-width: 992px) {
  .refs-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobil (1 kolon) */
@media (max-width: 576px) {
  .refs-wrapper {
    grid-template-columns: 1fr;
  }
}

/* KART TASARIMI */
.ref-card {
  background: #ffffff;
  padding: 35px 25px;
  border-radius: 18px;

  border: 1px solid rgba(200,160,64,0.45); /* Soft gold border */

  box-shadow:
      0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease-in-out;
  text-align: center;
  cursor: pointer;
}

/* Hover Efekti */
.ref-card:hover {
  transform: translateY(-10px) scale(1.03);

  box-shadow:
      0 0 18px rgba(200,160,64,0.35),
      0 0 28px rgba(200,160,64,0.22),
      0 20px 40px rgba(0,0,0,0.18);
}

/* Görsel Alanı */
.ref-icon img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 14px;
  transition: 0.35s ease-in-out;
}

.ref-card:hover .ref-icon img {
  transform: scale(1.07);
  filter: brightness(1.12); /* Gold tonuna uygun hafif parlama */
}

/* Başlık */
.ref-card h3 {
  margin-top: 18px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #1A1A1A; /* Premium siyah */
}

/* Açıklama */
.ref-card p {
  font-size: 1.08rem;
  color: #2c2c2c;
  margin-top: 12px;
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Mobil Görsel Boyutu */
@media (max-width: 768px) {
  .ref-icon img {
    width: 120px;
    height: 120px;
  }
  .refs-title {
    font-size: 2rem;
  }
}



/* =======================================================
   SSS – Glassmorphism Flip Card (Premium GOLD + BLACK)
======================================================= */

.faq-cards-container {
  margin: 80px auto;
  max-width: 1200px;
  padding: 15px 20px;
}

.faq-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

/* Kart dış katman */
.faq-card {
  perspective: 1200px;
  transition: transform 0.35s ease;
}

.faq-card:hover {
  transform: translateY(-6px);
}

/* Flip alanı */
.faq-card-inner {
  position: relative;
  width: 100%;
  height: 170px;
  transition: transform 0.7s ease;
  transform-style: preserve-3d;
  cursor: pointer;
}

.faq-card:hover .faq-card-inner {
  transform: rotateY(180deg);
}

/* Kart yüzleri (Premium Gold Border) */
.faq-card-front,
.faq-card-back {
  position: absolute;
  width: 100%;
  height: 170px;
  border-radius: 20px;
  padding: 25px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;

  /* Glassmorphism Base */
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* GOLD BORDER */
  border: 2px solid rgba(200,160,64,0.90);

  /* Hafif gölge */
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Hover GOLD PARLAMA efekti */
.faq-card:hover .faq-card-front {
  box-shadow:
    0 0 14px rgba(200,160,64,0.75),
    0 18px 45px rgba(0, 0, 0, 0.25);
}

/* Ön yüz yazı */
.faq-card-front h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-align: center;
  color: #C8A040; /* GOLD */
}

/* ARKA YÜZ — PREMIUM BLACK + GOLD GRADIENT */
.faq-card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #1A1A1A, #3a3a3a);
  color: #f5d79a;
  font-size: 0.95rem;
  line-height: 1.55;
  padding: 22px;

  border: 2px solid rgba(200,160,64,0.90);
  box-shadow:
    0 0 18px rgba(200,160,64,0.75),
    0 20px 45px rgba(0, 0, 0, 0.35);
}

/* MOBILE */
@media (max-width: 768px) {
  .faq-card-inner,
  .faq-card-front,
  .faq-card-back {
    height: 150px;
  }
}

/* =======================================================
   ÖZELLİKLER Bölümü (Gold – Black uyumlu)
======================================================= */

.features-section {
  padding: 80px 20px;
  text-align: center;
  background: transparent !important;
  box-shadow: none !important;
}

.features-section h2 {
  font-size: 2rem;

  /* GOLD GRADIENT TITLE */
  background: linear-gradient(90deg, #C8A040, #E8C96C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.feature-card {
  background: #ffffff;
  border-radius: 12px;

  /* Gold soft border */
  border: 1px solid rgba(200,160,64,0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 12px rgba(200,160,64,0.60),
    0 12px 25px rgba(0,0,0,0.18);
}

.feature-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 15px;
}

.feature-card h3 {
  color: #1A1A1A;  /* Siyah */
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.feature-card p {
  color: #444;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .features-grid {
    gap: 20px;
  }
}



/* ==========================================================
   EKİBİMİZ – Uzman Kadro (Premium 3D Tilt – GOLD Edition)
========================================================== */

.team-section {
  margin: 80px auto;
  padding: 50px 20px;
  max-width: 1200px;
  text-align: center;
}

/* Başlık */
.team-title {
  font-size: 2.3rem;
  font-weight: 900;

  /* GOLD GRADIENT */
  background: linear-gradient(90deg, #C8A040, #E8C96C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  margin-bottom: 10px;
}

/* Alt başlık */
.team-subtitle {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 45px;
}

/* Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

/* === TEAM CARD === */
.team-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  padding: 25px 20px;
  border-radius: 20px;

  /* GOLD BORDER */
  border: 2px solid rgba(200,160,64,0.9);

  /* GOLD SHADOW */
  box-shadow:
    0 0 12px rgba(200,160,64,0.35),
    0 8px 25px rgba(0, 0, 0, 0.15);

  transition: all 0.35s ease;
  text-align: center;
  cursor: pointer;

  /* 3D Tilt */
  transform-style: preserve-3d;
  will-change: transform;
}

/* Hover Parlama */
.team-card:hover {
  box-shadow:
    0 0 22px rgba(200,160,64,0.55),
    0 16px 45px rgba(0,0,0,0.25);
  transform: translateY(-8px) scale(1.03);
}


/* === Fotoğraf Kapsayıcı === */
.team-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #C8A040; /* GOLD BORDER */
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fotoğraf */
.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* === İsim === */
.team-card h3 {
  font-size: 1.25rem;
  color: #C8A040; /* GOLD */
  font-weight: 800;
  margin-bottom: 5px;
}

/* === Rol === */
.team-card .role {
  font-size: 1rem;
  color: #222; /* premium siyah */
  font-weight: 600;
  margin-bottom: 5px;
}

/* === Deneyim === */
.team-card .exp {
  font-size: 0.95rem;
  color: #A88938; /* Daha soft gold */
  font-weight: 700;
}

/* =======================================================
   SERTİFİKALAR & YETKİNLİKLER — GOLD EDITION
======================================================= */

.cert-section {
  margin: 80px auto;
  padding: 60px 20px;
  max-width: 1200px;
  text-align: center;
  background: #ffffff;
  border-radius: 22px;

  /* Premium Gold Border */
  border: 2px solid #C8A040;

  box-shadow:
    0 0 18px rgba(200,160,64,0.35),
    0 18px 45px rgba(0, 0, 0, 0.12);
}

/* Başlık */
.cert-title {
  font-size: 2.3rem;
  font-weight: 900;

  /* Gold Gradient */
  background: linear-gradient(90deg, #C8A040, #E8C96C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  margin-bottom: 10px;
}

/* Alt başlık */
.cert-subtitle {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 45px;
}

/* Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

/* Kart */
.cert-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 25px 20px;

  /* Premium Gold Border */
  border: 2px solid rgba(200,160,64,0.90);

  transition: 0.3s ease;

  /* Soft shadow */
  box-shadow:
    0 0 12px rgba(200,160,64,0.25),
    0 10px 25px rgba(0,0,0,0.10);
}

/* Hover Efekti */
.cert-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 0 18px rgba(200,160,64,0.55),
    0 20px 40px rgba(0,0,0,0.18);
}

/* Sertifika ikonları */
.cert-card img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* Sertifika başlıkları */
.cert-card h3 {
  font-size: 1.05rem;
  font-weight: 700;

  /* Gold + Black uyumlu renk */
  color: #C8A040;

  line-height: 1.35;
}

/* ============================
   MOBILE RESPONSIVE (≤ 768px)
============================ */
@media (max-width: 768px) {

  .cert-section {
    padding: 40px 18px;
    margin: 50px auto;

  }

  .cert-title {
    font-size: 1.9rem;
  }

  .cert-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .cert-grid {
    grid-template-columns: 1fr;   /* Tek kolon */
    gap: 22px;
  }

  .cert-card {
    padding: 20px 16px;
  }

  .cert-card img {
    width: 75px;
    height: 75px;
  }

  .cert-card h3 {
    font-size: .95rem;
  }
}

/* ============================
   küçük telefonlar (≤ 480px)
============================ */
@media (max-width: 480px) {

  .cert-section {
    padding: 32px 15px;
    border-radius: 18px;
    margin-left:10px;
    margin-right:10px;
  }

  .cert-title {
    font-size: 1.7rem;
  }

  .cert-subtitle {
    font-size: .9rem;
  }

  .cert-card {
    padding: 16px 14px;
  }

  .cert-card h3 {
    font-size: .9rem;
  }
}


/* =======================================================
   KAROTONLINE – GOLD PREMIUM TÜRKİYE HARİTA MODÜLÜ
======================================================= */

.service-map-section {
  background: #ffffff;
  padding: 70px 40px;
  border-radius: 24px;
  max-width: 1200px;
  margin: 90px auto;

  /* Soft Gold Shadow */
  box-shadow: 0 22px 55px rgba(200,160,64,0.18);

  /* Gold Border */
  border: 2px solid rgba(200,160,64,0.45);
}

.map-title {
  font-size: 2.4rem;
  font-weight: 900;

  /* Gold Gradient */
  background: linear-gradient(90deg, #C8A040, #A07A28);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  margin-bottom: 12px;
}

.map-subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 40px;
}

/* Harita kutusu */
.map-wrapper {
  width: 100%;
  height: 430px;
  overflow: hidden;
  border-radius: 20px;

  /* Premium Gold Border + Glow */
  border: 2px solid rgba(200,160,64,0.55);

  box-shadow:
    0 0 18px rgba(200,160,64,0.25),
    0 12px 32px rgba(0,0,0,0.12);

  transition: all 0.35s ease;
}

/* Hover Efekti */
.map-wrapper:hover {
  transform: scale(1.02);
  box-shadow:
    0 0 28px rgba(200,160,64,0.55),
    0 18px 45px rgba(0,0,0,0.18);

  border-color: rgba(200,160,64,0.75);
}

/* Leaflet Attribution gizle */
.leaflet-control-attribution {
  display: none !important;
}

/* =======================================================
      GOLD MARKER CLUSTER TASARIMI
======================================================= */

/* Küçük cluster */
.marker-cluster-small {
  background-color: rgba(200,160,64,0.55) !important;
}

/* Orta cluster */
.marker-cluster-medium {
  background-color: rgba(200,160,64,0.70) !important;
}

/* Büyük cluster */
.marker-cluster-large {
  background-color: rgba(200,160,64,0.85) !important;
}

/* Cluster sayısı */
.marker-cluster div {
  background: linear-gradient(135deg, #C8A040, #A07A28);
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  border: 3px solid #ffffff;
  font-size: 14px;
}

/* Mobil Uyum */
@media (max-width: 768px) {
  .service-map-section {
    padding: 40px 20px;
  }
  .map-wrapper {
    height: 300px;
  }
  .map-title {
    font-size: 2rem;
  }
}

/* ==============================
   Mobile Responsive (≤ 768px)
============================== */
@media (max-width: 768px) {

  .service-map-section {
    padding: 45px 22px;      /* Sağ-sol boşluk ver */
    margin: 60px 16px;       /* Kartın dış boşlukları */
    border-radius: 18px;
  }

  .map-title {
    font-size: 2rem;
  }

  .map-subtitle {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .map-wrapper {
    height: 320px;           /* Harita mobilde küçülsün */
    border-radius: 16px;
  }
}

/* ===============================
   Küçük Telefonlar (≤ 480px)
================================ */
@media (max-width: 480px) {

  .service-map-section {
    padding: 35px 18px;
    margin: 40px 12px;
    margin-left:10px;
    margin-right:10px;
  }

  .map-title {
    font-size: 1.7rem;
  }

  .map-subtitle {
    font-size: .9rem;
  }

  .map-wrapper {
    height: 260px;           /* Küçük telefonlara göre */
    border-radius: 14px;
  }
}



/* ============================================
   HİZMET BÖLGELERİ – ŞEHİR LİSTESİ RESİM FIX
   Tüm resimleri aynı yüksekliğe zorlar.
============================================ */

.card-img-top {
    width: 100%;
    height: 240px !important;   /* tüm resimler eşit yükseklik */
    object-fit: cover !important; /* resimleri ortalar ve taşan kısmı kırpar */
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
