/* ============================================================
   TEKNEE OTO YEDEK PARÇA — kurumsal stil
   Palet: navy-900 (#0a1628) + steel + accent #b91c1c
   ============================================================ */

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ================= BRAND CELLS — BÜYÜK LOGOLAR ================= */
.brand-cell {
  background: #ffffff;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.5rem 1.25rem;
  gap: 0.75rem;
  transition: background 0.25s ease, transform 0.25s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.brand-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  pointer-events: none;
  transition: border-color 0.25s ease;
}
.brand-cell:hover {
  background: #f8fafc;
}
.brand-cell:hover::after {
  border-color: #b91c1c;
}

.brand-cell img {
  width: auto;
  max-width: 82%;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.brand-cell:hover img {
  transform: scale(1.07);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
}

.brand-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
.brand-cell:hover .brand-name { color: #0a1628; }

/* Mobile fine-tuning */
@media (max-width: 640px) {
  .brand-cell {
    aspect-ratio: 1 / 1;
    padding: 1.25rem 1rem 1rem;
  }
  .brand-cell img { max-height: 90px; max-width: 85%; }
  .brand-name { font-size: 0.75rem; }
}

/* ================= CATEGORY CELLS ================= */
.cat-cell {
  background: #ffffff;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
  position: relative;
  min-height: 14rem;
}
.cat-cell:hover { background: #f8fafc; }
.cat-cell::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: #b91c1c;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.cat-cell:hover::after { transform: scaleX(1); }

.cat-num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}
.cat-cell h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0a1628;
  letter-spacing: -0.01em;
  margin: 0;
}
.cat-cell p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}
.cat-arrow {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0a1628;
  letter-spacing: 0.01em;
  transition: color 0.2s, transform 0.25s;
  display: inline-block;
}
.cat-cell:hover .cat-arrow {
  color: #b91c1c;
  transform: translateX(4px);
}

/* ================= VALUE CELLS ================= */
.value-cell {
  background: rgba(255,255,255,0.02);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background 0.2s;
}
.value-cell:hover { background: rgba(255,255,255,0.05); }

.value-num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #b91c1c;
  margin-bottom: 0.4rem;
}
.value-cell h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0;
}
.value-cell p {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* ================= COOKIE BANNER ANIM ================= */
#cookie-banner.show { transform: translateY(0); }
