/* ============================================================
   BARANOK MAKİNA — style.css
   Dark / Light theme + TR / EN language switching
   ============================================================ */

/* ---------- GOOGLE FONTS ---------- */
/* Barlow Condensed (display) + Inter (body) */

/* ---------- CSS VARIABLES ---------- */
:root {
  /* Brand */
  --red: #E01B1B;
  --red-hover: #B51414;
  --red-glow: rgba(224, 27, 27, 0.18);
  --site-max-width: 1600px;
  --transition: 0.28s ease;
}

/* ---- DARK THEME (default) ---- */
[data-theme="dark"] {
  --bg-primary: #0D0D0D;
  --bg-secondary: #141414;
  --bg-card: #1A1A1A;
  --bg-stats: #111111;
  --bg-footer: #0A0A0A;
  --border: rgba(255, 255, 255, 0.07);
  --text-primary: #F5F5F5;
  --text-secondary: #A0A0A0;
  --text-muted: #606060;
  --hero-overlay: rgba(0, 0, 0, 0.30);
  --card-shadow: 0 4px 32px rgba(0, 0, 0, 0.55);
  --navbar-bg: rgba(13, 13, 13, 0.92);
  --navbar-bg-scrolled: rgba(10, 10, 10, 0.98);
}

/* ---- LIGHT THEME ---- */
[data-theme="light"] {
  --bg-primary: #F4F4F4;
  --bg-secondary: #EBEBEB;
  --bg-card: #FFFFFF;
  --bg-stats: #222222;
  --bg-footer: #E8E8E8;
  --border: rgba(0, 0, 0, 0.09);
  --text-primary: #111111;
  --text-secondary: #444444;
  --text-muted: #888888;
  --hero-overlay: rgba(0, 0, 0, 0.30);
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  --navbar-bg: rgba(244, 244, 244, 0.95);
  --navbar-bg-scrolled: rgba(244, 244, 244, 0.99);
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

/* Hakkımızda içeriğini üst menüyle aynı yazı ailesinde tutar. */
.about-details h2,
.about-details h3,
.about-details p,
.about-details .card-body > div {
  font-family: 'Montserrat', sans-serif !important;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.6rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s;
  border: 2px solid transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn-red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.btn-red:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

.btn-outline-red:hover {
  background: var(--red);
  color: #fff;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navbar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.navbar.scrolled {
  background: var(--navbar-bg-scrolled);
}

.nav-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  /* padding: 0 2rem; */
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  max-width: 1600px;
  padding: 0 2rem;
}

/* Logo */
.logo-img {
  height: 40px;
  /* navbar yüksekliğine göre ayarla */
  width: auto;
  display: block;
}

.footer-logo .logo-img {
  height: 48px;
  /* footer'da biraz daha büyük olabilir */
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

/* Controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  margin-left: auto;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  margin-right: 0.6rem;
}

.lang-opt {
  color: var(--text-muted);
  padding: 0.2rem 0.35rem;
  border-radius: 2px;
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
}

.lang-opt:hover,
.lang-opt.active {
  color: var(--red);
}

.lang-opt.active {
  font-weight: 800;
}

.lang-divider {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.nav-social {
  display: none;
  align-items: center;
  gap: 1.1rem;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 2px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color var(--transition), background var(--transition);
  color: var(--text-secondary);
  font-size: 1rem;
}

.theme-toggle:hover {
  border-color: var(--red);
  color: var(--red);
}

.theme-icon {
  position: absolute;
  transition: opacity 0.2s, transform 0.2s;
  line-height: 1;
}

.theme-icon.sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

.theme-icon.moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-icon.sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-icon.moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

@media (min-width: 841px) {
  .nav-cta {
    display: inline-block;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.mobile-menu.open {
  max-height: 420px;
}

.mobile-menu ul {
  padding: 1rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.mobile-menu a:hover {
  color: var(--red);
}

/* Mobile Menu Social — düz (flat) marka renkli ikonlar, arka plansız */
.mobile-menu-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
  padding: 0 2rem 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: -0.5rem;
}

.mobile-menu-social a,
.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: none;
  border: none;
  border-radius: 0;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-menu-social a:hover,
.nav-social a:hover {
  transform: translateY(-3px) scale(1.1);
}

.nav-social a {
  font-size: 1.35rem;
}

/* Instagram */
.mobile-menu-social a[aria-label="Instagram"],
.nav-social a[aria-label="Instagram"] {
  color: #E1306C;
}

/* Facebook */
.mobile-menu-social a[aria-label="Facebook"],
.nav-social a[aria-label="Facebook"] {
  color: #1877F2;
}

/* YouTube */
.mobile-menu-social a[aria-label="YouTube"],
.nav-social a[aria-label="YouTube"] {
  color: #FF0000;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 30%;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--site-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 130px;
  padding-bottom: 5rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}

/* Subtle tech grid */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(224, 27, 27, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 27, 27, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 40%, transparent 100%);
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--red);
  margin-bottom: 1rem;
  border-left: 3px solid var(--red);
  padding-left: 0.75rem;
  opacity: 0;
  animation: heroRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  color: #fff;
  line-height: 1;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation: heroRise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.32s forwards;
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.99);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0;
  animation: heroRise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1);
  }
}

