:root {
  --wf-navy: #0b1f3a;
  --wf-navy-soft: #12335c;
  --wf-accent: #2e6eff;
  --wf-accent-dark: #1a4fd6;
  --wf-accent-deep: #0b1f3a;
  --wf-gold: #d4af37;
  --wf-blue: #0d6efd;
  --wf-radius: 14px;
  --wf-font: 'Poppins', var(--bs-body-font-family, system-ui, sans-serif);
  --bs-primary: #2e6eff;
  --bs-primary-rgb: 46, 110, 255;
  --bs-link-color-rgb: 26, 79, 214;
  --bs-link-hover-color-rgb: 11, 31, 58;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Navbar yüksekliği + biraz buffer */
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: 100%;
  padding-top: 64px;
  font-family: var(--wf-font);
  overflow-x: hidden;
}

body.has-sticky-contact-bar footer {
  padding-bottom: 110px !important;
}

/* Marka butonları - Bootstrap varsayılan mavisini marka kimliğine taşır */
.btn-primary {
  --bs-btn-bg: var(--wf-accent-dark);
  --bs-btn-border-color: var(--wf-accent-dark);
  --bs-btn-hover-bg: var(--wf-accent-deep);
  --bs-btn-hover-border-color: var(--wf-accent-deep);
  --bs-btn-active-bg: #081326;
  --bs-btn-active-border-color: #081326;
  --bs-btn-disabled-bg: var(--wf-accent-dark);
  --bs-btn-disabled-border-color: var(--wf-accent-dark);
  --bs-btn-focus-shadow-rgb: 46, 110, 255;
}

.btn-outline-primary {
  --bs-btn-color: var(--wf-accent-dark);
  --bs-btn-border-color: var(--wf-accent);
  --bs-btn-hover-bg: var(--wf-accent);
  --bs-btn-hover-border-color: var(--wf-accent);
  --bs-btn-active-bg: var(--wf-accent-dark);
  --bs-btn-active-border-color: var(--wf-accent-dark);
  --bs-btn-focus-shadow-rgb: 46, 110, 255;
}

/* Başarı durumları da marka paletine çekilir (yeşil kullanılmaz) */
.btn-success {
  --bs-btn-bg: var(--wf-accent);
  --bs-btn-border-color: var(--wf-accent);
  --bs-btn-hover-bg: var(--wf-accent-dark);
  --bs-btn-hover-border-color: var(--wf-accent-dark);
  --bs-btn-active-bg: var(--wf-accent-deep);
  --bs-btn-active-border-color: var(--wf-accent-deep);
  --bs-btn-focus-shadow-rgb: 46, 110, 255;
}

.btn-outline-success {
  --bs-btn-color: var(--wf-accent-dark);
  --bs-btn-border-color: var(--wf-accent);
  --bs-btn-hover-bg: var(--wf-accent);
  --bs-btn-hover-border-color: var(--wf-accent);
  --bs-btn-active-bg: var(--wf-accent-dark);
  --bs-btn-active-border-color: var(--wf-accent-dark);
  --bs-btn-focus-shadow-rgb: 46, 110, 255;
}

.text-success {
  color: var(--wf-accent) !important;
}

.bg-success {
  background-color: var(--wf-accent) !important;
}

.border-success {
  border-color: var(--wf-accent) !important;
}

.alert-success {
  --bs-alert-color: #0b2a66;
  --bs-alert-bg: #eef4ff;
  --bs-alert-border-color: #c9dbff;
}

.badge.bg-success,
.badge.bg-primary {
  background: linear-gradient(135deg, var(--wf-accent) 0%, var(--wf-accent-dark) 100%) !important;
}

/* Liste grupları ve sayfalama marka rengi */
.list-group-item.active {
  background-color: var(--wf-accent);
  border-color: var(--wf-accent);
}

.page-link {
  color: var(--wf-accent-dark);
}

.page-link:hover {
  color: var(--wf-accent-deep);
}

.page-item.active .page-link {
  background-color: var(--wf-accent);
  border-color: var(--wf-accent);
  color: #fff;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
  background: #f8f9fa;
  padding: 20px 0;
  border-top: 1px solid #e2e2e2;
}

/* Koyu footer zemininde logo okunurluğu */
img.footer-brand-logo {
  background: #fff;
  padding: 5px 10px;
  border-radius: 10px;
  height: 48px !important;
  width: auto;
  max-width: 210px;
  object-fit: contain;
}

footer.bg-dark {
  background-color: var(--wf-navy) !important;
}

.sticky-contact-bar {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 540px);
  z-index: 1035;
  pointer-events: none;
}

.sticky-contact-bar__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem 0.9rem;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wf-navy) 0%, var(--wf-navy-soft) 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  pointer-events: auto;
  animation: stickyBadgeFloat 4s ease-in-out infinite;
}

.sticky-contact-bar__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6df7a8;
  box-shadow: 0 0 0 0 rgba(109, 247, 168, 0.85);
  animation: stickyPulseDot 1.8s infinite;
}

.sticky-contact-bar__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(8, 16, 33, 0.96), rgba(9, 20, 44, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
  pointer-events: auto;
  overflow: hidden;
  animation: stickyBarEntrance 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-contact-bar__inner::before,
.sticky-contact-bar__inner::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.75;
  pointer-events: none;
}

.sticky-contact-bar__inner::before {
  top: -18px;
  left: 18px;
  width: 110px;
  height: 46px;
  background: rgba(13, 110, 253, 0.34);
}

.sticky-contact-bar__inner::after {
  right: 12px;
  bottom: -16px;
  width: 120px;
  height: 52px;
  background: rgba(37, 211, 102, 0.28);
}

.sticky-contact-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 62px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  overflow: hidden;
  isolation: isolate;
}

.sticky-contact-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 75%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  z-index: 0;
}

.sticky-contact-btn:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.01);
  filter: brightness(1.05);
}

.sticky-contact-btn:hover::before {
  left: 155%;
}

