/* ============================================
   GCL — Pilsan İlhamlı Modern Tasarım
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  /* === Güçlü Factory Logo Renk Paleti === */
  --primary: #D42020;
  /* Logo kırmızı  */
  --primary-d: #b01a1a;
  /* Koyu kırmızı  */
  --accent: #29B5D3;
  /* Logo mavi     */
  --accent-d: #1e92aa;
  /* Koyu mavi     */
  --orange: #E8600A;
  /* Logo turuncu  */
  --green: #2A9E1A;
  /* Logo yeşil    */
  --yellow: #C8D400;
  /* Logo sarı     */
  --white: #ffffff;
  --light: #fff8f6;
  /* Kırmızıya uyumlu açık bg */
  --border: #f0ddd9;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --shadow: 0 4px 24px rgba(212, 32, 32, .10);
  --radius: 10px;
  --transition: 0.3s ease;
  --navbar-h: 110px;
  --topbar-h: 52px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-feature-settings: "locl" 1;
  -webkit-font-feature-settings: "locl" 1;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

ul {
  list-style: none;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: absolute;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 9999;
  /* Kategoriler sidebar'ını ve diğer her şeyi ezmesi için yükseltildi */
  background: var(--white);
  box-shadow: 0 2px 20px rgba(212, 32, 32, .10);
  height: var(--navbar-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  position: fixed;
  top: 0;
  box-shadow: 0 4px 30px rgba(212, 32, 32, .16);
}

.nav-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: var(--navbar-h);
  gap: 32px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  overflow: visible;
}

.nav-logo img,
.site-logo {
  height: 75px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 40%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 18px;
  height: var(--navbar-h);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  transition: color var(--transition);
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.nav-link i.drop-arrow {
  font-size: .7rem;
  opacity: .6;
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}



/* Russian Menu Optimization */
html[lang="ru"] .nav-link {
  padding: 0 12px;
  font-size: 0.82rem;
}

html[lang="ru"] .nav-container {
  gap: 15px;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(var(--navbar-h) - 3px);
  left: 0;
  background: var(--white);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 20px 60px rgba(212, 32, 32, .12);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
}

.nav-item:hover>.dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 12px 20px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), color var(--transition), padding var(--transition);
}

.dropdown li:last-child a {
  border-bottom: none;
}

.dropdown li a:hover {
  color: var(--primary);
  background: var(--light);
  padding-left: 26px;
}

/* Mega Menu */
.mega-dropdown {
  position: fixed;
  top: calc(var(--navbar-h) + var(--topbar-h));
  left: 50%;
  width: 100%;
  max-width: 1360px;
  /* Limit consistent with nav container */
  background: var(--white);
  border-top: 4px solid var(--primary);
  /* Logo kırmızı üst çizgi */
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all var(--transition);
  z-index: 10000;
  padding: 40px 0;
  border-radius: 0 0 20px 20px;
  /* Rounded bottom corners */
}

/* Navbar scroll edildiğinde mega dropdown topbar'ı atlasın diye yeni bir kural ekliyoruz */
.navbar.scrolled .mega-dropdown {
  top: var(--navbar-h);
}

.nav-item:hover>.mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: flex;
  /* Flex used for columns with dividers */
  width: 100%;
}

.mega-col {
  flex: 1;
  padding: 0 20px;
  border-right: 1px solid #eee;
  /* Divider */
}

.mega-col:last-child {
  border-right: none;
}

.mega-item {
  margin-bottom: 4px;
}

.mega-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-size: .85rem;
  font-weight: 500;
  color: #666;
  /* Grey text */
  border-radius: 8px;
  transition: all var(--transition);
  text-decoration: none;
}

.mega-item a i {
  font-size: 1.1rem;
  color: #888;
  width: 24px;
  text-align: center;
  transition: color var(--transition);
}

.mega-item a:hover {
  background: #f8f9fa;
  color: #333;
  /* Darker text on hover */
}

.mega-item a:hover i {
  color: var(--primary);
  /* Logo kırmızı icon hover */
}

/* Remove old header styles if unused */
.mega-header {
  display: none;
}

/* Lang Switcher */
.lang-switcher {
  display: flex;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.lang-btn {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 2px solid var(--border);
  transition: all var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  display: block;
  transition: all var(--transition);
}

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background: var(--primary);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.topbar-inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Sol: iletişim bilgileri */
.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .85);
  font-size: .75rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}

.topbar-info i {
  font-size: .72rem;
  opacity: .8;
}

.topbar-info:hover {
  color: #fff;
}

/* Sağ: sosyal medya */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.topbar-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .85);
  font-size: .72rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.topbar-social:hover {
  background: rgba(255, 255, 255, .3);
  color: #fff;
  transform: scale(1.15);
}

/* Orta: AJAX Arama */
.topbar-search {
  flex: 1;
  max-width: 380px;
  margin: 0 auto;
  position: relative;
}

.tsearch-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 20px;
  padding: 0 12px;
  gap: 8px;
  transition: background var(--transition), border-color var(--transition);
}

.tsearch-wrap:focus-within {
  background: rgba(255, 255, 255, .25);
  border-color: rgba(255, 255, 255, .5);
}