.hero-slider .slide.active {
  animation: heroZoom 6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg-stats);
  padding: 0;
  margin-top: 0;
  position: relative;
  z-index: 4;
}

[data-theme="light"] .stats-bar {
  background: #1C1C1C;
}

.stats-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: stretch;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.2rem 1rem;
  opacity: 0;
}

.stat-item.reveal-play {
  animation: revealFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: #888;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products {
  background: var(--bg-primary);
  padding: 4.5rem 0;
  transition: background var(--transition);
}

.section-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   SCROLL REVEAL — Sayfa aşağı kaydırıldıkça içeriklerin
   kademeli (staggered) olarak belirmesini sağlayan sistem
   ============================================================ */
@keyframes revealFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes revealScaleIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes revealFromLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealFromRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.section-header,
.partner-box,
.category-flat-card,
.showcase-item,
.footer-col,
.form-group,
.hours-row,
.cta-container>div,
.contact-col li {
  opacity: 0;
}

.section-header.reveal-play {
  animation: revealFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.partner-box.reveal-play {
  animation: revealScaleIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.category-flat-card.reveal-play {
  animation: revealScaleIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.showcase-item.reveal-play {
  animation: revealScaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.footer-col.reveal-play {
  animation: revealFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-group.reveal-play {
  animation: revealFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hours-row.reveal-play {
  animation: revealFromLeft 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cta-container>div.reveal-play {
  animation: revealFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.contact-col li.reveal-play {
  animation: revealFromLeft 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {

  .hero-eyebrow,
  .hero-title,
  .hero-sub,
  .section-header,
  .partner-box,
  .category-flat-card,
  .showcase-item,
  .footer-col,
  .form-group,
  .hours-row,
  .cta-container>div,
  .contact-col li,
  .stat-item {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
}

/* ============================================================
   HTML'DEN TAŞINAN ORTAK VE SAYFAYA ÖZEL STİLLER
   ============================================================ */

.inner-page-hero {
  min-height: 40vh;
  background-image: url('image/a2.webp');
  background-position: center;
}

.inner-page-hero .hero-content {
  padding-top: 50px;
}

.inner-page-hero .hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.inner-page-section {
  padding: 5rem 0;
}

.section-eyebrow-red {
  color: var(--red);
}

.hero-slider .slide:first-child {
  background-image: url('image/a1.webp');
}

.footer-address-link {
  font-size: 0.83rem;
  text-decoration: none;
}

.footer-designer-link {
  color: var(--red) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  position: relative;
  z-index: 99;
}

/* İş ortakları */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  margin-top: 3rem;
}

.partner-box {
  background: #ffffff;
  border: 2px solid rgba(0, 0, 0, 0.28);
  border-radius: 11px;
  aspect-ratio: 16 / 9;

  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  box-shadow:
    0 4px 7px rgba(0, 0, 0, 0.38),
    0 11px 22px rgba(0, 0, 0, 0.24),
    inset 0 2px 3px rgba(255, 255, 255, 1),
    inset 0 -4px 7px rgba(0, 0, 0, 0.16);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.partner-box:hover {
  border-color: var(--red);
  transform: translateY(-4px);

  box-shadow:
    0 6px 10px rgba(0, 0, 0, 0.40),
    0 15px 28px rgba(224, 27, 27, 0.27),
    inset 0 2px 3px rgba(255, 255, 255, 1),
    inset 0 -4px 7px rgba(0, 0, 0, 0.14);
}

.partner-box img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 1;

  transition:
    transform 0.3s ease,
    filter 0.3s ease,
    opacity 0.3s ease;
}

.partner-box:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Hakkımızda */
.about-history-card {
  padding: 3rem;
}

.about-history-title {
  font-size: 2.2rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin-bottom: 2rem;
  font-weight: 300;
}

.about-history-card .card-body h3 {
  font-size: 1.4rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.about-history-card .card-body p {
  line-height: 1.9;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.about-history-card .card-body p:last-child {
  margin-bottom: 0;
}

.about-values-grid {
  margin-top: 3rem;
}

.about-card-eyebrow {
  color: var(--red);
  font-size: 0.8rem;
  letter-spacing: 3px;
  margin-bottom: 0.8rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.about-card-title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-left: 4px solid var(--red);
  padding-left: 12px;
}

.about-video-card {
  margin-top: 3rem;
  padding: 3rem;
}

.about-video-eyebrow {
  color: var(--red);
  letter-spacing: 4px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.about-video-title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 2.8rem;
  margin-bottom: 2rem;
  font-weight: 700;
  border-left: 6px solid var(--red);
  padding-left: 18px;
  line-height: 1.2;
}

.responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.responsive-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Ürünler */
.products-page-section {
  padding: 4rem 0 5rem;
}

.products-hero-sub {
  margin-top: 1rem;
  margin-bottom: 0;
}

.is-hidden {
  display: none;
}

/* İletişim */
.contact-card {
  padding: 2.5rem;
}

.contact-card-title {
  margin-bottom: 0.4rem;
}

.contact-card-intro {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 1.8rem;
}

.contact-form-stack {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-message-input {
  resize: vertical;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.contact-submit-btn {
  width: 100%;
  padding: 0.95rem;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.contact-submit-icon {
  margin-left: 0.5rem;
}

.contact-form-message {
  display: none;
  padding: 1rem;
  border-radius: 2px;
  text-align: center;
  font-weight: 600;
  font-size: 0.88rem;
}

.contact-map {
  margin-top: 1.5rem;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-map iframe {
  border: 0;
  display: block;
  filter: grayscale(25%) contrast(1.05);
}

/* KVKK ve gizlilik */
.legal-container {
  max-width: 1000px;
  margin: 140px auto 60px;
  padding: 0 2rem;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3.5rem;
  box-shadow: var(--card-shadow);
  position: relative;
}

.back-btn-wrap {
  margin-bottom: 2rem;
  display: flex;
  justify-content: flex-start;
}

.legal-title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  border-left: 5px solid var(--red);
  padding-left: 15px;
  line-height: 1.2;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.legal-content h3 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content p,
.legal-content li {
  font-family: Inter, sans-serif;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  text-align: justify;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 1.5rem;
  list-style-type: square;
}

.legal-content li {
  margin-bottom: 0.6rem;
}

.legal-back-btn {
  padding: 0.55rem 1.2rem;
  font-size: 0.78rem;
}

.legal-back-icon {
  margin-right: 6px;
}

.legal-closing-note {
  margin-top: 2rem;
  font-weight: 600;
}

@media (max-width: 1200px) {
  .partners-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1150px) and (max-width: 1349px) {
  .nav-social {
    display: none !important;
  }

  .nav-container {
    gap: 1.2rem;
  }

  .nav-links {
    gap: 1.2rem;
  }
}

@media (max-width: 1024px) {
  .legal-container {
    margin-top: 110px;
    padding: 0 1rem;
  }

  .legal-card {
    padding: 2rem 1.5rem;
  }

  .legal-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.red-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.see-all-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--red);
  transition: letter-spacing var(--transition);
}

.see-all-link:hover {
  letter-spacing: 0.16em;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: background var(--transition), border-color var(--transition), box-shadow 0.25s,
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(20px);
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  transition: background var(--transition), border-color var(--transition), box-shadow 0.25s, transform 0.25s;
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(224, 27, 27, 0.12);
  border-color: rgba(224, 27, 27, 0.25);
}

.card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  filter: grayscale(20%);
}

.product-card:hover .card-img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.card-body p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  transition: color var(--transition);
}

.detail-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--red);
  transition: letter-spacing var(--transition);
}

.detail-link:hover {
  letter-spacing: 0.2em;
}

/* ============================================================
   WHY BARANOK
   ============================================================ */
.why-baranok {
  background: var(--bg-secondary);
  padding: 6rem 0;
  transition: background var(--transition);
}

.why-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Image side */
.why-image-wrap {
  position: relative;
}

.why-img {
  width: 100%;
  aspect-ratio: 4/3;
  background-image: url('image/why.webp');
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  filter: grayscale(15%);
  position: relative;
  z-index: 2;
}

.why-img-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  border: 3px solid var(--red);
  border-radius: 4px;
  z-index: 1;
}

/* Content side */
.why-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  transition: color var(--transition);
}

.why-intro {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  transition: color var(--transition);
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.why-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--red-glow);
  border: 1px solid rgba(224, 27, 27, 0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  transition: background var(--transition);
}

.why-icon svg {
  width: 18px;
  height: 18px;
}

.why-item:hover .why-icon {
  background: var(--red);
  color: #fff;
}

.why-item h4 {
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  transition: color var(--transition);
}

.why-item p {
  font-size: 0.83rem;
  line-height: 1.65;
  color: var(--text-secondary);
  transition: color var(--transition);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
  transition: background var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, var(--red-glow) 0%, transparent 70%);
}

.cta-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: 0.03em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.cta-sub {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
  transition: color var(--transition);
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-footer);
  padding: 4.5rem 0 0;
}

[data-theme="light"] .footer {
  background: var(--bg-footer);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer h5 {
  color: #111;
}

[data-theme="light"] .footer p {
  color: #555;
}

[data-theme="light"] .footer-col a {
  color: #555;
}

[data-theme="light"] .footer-col a:hover {
  color: var(--red);
}

[data-theme="light"] .footer-col li {
  color: #555;
}

[data-theme="light"] .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .footer-bottom span {
  color: #777;
}

[data-theme="light"] .footer-legal a {
  color: #777;
}

[data-theme="light"] .footer-legal a:hover {
  color: var(--red);
}

.footer-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.83rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.social-links {
  display: flex;
  gap: 0.7rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(224, 27, 27, 0.25);
  background: rgba(224, 27, 27, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.2s, box-shadow 0.2s;
}

.social-links a:hover {
  background: rgba(224, 27, 27, 0.16);
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(224, 27, 27, 0.18);
}

@media (hover: none), (pointer: coarse) {
  .social-links a:hover,
  .social-links a:active,
  .social-links a:focus {
    background: rgba(224, 27, 27, 0.10);
    border-color: rgba(224, 27, 27, 0.25);
    color: var(--red);
    transform: none;
    box-shadow: none;
  }
}

.footer-col h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col li {
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.footer-col a {
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--red);
}

.contact-col li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  line-height: 1.5;
}

.contact-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(224, 27, 27, 0.1);
  border: 1px solid rgba(224, 27, 27, 0.25);
  border-radius: 50%;
  color: var(--red);
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition), transform 0.2s;
}

.contact-col li:hover .contact-icon {
  background: var(--red);
  color: #fff;
  transform: scale(1.08);
}

/* Footer Bottom */
.footer-bottom {
  max-width: var(--site-max-width);
  margin: 3rem auto 0;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.75rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--red);
}

/* ============================================================
   HERO BACKGROUND SLIDER & MANUEL BUTONLAR
   ============================================================ */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.4rem;
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition);
  border-radius: 2px;
}

.slider-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.prev-btn {
  left: 2rem;
}

.next-btn {
  right: 2rem;
}

.product-grid-6 {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* ============================================================
   FLOATING BUTTONS — WhatsApp & Scroll to Top
   ============================================================ */
.floating-buttons {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fab-whatsapp {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wp-pulse 2.8s infinite;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
  animation: none;
}

@keyframes wp-pulse {

  0%,
  100% {
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  }

  50% {
    box-shadow: 0 4px 28px rgba(37, 211, 102, 0.75);
  }
}

.fab-top {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, background 0.2s, border-color 0.2s, opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}

.fab-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.fab-top:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-3px);
}

/* ============================================================
   ÜRÜN ARAMA KUTUSU (products.html — kategori vitrini içinde kullanılır)
   ============================================================ */
.catalog-search-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.55rem 1rem;
  flex: 1;
  min-width: 0;
  transition: border-color 0.2s;
}

.catalog-search-box:focus-within {
  border-color: var(--red);
}

.catalog-search-box i {
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.catalog-search-box input {
  border: none;
  background: transparent;
  outline: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  flex: 1;
  min-width: 0;
}

.search-clear-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}

.no-results-msg {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary);
}

