/* Oska Gurme - Bayilik Başvurusu & Bayilerimiz sayfaları
   Palet sitenin genelinden: kırmızı #e3000e, sarı #f7be27,
   kahve #6f5e4d, krem #fbf7e8, koyu #241f1a */

/* ==========================================================================
   1. Başvuru sayfası - üst bölüm (form burada, ilk ekranda görünür)
   ========================================================================== */

.bayilik-hero {
  position: relative;
  /* Renk geçişi anında boyanır; doku üstüne bindirilir, böylece reklamdan
     gelen ziyaretçi görseli beklemeden başlığı ve formu görür. */
  background-color: #241f1a;
  background-image: linear-gradient(135deg, rgba(36, 31, 26, 0.94) 0%, rgba(122, 12, 12, 0.9) 55%, rgba(227, 0, 14, 0.86) 100%),
    url(../images/bg-03.jpg);
  background-size: cover;
  background-position: center center;
  padding: 60px 0 70px;
  overflow: hidden;
}

.bayilik-hero::after {
  /* Sağ üstte hafif sarı ışık */
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(247, 190, 39, 0.28) 0%, rgba(247, 190, 39, 0) 68%);
  pointer-events: none;
}

.bayilik-hero .container {
  position: relative;
  z-index: 2;
}

/* Negatif kenar boşluğu yerine gap kullanılıyor: Bootstrap'in oluk genişliği
   sürümden sürüme değiştiği için negatif margin yatay taşmaya yol açıyordu. */
.bayilik-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 34px;
}

.bayilik-hero-sol,
.bayilik-hero-sag {
  width: 100%;
  min-width: 0;
}

.bayilik-rozet {
  display: inline-block;
  background: rgba(247, 190, 39, 0.16);
  border: 1px solid rgba(247, 190, 39, 0.5);
  color: #f7be27;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.bayilik-hero h1 {
  color: #fff;
  font-size: 44px;
  line-height: 1.18;
  margin-bottom: 18px;
}

.bayilik-hero h1 span {
  color: #f7be27;
}

.bayilik-hero-ozet {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 26px;
}

.bayilik-avantaj-liste {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.bayilik-avantaj-liste li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

.bayilik-avantaj-liste li i {
  position: absolute;
  left: 0;
  top: 3px;
  color: #f7be27;
  font-size: 17px;
}

.bayilik-hero-sayilar {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  padding-top: 6px;
}

.bayilik-hero-sayi strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 34px;
  line-height: 1;
  color: #f7be27;
  font-weight: 600;
}

.bayilik-hero-sayi span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  margin-top: 4px;
}

/* --- Form kartı --- */

.bayilik-form-kart {
  background: #fff;
  border-radius: 10px;
  padding: 30px 28px 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  border-top: 5px solid #f7be27;
}

.bayilik-form-baslik {
  text-align: center;
  margin-bottom: 22px;
}

.bayilik-form-baslik h2 {
  font-size: 26px;
  color: #241f1a;
  margin-bottom: 8px;
}

.bayilik-form-baslik p {
  color: #6f5e4d;
  font-size: 15px;
  margin: 0;
}

.bayilik-alan {
  margin-bottom: 16px;
}

.bayilik-alan label {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #4a4239;
  margin-bottom: 7px;
}

.bayilik-alan label .zorunlu {
  color: #e3000e;
}

.bayilik-alan input[type="text"],
.bayilik-alan input[type="tel"],
.bayilik-alan select {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  font-size: 16px;
  color: #241f1a;
  background-color: #fbf9f4;
  border: 1px solid #ddd5c6;
  border-radius: 5px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.bayilik-alan select {
  /* Yerleşik ok yerine kendi okumuz, tüm tarayıcılarda aynı görünsün */
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%236f5e4d' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 40px;
}

.bayilik-alan input:focus,
.bayilik-alan select:focus {
  outline: none;
  background-color: #fff;
  border-color: #e3000e;
  box-shadow: 0 0 0 3px rgba(227, 0, 14, 0.12);
}

.bayilik-alan input::placeholder {
  color: #a99e8c;
}

.bayilik-alan.hatali input,
.bayilik-alan.hatali select {
  border-color: #e3000e;
  background-color: #fff6f6;
}

.bayilik-hata {
  display: block;
  color: #c1000c;
  font-size: 13.5px;
  line-height: 1.4;
  margin-top: 6px;
}

.bayilik-onay {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 20px;
}

.bayilik-onay input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #e3000e;
}

.bayilik-onay label {
  font-size: 13.5px;
  line-height: 1.5;
  color: #6f5e4d;
  margin: 0;
}

.bayilik-onay a {
  color: #e3000e;
  text-decoration: underline;
}

.bayilik-gonder {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 5px;
  background: #e3000e;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.1s;
}