.tsearch-icon {
  color: rgba(255, 255, 255, .7);
  font-size: .75rem;
  flex-shrink: 0;
}

.tsearch-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: .8rem;
  font-family: inherit;
  height: 28px;
  min-width: 0;
}

.tsearch-input::placeholder {
  color: rgba(255, 255, 255, .6);
}

.tsearch-clear {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
  padding: 0;
  font-size: .75rem;
  line-height: 1;
  flex-shrink: 0;
  transition: color var(--transition);
}

.tsearch-clear:hover {
  color: #fff;
}

/* Arama Sonuçları Dropdown */
.tsearch-results {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
  z-index: 2000;
  overflow: hidden;
  max-height: 380px;
  overflow-y: auto;
}

.tsearch-results.open {
  display: block;
}

.tsearch-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid #f0f0f0;
  transition: background var(--transition);
}

.tsearch-item:last-child {
  border-bottom: none;
}

.tsearch-item:hover {
  background: var(--light);
}

.tsearch-item-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
  background: #f8f8f8;
  flex-shrink: 0;
}

.tsearch-item-info {
  flex: 1;
  min-width: 0;
}

.tsearch-item-name {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tsearch-item-code {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.tsearch-empty {
  padding: 16px;
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted);
}

.tsearch-loading {
  padding: 14px;
  text-align: center;
  font-size: .8rem;
  color: var(--text-muted);
}

/* ============================================
   OFF-CANVAS MOBILE MENU
   ============================================ */

/* Overlay */
.offcanvas-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 20000;
  opacity: 0;
  transition: opacity .3s ease;
  backdrop-filter: blur(2px);
}

.offcanvas-overlay.open {
  display: block;
  opacity: 1;
}

/* Panel */
.offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 310px;
  max-width: 90vw;
  height: 100%;
  height: 100dvh;
  background: #fff;
  z-index: 20001;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 4px 0 40px rgba(0, 0, 0, .2);
}

.offcanvas.open {
  transform: translateX(0);
}

/* Header */
.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
  flex-shrink: 0;
}

.offcanvas-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

.offcanvas-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #666;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all var(--transition);
}

.offcanvas-close:hover {
  background: #fee2e2;
  color: var(--primary);
}

/* Search Box in Off-Canvas */
.oc-search-box {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.oc-search-wrap {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 24px;
  padding: 0 14px;
  gap: 8px;
  transition: border-color var(--transition), background var(--transition);
}

.oc-search-wrap:focus-within {
  background: #fff;
  border-color: var(--primary);
}

.oc-search-icon {
  color: #aaa;
  font-size: .8rem;
  flex-shrink: 0;
}

.oc-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: .88rem;
  font-family: inherit;
  height: 38px;
  min-width: 0;
}

.oc-search-input::placeholder {
  color: #aaa;
}

.oc-search-clear {
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  padding: 0;
  font-size: .8rem;
  flex-shrink: 0;
  transition: color var(--transition);
}

.oc-search-clear:hover {
  color: var(--primary);
}

.oc-search-results {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  left: 16px;
  right: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
  z-index: 1300;
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
}

.oc-search-results.open {
  display: block;
}

/* Nav links */
.offcanvas-nav {
  padding: 8px 0;
  flex: 1;
  overflow-y: auto;
}

/* Offcanvas alt bloklar nav'in içinde olduğu için boşluk kontrolü */
.offcanvas-nav .offcanvas-lang {
  padding: 12px 20px 10px;
  border-top: 1px solid #f0f0f0;
}

.offcanvas-nav .offcanvas-social {
  padding: 12px 20px 16px;
  margin: 0;
  border-top: none;
}

.oc-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid #f5f5f5;
  transition: all var(--transition);
  text-decoration: none;
}

.oc-link i {
  color: var(--primary);
  width: 18px;
  text-align: center;
}

.oc-link:hover,
.oc-link.oc-active {
  background: #fff5f5;
  color: var(--primary);
}

/* Accordion */

.oc-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
  text-align: left;
}

.oc-accordion-btn span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.oc-accordion-btn span i {
  color: var(--primary);
  width: 18px;
  text-align: center;
}

.oc-arrow {
  transition: transform .3s ease;
  color: #aaa;
  font-size: .8rem;
}

.oc-accordion.open .oc-arrow {
  transform: rotate(180deg);
}

.oc-accordion.open .oc-accordion-btn {
  color: var(--primary);
  background: #fff5f5;
}

/* Accordion body */
.oc-accordion-body {
  display: none;
  background: #f9f9f9;
  border-bottom: 1px solid #f0f0f0;
}

.oc-accordion.open .oc-accordion-body {
  display: block;
}

.oc-sub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 36px;
  font-size: .83rem;
  font-weight: 500;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  transition: all var(--transition);
}

.oc-sub-link i {
  color: #aaa;
  width: 16px;
  text-align: center;
  font-size: .85rem;
}

.oc-sub-link:hover {
  color: var(--primary);
  background: #fff5f5;
}

.oc-sub-link:hover i {
  color: var(--primary);
}