.no-results-msg i {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
  opacity: 0.4;
}

/* ============================================================
   İLETİŞİM SAYFASI — 3 KOLON, FORM, ÇALIŞMA SAATLERİ
   ============================================================ */
.contact-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
}

.c3-card {
  padding: 1.5rem !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.c3-card .card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.form-input {
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  padding: 0.7rem 0.9rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input:focus {
  border-color: var(--red);
}

.form-input option {
  background: var(--bg-secondary);
}

.quick-contact-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  border: 1.5px solid transparent;
}

.quick-contact-btn:hover {
  opacity: 0.88;
  transform: translateX(3px);
}

.qc-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.btn-whatsapp {
  background-color: #e6f9ed;
  border-color: #25d366;
  color: #075e54;
}

.btn-phone,
.btn-email,
.btn-address {
  background-color: #ffffff;
  border-color: var(--border);
  color: #1a1a1a;
}

.btn-phone .qc-icon,
.btn-email .qc-icon,
.btn-address .qc-icon {
  background: rgba(0, 0, 0, 0.06);
  color: #1a1a1a;
}

.btn-phone:hover,
.btn-email:hover,
.btn-address:hover {
  border-color: var(--red);
}

.qc-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.qc-value {
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 0.1rem;
  word-break: break-all;
}

.hours-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.hours-row.today .hours-day {
  color: var(--red);
  font-weight: 600;
}

.hours-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
}

