﻿/* Sayfa temel stilleri */
 body {
    margin: 0;
    font-family: sans-serif;
    color: #333; /* Genel yazı rengi */
  }
  
  
  
  /* Arama çubuğu tıklanabilir hale geldiğinde */
  .search-wrapper.active .search-input {
    display: inline-block;
  }
  
  /* Header: Logo ve Menü hizalaması */
  .header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Menüyü logo ile hizalamak için */
    padding: 0.1rem;
    gap: 2.5rem;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .logo img {
    height: 160px;
    margin: 0;
  }

  .logo-wordmark {
    display: flex;
    flex-direction: column;
    font-family: 'Cinzel Decorative', serif;
    font-weight: 700;
    line-height: 1.15;
  }

  .logo-wordmark-top,
  .logo-wordmark-bottom {
    text-transform: uppercase;
    font-size: 25px;
    letter-spacing: 0.5px;
  }

  .logo-wordmark-top { color: #4E9E58; }
  .logo-wordmark-bottom { color: #16301F; }

  
  /* Menü tasarımı */
  .menu {
    display: flex;
    gap: 1.5rem; /* Menü öğeleri arasındaki boşluk */
    align-items: center;
    margin-top: -20px; /* Menü kısmını yukarı almak için negatif margin kullanıyoruz */
  }
  
  .menu a {
    text-decoration: none;
    font-weight: bold;
    color: #333;
    font-size: 16px;
  }
  
  .menu a:hover {
    color: #139607;
  }

  /* ======= HAMBURGER MENÜ ======= */
  .hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  .hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: #1a3d2b;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }
  .hamburger-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger-btn.active span:nth-child(2) { opacity: 0; }
  .hamburger-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  @media (max-width: 900px) {
    .header-container { flex-wrap: nowrap; gap: 0.6rem; padding: 0.6rem 1rem; }
    .logo { order: 1; }
    .logo img { height: 56px; margin-left: 0; margin-right: 0; margin-top: 0; }
    .logo-wordmark { display: none; }
    .right-tools { order: 2; margin-left: auto; margin-right: 0; margin-top: 0; gap: 0.6rem; }
    .hamburger-btn { display: flex; order: 3; flex-shrink: 0; }
    #language-code { display: none; }
    .menu {
      display: none;
      order: 4;
      flex-basis: 100%;
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
      margin-top: 8px;
    }
    .menu.open { display: flex; }
    .menu a { width: 100%; padding: 12px 4px; border-top: 1px solid rgba(0,0,0,0.08); }
  }
  
  /* Sağdaki araçlar: Bayrağı ve arama butonunu hizala */
  .right-tools {
    display: flex;
    align-items: center;
    gap: 1rem; /* Bayrak ve arama kutusu arasındaki boşluk */
    justify-content: flex-start; /* Bayrak ve arama kutusunu sola hizala, ancak menüye çok yakın yap */
    margin-right: 15px; /* Menüye yakınlaştırmak için boşluk ekle */
    margin-top: -20px; /* Bayrak ve arama butonunu yukarı almak için negatif margin kullanıyoruz */
  }
  
  /* Arama çubuğu */
  .search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 10;
    overflow: visible;
    margin-left: 0.5rem; /* Bayraktan biraz uzaklaşması için */
  }
  
  /* Arama butonunu hizalama */
  .search-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #000;
    cursor: pointer;
    position: relative;
    z-index: 11;
    margin-left: 0.5rem; /* Arama butonunu sola kaydırmak için */
    margin-right: 0.5rem; /* Arama butonu ile kutu arasına mesafe */
  }
  
  /* Arama kutusunu sağa kaydırma ve hizalama */
  .search-input {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    transform: none;
    height: 2.5rem;
    width: 240px;
    max-width: 60vw;
    border-radius: 9999px;
    background-color: white;
    color: black;
    padding-left: 2.5rem;
    padding-right: 1rem;
    border: none;
    display: none;
    font-size: 0.875rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }
  /* Arama kutusu açıldığında */
  .search-wrapper.active .search-input {
    width: 250px; /* Daha geniş açılacak şekilde ayarlandı */
    opacity: 1;
    padding-left: 2.5rem;
    padding-right: 1rem;
  }
  
  /* Arama kutusu odaklanıldığında stil */
  .search-input:focus {
    background-color: #e2ffe5;
    outline: none;
  }
  /* Arama butonunun hover durumunda rengi değişecek */
  .search-btn:hover {
    color: #139607; /* Yeni renk (örneğin yeşil) */
  }
  
  /* Dil seçenekleri */
  .language-selector {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin-left: 0.5rem; /* Bayrağı menüye daha yakınlaştırmak için */
    padding: 5px 10px 5px 5px;
    border-radius: 20px;
    border: 1.5px solid #e3e3e3;
    transition: border-color 0.2s ease, background 0.2s ease;
  }
  .language-selector:hover {
    border-color: #27ae60;
    background: #f4fdf7;
  }
  
  /* Dil seçenekleri dropdown menü */
  .language-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
    padding: 8px;
    gap: 6px;
    z-index: 100;
  }
  
  .language-selector img {
    width: 26px;
    height: 19px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    margin: 0;
    cursor: pointer;
  }
  .language-selector:hover img.main-flag {
    transform: scale(1.06);
  }
  .language-dropdown img {
    width: 26px;
    height: 19px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    margin-right: 0;
    cursor: pointer;
    transition: transform 0.15s ease;
  }
  .language-dropdown img:hover {
    transform: scale(1.08);
  }
  .language-selector span {
    font-size: 13px;
    color: #333;
    font-weight: 700;
  }
  /* Header'ı sticky yapmak için */