.oc-sub-link.oc-all {
  color: var(--primary);
  font-weight: 700;
  font-size: .82rem;
}

/* Sosyal Medya */
.offcanvas-social {
  display: flex;
  gap: 10px;
  padding: 15px 20px 10px;
  /* Menu bittiginde biraz ust bosluk */
  border-top: 1px solid #f0f0f0;
  /* Artik menuyu takip ettigi icin cizgi ekliyoruz */
  flex-wrap: wrap;
}

.offcanvas-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: .95rem;
  transition: all var(--transition);
  text-decoration: none;
}

.offcanvas-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.offcanvas-lang {
  display: flex;
  gap: 8px;
  padding: 10px 20px 20px;
}

.oc-lang {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-muted);
  border: 2px solid #e0e0e0;
  text-decoration: none;
  transition: all var(--transition);
}

.oc-lang:hover,
.oc-lang.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Off-Canvas Arama */

/* Mobile: toggle görünür, desktop: gizli */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu,
  .lang-switcher {
    display: none;
  }

  /* Top bar: sadece sosyal medya, ince şerit */
  :root {
    --topbar-h: 36px;
  }

  /* Email/telefon ve arama kutusunu gizle */
  .topbar-left,
  .topbar-search {
    display: none;
  }

  /* Sosyal medyayı ortala */
  .topbar-right {
    margin-left: auto;
    gap: 10px;
  }

  .topbar-social {
    width: 24px;
    height: 24px;
    font-size: .68rem;
  }
}


body {
  padding-top: calc(var(--navbar-h) + var(--topbar-h));
}


/* ============================================
   HERO SLIDER
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease, z-index .8s step-end;
  transform: scale(1);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity .8s ease, z-index .8s step-start;
  pointer-events: auto;
  z-index: 2;
}

/* Modern Slider Layout */
.hero-container-modern {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-glass-card {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  padding: 40px 45px;
  border-radius: 20px;
  max-width: 580px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transform: translateX(-30px);
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-glass-card {
  opacity: 1;
  transform: translateX(0);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--primary);
  /* Aydınlık mod için siyah/kırmızı text */
  opacity: 0;
  transform: translateY(-50px);
}

.hero-slide.active .hero-title {
  animation: bounceInDown 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards 0.2s;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text);
  /* Aydınlık mod */
  font-weight: 500;
  opacity: 0;
  margin-bottom: 32px;
  transform: translateY(30px);
}

.hero-slide.active .hero-sub {
  animation: fadeInUp 0.7s ease forwards 0.5s;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(41, 181, 211, .35);
  opacity: 0;
  transform: scale(0.4);
  position: relative;
  z-index: 100;
  pointer-events: auto !important;
}

.hero-slide.active .btn-hero {
  animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.8s;
}

.btn-hero:hover {
  background: var(--accent-d);
  transform: translateY(-4px) scale(1.05) !important;
}

/* --- Hero Animations --- */
@keyframes bounceInDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: .88;
    transform: translateY(0);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Slider controls */
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  /* Daha koyu renk yapıldı */
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  color: white;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 10;
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ============================================
   SHARED LAYOUT
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  margin-bottom: 40px;
}

.section-header.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(230, 57, 0, .08);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.section-line {
  width: 52px;
  height: 4px;
  background: var(--accent);
  border-radius: 3px;
  margin-top: 14px;
}

.section-line.center {
  margin: 14px auto 0;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--primary);
  padding: 40px 0;
}

.stats-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  color: var(--white);
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, .15);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
}