.sticky-contact-btn--call {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(135deg, #1f8bff 0%, #0b56c4 52%, #083b87 100%);
  box-shadow: 0 18px 34px rgba(13, 110, 253, 0.34);
}

.sticky-contact-btn--whatsapp {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(135deg, #4f8dff 0%, #1a4fd6 52%, #0b1f3a 100%);
  box-shadow: 0 18px 34px rgba(46, 110, 255, 0.34);
}

.sticky-contact-btn__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.sticky-contact-btn__icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  opacity: 0.55;
  animation: stickyIconPulse 2.6s ease-in-out infinite;
}

.sticky-contact-btn__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.sticky-contact-btn__text strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.sticky-contact-btn__text small {
  margin-top: 0.2rem;
  opacity: 0.9;
  font-size: 0.76rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.82);
}

@keyframes stickyBarEntrance {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes stickyIconPulse {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.28;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.6;
  }
}

@keyframes stickyPulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(109, 247, 168, 0.72);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(109, 247, 168, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(109, 247, 168, 0);
  }
}

@keyframes stickyBadgeFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@media (max-width: 575.98px) {
  body.has-sticky-contact-bar footer {
    padding-bottom: 128px !important;
  }

  .sticky-contact-bar {
    width: calc(100% - 16px);
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }

  /* Mobilde rozet gizlenir: içerikle çakışma azalır */
  .sticky-contact-bar__badge {
    display: none;
  }

  .sticky-contact-bar__inner {
    gap: 10px;
    padding: 10px;
    border-radius: 22px;
  }

  .sticky-contact-btn {
    min-height: 58px;
    padding: 0.85rem 0.9rem;
    gap: 0.65rem;
  }

  .sticky-contact-btn__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .sticky-contact-btn__text strong {
    font-size: 0.9rem;
  }

  .sticky-contact-btn__text small {
    font-size: 0.7rem;
  }

  body.has-sticky-contact-bar #scrollTop,
  body.has-sticky-contact-bar #scrollTop.show {
    bottom: calc(108px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

@media (min-width: 992px) {
  body.has-sticky-contact-bar footer {
    padding-bottom: 96px !important;
  }

  /* Masaüstünde içerik ortasını kapatmasın: sağ alta yerleş */
  .sticky-contact-bar {
    left: auto;
    right: 24px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    transform: none;
    width: 440px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-contact-bar__badge,
  .sticky-contact-bar__badge-dot,
  .sticky-contact-bar__inner,
  .sticky-contact-btn__icon::after {
    animation: none !important;
  }

  .sticky-contact-btn,
  .sticky-contact-btn::before {
    transition: none !important;
  }
}

/* ============================================
   NAVBAR & MENU STİLLERİ
   ============================================ */

/* Navbar sticky positioning */
.navbar.sticky-top {
  z-index: 1030 !important;
  position: fixed !important;
  top: 0;
  width: 100%;
  left: 0;
  right: 0;
}

/* Logo koyu zeminlerde okunur kalsın diye açık zemin */
.navbar .navbar-brand {
  background: #fff;
  padding: 4px 10px;
  border-radius: 10px;
  line-height: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.navbar .navbar-brand img {
  display: block;
  height: 40px;
  width: auto;
}

/* Mobil menüde dokunma hedefleri en az 44px */
@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.65rem 1rem;
  }

  .navbar .navbar-toggler {
    padding: 0.5rem 0.7rem;
  }

  .navbar .premium-search-input {
    min-height: 44px;
  }
}

/* Mobil Dropdown İyileştirmesi */
@media (max-width: 991px) {
    .dropdown-menu {
        width: 100%;
        border-radius: 0;
    }
}

/* Ekran Okuyucu için Gizli Metin - Erişilebilirlik */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sonsuz Kaydırma için Sentinel Elemanı - Gizlenmiş */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* Tablet (768px ve altı) Navbar Padding Ayarlaması */
@media (max-width: 768px) {
  body {
    /* Tablet navbar yüksekliğine göre padding */
    padding-top: 70px;
  }
  
  html {
    /* Tablet scroll padding */
    scroll-padding-top: 75px;
  }
}

/* Mobil (576px ve altı) Navbar Padding Ayarlaması */
@media (max-width: 576px) {
  body {
    /* Mobil navbar yüksekliğine göre padding */
    padding-top: 68px;
  }
  
  html {
    /* Mobil scroll padding */
    scroll-padding-top: 74px;
  }

  .page-header {
    padding: 38px 0;
    border-radius: 0 0 20px 20px;
  }

  .page-header h1 {
    font-size: 1.65rem;
  }

  .page-header .lead {
    font-size: 0.92rem;
  }
}

/* Sepet Badge Pozisyonu - İkon Üstünde */
.navbar .nav-item.position-relative {
    position: relative !important;
}

/* Navbar Badge Stili - Sepet Sayısı Simgesi */
.navbar .nav-item.position-relative .badge {
  position: absolute !important;
  top: -15px !important;
  right: -8px !important;
  font-size: 0.7rem !important;
  padding: 0.2rem 0.4rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  font-weight: bold !important;
  z-index: 10 !important;
}

/* Sepet İkonu - Flash Animasyonu */
.navbar .nav-item.position-relative a[href*="/sepet"] i {
  transition: color 0.3s ease;
}

.navbar .nav-item.position-relative a[href*="/sepet"].cart-flash i {
  animation: cartFlash 0.6s ease-in-out infinite;
}

/* Flash Animasyonu - Renk Değiştirme */
@keyframes cartFlash {
  0% {
    color: inherit;
  }
  25% {
    color: #ffc107; /* Sarı */
  }
  50% {
    color: #2e6eff; /* Yeşil */
  }
  75% {
    color: #ffc107; /* Sarı */
  }
  100% {
    color: inherit;
  }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* Dinamik oluşturulan Badge (JavaScript tarafından) */
.navbar .nav-item.position-relative .dynamic-badge {
  position: absolute !important;
  top: -15px !important;
  right: -8px !important;
  font-size: 0.7rem !important;
  padding: 0.2rem 0.4rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  font-weight: bold !important;
  z-index: 10 !important;
}

/* Navbar Search Form Alignment Fix */
.navbar-nav .d-flex {
  align-items: center !important;
  gap: 0 !important;
}

.navbar-nav .nav-item .d-flex .form-control-sm {
  height: auto !important;
  line-height: 1.5;
  vertical-align: middle;
  padding: 0.25rem 0.5rem !important;
  font-size: 0.875rem;
  margin: 0 !important;
}

.navbar-nav .nav-item .d-flex .btn-sm {
  height: auto !important;
  padding: 0.25rem 0.5rem !important;
  vertical-align: middle;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  margin-left: 0.5rem !important;
  margin-right: 0.5rem !important;
}

/* Navbar search item - remove extra padding */
.navbar-nav .nav-item.me-2 .d-flex {
  margin: 0;
  padding: 0;
}

/* Fix nav-item padding that causes search bar to shift */
.navbar-nav > .nav-item:has(.d-flex) {
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
}


/* ============================================
   İLEİŞİM SAYFASI - FORM VE KARTLAR
   ============================================ */

/* İletişim Kartı Stili */
.contact-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 25px;
}

/* İletişim Bilgileri - İkon Rengi */
.contact-info i {
  color: var(--wf-accent);
  width: 25px;
}

/* Harita Kutusu - Sınır Yuvarlatma */
.map-box {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.07);
}

/* Gizli Alan (Honeypot) */
.hidden {
  display: none;
}

/* Sayfa Başlığı - Sol Çizgi */
h2.page-title {
  border-left: 5px solid var(--wf-accent);
  padding-left: 10px;
  font-weight: 700;
}

/* Sayfa Başlığı - Gradient Arka Plan */
.page-header {
  background: linear-gradient(135deg, var(--wf-accent) 0%, var(--wf-accent-dark) 100%);
  color: #fff;
  padding: 60px 0;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-header h1 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-header .lead {
  font-size: 1rem;
  opacity: 0.95;
}

/* Sayfanın Üstüne Dön Düğmesi */
#scrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--wf-accent);
  color: #fff;
  border: none;
  outline: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 20px;
  display: none !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 997;
}

#scrollTop:hover {
  background-color: var(--wf-accent-dark);
}