.bayilik-gonder:hover {
  background: #b80009;
}

.bayilik-gonder:active {
  transform: translateY(1px);
}

.bayilik-gonder[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.bayilik-form-not {
  text-align: center;
  font-size: 13px;
  color: #8b8071;
  margin: 14px 0 0;
}

.bayilik-form-not i {
  color: #2dcb21;
  margin-right: 5px;
}

/* Honeypot alanı: görsel olarak tamamen gizli ama DOM'da mevcut,
   böylece formu otomatik dolduran botlar tuzağa düşüyor. */
.bayilik-tuzak {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bayilik-uyari {
  background: #fff3f3;
  border: 1px solid #f3c3c3;
  border-left: 4px solid #e3000e;
  border-radius: 4px;
  padding: 12px 15px;
  margin-bottom: 18px;
}

.bayilik-uyari p {
  margin: 0;
  font-size: 14px;
  color: #a3000b;
}

/* ==========================================================================
   2. Başvuru sayfası - alt bölümler
   ========================================================================== */

.bayilik-neden {
  padding: 80px 0 60px;
  background: #fff;
}

.bayilik-bolum-baslik {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 46px;
}

.bayilik-bolum-baslik h2 {
  color: #241f1a;
  margin-bottom: 12px;
}

.bayilik-bolum-baslik p {
  color: #6f5e4d;
  margin: 0;
}

.bayilik-kart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.bayilik-kart {
  background: #fbf7e8;
  border-radius: 8px;
  padding: 30px 26px;
  text-align: center;
  transition: transform 0.22s, box-shadow 0.22s;
}

.bayilik-kart:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(111, 94, 77, 0.16);
}

.bayilik-kart-ikon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e3000e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.bayilik-kart:nth-child(2n) .bayilik-kart-ikon {
  background: #f7be27;
  color: #241f1a;
}

.bayilik-kart:nth-child(3n) .bayilik-kart-ikon {
  background: #6f5e4d;
}

.bayilik-kart h3 {
  font-size: 20px;
  color: #241f1a;
  margin-bottom: 10px;
}

.bayilik-kart p {
  color: #6f5e4d;
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}

/* --- Süreç adımları --- */

.bayilik-surec {
  padding: 70px 0;
  background: #fbf7e8;
}

.bayilik-adimlar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  counter-reset: adim;
}

.bayilik-adim {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 32px 24px 26px;
  box-shadow: 0 3px 14px rgba(111, 94, 77, 0.1);
}

.bayilik-adim::before {
  counter-increment: adim;
  content: counter(adim);
  position: absolute;
  top: -18px;
  left: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e3000e;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(227, 0, 14, 0.3);
}

.bayilik-adim h3 {
  font-size: 19px;
  color: #241f1a;
  margin-bottom: 9px;
}

.bayilik-adim p {
  color: #6f5e4d;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* --- Sık sorulanlar --- */

.bayilik-sss {
  padding: 70px 0;
  background: #fff;
}

.bayilik-sss-liste {
  max-width: 860px;
  margin: 0 auto;
}

.bayilik-sss-oge {
  border: 1px solid #ece5d6;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.bayilik-sss-soru {
  width: 100%;
  text-align: left;
  background: #fbf9f4;
  border: none;
  padding: 18px 52px 18px 20px;
  font-family: "Oswald", sans-serif;
  font-size: 17px;
  color: #241f1a;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s;
}

.bayilik-sss-soru:hover {
  background: #f5f0e3;
}

.bayilik-sss-soru::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  line-height: 1;
  color: #e3000e;
}

.bayilik-sss-oge.acik .bayilik-sss-soru::after {
  content: "–";
}

.bayilik-sss-cevap {
  display: none;
  padding: 16px 20px 20px;
  color: #6f5e4d;
  font-size: 15.5px;
  line-height: 1.65;
}

.bayilik-sss-oge.acik .bayilik-sss-cevap {
  display: block;
}

/* --- Alt çağrı --- */

.bayilik-alt-cta {
  padding: 64px 0;
  background: #241f1a;
  text-align: center;
}

.bayilik-alt-cta h2 {
  color: #fff;
  margin-bottom: 12px;
}

.bayilik-alt-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 26px;
}

.bayilik-alt-cta .btn {
  background: #f7be27;
  color: #241f1a !important;
  border-color: #f7be27 !important;
}

.bayilik-alt-cta .btn:hover {
  background: #e3000e;
  color: #fff !important;
  border-color: #e3000e !important;
}

/* ==========================================================================
   3. Teşekkür sayfası
   ========================================================================== */

.bayilik-tesekkur {
  padding: 90px 0 100px;
  background: #fbf7e8;
  text-align: center;
}

