html,
body {
  margin: 0;
  padding: 0;
}

/* =========================
     1) TEMEL AYARLAR / DEĞİŞKENLER
     ========================= */
:root {
  /* Slider görselleri */
  --slide-1: url('/tda/img/slider/vitrin.jpeg');
  --slide-2: url('/tda/img/slider/vitrin1.jpeg');
  --slide-3: url('/tda/img/slider/vitrin2.jpeg');

  /* Üstten aşağı “yeşil ton” overlay */
  --grad: linear-gradient(180deg, rgba(9, 49, 0, 0.8) 1%, rgba(0, 0, 0, 0.2) 18%);

  /* Logo yüksekliği */
  --logo-h: 70px;

  /* Slider süresi (3 slide: 6s+6s+6s = 18s) */
  --slider-duration: 18s;

}



/* =========================
     2) HERO KAPSAYICI (FULLSCREEN)
     ========================= */
.tda-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  /* tam ekran */
  min-height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.tda-hero {
  isolation: isolate;
}

/* stacking context'i kilitler */

.tda-hero__slides,
.tda-hero__grad {
  position: absolute;
  inset: 0;
}

/* =========================
     3) SLIDER (CSS ile fade)
     ========================= */
.tda-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* arka plan katmanı */
}

.tda-hero__slides .tda-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  opacity: 0;
  animation: tdaFade var(--slider-duration) infinite;
  background-color: #111;
  /* resim gelmezse beyaz kalmasın */
}

/* 3 slide zamanlaması */
.tda-hero__slides .tda-slide:nth-child(1) {
  background-image: var(--slide-1);
  animation-delay: 0s;
}

.tda-hero__slides .tda-slide:nth-child(2) {
  background-image: var(--slide-2);
  animation-delay: 6s;
}

.tda-hero__slides .tda-slide:nth-child(3) {
  background-image: var(--slide-3);
  animation-delay: 12s;
}

@keyframes tdaFade {
  0% {
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  33% {
    opacity: 1;
  }

  41% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* =========================
     4) GRADIENT OVERLAY (slider üstünde)
     ========================= */
.tda-hero__grad {
  position: absolute;
  inset: 0;
  background: var(--grad);
  pointer-events: none;
  z-index: 2;
}

/* =========================
     5) ÜST BAR (MENÜ / LOGO / ARAMA / İKONLAR)
     - Grid: sol / orta / sağ
     - z-index: her zaman CTA’nın üstünde
     ========================= */
.tda-hero__bar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  z-index: 50;
  /* <-- dropdown/üst bar CTA’nın üstünde */
}

/* ====== SOL: MENÜ + DROPDOWN ====== */
.tda-menu {
  justify-self: start;
  position: relative;
  display: inline-flex;
  padding: 10px 14px;
  padding-bottom: 20px;
  align-items: center;
  z-index: 60;
  /* menü üstte */
}

/* Mobil toggle checkbox (gizli) */
.tda-menu__toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Menü butonu (tıklanabilir alan) */
.tda-menu__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 8px 8px;
  border-radius: 999px;

  color: #fff;
  font-family: system-ui;
  letter-spacing: 2px;
  font-weight: 500;
  text-transform: uppercase;
  user-select: none;


  transition: .2s ease;
}

.fa-bars {
  font-size: 26px;
  padding-top: 5px;
}

.tda-menu__btn:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .38);
  transform: translateY(-1px);
}

/* Dropdown panel */
.tda-menu__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  padding: 10px;
  border-radius: 16px;

  background: rgba(18, 18, 18, .45);
  border: 1px solid rgba(5, 82, 24, 0.833);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: .18s ease;

  z-index: 9999;
  /* <-- CTA’nın ALTINDA KALMASIN diye */
}

/* Desktop: hover / focus ile aç */
_.tda-menu:hover .tda-menu__dropdown,
.tda-menu:focus-within .tda-menu__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobil: checkbox checked ile aç */
.tda-menu__toggle:checked~.tda-menu__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tda-menu__toggle:checked~.tda-menu__dropdown {
  opacity: 0;
  visibility: none;
  transform: translateY(0);
}