#scrollTop.show {
  display: flex !important;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 998;
  transform: none !important;
}

#scrollTop.show:hover {
  transform: translateY(-2px) scale(1.05) !important;
}

body.has-sticky-contact-bar #scrollTop,
body.has-sticky-contact-bar #scrollTop.show {
  bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  right: 18px;
}



.product-card {
    border-radius: 14px;
    overflow: hidden;
    transition: .3s;
    border: none;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Ürün Görseli */
.product-card img {
    height: 240px;
    object-fit: cover;
    border-bottom: 1px solid #f1f1f1;
    width: 100%;
}

@media (max-width: 768px) {
    .product-card img {
        height: 200px;
    }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

@media (max-width: 480px) {
    .product-card img {
        height: 160px;
    }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

.mb-3.rounded {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

/* Ürün Başlığı */
.product-card .card-title {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Ürün Açıklaması */
.product-card .card-text {
    color: #495057;
    font-size: .95rem;
    min-height: 50px;
}

/* Kart Düğmesi */
.product-card .btn {
    border-radius: 30px;
    padding: 6px 18px;
    font-size: .85rem;
}

/* Fiyat Etiketi - Modern Görünüm */
.product-card .card-footer {
    background: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--wf-accent);
    border-top: none !important;
    padding: 15px 0;
}


/* Ürün Başlığı */


/* ============================================
   BLOG İÇERİĞİ - GÖRSEL STİLLERİ
   ============================================ */

/* Blog İçerik Görselleri - Otomatik Ortalama ve Sınırlama */
.content img {
    height: auto !important;
    display: block !important;
    margin: 10px auto !important;
    box-sizing: border-box !important;
    object-fit: contain !important;
}

.content img:hover {
    transform: scale(1.02);
}

/* Blog Kapak Görseli - Optimize Stil */
.blog-thumb {
    max-width: 100%;
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: block;
}


/* Tablet Cihazları - Görsel Optimizasyonu */
@media (max-width: 768px) {
    .content img {
        max-height: 300px;
    }
    
    .blog-thumb {
        height: 200px;
        width: 100%;
        max-height: 200px;
    }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* Mobil Cihazları - Görsel Optimizasyonu */
@media (max-width: 480px) {
    .content img {
        max-height: 200px;
    }
    
    .blog-thumb {
        height: 150px;
        max-height: 150px;
        width: 100%;
    }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* ============================================
   REFERANS LOGOSU
   ============================================ */




/* ============================================
   ANASAYFA - HERO & KAROUSEL STİLLERİ
   ============================================ */

/* Hero / Başlık Bölümü */
.hero {
    position: relative;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: brightness(60%);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

/* Karousel Başlığı */
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.2rem 1.25rem 1.1rem;
    background: linear-gradient(0deg, rgba(6, 15, 30, 0.88) 0%, rgba(6, 15, 30, 0.55) 55%, rgba(6, 15, 30, 0) 100%);
    border-radius: 0;
}

.carousel-caption h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.carousel-caption p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* ============================================
   BLOG KARTI STİLLERİ
   ============================================ */

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(11, 31, 58, .08);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 26px rgba(11, 31, 58, .07);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.blog-card:hover,
.blog-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(46, 110, 255, .35);
    box-shadow: 0 22px 44px rgba(11, 31, 58, .14);
}

.blog-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #0b1f3a, #12335c);
}

.blog-card-media img,
.blog-card .blog-thumb {
    width: 100%;
    height: 100%;
    max-height: none;
    margin: 0;
    border-radius: 0;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.2, .6, .2, 1);
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.05);
}

.blog-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 19, 38, 0) 48%, rgba(8, 19, 38, .55) 100%);
    pointer-events: none;
}