.stat-item>span {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-item p {
  font-size: .9rem;
  opacity: .8;
  margin-top: 4px;
}

/* ============================================
   PRODUCT CATEGORIES — Home
   ============================================ */
.home-categories {
  padding: 80px 0;
  background: var(--light);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.categories-grid.compact {
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.cat-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(212, 32, 32, .07);
  transition: all var(--transition);
  display: block;
  cursor: pointer;
  border: 2px solid transparent;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(212, 32, 32, .18);
  border-color: var(--primary);
}

.cat-card-img {
  aspect-ratio: 4/3;
  background: var(--light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.cat-card:hover .cat-card-img img {
  transform: scale(1.06);
}

.cat-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-card-placeholder i {
  font-size: 3.8rem;
  color: #c8d4e8;
  transition: transform var(--transition), color var(--transition);
  position: relative;
}

/* Rocking Base Effect */
.cat-icon-rocking::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 10%;
  width: 80%;
  height: 8px;
  border: 4px solid currentColor;
  border-top: 0;
  border-radius: 0 0 50px 50px;
  opacity: 0.8;
}

.cat-card:hover .cat-card-placeholder i {
  transform: scale(1.1);
}

/* Category Icon Colors */
.cat-icon-red {
  color: #e53935 !important;
}

.cat-icon-blue {
  color: #1e88e5 !important;
}

.cat-icon-green {
  color: #43a047 !important;
}

.cat-icon-orange {
  color: #fb8c00 !important;
}

.cat-icon-purple {
  color: #8e24aa !important;
}

.cat-icon-teal {
  color: #00897b !important;
}

.cat-icon-pink {
  color: #d81b60 !important;
}

.cat-icon-indigo {
  color: #3949ab !important;
}

.cat-icon-amber {
  color: #ffb300 !important;
}

.cat-icon-cyan {
  color: #00acc1 !important;
}

.cat-icon-brown {
  color: #6d4c41 !important;
}

.cat-icon-lime {
  color: #c0ca33 !important;
}

.cat-icon-deep-orange {
  color: #f4511e !important;
}

.cat-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 80px;
}

.cat-card-body h3 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.cat-card-body h4 {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}

.cat-link {
  font-size: .78rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cat-link i {
  font-size: .7rem;
}

.cat-card.small .cat-card-body {
  padding: 10px 12px;
}

/* ============================================
   HOME SECTIONS (S1 & S2)
   ============================================ */
.home-s1 {
  padding: 80px 0 20px 0;
  background: var(--white);
}

.s1-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr;
  /* Give more space to text */
  gap: 50px;
  align-items: center;
}

.s1-image img {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  display: block;
}

.s1-content {
  padding-left: 20px;
}

.s1-title {
  font-size: 2.22rem;
  font-weight: 800;
  color: #1765a3;
  /* Darker blue from the top line */
  margin-bottom: 25px;
  line-height: 1.2;
}

.s1-description {
  color: #7a7a7a;
  /* Muted gray for body text */
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 20px 0;
}

.s1-description p {
  margin-bottom: 15px;
}

.s1-signature {
  font-weight: 400;
  color: #b0c2ce;
  /* Light grey-blue cursive */
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 1.4rem;
  text-align: right;
  margin-top: 30px;
}

.home-s2 {
  padding: 0;
  background: transparent;
}

.s2-map-wrapper {
  text-align: center;
  width: 100%;
}

.s2-map-img {
  width: 100%;
  display: block;
}

@media (max-width: 900px) {
  .s1-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .s1-content {
    padding-left: 0;
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: 90px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
}

/* When a custom image is uploaded */
.about-img-wrapper.has-custom-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-img-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 50%, var(--orange) 80%, var(--accent) 100%);
}

.about-experience {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.about-experience span {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.about-experience p {
  font-size: .82rem;
  color: var(--text-muted);
  margin: 0;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: .97rem;
  line-height: 1.8;
}

.about-content-text {
  color: var(--text-muted);
  font-size: .97rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-content-text p {
  margin-bottom: 12px;
}

.about-content-text strong {
  color: var(--text);
}

.about-content-text ul {
  padding-left: 18px;
  list-style: disc;
}

.about-content-text li {
  margin-bottom: 6px;
}

.about-features {
  margin: 24px 0;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
}

.about-features li:last-child {
  border: none;
}

.about-features i {
  color: var(--accent);
  font-size: .75rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  opacity: .85;
  margin-bottom: 32px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--primary);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.btn-cta:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 40px 0;
  /* Reduced from 80px */
  text-align: center;
  color: var(--white);
  background-color: var(--primary);
  /* Fallback */
}

/* Global Inner Page Section Spacing */
.inquiry-section,
.catalogue-list-section,
.videos-section,
.inner-page,
.timeline-section,
.certificates-page,
.products-page,
.media-page,
.partners-page,
.contact-section {
  padding: 80px 0;
  min-height: 60vh;
}

.header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 30, 90, 0.8);
  /* Dark overlay */
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb li:not(:last-child)::after {
  content: '\f105';
  /* FontAwesome right angle */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  opacity: 0.6;
  font-size: 0.8em;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--white);
  text-decoration: none;
}

.breadcrumb li:last-child {
  color: var(--white);
  font-weight: 600;
  opacity: 1;
  /* Make last item fully visible */
}

/* ============================================
   RESPONSIVE BREADCRUMBS
   ============================================ */
@media (max-width: 768px) {
  .breadcrumb {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
  }

  .breadcrumb li {
    white-space: nowrap;
    line-height: 1.4;
  }

  .page-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding: 0 10px;
  }
}

/* ============================================
   CATEGORIES PAGE
   ============================================ */
.categories-page {
  padding: 20px 0 80px 0;
}

.categories-page .categories-grid {
  grid-template-columns: repeat(5, 1fr);
}

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.product-detail-section {
  padding: 20px 0 60px 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 60px;
  align-items: start;
}

/* Gallery */
.product-gallery .main-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fafafa;
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery .main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.product-gallery .main-img .zoom-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, .1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}

.product-gallery .main-img .zoom-icon:hover {
  background: rgba(0, 51, 153, .2);
}

.thumb-list {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.thumb-list img {
  width: 80px;
  height: 68px;
  object-fit: contain;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color var(--transition);
  background: #fafafa;
  padding: 4px;
}

.thumb-list img.active,
.thumb-list img:hover {
  border-color: var(--primary);
}

/* Product Info */
.product-info h1 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  text-align: center;
}