.bayilik-tesekkur-ikon {
  width: 96px;
  height: 96px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: #2dcb21;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}

.bayilik-tesekkur h1 {
  color: #241f1a;
  margin-bottom: 14px;
}

.bayilik-tesekkur p {
  color: #6f5e4d;
  max-width: 640px;
  margin: 0 auto 12px;
}

.bayilik-tesekkur-butonlar {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ==========================================================================
   4. Bayilerimiz sayfası
   ========================================================================== */

.bayi-sayfa-ust {
  padding: 40px 0 10px;
  background: #fff;
}

.bayi-sayfa-ust h1 {
  color: #e3000e;
  margin-bottom: 14px;
}

.bayi-sayfa-ust p {
  color: #6f5e4d;
}

.bayi-sayfa-alt {
  padding: 20px 0 80px;
  background: #fff;
}

.bayi-bilgi-kart {
  background: #fbf7e8;
  border-radius: 8px;
  padding: 34px 32px;
  margin-bottom: 26px;
}

.bayi-bilgi-kart h2 {
  color: #241f1a;
  margin-bottom: 14px;
}

.bayi-bilgi-kart p {
  color: #6f5e4d;
  margin-bottom: 12px;
}

.bayi-bilgi-kart p strong {
  color: #e3000e;
}

.bayi-gizlilik-notu {
  border-left: 3px solid #f7be27;
  padding-left: 14px;
  font-size: 14.5px;
  margin-bottom: 0 !important;
}

.bayi-cta {
  background: #241f1a;
  border-radius: 8px;
  padding: 32px 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bayi-cta-metin h3 {
  color: #fff;
  margin-bottom: 6px;
}

.bayi-cta-metin p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.bayi-cta .btn {
  flex-shrink: 0;
}

/* ==========================================================================
   5. Responsive
   ========================================================================== */

@media (min-width: 992px) {
  .bayilik-hero {
    padding: 80px 0 90px;
  }

  .bayilik-hero-sol {
    width: calc(54% - 17px);
  }

  .bayilik-hero-sag {
    width: calc(46% - 17px);
  }

  .bayilik-hero h1 {
    font-size: 50px;
  }
}

@media (max-width: 991px) {
  .bayilik-hero {
    padding: 46px 0 54px;
  }

  /* Formun ilk ekranda kalması için mobilde metnin üstüne alınıyor;
     başlık formun hemen üzerinde kısa tutuluyor. */
  .bayilik-hero-row {
    flex-direction: column;
  }

  .bayilik-hero-sag {
    order: 1;
  }

  .bayilik-hero-sol {
    order: 2;
  }

  .bayilik-hero h1 {
    font-size: 34px;
  }

  .bayilik-hero-ozet {
    font-size: 16.5px;
  }

  .bayilik-neden,
  .bayilik-surec,
  .bayilik-sss {
    padding: 54px 0;
  }
}

@media (max-width: 767px) {
  .bayilik-hero {
    padding: 34px 0 44px;
  }

  .bayilik-hero h1 {
    font-size: 28px;
  }

  .bayilik-rozet {
    font-size: 11.5px;
    padding: 6px 13px;
    margin-bottom: 16px;
  }

  .bayilik-form-kart {
    padding: 24px 18px 22px;
  }

  .bayilik-form-baslik h2 {
    font-size: 22px;
  }

  .bayilik-alan input[type="text"],
  .bayilik-alan input[type="tel"],
  .bayilik-alan select {
    height: 50px;
    /* iOS'ta 16px altı yazı boyutu alana odaklanınca sayfayı yakınlaştırıyor */
    font-size: 16px;
  }

  .bayilik-gonder {
    height: 54px;
    font-size: 17px;
  }

  .bayilik-hero-sayilar {
    gap: 18px;
  }

  .bayilik-hero-sayi strong {
    font-size: 27px;
  }

  .bayilik-neden,
  .bayilik-surec,
  .bayilik-sss,
  .bayilik-alt-cta {
    padding: 44px 0;
  }

  .bayilik-bolum-baslik {
    margin-bottom: 32px;
  }

  .bayilik-kart-grid,
  .bayilik-adimlar {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bayilik-adim {
    padding: 30px 20px 22px;
  }

  .bayilik-tesekkur {
    padding: 60px 0 70px;
  }

  .bayilik-tesekkur-ikon {
    width: 78px;
    height: 78px;
    font-size: 36px;
  }

  .bayi-sayfa-ust {
    padding: 46px 0 6px;
  }

  .bayi-sayfa-alt {
    padding: 10px 0 54px;
  }

  .bayi-bilgi-kart,
  .bayi-cta {
    padding: 24px 20px;
  }

  .bayi-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .bayi-cta .btn {
    width: 100%;
    text-align: center;
  }
}