.hours-badge.open {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.hours-badge.closed {
  background: rgba(224, 27, 27, 0.1);
  color: var(--red);
  border: 1px solid rgba(224, 27, 27, 0.2);
}

.today-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
  padding: 0.85rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.today-box i {
  color: var(--red);
}

/* ============================================================
   ÜRÜN KATEGORİ KARTLARI & GÖRSEL VİTRİN (products.html)
   ============================================================ */
.product-grid-flat {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5rem !important;
  align-items: stretch;
}

.category-flat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.category-flat-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: 0 12px 40px rgba(224, 27, 27, 0.15);
}

.flat-card-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  cursor: pointer;
}

.flat-card-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(30%) brightness(0.6);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.category-flat-card:hover .flat-card-img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1.08) saturate(1.1) contrast(1.02);
}

/* Dokunmatik cihazlarda hover olmadığı için kategori görsellerini sürekli açık göster. */
@media (hover: none), (pointer: coarse) {
  .flat-card-img {
    filter: grayscale(0%) brightness(1.08) saturate(1.1) contrast(1.02);
  }
}

.flat-card-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.flat-card-body h2 {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.35;
  min-height: 3.85em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.category-flat-card:hover .flat-card-body h2 {
  color: var(--red);
}

.flat-view-products-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--red);
  text-transform: uppercase;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.flat-view-products-btn i {
  transition: transform 0.2s ease;
}

