/**
 * Bentotherm Theme CSS — birebir React index.css renk token'ları
 * Kaynak: bento/client/src/index.css
 */

:root {
  --background: 0 0% 100%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;
  --popover: 0 0% 100%;
  --popover-foreground: 222 47% 11%;
  --primary: 21 90% 40%;
  --primary-light: 27 96% 61%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222 47% 11.2%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 210 40% 96.1%;
  --accent-foreground: 222 47% 11.2%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 21 90% 40%;
  --sidebar: 222 47% 11%;
  --sidebar-foreground: 210 40% 98%;
  --sidebar-primary: 21 90% 40%;
  --sidebar-primary-foreground: 210 40% 98%;
  --sidebar-accent: 217 33% 17%;
  --sidebar-accent-foreground: 210 40% 98%;
  --sidebar-border: 217 33% 17%;
  --sidebar-ring: 21 90% 40%;
  --radius: 0.5rem;
}

* {
  border-color: hsl(var(--border));
}

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

/* Koyu arka planda primary metin/ikon kontrastı (header, footer, hero) */
.bg-slate-900 .text-primary,
.bg-slate-900 .hover\:text-primary:hover {
  color: hsl(var(--primary-light));
}

h1 .text-primary {
  color: hsl(var(--primary-light));
}

.hero-local-badge .text-primary {
  color: hsl(var(--primary-light));
}