.blog-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    max-width: calc(100% - 88px);
    padding: .36rem .72rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(6px);
}

.blog-chip--cat {
    top: 12px;
    left: 12px;
    color: #fff;
    background: rgba(11, 31, 58, .88);
    border: 1px solid rgba(255, 255, 255, .18);
}

.blog-chip--time {
    top: 12px;
    right: 12px;
    color: #fff;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .34);
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    flex: 1;
    padding: 1.15rem 1.25rem 1.25rem;
}

.blog-card-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .3rem .9rem;
    margin: 0;
    font-size: .76rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #5b6779;
}

.blog-card-eyebrow i {
    color: var(--wf-accent-dark);
}

.blog-card-title {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0b1f3a;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a:hover,
.blog-card-title a:focus-visible {
    color: var(--wf-accent-dark);
    text-decoration: none;
}

.blog-card-excerpt {
    margin: 0;
    color: #5b6779;
    font-size: .92rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: auto;
    padding-top: .9rem;
    border-top: 1px solid rgba(11, 31, 58, .07);
}

.blog-author {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-width: 0;
    font-size: .8rem;
    font-weight: 600;
    color: #41506a;
}

.blog-author > span:last-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.blog-avatar {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #12335c, #0b1f3a);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.blog-card-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    flex: 0 0 auto;
    font-size: .85rem;
    font-weight: 600;
    color: var(--wf-accent-dark);
    text-decoration: none;
    white-space: nowrap;
}

.blog-card-cta:hover,
.blog-card-cta:focus-visible {
    color: #081326;
    text-decoration: none;
}

.blog-card-cta .cta-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef3ff;
    color: var(--wf-accent-dark);
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

.blog-card:hover .blog-card-cta .cta-icon,
.blog-card-cta:focus-visible .cta-icon {
    background: var(--wf-accent-dark);
    color: #fff;
    transform: translateX(2px);
}

/* Blog listeleme: giriş, kategori gezinmesi, SSS */
.blog-intro {
    background: linear-gradient(135deg, #f6f9ff 0%, #ffffff 70%);
    border: 1px solid rgba(11, 31, 58, .07);
    border-left: 4px solid var(--wf-accent-dark);
    border-radius: 16px;
    padding: 1.5rem 1.6rem;
}

.blog-intro p:last-child {
    margin-bottom: 0;
}

.blog-cat-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.blog-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .9rem;
    border-radius: 999px;
    border: 1px solid rgba(11, 31, 58, .14);
    background: #fff;
    color: #12335c;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.blog-cat-chip:hover,
.blog-cat-chip:focus-visible {
    background: #eef3ff;
    border-color: rgba(46, 110, 255, .45);
    color: var(--wf-accent-dark);
    text-decoration: none;
}

.blog-cat-chip.is-active {
    background: var(--wf-accent-dark);
    border-color: var(--wf-accent-dark);
    color: #fff;
}

.blog-cat-chip .cat-count {
    font-size: .72rem;
    font-weight: 700;
    padding: .12rem .45rem;
    border-radius: 999px;
    background: rgba(11, 31, 58, .08);
    color: #41506a;
}

.blog-cat-chip.is-active .cat-count {
    background: rgba(255, 255, 255, .95);
    color: #12335c;
}

.blog-faq details {
    background: #fff;
    border: 1px solid rgba(11, 31, 58, .1);
    border-radius: 12px;
    padding: .95rem 1.1rem;
}

.blog-faq details + details {
    margin-top: .65rem;
}

.blog-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: #0b1f3a;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.blog-faq summary::-webkit-details-marker {
    display: none;
}

.blog-faq summary::after {
    content: "+";
    font-size: 1.2rem;
    line-height: 1;
    color: var(--wf-accent-dark);
    flex: 0 0 auto;
}

.blog-faq details[open] summary::after {
    content: "\2212";
}

.blog-faq details p {
    margin: .7rem 0 0;
    color: #41506a;
    font-size: .93rem;
    line-height: 1.65;
}

@media (max-width: 575.98px) {
    .blog-card-body {
        padding: 1rem 1rem 1.1rem;
    }

    .blog-card-title {
        font-size: 1rem;
    }

    .blog-card-foot {
        flex-wrap: wrap;
    }

    .blog-intro {
        padding: 1.1rem 1.1rem;
    }
}

/* ============================================
   DUYARLI TASARIM STİLLERİ
   ============================================ */

/* Tablet (768px ve aşağı) */
@media (max-width: 768px) {
    .hero img {
        height: 350px;
    }

    .carousel-caption {
        padding: 0.75rem;
    }

    .carousel-caption h2 {
        font-size: 1.25rem;
    }

    .carousel-caption p {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .carousel-caption .btn {
        padding: 0.45rem 0.95rem;
        font-size: 0.85rem;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .product-card img {
        height: 180px;
    }

    .blog-card img {
        height: 180px;
    }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* Mobil (576px ve aşağı) */
@media (max-width: 576px) {
    .hero img {
        height: 250px;
    }

    .carousel-caption {
        padding: 0.5rem;
    }

    .carousel-caption h2 {
        font-size: 1rem;
    }

    .carousel-caption p {
        font-size: 0.75rem;
        display: none;
    }

    .carousel-caption .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
    }

    .hero-text {
        padding: 20px;
    }

    .hero-text h2 {
        font-size: 1.25rem;
    }

    .product-card img {
        height: 150px;
    }

    .ref-logo {
        width: 150px;
        height: 75px;
    }

    /* Mobile Touch Target Size - WCAG Minimum 44x44px */
    .btn {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 16px !important;
    }

    .btn-sm {
        min-height: 40px;
        min-width: 40px;
        padding: 6px 12px !important;
        font-size: 0.875rem;
    }

    /* Icon-only buttons should be at least 44x44px */
    .btn-icon,
    button[aria-label],
    a[role="button"][aria-label] {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* ============================================
   SAYFA BAŞLIĞI - TUTARLI STİL
   ============================================ */

/* Galeri Sayfası - Diğer sayfa başlıklarıyla aynı marka gradyanı */
.page-header.galeri {
    background: linear-gradient(135deg, var(--wf-accent) 0%, var(--wf-accent-dark) 100%);
}

/* Sayfa Haritası - Krumble Navigation */
.breadcrumb {
    background: none;
    font-size: 0.9rem;
    padding-left: 0;
}

.breadcrumb-item {
    text-decoration: none;
}

.breadcrumb-item a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.breadcrumb-item a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ============================================
   SAYFA İÇERİĞİ STİLLERİ
   ============================================ */

.page-content {
    background: #fff;
    padding: 40px 50px;
    margin-top: -30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 2;
}

.page-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 15px 0;
    transition: transform 0.3s ease;
}

.page-content img:hover {
    transform: scale(1.02);
}

/* ============================================
   REFERANS KARTLARI - MODERN TASARIM
   ============================================ */

.ref-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.ref-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Referans Logosu */
.ref-card .ref-logo {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
    border-bottom: 1px solid #eee;
    padding: 10px;
    background: #f9f9f9;
}

/* Referans İçeriği */
.ref-card .ref-content {
    padding: 15px;
    text-align: center;
}

.ref-card .ref-content h5 {
    font-weight: 600;
    color: var(--wf-accent-dark);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.ref-card .ref-content p {
    font-size: 0.95rem;
    color: #495057;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
    min-height: 60px;
    margin: 0;
}

/* ============================================
   GALERİ - MODERN LIGHTBOX STİLLERİ
   ============================================ */

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Galeri Overlay - Büyütme Simgesi */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 110, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 2.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ============================================
   FİLTRE DÜĞMELERI - ETKİLEŞİMLİ DURUMLAR
   ============================================ */

.filter-btn {
    transition: all 0.3s ease;
    border-color: var(--wf-accent);
    color: var(--wf-accent-dark);
}

.filter-btn:hover {
    background-color: var(--wf-accent);
    color: #fff;
}

.filter-btn.active {
    background: var(--wf-accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(46, 110, 255, 0.3);
}

/* ============================================
   FORM ÖĞELERI - MODERN STİL
   ============================================ */

#filtreForm .form-control,
#filtreForm .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 0.95rem;
}

#filtreForm .form-control:focus,
#filtreForm .form-select:focus {
    border-color: #2e6eff;
    box-shadow: 0 0 0 0.25rem rgba(46, 110, 255, 0.1);
    outline: none;
}

#filtreForm .btn-success {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    font-weight: 500;
}

#filtreForm .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 110, 255, 0.3);
}

/* ============================================
   DEVAMINI YÜKLEBİL & SAYFALANDIRMA DÜĞMELERI
   ============================================ */

.load-btn {
    display: block;
    margin: 30px auto;
    border-radius: 30px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.load-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ============================================
   TABLET & MOBIL DUYARLI STİLLER
   ============================================ */

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
        border-radius: 0 0 20px 20px;
    }

    .page-header h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .page-header .lead {
        font-size: 0.95rem;
    }

    .page-content {
        padding: 25px 35px;
        margin-top: -20px;
        border-radius: 10px;
    }

    .blog-thumb {
        height: 150px;
    }

    .product-card img {
        height: 180px;
    }

    .gallery-item img {
        height: 200px;
    }

    #filtreForm .col-md-3,
    #filtreForm .col-md-2 {
        margin-bottom: 10px;
    }

    #filtreForm .btn-success {
        width: auto;
    }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* Mobil (576px ve aşağı) */