.category-flat-card:hover .flat-view-products-btn i {
  transform: translateX(5px);
}

/* Geri Dönüş Butonu Stili */
.back-to-categories-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 0.6rem 1.2rem;
  border-radius: 2px;
  cursor: pointer;
  margin-bottom: 2rem;
  background: var(--bg-card);
  transition: all 0.2s;
}

.back-to-categories-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* Ürün Detay Grid Alanı */
.images-showcase-view {
  display: none;
  /* Varsayılan olarak gizli */
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.showcase-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1 / 1;
}

.showcase-img-wrap {
  flex: 1;
  min-height: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
  margin: 0.75rem 0.75rem 0;
  cursor: zoom-in;
   position: relative;
}


.showcase-img-hover {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.showcase-img-wrap:hover .showcase-img-hover {
  opacity: 1;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.product-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.product-lightbox-img {
  display: block;
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.product-lightbox-title {
  margin-top: 1rem;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.product-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

.showcase-item-body {
  flex-shrink: 0;
  padding: 1rem;
  background: var(--bg-card);
  text-align: center;
}

.showcase-item-body h3 {
  font-size: 0.9rem;
  color: var(--text-primary);
  text-transform: uppercase;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.showcase-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.showcase-toolbar .back-to-categories-btn {
  margin-bottom: 0;
  flex-shrink: 0;
}

.showcase-toolbar .catalog-search-box {
  max-width: 380px;
  width: 100%;
  margin: 0;
}
.product-lightbox-gallery {
  display: none;
  gap: 1rem;
  max-width: 92vw;
  justify-content: center;
  flex-wrap: wrap;
}

.product-lightbox-img-multi {
  max-width: 45vw;
  max-height: 75vh;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
  .product-lightbox-gallery {
    flex-direction: column;
    align-items: center;
  }
  .product-lightbox-img-multi {
    max-width: 90vw;
  }
}

@media (max-width: 1300px) {
  .product-grid-flat {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .showcase-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 1150px) {
  .nav-social {
    display: flex;
  }
}

@media (max-width: 1150px) and (min-width: 841px) {
  .nav-container {
    gap: 1.2rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .nav-controls {
    gap: 0.5rem;
  }

  .lang-toggle {
    margin-right: 0.2rem;
  }

  .nav-cta {
    padding: 0.6rem 0.9rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }
}

@media (max-width: 1100px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablet: 1024px ve altı */
@media (max-width: 1024px) {
  .nav-container {
    height: 64px;
    padding: 0 16px;
    gap: 12px;
  }

  .hero-content {
    padding: 100px 20px 48px;
  }

  .logo-img {
    height: 32px;
  }

  .stats-container,
  .why-container,
  .footer-container,
  .cta-container {
    flex-direction: column !important;
    display: flex !important;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid-flat,
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .contact-3col {
    grid-template-columns: 1fr 1fr;
  }

  .c3-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .why-img-accent {
    display: none;
  }

  .cta-container {
    align-items: flex-start;
  }

  .product-grid-6 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Telefon: 840px ve altı — nav */
@media (max-width: 840px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .nav-cta {
    display: none !important;
  }

  .nav-social {
    display: none !important;
  }
}

/* Telefon: 768px ve altı */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .section-container,
  .hero-content,
  .stats-container,
  .why-container,
  .footer-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .hero {
    min-height: auto;
  }

  .logo-img {
    height: 28px;
  }

  .hero-title {
    font-size: clamp(2rem, 11vw, 3.4rem) !important;
    word-break: break-word;
  }

  .hero-sub {
    max-width: 100%;
    font-size: .95rem;
    line-height: 1.7;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .card-img-wrap {
    height: 220px;
  }

  .stat-item {
    width: 100%;
    min-width: 100%;
    padding: 20px 10px;
  }

  .stat-divider {
    display: none;
  }

  .why-image-wrap,
  .why-content {
    width: 100%;
  }

  .footer-col {
    width: 100%;
  }

  iframe,
  img,
  video {
    max-width: 100%;
    height: auto;
  }

  table {
    display: block;
    overflow-x: auto;
  }

  .slider-btn {
    padding: 0.5rem 0.7rem;
    font-size: 1rem;
  }

  .prev-btn {
    left: 0.5rem;
  }

  .next-btn {
    right: 0.5rem;
  }
}

/* Küçük telefonlar: 640px ve altı */
@media (max-width: 640px) {
  .stats-container {
    flex-direction: column;
  }

  .stat-divider {
    width: 80%;
    height: 1px;
    margin: 0 auto;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .contact-3col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .c3-card:first-child {
    grid-column: auto;
  }

  .product-grid-6 {
    grid-template-columns: 1fr !important;
  }

  .product-grid-flat,
  .showcase-grid {
    grid-template-columns: 1fr !important;
  }

  .showcase-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .showcase-toolbar .catalog-search-box {
    max-width: none;
  }
}

/* Küçük telefonlar: 480px ve altı */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .lang-toggle {
    font-size: .7rem;
  }

  .logo-img {
    height: 24px;
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
  }

  .hero-content {
    padding-top: 90px;
  }

  .hero-title {
    font-size: 1.9rem !important;
  }

  .hero-eyebrow {
    font-size: .68rem;
  }

  .card-body {
    padding: 16px;
  }

  .card-body h3 {
    font-size: 1rem;
  }

  .mobile-menu ul {
    padding: 16px;
  }

  .mobile-menu a {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* Masaüstü footer alt bölümü */
@media (min-width: 641px) {
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
  }

  .footer-bottom > span:first-child {
    justify-self: start;
  }

  .footer-credit {
    width: auto;
    justify-self: center;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.7;
  }

  .footer-legal {
    justify-self: end;
  }
}

/* AMB Smart Works bağlantısı */
.footer-credit .footer-designer-link {
  display: inline;
  white-space: nowrap;
  color: var(--red) !important;
  font-weight: 700;
  text-decoration: none;
}

.footer-credit .footer-designer-link:hover {
  text-decoration: underline !important;
}

/* Mobil footer */
@media (max-width: 640px) {
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-bottom > span {
    width: 100%;
  }

  .footer-credit {
    width: 100%;
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.7;
  }

  .footer-credit > span,
  .footer-credit > .footer-designer-link {
    display: block;
    width: 100%;
  }

  .footer-legal {
    width: 100%;
    justify-content: center;
  }
}