h1, h2, h3, h4, h5, h6,
.font-heading {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

.pb-safe {
  padding-bottom: max(0px, env(safe-area-inset-bottom, 0px));
}

:root {
  --bentotherm-mobile-nav-h: 4.625rem;
}

.mobile-bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: visible;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -2px 16px rgba(15, 23, 42, 0.06);
  padding-bottom: max(0px, env(safe-area-inset-bottom, 0px));
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Mobil + küçük tablet (768px altı); masaüstünde asla gösterme */
@media (max-width: 767px) {
  .mobile-bottom-nav {
    display: block;
  }

  body {
    padding-bottom: calc(var(--bentotherm-mobile-nav-h) + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 768px) {
  .mobile-bottom-nav,
  #bentotherm-mobile-bottom-nav {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
  }
}

.mobile-bottom-nav-inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  min-height: var(--bentotherm-mobile-nav-h);
  margin: 0;
  padding: 0.35rem max(0.5rem, env(safe-area-inset-right, 0px)) 0.35rem max(0.5rem, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}

.mobile-bottom-nav-side {
  flex: 1 1 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 0.125rem;
  min-width: 0;
}

.mobile-bottom-nav-center-gap {
  flex: 0 0 4.25rem;
  width: 4.25rem;
  max-width: 22vw;
}

.mobile-nav-tile {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  min-width: 0;
  max-width: 5.5rem;
  padding-bottom: 0.125rem;
  color: #334155;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-tile--empty {
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav-tile-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.mobile-nav-tile-label {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.mobile-bottom-nav-call {
  position: absolute;
  left: 50%;
  bottom: calc(0.35rem + env(safe-area-inset-bottom, 0px));
  top: auto;
  z-index: 20;
  transform: translateX(-50%);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bottom-nav-call-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  width: 3.625rem;
  height: 3.625rem;
  border-radius: 9999px;
  background: hsl(24, 95%, 53%);
  color: #fff;
  border: 3px solid #fff;
  box-shadow:
    0 8px 22px rgba(249, 115, 22, 0.5),
    0 4px 10px rgba(15, 23, 42, 0.12);
  transition: transform 0.15s ease;
}

.mobile-bottom-nav-call-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.mobile-bottom-nav-call-label {
  font-size: 0.6875rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: #fff;
}

.mobile-bottom-nav-call:active .mobile-bottom-nav-call-badge {
  transform: scale(0.96);
}

.mobile-bottom-nav-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.125rem;
  width: 100%;
  min-height: 3.75rem;
  padding: 0.35rem 0.25rem 0.45rem;
  overflow: hidden;
}

.mobile-nav-item {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  min-width: 0;
  padding: 0;
  color: #334155;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item--call {
  flex: 0 0 3.35rem;
  max-width: 3.35rem;
  justify-content: center;
  padding-bottom: 0;
}

.mobile-nav-item svg {
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
}

.mobile-nav-item span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1;
}

.mobile-nav-item--whatsapp svg {
  fill: currentColor;
}

.mobile-nav-call-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 9999px;
  background: hsl(24, 95%, 53%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.mobile-nav-call-badge--intl {
  width: 3.35rem;
  height: 3.35rem;
  padding: 0.15rem;
}

.mobile-nav-call-badge svg {
  flex-shrink: 0;
}

.mobile-nav-call-badge-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  max-width: 100%;
  line-height: 1;
}

.mobile-nav-call-badge-text--single {
  font-size: 0.625rem;
  font-weight: 700;
  font-style: italic;
  white-space: nowrap;
}

.mobile-nav-call-line {
  display: block;
  font-size: 0.4375rem;
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

.mobile-nav-item--call:active .mobile-nav-call-badge {
  transform: scale(0.96);
}


.mobile-side-cta {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 90;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 0.5rem;
  background: hsl(24, 95%, 53%);
  color: #fff;
  border-radius: 0.75rem 0 0 0.75rem;
  box-shadow:
    -4px 0 18px rgba(249, 115, 22, 0.35),
    -2px 4px 12px rgba(15, 23, 42, 0.12);
  text-decoration: none;
  transform: translateY(-50%);
  -webkit-tap-highlight-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-right: 0;
}

.mobile-side-cta:active {
  filter: brightness(0.95);
}

.mobile-side-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.625rem;
}

.mobile-side-cta-icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.mobile-side-cta-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding: 0.125rem 0;
}

@media (max-width: 767px) {
  .mobile-side-cta {
    display: flex;
  }
}

.pt-safe {
  padding-top: max(0px, env(safe-area-inset-top, 0px));
}

@media (max-width: 767px) {
  html {
    overflow-x: clip;
    max-width: 100%;
  }

  body {
    overflow-x: clip;
    max-width: 100%;
    overscroll-behavior-x: none;
  }
}

.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.min-h-screen {
  min-height: 100vh;
}

.prose-slate {
  color: #475569;
}

.prose-slate h2,
.prose-slate h3,
.prose-slate h4 {
  color: #0f172a;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose-slate h2 {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.prose-slate h3 {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.prose-slate h4 {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.prose-slate ol {
  list-style: decimal;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.prose-slate li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

.prose-slate strong {
  font-weight: 600;
  color: #0f172a;
}

.prose-slate a {
  color: hsl(var(--primary));
}

.prose-slate ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.prose-slate p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.prose {
  font-family: 'Inter', sans-serif;
  color: #475569;
}

.prose-sm {
  font-size: 0.875rem;
  line-height: 1.7142857;
}

.prose-sm p {
  margin-bottom: 1.1428571em;
}

.font-light {
  font-weight: 300;
}

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

input, textarea, select, button, label {
  font-family: 'Inter', sans-serif;
}

.references-section {
  --reference-logo-h: 3rem;
  --reference-logo-w: 8.75rem;
  --references-red: #c41e24;
}

.references-stripe-bar {
  position: relative;
  height: 2.125rem;
  background: var(--references-red);
  overflow: hidden;
}

.references-stripe-bar::before {
  content: '';
  position: absolute;
  top: -30%;
  right: 0;
  width: min(52%, 28rem);
  height: 160%;
  background: repeating-linear-gradient(
    -52deg,
    #fff 0,
    #fff 14px,
    var(--references-red) 14px,
    var(--references-red) 30px
  );
}

.references-stripe-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 100%;
  padding: 0 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}

.references-stripe-sep {
  opacity: 0.85;
  font-weight: 400;
}

.references-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.references-heading-icon {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.references-heading-title {
  margin: 0;
  font-family: 'Barlow', 'Inter', sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #111827;
  text-transform: uppercase;
}

.references-slider-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.references-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  padding: 0.5rem 0;
  animation: references-scroll 90s linear infinite;
}

.references-track:hover {
  animation-play-state: paused;
}

@keyframes references-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.reference-logo-item {
  width: var(--reference-logo-w);
}

.reference-logo-cell {
  width: var(--reference-logo-w);
  height: var(--reference-logo-h);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reference-logo-link {
  display: block;
}

.reference-logo-img {
  display: block;
  width: var(--reference-logo-w);
  height: var(--reference-logo-h);
  object-fit: contain;
  object-position: center;
  filter: grayscale(100%) brightness(0);
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.reference-logo-link:hover .reference-logo-img,
.reference-logo-item:hover .reference-logo-img {
  opacity: 1;
}

.mobile-menu-open {
  overflow: hidden;
}

.site-header-nav .site-primary-nav > li {
  list-style: none;
}

.site-header-nav-link {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: color 0.2s, background-color 0.2s;
  white-space: nowrap;
}

.site-header-nav-link:hover {
  background-color: rgb(248 250 252);
}

.site-header-nav .current-menu-item > .site-header-nav-link,
.site-header-nav .current_page_item > .site-header-nav-link {
  color: hsl(var(--primary));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.75rem 2rem;
}

.btn-primary:hover {
  background: hsl(var(--primary) / 0.9);
}

.btn-outline-white {
  border: 1px solid rgb(255 255 255 / 0.2);
  color: white;
  background: transparent;
  padding: 0.75rem 2rem;
}

.btn-outline-white:hover {
  background: rgb(255 255 255 / 0.1);
}

.btn-outline-primary {
  border: 1px solid hsl(var(--primary));
  color: hsl(var(--primary));
  padding: 0.75rem 1.5rem;
}

.btn-outline-primary:hover {
  background: hsl(var(--primary) / 0.05);
}

.product-card {
  background: white;
  border-radius: 0.5rem;
  border: 2px solid hsl(var(--primary) / 0.45);
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  transition: all 0.5s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: hsl(var(--primary));
  box-shadow: 0 25px 50px -12px hsl(var(--primary) / 0.2);
  transform: translateY(-2px);
}

.product-gallery-main {
  isolation: isolate;
}

.product-gallery-zoom-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 9999px;
  background: rgb(15 23 42 / 0.42);
  color: #fff;
  pointer-events: none;
  box-shadow: 0 4px 14px rgb(15 23 42 / 0.18);
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.product-gallery-zoom-hint-icon {
  width: 1.125rem;
  height: 1.125rem;
}

.product-gallery-main:hover .product-gallery-zoom-hint {
  background: rgb(15 23 42 / 0.58);
  transform: scale(1.06);
}

.product-gallery-thumb {
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  min-width: 4rem;
  min-height: 4rem;
  border: 2px solid #e2e8f0;
  opacity: 1;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

@media (min-width: 640px) {
  .product-gallery-thumb {
    width: 5rem;
    height: 5rem;
    min-width: 5rem;
    min-height: 5rem;
  }
}

.product-gallery-thumb:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.product-gallery-thumb.is-active {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.18);
}

.product-gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.product-gallery-thumb img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}

.product-gallery-thumbs::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

.product-card-media {
  background: #f8fafc;
}

.product-card-image {
  position: relative;
  z-index: 0;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-card .product-card-flame-btn {
  box-shadow: 0 10px 25px hsl(var(--primary) / 0.45);
}

.product-card:hover .product-card-flame-btn {
  transform: scale(1.05);
}

.bentotherm-lang-switcher .bentotherm-lang-flag {
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgb(15 23 42 / 0.08);
}

.bentotherm-lang-switcher--desktop .bentotherm-lang-link {
  background: rgb(255 255 255 / 0.06);
  border-color: rgb(255 255 255 / 0.18);
  color: #fff;
}

.bentotherm-lang-switcher--desktop .bentotherm-lang-link:hover,
.bentotherm-lang-switcher--desktop .bentotherm-lang-link[aria-current="true"] {
  background: rgb(255 255 255 / 0.14);
  border-color: hsl(var(--primary-light));
  color: #fff;
}

.bentotherm-lang-switcher--mobile-header .bentotherm-lang-link--header-icon {
  width: 2rem;
  height: 1.5rem;
  padding: 0.125rem;
  line-height: 0;
}

.bentotherm-lang-switcher--mobile-header .bentotherm-lang-flag {
  width: 1.375rem;
  height: auto;
}

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

.animate-bounce-slow {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(-5%); }
  50% { transform: translateY(5%); }
}

/* Ana sayfa — avantajlar (kompakt) */
.home-features-card {
  border-top: 2px solid var(--feature-accent);
}

.home-features-icon {
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.8);
}

/* Hero — yerli üretim rozeti */
.hero-local-badge {
  animation: hero-badge-in 0.6s ease-out both;
}

@keyframes hero-badge-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Blog / arşiv sayfalandırma */
.bentotherm-pagination,
.belge-pagination {
  display: flex;
  justify-content: center;
}

.bentotherm-pagination ul.page-numbers,
.belge-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bentotherm-pagination ul.page-numbers li,
.belge-pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bentotherm-pagination ul.page-numbers a,
.bentotherm-pagination ul.page-numbers span.page-numbers,
.belge-pagination ul.page-numbers a,
.belge-pagination ul.page-numbers span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.875rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.bentotherm-pagination ul.page-numbers a:hover,
.belge-pagination ul.page-numbers a:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.05);
}

.bentotherm-pagination ul.page-numbers span.current,
.belge-pagination ul.page-numbers span.current {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 4px 14px hsl(var(--primary) / 0.25);
}

.bentotherm-pagination ul.page-numbers span.dots,
.belge-pagination ul.page-numbers span.dots {
  border-color: transparent;
  background: transparent;
  color: #94a3b8;
  min-width: auto;
  padding: 0 0.25rem;
}

.bentotherm-pagination ul.page-numbers .prev,
.bentotherm-pagination ul.page-numbers .next,
.belge-pagination ul.page-numbers .prev,
.belge-pagination ul.page-numbers .next {
  padding: 0 1rem;
}