.tda-menu__dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-family: system-ui;
  letter-spacing: .5px;
  font-weight: 500;
  text-transform: uppercase;
  transition: .15s ease;
}

.tda-menu__dropdown a:hover {
  background: rgba(255, 255, 255, .14);
}

/* ====== ORTA: LOGO ====== */
.tda-hero__logo {
  justify-self: center;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tda-hero__logo img {
  height: var(--logo-h);
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .25));
  background: transparent;
}

/* ====== SAĞ: ARAMA + İKONLAR ====== */
.tda-hero__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Arama: hover’da genişleyen */
.tda-search {
  display: flex;
  align-items: center;
  height: 44px;
  background: rgba(255, 255, 255, .16);
  _border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  font-size: 14px;
  overflow: hidden;
  transition: .25s ease;
}

.tda-search input {
  width: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  transition: .25s ease;
}

.tda-search button {
  width: 44px;
  height: 44px;
  font-size: 16px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.tda-search:hover,
.tda-search:focus-within {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .40);
}

.tda-search:hover input,
.tda-search:focus-within input {
  width: 260px;
  padding: 0 6px 0 16px;
}

.tda-search input::placeholder {
  color: rgba(255, 255, 255, .85);
}

.tda-icons {
  display: flex;
  padding-bottom: 13px;
  padding-right: 40px;
  align-items: center;
  gap: 14px;
}

.tda-kayit {
  display: flex;
  padding-bottom: 15px;
  align-items: center;
  gap: 16px;
}

.tda-icons a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  border-radius: 999px;

  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
  transition: .2s ease;
  position: relative;
}

.tda-kayit a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui;
  font-weight: 600;
  letter-spacing: 2px;


}

.tda-icons a i {
  font-size: 20px;
}

.tda-icons a:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .38);
  transform: translateY(-1px);
}

.tda-kayit a:hover {
  border-bottom: 1px solid rgb(255, 255, 255);
}

@media screen and (max-width: 768px) {
  .hide-on-mobile {
    display: none;
  }
}

/* =========================
     6) CTA (SILK-KA BENZERİ SOL-ALT)
     ========================= */
.tda-hero__cta {
  position: absolute;
  left: 50px;
  bottom: 120px;
  _max-width: min(640px, calc(100% - 112px));
  color: #fff;
  text-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  z-index: 10;
  /* bar/dropdown üstte kalsın */
}

.tda-hero__cta h2 {
  margin: 0 0 14px 0;
  font-family: "Akronim";
  font-weight: 200;
  letter-spacing: .6px;
  color: transparent;
  background: linear-gradient(lime, rgb(175, 161, 10));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;


  /* Silk-ka hissi: büyük, ama taşmadan */
  font-size: clamp(44px, 56vw, 86px);
  line-height: 1.02;
}

.tda-hero__cta p {
  margin: 0 0 22px 0;
  font-family: system-ui;
  font-size: 16px;
  line-height: 1.35;
  max-width: 44ch;
  color: rgba(255, 255, 255, .92);
}

.tda-hero__cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;

  text-decoration: none;
  color: #111;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(6px);

  transition: .2s ease;
  font-family: "Akronim";
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.tda-hero__cta b {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;

  text-decoration: none;
  color: #ffffff;
  background: rgba(1, 61, 12, 0.5);
  border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(6px);

  transition: .2s ease;
  font-family: "Akronim";
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.tda-hero__cta a:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .40);
  transform: translateY(-1px);
  color: #fff;
}

.tda-hero__cta b:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .40);
  transform: translateY(-1px);
  color: #fff;
}

/* =========================
     7) MOBİL AYARLAR
     ========================= */
_@media (max-width: 768px) {
  :root {
    --logo-h: 64px;
  }

  .tda-hero__bar {
    height: 96px;
    padding: 14px 14px;
  }

  .tda-search:hover input,
  .tda-search:focus-within input {
    width: 180px;
  }

  .tda-hero__cta {
    left: 18px;
    bottom: 70px;
    max-width: calc(100% - 36px);
  }

  .tda-hero__cta h2 {
    font-size: clamp(34px, 9vw, 56px);
  }

  .tda-hero__cta p {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .tda-hero__cta a {
    height: 44px;
    padding: 0 18px;
  }
}