/*
 * E-exportcity yeni tema (2026): yalnızca görünüm katmanı.
 * Canlı site derlenmiş olduğundan kaynak kodu değişmez; bu dosya derlenmiş stillerden SONRA yüklenir.
 * Özellik, adres ve backend aynıdır. Geri almak için index.html'deki tek <link> satırını kaldırmak yeterlidir.
 * Kurallar marka belgesinden (marka-kimligi/MARKA-KIMLIGI.md): koyu turkuaz yazılı öğelerde, parlak turkuaz yalnız dekorda.
 */
:root {
  --yt-deep: #0a7a77;      /* düğme, bağlantı, yazılı turkuaz (beyazla 5.17:1) */
  --yt-deeper: #075e5c;    /* üzerine gelince */
  --yt-brand: #1cb3af;     /* imza turkuaz: yalnız dekor */
  --yt-navy: #0a2540;
  --yt-ink: #061830;
  --yt-soft: #e6f6f6;
  --yt-bg: #f6f8fa;
  --yt-border: #e5e7eb;
  --yt-shadow: 0 4px 12px rgb(0 0 0 / 8%);
  --yt-shadow-hover: 0 14px 30px rgb(10 37 64 / 14%);
  --yt-ease: 200ms cubic-bezier(.2, .7, .2, 1);
}

html body {
  background: var(--yt-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html body ::selection {
  background: var(--yt-brand);
  color: #fff;
}

/* ---------- Birincil renk: Tailwind "primary" yazılı kullanımda koyu turkuaza döner ---------- */
html body .bg-primary { background-color: var(--yt-deep); }
html body .bg-primary\/90 { background-color: rgb(10 122 119 / 90%); }
html body .text-primary { color: var(--yt-deep); }
html body .border-primary { border-color: var(--yt-deep); }
html body .from-primary { --tw-gradient-from: #0a7a77 var(--tw-gradient-from-position); }
html body .to-primary { --tw-gradient-to: #0a7a77 var(--tw-gradient-to-position); }
html body .hover\:bg-primary:hover,
html body .hover\:bg-\[\#0A9996\]:hover,
html body .hover\:bg-primary\/90:hover { background-color: var(--yt-deeper); }
html body .hover\:text-primary:hover,
html body .group:hover .group-hover\:text-primary { color: var(--yt-deep); }
html body .hover\:border-primary:hover { border-color: var(--yt-deep); }
html body .ring-primary { --tw-ring-color: var(--yt-deep); }

/* ---------- Üst şerit ve gezinme ---------- */
html body .fixed.top-0 > .bg-primary {
  background: linear-gradient(90deg, var(--yt-ink), var(--yt-navy) 55%, var(--yt-deep));
}

html body .fixed.top-0 > div:not(.bg-primary) {
  background: rgb(255 255 255 / 92%);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--yt-border), 0 8px 24px rgb(10 37 64 / 6%);
}

/* ---------- Bölümler ve kartlar ---------- */
/* Hero: slayt görselleri artık markaya özel; siyah örtü yerine yalnız metin tarafını koyulaştıran hafif lacivert degrade */
html body .swiper-slide .bg-gradient-to-r.from-black\/70 {
  background: linear-gradient(90deg, rgb(6 24 48 / 62%), rgb(6 24 48 / 18%) 62%, rgb(6 24 48 / 0%));
}

/* Küçük ekranda slayt görseli metnin arkasına girer: örtü tüm yüzeye yayılır */
@media (max-width: 767px) {
  html body .swiper-slide .bg-gradient-to-r.from-black\/70 {
    background: linear-gradient(180deg, rgb(6 24 48 / 55%), rgb(6 24 48 / 72%));
  }
}

html body .swiper-slide h2 {
  text-shadow: 0 2px 18px rgb(6 24 48 / 45%);
}

html body .swiper-pagination-bullet-active {
  background: #fff !important;
  width: 26px;
  border-radius: 6px;
  transition: width var(--yt-ease);
}

/* Bölüm başlıkları: ortalı başlığın altında kısa marka çizgisi */
html body main .text-center > h2.text-3xl::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--yt-brand), var(--yt-deep));
}

html body .rounded-xl.bg-white,
html body .rounded-2xl.bg-white {
  border-radius: 16px;
  border: 1px solid var(--yt-border);
  box-shadow: var(--yt-shadow);
  transition: transform var(--yt-ease), box-shadow var(--yt-ease), border-color var(--yt-ease);
}

html body .rounded-xl.bg-white:hover,
html body .rounded-2xl.bg-white:hover {
  box-shadow: var(--yt-shadow-hover);
}

html body a:hover > .rounded-xl.bg-white,
html body .group.rounded-xl.bg-white:hover {
  transform: translateY(-3px);
  border-color: var(--yt-brand);
}

/* ürün kartı görselleri */
html body .rounded-xl.bg-white img {
  transition: transform 400ms cubic-bezier(.2, .7, .2, 1);
}

html body .rounded-xl.bg-white:hover img {
  transform: scale(1.03);
}

html body .rounded-xl.bg-white .overflow-hidden,
html body .rounded-xl.bg-white .aspect-video,
html body .rounded-xl.bg-white .aspect-square {
  overflow: hidden;
}

/* ---------- Düğmeler ---------- */
html body button.bg-primary,
html body a.bg-primary {
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 2px 8px rgb(10 122 119 / 25%);
  transition: background-color var(--yt-ease), transform var(--yt-ease), box-shadow var(--yt-ease);
}

html body button.bg-primary:hover,
html body a.bg-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgb(10 122 119 / 30%);
}

html body button.bg-primary:active,
html body a.bg-primary:active {
  transform: translateY(0);
}

/* ---------- Rozetler ---------- */
html body .rounded-full.bg-primary\/10,
html body .rounded-lg.bg-primary\/10 {
  color: var(--yt-deep);
  font-weight: 600;
}

/* ---------- Başlıklar ---------- */
html body main h1,
html body main h2 {
  color: var(--yt-navy);
  letter-spacing: -.01em;
}

/* ---------- Giriş alanları ---------- */
html body input:not([type="checkbox"]):not([type="radio"]),
html body select,
html body textarea {
  border-radius: 10px;
}

html body input:not([type="checkbox"]):not([type="radio"]):focus,
html body select:focus,
html body textarea:focus {
  border-color: var(--yt-deep);
  box-shadow: 0 0 0 3px rgb(28 179 175 / 25%);
  outline: none;
}

/* ---------- Odak halkası (klavye erişimi) ---------- */
html body a:focus-visible,
html body button:focus-visible,
html body [role="button"]:focus-visible {
  outline: 3px solid var(--yt-brand);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ---------- Alt bilgi ---------- */
html body footer.bg-\[\#1A1A1A\] {
  background: linear-gradient(180deg, var(--yt-navy), var(--yt-ink));
  border-top: 4px solid var(--yt-brand);
}

html body footer a {
  transition: color var(--yt-ease);
}

html body footer a:hover {
  color: var(--yt-brand);
}

/* ---------- Destek düğmesi ---------- */
html body .fixed.bottom-6.right-6 button {
  background: var(--yt-deep);
  box-shadow: 0 10px 24px rgb(10 122 119 / 40%);
}

/* ---------- Kaydırma çubuğu ---------- */
html body {
  scrollbar-color: var(--yt-deep) var(--yt-bg);
}

/* ---------- Azaltılmış hareket ---------- */
@media (prefers-reduced-motion: reduce) {
  html body *,
  html body *::before,
  html body *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