.product-code {
  text-align: center;
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.product-code strong {
  color: var(--text);
}

.product-specs {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.spec-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  border-bottom: 1px solid var(--border);
  background: #fbfcff;
  transition: background var(--transition);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row:hover {
  background: var(--light);
}

.spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
  color: var(--primary);
  font-size: 1.05rem;
  padding: 14px;
}

.spec-text {
  padding: 13px 16px;
  font-size: .88rem;
  color: var(--text);
  font-weight: 500;
}

.product-brand-barcode {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.product-brand-barcode img {
  max-height: 56px;
  max-width: 140px;
  object-fit: contain;
}

.barcode-number {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text);
}

/* Category Detail */
.category-detail {
  padding: 20px 0 40px 0;
  background: #fdfdfe;
}

.category-banner {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.category-banner img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.category-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.product-cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 35px 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 40px 0;
  box-shadow: 0 10px 30px rgba(212, 32, 32, 0.15);
}

.product-cta-box>div {
  flex: 1;
}

.product-cta-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.product-cta-box p {
  opacity: .9;
  font-size: .95rem;
  line-height: 1.5;
}

/* Responsive CTA */
@media (max-width: 768px) {
  .product-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 30px 25px;
    gap: 20px;
  }
}

.other-categories {
  margin-top: 40px;
}

.other-categories h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 0 30px;
  height: 48px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary:hover {
  background: var(--primary-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 32, 32, .30);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0 30px;
  height: 48px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   CONTACT PAGE — Yeni Tasarım
   ============================================ */
.contact-section {
  padding: 20px 0 90px;
}

/* --- İletişim Kartları Grid --- */
.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}

.contact-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .10);
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .15);
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  color: #fff;
}

.contact-card-header i {
  font-size: 1.8rem;
  opacity: .9;
}

.contact-card-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
}

.contact-card-body {
  background: #f8fbff;
  padding: 6px 0;
}

.contact-card-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid #edf0f7;
}

.contact-card-row:last-child {
  border-bottom: none;
}

.ccr-label {
  min-width: 120px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  padding-top: 2px;
}

.ccr-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ccr-phone,
.ccr-email,
.ccr-address {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ccr-phone i {
  color: var(--primary);
  width: 14px;
}

.ccr-email i {
  color: var(--accent);
  width: 14px;
}

.ccr-address i {
  color: var(--orange);
  width: 14px;
}

.ccr-phone:hover {
  color: var(--primary);
}

.ccr-email:hover {
  color: var(--accent);
}

.text-muted {
  color: var(--text-muted) !important;
}

/* --- Alt Grid (Harita + Form) --- */
.contact-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.contact-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-section-title i {
  color: var(--primary);
  font-size: 1.1rem;
}

.map-wrapper {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .10);
  margin-bottom: 20px;
}

/* Hızlı iletişim şeridi */
.quick-contact-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: nowrap;
}

.qc-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 10px;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
  min-width: 0;
  overflow: hidden;
}

.qc-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(212, 32, 32, .10);
  transform: translateY(-2px);
}

.qc-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.qc-item small {
  display: block;
  font-size: .65rem;
  color: var(--text-muted);
  margin-bottom: 1px;
  white-space: nowrap;
}

.qc-item strong {
  font-size: .72rem;
  font-weight: 700;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Form --- */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text);
}

.form-group label i {
  color: var(--primary);
  font-size: .8rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 32, 32, .08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-d));
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 6px 20px rgba(212, 32, 32, .30);
  width: 100%;
  justify-content: center;
}

.btn-submit-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 32, 32, .40);
}

/* Responsive */
@media (max-width: 900px) {

  .contact-cards-grid,
  .contact-bottom-grid {
    grid-template-columns: 1fr;
  }

  .quick-contact-strip {
    flex-direction: column;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}



/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0d1432;
  color: rgba(255, 255, 255, .75);
}