@media (max-width: 576px) {
    .page-header {
        padding: 30px 15px;
        text-align: center;
        border-radius: 0 0 20px 20px;
    }

    .page-header h1 {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .page-header .lead {
        font-size: 0.85rem;
    }

    .page-content {
        padding: 20px 18px;
        margin-top: -20px;
        border-radius: 10px;
    }

    .page-content img {
        margin: 12px 0;
        border-radius: 6px;
    }

    .breadcrumb {
        font-size: 0.8rem;
        padding-left: 0;
        margin-bottom: 10px;
    }

    .breadcrumb-item {
        padding: 0 0.25rem;
    }

    .product-card {
        border-radius: 8px;
    }

    .product-card img {
        height: 150px;
    }

    .blog-card {
        border-radius: 14px;
    }

    .gallery-item img {
        height: 150px;
    }

    .ref-card .ref-content p {
        font-size: 0.9rem;
        min-height: auto;
    }

    #filtreForm {
        flex-direction: column;
    }

    #filtreForm .col-md-3,
    #filtreForm .col-md-2,
    #filtreForm .col-md-2.text-end {
        width: 100% !important;
        margin-bottom: 10px;
    }

    #filtreForm .btn-success {
        width: 100% !important;
    }

    .filter-btn {
        font-size: 0.85rem;
        padding: 0.375rem 0.75rem;
    }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* İnline stil logosu */
img[style*="object-fit:contain"] {
    max-width: 100%;
    height: auto;
}

/* ============================================
   REFERANSLAR SAYFA - KATEGORİ BUTONLARI
   ============================================ */

.filter-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.filter-buttons-wrapper .filter-btn {
    white-space: nowrap;
    flex: 0 1 auto;
}