header.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #d4d4d442;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(to right, #c6f1d5 0%, white 30%);
}

header.sticky-header.is-sticky {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
  
  /* Header'ınızın üst kısmında arka planda boşluk olmasını engellemek için */
  body {
    padding-top: 0px; /* Header yüksekliğine göre ayar yapılabilir */
  }
/* footer stilleri artık footer.css dosyasında */
/*HAKKIMIZDA TASARIM*/
  
/* ===========================
   BAYİLERİMİZ SAYFA STİLLERİ
   =========================== */

/* HERO */
.page-hero {
  position: relative;
  height: 260px;
  background: linear-gradient(135deg, #1a6b34 0%, #2d9e52 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('resimler/logo.svg') center/contain no-repeat;
  opacity: 0.22;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,80,40,0.75), rgba(40,140,70,0.6));
}
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 20px;
}
.page-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  margin: 0 0 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page-hero-content p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin: 0;
}

/* STATS BAR */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-bottom: 3px solid #e8f5e9;
}
.stat-item {
  flex: 1;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 16px;
  border-right: 1px solid #e8f5e9;
  transition: background 0.2s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: #f4fdf6; }
.stat-item i { font-size: 1.5rem; color: #2c9e52; margin-bottom: 6px; }
.stat-number { font-size: 2rem; font-weight: 700; color: #1a6b34; line-height: 1; }
.stat-label { font-size: 0.82rem; color: #666; margin-top: 3px; text-align: center; }

/* ANA BÖLÜM */
.dealers-section { padding: 50px 20px 60px; background: #f7f9f7; }
.dealers-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 36px;
  align-items: flex-start;
}
.dealers-left { flex: 1.2; min-width: 0; }
.dealers-right { flex: 0.9; min-width: 300px; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #1a6b34;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c8e6c9;
}

/* BÖLGE FİLTRE */
.region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.region-btn {
  padding: 7px 15px;
  border: 2px solid #c8e6c9;
  background: white;
  border-radius: 20px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
}
.region-btn:hover { border-color: #2c9e52; color: #2c9e52; }
.region-btn.active { background: #2c9e52; color: white; border-color: #2c9e52; }

/* BAYİ KARTLARI */
.dealer-list { display: flex; flex-direction: column; gap: 14px; }

.dealer-card {
  background: white;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-left: 4px solid #2c9e52;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dealer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44,158,82,0.15);
}
@keyframes fadeInCard {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dealer-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.dealer-card-header > i {
  font-size: 1.4rem;
  color: #2c9e52;
  margin-top: 2px;
}
.dealer-card-header h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #1a3d2b;
}
.city-tag {
  font-size: 0.78rem;
  color: #2c9e52;
  font-weight: 600;
}
.city-tag i { margin-right: 3px; }
.dealer-card p {
  margin: 5px 0;
  font-size: 0.875rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dealer-card p i { color: #8bc34a; width: 14px; flex-shrink: 0; }
.dealer-card a { color: #1a6b34; text-decoration: none; }
.dealer-card a:hover { text-decoration: underline; }

/* HARİTA */
.map-wrapper { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.1); margin-bottom: 24px; }

/* BAYİ OL KUTUSU */
.become-dealer-box {
  background: linear-gradient(135deg, #1a6b34, #2d9e52);
  color: white;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(44,158,82,0.25);
}
.become-icon { font-size: 2.2rem; margin-bottom: 10px; display: block; }
.become-dealer-box h3 { margin: 0 0 10px; font-size: 1.2rem; }
.become-dealer-box p { font-size: 0.9rem; opacity: 0.92; line-height: 1.6; margin: 0 0 18px; }
.become-dealer-btn {
  display: inline-block;
  background: white;
  color: #1a6b34;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.become-dealer-btn:hover { transform: scale(1.05); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.become-dealer-btn i { margin-right: 6px; }

/* MOBİL */
@media (max-width: 768px) {
  .dealers-container { flex-direction: column; }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { min-width: 45%; border-right: none; border-bottom: 1px solid #e8f5e9; }
  .page-hero-content h1 { font-size: 1.7rem; }
}

@media (max-width: 600px) {
  .page-hero { height: 210px; }
  .dealers-section { padding: 32px 14px 40px; }
  .dealers-right { min-width: 100%; }
  .region-btn { padding: 9px 16px; font-size: 0.85rem; }
  .dealer-card { padding: 15px 16px; }
  .become-dealer-box { padding: 24px 18px; }
}