.footer-top {
  padding: 60px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo-text {
  display: inline-block;
  font-size: 1.6rem;
  background: none;
  -webkit-text-fill-color: var(--white);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.8;
  opacity: .7;
}

.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-col ul li {
  margin-bottom: 12px;
  display: flex !important;
  align-items: flex-start !important;
  flex-direction: row !important;
  gap: 12px;
  line-height: 1.5;
}

.footer-col ul li i {
  margin-top: 4px;
  font-size: 1.1rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.footer-col ul li a,
.footer-col ul li span {
  flex: 1;
  word-wrap: break-word;
}

.footer-col ul li a {
  font-size: .85rem;
  opacity: .75;
  transition: opacity var(--transition), padding-left var(--transition);
  display: block;
}

.footer-col ul li a:hover {
  opacity: 1;
  padding-left: 6px;
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  text-align: center;
  font-size: .8rem;
  opacity: .5;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .3s ease;
}

#preloader.hide {
  opacity: 0;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1;
}

.preloader-logo img {
  display: block;
  margin: 0 auto 20px;
  height: 120px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  animation: pulse-logo 1.2s ease-in-out infinite alternate;
}

.preloader-bar {
  width: 200px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  animation: preload 1.4s ease-in-out infinite;
}

@keyframes preload {
  0% {
    transform: translateX(-100%)
  }

  100% {
    transform: translateX(200%)
  }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: none;
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {

  .categories-grid,
  .categories-page .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .mega-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mega-dropdown {
    width: 640px;
  }
}

@media (max-width: 900px) {

  .nav-menu,
  .lang-switcher {
    display: none;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    overflow-y: auto;
    z-index: 999;
    padding: 20px 0;
  }

  .nav-menu.open .nav-link {
    height: auto;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .dropdown,
  .mega-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--light);
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-slider {
    height: 460px;
  }

  .hero-glass-card {
    padding: 24px;
    max-width: 100%;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.92);
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .hero-sub {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .btn-hero {
    padding: 10px 24px;
    font-size: 0.85rem;
  }

  .categories-grid,
  .categories-page .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-img-wrapper {
    height: 250px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Page with Image Layout */
.page-with-image {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: flex-start;
  margin-top: 30px;
}

.page-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  /* Enhanced shadow */
}

.page-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Smooth cubic bezier */
}

.page-image:hover img {
  transform: scale(1.05);
  /* Slightly more zoom */
}

.page-text {
  font-size: .95rem;
  /* Reduced from 1.05rem to match menu style better */
  line-height: 1.7;
  color: var(--text-color);
}

.page-text h2,
.page-text h3 {
  font-size: 1.25rem;
  /* Slightly larger than body text */
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--primary);
  font-weight: 700;
}

.page-text p {
  margin-bottom: 20px;
  text-align: justify;
}

@media (max-width: 991px) {
  .page-with-image {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-image {
    max-width: 100%;
    margin-bottom: 30px;
  }
}

/* General Inner Page Improvements */
.inner-page {
  padding: 20px 0 80px 0;
  /* More breathing room */
  background-color: #f9f9f9;
  /* Slight background tint for depth */
}

.inner-content {
  background: #fff;
  padding: 50px;
  /* More padding */
  border-radius: var(--radius);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
}

@media (max-width: 600px) {

  .categories-grid,
  .categories-page .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cat-card-body h3 {
    font-size: .8rem;
  }

  .cat-card-placeholder i {
    font-size: 2.8rem;
  }

  .stats-container {
    flex-wrap: wrap;
  }

  .stat-item {
    min-width: 50%;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-slider {
    height: 280px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* Timeline Styles */
.timeline-section {
  padding: 80px 0;
  background: #fdfdfd;
  position: relative;
}

.timeline-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 70px;
  color: var(--primary);
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #e0e6f0;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline-item {
  padding: 10px 50px;
  position: relative;
  background-color: inherit;
  width: 50%;
  box-sizing: border-box;
}

/* Left side */
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

/* Right side */
.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

/* Dot */
.timeline-dot {
  width: 24px;
  height: 24px;
  background-color: var(--white);
  border: 4px solid var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 20px;
  right: -13px;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 4px rgba(230, 57, 0, 0.2);
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -13px;
}

.timeline-item:hover .timeline-dot {
  background-color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(230, 57, 0, 0.3);
}

/* Date */
.timeline-date {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  position: absolute;
  top: 15px;
  width: 100px;
}

.timeline-item:nth-child(odd) .timeline-date {
  right: -160px;
  text-align: left;
}

.timeline-item:nth-child(even) .timeline-date {
  left: -160px;
  text-align: right;
}

/* Content Box */
.timeline-content {
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid #ebebeb;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-color: var(--accent);
}

/* Connector Line (Bracket look) */
.timeline-item:nth-child(odd) .timeline-content::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: -10px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #ebebeb;
  /* Match border */
}

.timeline-item:nth-child(even) .timeline-content::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: -10px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent #ebebeb transparent transparent;
}

.timeline-content h3 {
  margin-top: 0;
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 40px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 80px;
    padding-right: 20px;
    text-align: left;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
    text-align: left;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 28px;
    right: auto;
  }

  .timeline-date {
    position: static;
    text-align: left !important;
    margin-bottom: 5px;
    width: auto;
    font-size: 1.3rem;
  }

  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent #ebebeb transparent transparent;
  }
}

/* ============================================
   PRELOADER LOGO — keyframes (tanım preloader bölümünde)
   ============================================ */
@keyframes pulse-logo {
  from {
    transform: scale(1);
    opacity: .85;
  }

  to {
    transform: scale(1.05);
    opacity: 1;
  }
}


/* ============================================
   FOOTER LOGO
   ============================================ */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 14px;
}

.footer-logo {
  height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.hero-smart-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 100%;
  width: 100%;
  padding: 30px 0;
}

.hero-text-block {
  flex: 0 1 500px;
  min-width: 320px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  /* Let clicks pass through empty space */
}

.hero-text-block .hero-glass-card {
  pointer-events: auto;
  /* Re-enable clicks solely for the glass card */
}

.hero-smart-grid .hero-glass-card {
  padding: 30px 40px;
  max-width: 480px;
  backdrop-filter: blur(12px);
}

.hero-smart-grid .hero-title {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-smart-grid .hero-sub {
  font-size: 1rem;
  margin-bottom: 25px;
}

.hero-large-images {
  flex: 0 1 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 100%;
  position: relative;
  z-index: 5;
}

.slide-img-lg {
  height: auto;
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-sizing: border-box;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.1));
  opacity: 0;
  transform: translateY(30px);
}

.hero-slide.active .slide-img-lg {
  animation: fadeInUp 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s forwards;
}