/* Mobil (ékıcı 576px) */
@media (max-width: 576px) {
    .filter-buttons-wrapper {
        gap: 6px;
        row-gap: 10px;
    }
    
    .filter-buttons-wrapper .filter-btn {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
        flex: 0 1 calc(50% - 3px);
        min-width: 120px;
    }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* Tablet (768px ve aşağı) */
@media (max-width: 768px) {
    .filter-buttons-wrapper .filter-btn {
        font-size: 0.9rem;
        padding: 0.5rem 0.85rem;
    }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* ============================================
   İNSTAGRAM GÖNDERİLERİ - MODERN TASARIM
   ============================================ */

.instagram-post {
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-post-link {
    text-decoration: none;
    display: block;
}

.instagram-post-link:hover .instagram-post img {
    transform: scale(1.05);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    text-align: center;
}

.instagram-post-link:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay i {
    color: #E4405F;
    margin-bottom: 10px;
}

.instagram-overlay p {
    margin: 0;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   ÜRÜN DETAY SAYFASI - GÖRSEL VE KONTROLLER
   ============================================ */

/* Ürün Galeri Görselleri */
.product-gallery img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
}

/* Galeriye Tumsek Görselleri */
.thumb img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.thumb img:hover {
  transform: scale(1.05);
}

/* Benzer Ürün Kartı Görselleri */
.similar-card img {
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.similar-card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Miktar Kontrol Dünmeleri */
.qty-control {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #2e6eff;
  width: fit-content;
  height: 45px;
}

/* Küçük Quantity Kontrol (Sepete Ekle ile yan yana) */
.qty-control-small {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #2e6eff;
  width: fit-content;
  height: 40px;
}

.qty-control button,
.qty-control-small button {
  width: 35px;
  height: 100%;
  border: none;
  background: #2e6eff;
  color: #fff;
  border-radius: 0;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.qty-control button:first-child,
.qty-control-small button:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.qty-control button:last-child,
.qty-control-small button:last-child {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.qty-control button:hover,
.qty-control-small button:hover {
  background: #1a4fd6;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.qty-control button:active,
.qty-control-small button:active {
  background: #0b1f3a;
}

.qty-control input,
.qty-control-small input {
  text-align: center;
  border: none;
  border-radius: 0;
  font-weight: 600;
  font-size: 1rem;
  padding: 0 8px;
  transition: all 0.2s ease;
  background: #fff;
  margin: 0;
  flex: 1;
  height: 100%;
}

.qty-control input {
  width: 70px;
}

.qty-control-small input {
  width: 50px;
}

.qty-control input:focus,
.qty-control-small input:focus {
  outline: none;
  background: #f8f9fa;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Remove spinner for number input */
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button,
.qty-control-small input::-webkit-outer-spin-button,
.qty-control-small input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-control input[type=number],
.qty-control-small input[type=number] {
  -moz-appearance: textfield;
}

/* Mobil uyumlu */
@media (max-width: 576px) {
  .qty-control {
    height: 40px;
    border-radius: 6px;
  }
  
  .qty-control button {
    width: 35px;
    font-size: 1.1rem;
  }
  
  .qty-control input {
    width: 50px;
    font-size: 0.9rem;
  }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* Ürün Detay Sayfası - Duyarlı Tasarim */
@media (max-width: 768px) {
  .product-gallery img {
    height: 250px;
  }
  
  .similar-card img {
    height: 150px;
  }
  
  .qty-control {
    flex-wrap: wrap;
  }
  
  .qty-control input {
    width: 100%;
    margin-top: 5px;
  }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

@media (max-width: 576px) {
  .thumb img {
    width: 60px;
    height: 60px;
  }
  
  .similar-card {
    border-radius: 6px;
  }
  
  .similar-card img {
    height: 120px;
    border-radius: 6px;
  }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* ============================================
   BLOG DETAIL SAYFASI - RESPONSIVE STİLLERİ
   ============================================ */

.blog-detail-img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* Meta Info Styling */
.blog-meta-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #6c757d;
  font-size: 0.9rem;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.blog-meta-item i {
  min-width: 18px;
  text-align: center;
}

/* Navigation Buttons */
.blog-nav-buttons {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.blog-nav-buttons .btn {
  flex: 1;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Tablet Responsive */
@media (max-width: 768px) {
  .blog-detail-img {
    max-height: 350px;
  }
  
  article h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .blog-meta-info {
    font-size: 0.85rem;
    gap: 0.75rem;
  }
  
  .content {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .blog-nav-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .blog-nav-buttons .btn {
    width: 100%;
  }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* Mobile Responsive */
@media (max-width: 576px) {
  article h1 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  .blog-detail-img {
    max-height: 250px;
  }
  
  .blog-meta-info {
    font-size: 0.8rem;
    gap: 0.5rem;
  }
  
  .blog-meta-item {
    gap: 0.35rem;
  }
  
  .blog-meta-item i {
    font-size: 0.85em;
  }
  
  .content {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 1.5rem;
  }
  
  .blog-nav-buttons {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
  }
  
  .blog-nav-buttons .btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.75rem;
  }
  
  .col-md-4 {
    margin-top: 2rem;
  }
  
  h4 {
    font-size: 1.1rem;
  }
  
  .form-label {
    font-size: 0.9rem;
  }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* ============================================
   WHATSAPP İLETİŞİM BUTONU - FLOATING WIDGET
   ============================================ */

/* İletişim FAB (Floating Action Button) */
.contact-fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 998;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
}

/* Ana Buton */
.fab-main-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--wf-accent) 0%, var(--wf-accent-dark) 100%);
  box-shadow: 0 4px 12px rgba(46, 110, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.fab-main-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.4);
}

.fab-main-btn:active {
  transform: scale(0.95);
}

/* FAB İkonları */
.fab-icon {
  width: 28px;
  height: 28px;
  color: white;
  fill: white;
  transition: all 0.3s ease;
  background: transparent;
  stroke: none;
}

.fab-action-btn i {
  font-size: 20px;
  color: white;
}

/* WhatsApp Modal */
.whatsapp-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none !important;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.whatsapp-modal.show {
  display: flex !important;
}

.whatsapp-modal-content {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
}

.whatsapp-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
}

.whatsapp-modal-close:hover {
  color: #000;
}

.whatsapp-modal-body {
  padding: 40px 20px 30px;
  text-align: center;
}

.whatsapp-status-icon {
  font-size: 60px;
  color: #2e6eff;
  margin-bottom: 15px;
}

.whatsapp-modal-body h3 {
  margin: 0 0 10px 0;
  font-size: 20px;
  color: #333;
  font-weight: 600;
}

.whatsapp-modal-phone {
  margin: 8px 0;
  color: #666;
  font-size: 14px;
}

.whatsapp-modal-status {
  margin: 5px 0 20px 0;
  color: #2e6eff;
  font-size: 14px;
  font-weight: 500;
}

.whatsapp-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2e6eff;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.whatsapp-modal-btn:hover {
  background: #1a4fd6;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(46, 110, 255, 0.3);
}

.whatsapp-modal-btn i {
  font-size: 18px;
}

.whatsapp-modal-offline-msg {
  color: #e74c3c;
  font-size: 14px;
  margin: 10px 0 5px 0;
  font-weight: 500;
}

.whatsapp-modal-hours {
  color: #999;
  font-size: 12px;
  margin: 5px 0 15px 0;
}

.whatsapp-modal-btn-offline {
  background: #999999;
}

.whatsapp-modal-btn-offline:hover {
  background: #777777;
}

/* Action Butonları */
.fab-action-btn {
  position: absolute;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: scale(0) translate(0, 0);
  pointer-events: none;
}

/* WhatsApp Butonu */
.fab-whatsapp {
  background: #2e6eff;
  bottom: 70px;
  right: 0;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(46, 110, 255, 0.3);
}

/* Telefon Butonu */
.fab-phone {
  background: #2e6eff;
  bottom: 70px;
  right: 0;
}

.fab-phone:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(46, 110, 255, 0.3);
}

/* Active State - Butonlar Açık */
.contact-fab-container.active .fab-action-btn {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-fab-container.active .fab-whatsapp {
  transform: scale(1) translate(20px, 10px);
}

.contact-fab-container.active .fab-phone {
  transform: scale(1) translate(-28px, -40px);
}

/* Tablet ve Mobil Uyarlamalar */
@media (max-width: 768px) {
  .contact-fab-container {
    bottom: 20px;
    right: 20px;
  }
  
  .fab-main-btn {
    width: 55px;
    height: 55px;
  }
  
  .fab-icon {
    width: 26px;
    height: 26px;
  }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

@media (max-width: 480px) {
  .contact-fab-container {
    bottom: 15px;
    right: 15px;
  }
  
  .fab-main-btn {
    width: 50px;
    height: 50px;
  }
  
  .fab-icon {
    width: 24px;
    height: 24px;
  }
  
  .fab-action-btn {
    width: 45px;
    height: 45px;
  }
  
  .contact-fab-container.active .fab-whatsapp {
    transform: scale(1) translate(12px, 8px);
  }
  
  .contact-fab-container.active .fab-phone {
    transform: scale(1) translate(-28px, -47px);
  }
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* Visually Hidden - for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sentinel element for infinite scroll - should be hidden */
#sentinel {
  height: 1px;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* ============================================
   MODERN UI REFRESH — Hero, Cards, Sticky Bar
   ============================================ */

/* Hero: yeşilsiz, lacivert "aurora" zemin */
.page-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 62px 0;
  border-radius: 0 0 30px 30px;
  color: #fff;
  background:
    radial-gradient(1100px 420px at 12% -20%, rgba(46, 110, 255, 0.38), transparent 60%),
    radial-gradient(900px 360px at 88% -10%, rgba(212, 175, 55, 0.2), transparent 55%),
    linear-gradient(135deg, #081326 0%, #0d2344 55%, #071221 100%);
  box-shadow: 0 18px 42px rgba(8, 20, 40, 0.16);
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 25%, transparent 72%);
}

.page-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.95), rgba(101, 155, 255, 0.85), transparent);
}

.page-header.galeri {
  background:
    radial-gradient(1100px 420px at 12% -20%, rgba(46, 110, 255, 0.38), transparent 60%),
    radial-gradient(900px 360px at 88% -10%, rgba(212, 175, 55, 0.2), transparent 55%),
    linear-gradient(135deg, #081326 0%, #0d2344 55%, #071221 100%);
}

.page-header h1 {
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-header h1 > i {
  margin-right: 0.6rem;
  font-size: 0.85em;
  vertical-align: 0.08em;
}

.page-header .lead {
  font-size: 1rem;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .page-header {
    padding: 44px 0;
    border-radius: 0 0 22px 22px;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .page-header {
    padding: 34px 12px;
    border-radius: 0 0 20px 20px;
  }

  .page-header h1 {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .page-header .lead {
    font-size: 0.9rem;
  }
}

/* Kart ve butonlarda hafif modern dokunuş */
.card {
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.07);
}

.card .card-header {
  border-radius: 16px 16px 0 0 !important;
}

.btn {
  --bs-btn-border-radius: 10px;
  font-weight: 600;
}

.btn-primary {
  box-shadow: 0 10px 22px rgba(46, 110, 255, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 12px 26px rgba(46, 110, 255, 0.28);
}

/* Sabit iletişim çubuğu: kompakt, sağ altta yüzen hap */
body.has-sticky-contact-bar footer {
  padding-bottom: 84px !important;
}

.sticky-contact-bar {
  left: auto;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: none;
  width: auto;
  z-index: 1035;
  pointer-events: none;
}

.sticky-contact-bar__badge {
  display: none !important;
}

.sticky-contact-bar__inner {
  display: flex;
  grid-template-columns: none;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(10, 22, 42, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 32px rgba(6, 16, 34, 0.28);
  backdrop-filter: blur(12px);
  overflow: hidden;
  animation: stickyBarEntrance 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-contact-bar__inner::before,
.sticky-contact-bar__inner::after {
  display: none;
}

.sticky-contact-btn {
  width: 44px;
  height: 44px;
  min-height: 0;
  padding: 0;
  gap: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.sticky-contact-btn::before {
  display: none;
}

.sticky-contact-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  color: #fff;
}

.sticky-contact-btn--call {
  background: linear-gradient(140deg, #2f8bff, #0b56c4);
  box-shadow: none;
}

.sticky-contact-btn--whatsapp {
  background: linear-gradient(140deg, #1a4fd6, #0b1f3a);
  box-shadow: none;
}

.sticky-contact-btn__icon {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  border-radius: 0;
  background: none;
  border: 0;
  box-shadow: none;
  font-size: 1.05rem;
}

.sticky-contact-btn__icon::after {
  display: none;
}

.sticky-contact-btn__text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body.has-sticky-contact-bar #scrollTop,
body.has-sticky-contact-bar #scrollTop.show {
  bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  right: max(22px, env(safe-area-inset-right, 0px));
}

@media (max-width: 575.98px) {
  body.has-sticky-contact-bar footer {
    padding-bottom: 78px !important;
  }

  .sticky-contact-bar {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .sticky-contact-bar__inner {
    padding: 5px;
    gap: 6px;
    border-radius: 999px;
  }

  .sticky-contact-btn {
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .sticky-contact-btn__icon {
    width: auto;
    height: auto;
    flex-basis: auto;
  }

  body.has-sticky-contact-bar #scrollTop,
  body.has-sticky-contact-bar #scrollTop.show {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* ============================================
   PREMIUM PILLS NAVBAR
   ============================================ */

.premium-nav.pills-nav {
  background: var(--wf-navy, #0b1f3a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-nav.pills-nav .premium-left-nav {
  gap: 0.25rem;
}

.premium-nav.pills-nav .nav-link {
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.premium-nav.pills-nav .nav-link:hover,
.premium-nav.pills-nav .nav-link:focus {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  transform: translateY(-1px);
}

.premium-nav.pills-nav .nav-link.active {
  background: rgba(212, 175, 55, 0.16);
  color: #f6e7b2;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.premium-nav.pills-nav .premium-right-nav .nav-link {
  border-radius: 999px;
}

.premium-nav.pills-nav .premium-dropdown {
  background: var(--wf-navy, #0b1f3a);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.35rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.premium-nav.pills-nav .dropdown-item {
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.92);
}

.premium-nav.pills-nav .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.premium-nav.pills-nav .premium-search-input {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.premium-nav.pills-nav .premium-search-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.premium-nav.pills-nav .premium-search-btn {
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.premium-nav.pills-nav .premium-search-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.premium-nav.pills-nav .cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 20px;
  height: 20px;
  font-size: 0.72rem;
  padding: 0 6px;
}

/* ============================================
   BLOG DETAY — BREADCRUMB, YAZAR, İLGİLİ YAZILAR & KOYU SİDEBAR
   ============================================ */
.page-header--article {
  padding: 22px 0;
  border-radius: 0;
}

.blog-breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, .55);
  font-size: .9rem;
}

.blog-breadcrumb .breadcrumb-item,
.blog-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
}

.blog-breadcrumb .breadcrumb-item a:hover,
.blog-breadcrumb .breadcrumb-item a:focus {
  color: #fff;
  text-decoration: underline;
}

.blog-breadcrumb .breadcrumb-item.active {
  color: #fff;
  font-weight: 600;
}

.blog-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, .55);
}

/* Yazar / E-E-A-T kutusu */
.article-author {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(11, 31, 58, .1);
  border-left: 4px solid var(--wf-accent-dark, #1a4fd6);
  border-radius: 14px;
  background: linear-gradient(150deg, #f6f9ff 0%, #ffffff 100%);
}

.article-author-avatar {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #12335c, #0b1f3a);
  color: #fff;
  font-weight: 700;
  letter-spacing: .5px;
}

.article-author-label {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b7c93;
}

.article-author-name {
  font-weight: 700;
  color: #0b1f3a;
}

.article-author-desc {
  font-size: .9rem;
  color: #5b6779;
}

.article-author-desc a {
  color: var(--wf-accent-dark, #1a4fd6);
  font-weight: 600;
  text-decoration: none;
}

.article-author-desc a:hover {
  text-decoration: underline;
}

/* İlgili yazılar */
.related-post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(11, 31, 58, .08);
  background: #fff;
  box-shadow: 0 8px 22px rgba(11, 31, 58, .06);
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.related-post-card:hover,
.related-post-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(46, 110, 255, .35);
  box-shadow: 0 16px 34px rgba(11, 31, 58, .12);
}

.related-post-card img,
.related-post-fallback {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0b1f3a, #12335c);
  color: rgba(255, 255, 255, .6);
  font-size: 1.6rem;
}

.related-post-title {
  display: block;
  padding: .8rem .9rem;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.45;
  color: #12335c;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Koyu sidebar — blog detay */
.blog-sidebar .card {
  background: linear-gradient(160deg, #0b1f3a 0%, #12335c 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  overflow: hidden;
  color: #d7e3f5;
  box-shadow: 0 16px 34px rgba(8, 19, 38, .18);
}

.blog-sidebar .card-header {
  background: rgba(255, 255, 255, .05) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
}

.blog-sidebar .card-header i {
  color: #7fb0ff;
}

.blog-sidebar .list-group-item {
  background: transparent;
  color: #c9d8ee;
  border-color: rgba(255, 255, 255, .07);
}

.blog-sidebar .list-group-item h4,
.blog-sidebar .list-group-item h5,
.blog-sidebar .list-group-item h6 {
  color: inherit;
}

.blog-sidebar .list-group-item-action:hover,
.blog-sidebar .list-group-item-action:focus {
  background: rgba(46, 110, 255, .18);
  color: #fff;
}

.blog-sidebar .list-group-item .text-muted {
  color: #9fb4d1 !important;
}

.blog-sidebar .list-group-item .badge {
  background: rgba(46, 110, 255, .9) !important;
  color: #fff;
}

.blog-sidebar .text-muted {
  color: #9fb4d1 !important;
}

@media (max-width: 575.98px) {
  .page-header--article {
    padding: 14px 0;
  }

  .blog-breadcrumb {
    font-size: .8rem;
  }

  .article-author {
    padding: 1rem;
    gap: .75rem;
  }

  .article-author-avatar {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    font-size: .9rem;
  }
}