/* Images always vertically centered */

/* Extra Large Images Layout */
.hero-xl-images {
  flex: 0 1 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 100%;
  position: relative;
  z-index: 5;
}

.slide-img-xl {
  height: auto;
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-sizing: border-box;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.15));
  opacity: 0;
  transform: translateY(30px);
}

.hero-slide.active .slide-img-xl {
  animation: fadeInUp 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.15s forwards;
}


/* Medium Images Layout */
.hero-medium-images {
  flex: 0 1 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 80%;
  margin: auto 0;
  position: relative;
  z-index: 5;
}

.slide-img-md {
  height: auto;
  max-height: 380px;
  max-width: 100%;
  object-fit: contain;
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  box-sizing: border-box;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.1));
  opacity: 0;
  transform: translateY(30px);
}

.hero-slide.active .slide-img-md {
  animation: fadeInUp 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.25s forwards;
}

.hero-small-images {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  height: 420px;
  /* Default height */
  margin: auto 0 auto -12px;
}

/* Sibling selectors to match height with main image type */
.hero-xl-images~.hero-small-images {
  height: 500px;
}

.hero-large-images~.hero-small-images {
  height: 420px;
}

.hero-medium-images~.hero-small-images {
  height: 380px;
}

.slide-img-sm {
  width: 140px;
  height: calc((100% - 40px) / 3);
  /* Adjusted for spacing */
  object-fit: contain;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-sizing: border-box;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateX(30px);
}

.hero-slide.active .slide-img-sm {
  animation: fadeInRight 0.8s ease forwards;
}

/* Şeffaf Arkaplanlı Resimler İçin (PNG, GIF, WEBP) */
.slide-img-xl[src$=".png" i],
.slide-img-xl[src$=".gif" i],
.slide-img-xl[src$=".webp" i],
.slide-img-lg[src$=".png" i],
.slide-img-lg[src$=".gif" i],
.slide-img-lg[src$=".webp" i],
.slide-img-md[src$=".png" i],
.slide-img-md[src$=".gif" i],
.slide-img-md[src$=".webp" i],
.slide-img-sm[src$=".png" i],
.slide-img-sm[src$=".gif" i],
.slide-img-sm[src$=".webp" i] {
  background: transparent !important;
  box-shadow: none !important;
}

.slide-img-sm:hover {
  transform: scale(1.08) translateY(-5px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Slider Pagination (Bullet) Koyulastirma */
#heroSlider .slick-dots {
  bottom: 0px;
}

#heroSlider .slick-dots li button:before {
  color: #111 !important;
  /* Daha koyu renk */
  opacity: 0.6 !important;
  font-size: 15px !important;
}

#heroSlider .slick-dots li.slick-active button:before {
  color: #000 !important;
  /* En koyu aktif durum */
  opacity: 0.9 !important;
  font-size: 18px !important;
}

/* Buton Buyutme isleme JS den hizalandi */


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Mobil Uyum */
@media (max-width: 900px) {
  .hero {
    height: auto;
  }

  .hero-slider {
    height: auto;
  }

  .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
  }

  .hero-slide.active {
    position: relative;
    min-height: 75vh;
    padding-bottom: 5px;
    /* Alttaki noktalar icin (bullets) yer birak */
  }

  .hero-smart-grid {
    flex-direction: row;
    flex-wrap: wrap !important;
    justify-content: center !important;
    /* Diger resimler yoksa devasa yayilmasini engeller merkeze alir */
    align-items: stretch;
    gap: 15px;
    height: auto;
    padding: 15px 10px 5px 10px;
    /* Alt bosluk 15'ten 5'e dusuruldu */
  }

  .hero-smart-grid .hero-text-block {
    order: 3 !important;
    /* En alta gitsin */
    width: 100% !important;
    flex: 0 0 100% !important;
    /* %100 genişlikle alt satıra geçmeyi zorlar! */
    margin-top: 10px;
  }

  .hero-xl-images {
    order: 0 !important;
    height: auto !important;
    flex-wrap: wrap !important;
  }

  .slide-img-xl {
    max-height: 350px;
    width: auto !important;
    object-fit: contain !important;
  }

  .hero-large-images {
    order: 1 !important;
    height: auto !important;
    flex-wrap: wrap !important;
  }

  .slide-img-lg {
    max-height: 300px;
    width: auto !important;
    object-fit: contain !important;
    /* Daralmada taşmayı önler */
  }

  .hero-medium-images {
    order: 2 !important;
    height: auto !important;
    flex-wrap: wrap !important;
  }

  .slide-img-md {
    max-height: 250px;
    width: auto !important;
  }

  .hero-small-images {
    order: 4 !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 15px;
    height: auto !important;
    flex: 0 0 80px !important;
    width: 80px !important;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    margin-top: 10px !important;
  }

  .slide-img-sm {
    width: 100%;
    height: auto !important;
    flex: 1 1 auto !important;
    /* Yüksekliği 3 parçaya eşit böler */
    padding: 5px;
    object-fit: contain !important;
  }

  /* Mobil Yazi ve Kutu Boyutlandirma */
  .hero-smart-grid .hero-title {
    font-size: 1.25rem !important;
    /* Cok daha kucuk boyut */
    margin-bottom: 10px !important;
    line-height: 1.2 !important;
  }

  .hero-smart-grid .hero-sub {
    font-size: 0.85rem !important;
    margin-bottom: 15px !important;
  }

  .hero-smart-grid .hero-glass-card {
    padding: 15px 20px !important;
    width: 88% !important;
    /* Genisligi %88 yapip kenarlardan daha da uzaklastir */
    max-width: none !important;
    /* Max-width kisitlamasini kaldir */
    margin: 0 auto !important;
    /* Kalan %12'lik boslugu sag/sol esit paylas (ortala) */
  }

  .btn-hero {
    font-size: 0.8rem !important;
    padding: 10px 20px !important;
  }

  /* Alt boslugu artirip ust boslugu daraltmak icin konumu yukari cekildi */
  .slider-dots {
    display: none !important;
  }
}

/* --- Mega Menu Brands Grid --- */
.mega-brands-col {
  flex: 1.2 !important;
  background: #fcfdfe;
  border-left: 1px solid #eee;
  padding: 0 25px !important;
}

.mega-brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.brand-item {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #eef0f3;
  padding: 10px !important;
  border-radius: 12px;
  height: 80px;
  transition: all var(--transition) !important;
}

.brand-item img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: all var(--transition);
}

.brand-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(212, 32, 32, 0.08);
  transform: translateY(-2px);
  background: #fff !important;
}

.brand-item:hover img {
  filter: grayscale(0%);
}

.brand-name-abbr {
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  text-transform: uppercase;
}

.mega-view-all {
  display: inline-block;
  margin-top: 15px;
  padding-left: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  transition: all var(--transition);
}

.mega-view-all:hover {
  padding-left: 15px;
  text-decoration: underline;
}

/* --- Category & Brand Detail Page --- */


.category-listing-top {
  margin-bottom: 40px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.title-line {
  height: 3px;
  background: linear-gradient(to right, transparent, var(--primary), var(--primary), transparent);
  flex: 1;
  max-width: 140px;
  opacity: 0.8;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  text-align: center;
  white-space: nowrap;
  letter-spacing: -0.5px;
}

.category-header-banner {
  margin: 0 auto 30px;
  max-width: 900px;
}

.category-header-banner.brand-mode .banner-img-wrap {
  max-width: 240px;
  margin: 0 auto;
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
}

.banner-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 120px;
}

.listing-divider {
  height: 1px;
  background: #eee;
  margin-bottom: 50px;
  position: relative;
}

.main-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 0;
}

.product-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.pc-img-link {
  display: block;
  height: 240px;
  background: #fff;
  position: relative;
  overflow: hidden;
  padding: 8px 8px 0;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
}

.pc-img-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .pc-img-link img {
  transform: scale(1.08);
}

.product-card-body {
  padding: 10px 14px 14px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pc-title {
  font-size: 1.0rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.4;
  /* Ürün başlıklarında Inter'deki noktalı İ optik sorunu için,
     Inter'e çok benzeyen sistem fontu kullanıyoruz */
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.pc-code {
  font-size: 0.85rem;
  font-weight: 500;
  color: #888;
  margin-bottom: 10px;
}

.pc-footer {
  margin-top: auto;
  text-align: center;
}

/* Butonların genel sınıfları (Eski hallerine sadık kalarak) */
.category-detail .btn-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto !important;
  height: 40px;
  padding: 0 25px !important;
  font-size: 0.85rem;
  line-height: normal !important;
  border-radius: 30px;
  text-align: center;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }

  .title-line {
    max-width: 60px;
  }
}

/* ============================================
   İŞ ORTAKLARI KAYAN ŞERİT
   ============================================ */
.partners-strip {
  background: #f8f9fc;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 30px 0;
  overflow: hidden;
  position: relative;
}

/* Fade kenarlar */
.partners-strip::before,
.partners-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.partners-strip::before {
  left: 0;
  background: linear-gradient(to right, #f8f9fc, transparent);
}

.partners-strip::after {
  right: 0;
  background: linear-gradient(to left, #f8f9fc, transparent);
}

.partners-strip-inner {
  overflow: hidden;
  width: 100%;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: partnersScroll 28s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partner-logo-item {
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 96px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.partner-logo-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.partner-logo-item img {
  max-height: 70px;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.partner-logo-item:hover img {
  filter: grayscale(0%);
}

.partner-name-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

@keyframes partnersScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   FANCYBOX — Kapat butonu resmin köşesinde
   ============================================ */
.fancybox-toolbar {
  display: none !important;
}

/* close-small fancybox-content içinde absolute, resmin köşesine oturur */
.fancybox-close-small {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  width: 30px !important;
  height: 30px !important;
  background: #e74c3c !important;
  border-radius: 50% !important;
  color: #fff !important;
  opacity: 1 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 99999 !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.fancybox-close-small:hover {
  background: #c0392b !important;
  transform: scale(1.1) !important;
}

.fancybox-close-small svg {
  width: 14px !important;
  height: 14px !important;
  stroke: #fff !important;
}