/* ================================================
   MEKON ENERJİ — Markalarımız Sayfası
   Premium + Sıradışı Etkileşimler
   ================================================ */

/* ========== PAGE HERO ========== */
.brands-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 900px;
  overflow: hidden;
  background: var(--dark);
}
.brands-hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.brands-hero-bg-img {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transform: scale(1.08);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
.brands-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,26,46,.92) 0%, rgba(0,180,216,.35) 100%);
}
#brandsHeroParticles {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* Floating shapes */
.brands-hero-shapes {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.brands-hero-shape {
  position: absolute; border-radius: 50%; opacity: .08;
}
.brands-hero-shape.shape-a {
  width: 420px; height: 420px;
  background: var(--primary);
  top: -120px; right: -80px;
  animation: shapeFloat 12s ease-in-out infinite;
}
.brands-hero-shape.shape-b {
  width: 280px; height: 280px;
  background: var(--accent);
  bottom: -60px; left: -40px;
  animation: shapeFloat 16s ease-in-out infinite reverse;
}
.brands-hero-shape.shape-c {
  width: 180px; height: 180px;
  border: 2px solid var(--primary);
  background: transparent;
  top: 50%; left: 55%;
  animation: shapeFloat 10s ease-in-out infinite 2s;
}

@keyframes shapeFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(15px, -25px) rotate(5deg); }
  50% { transform: translate(-10px, 15px) rotate(-3deg); }
  75% { transform: translate(20px, 10px) rotate(4deg); }
}
@keyframes heroZoom {
  0% { transform: scale(1.08); }
  100% { transform: scale(1.15); }
}

/* Hero inner */
.brands-hero-inner {
  position: relative; z-index: 3;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  height: 100%;
  padding-top: 100px;
}
.brands-hero-content {
  max-width: 680px;
}
.brands-hero-content .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  background: rgba(0,180,216,.15);
  border: 1px solid rgba(0,180,216,.3);
  border-radius: 40px;
  color: var(--primary);
  font-weight: 600; font-size: .85rem;
  letter-spacing: .02em;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
  animation: fadeInUp .8s ease both;
}
.brands-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.12;
  color: #fff;
  margin-bottom: 18px;
}
.brands-hero-content h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.brands-hero-content .hero-desc {
  color: rgba(255,255,255,.75);
  font-size: 1.08rem; line-height: 1.7;
  margin-bottom: 28px;
  max-width: 540px;
  animation: fadeInUp .8s ease .3s both;
}
.brands-hero-content .hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeInUp .8s ease .5s both;
}

/* Stats card (glassmorphism) */
.brands-hero-stats {
  display: flex; align-items: center; gap: 32px;
  margin-top: 40px;
  padding: 24px 36px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  animation: fadeInUp .8s ease .7s both;
}
.brands-hero-stat-item {
  display: flex; align-items: center; gap: 14px;
}
.brands-hero-stat-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(0,180,216,.15);
  color: var(--primary);
  font-size: 1.1rem;
}
.brands-hero-stat-item strong {
  display: block;
  font-size: 1.6rem; font-weight: 800;
  color: #fff;
}
.brands-hero-stat-item > div > span {
  color: rgba(255,255,255,.6);
  font-size: .82rem;
}
.brands-hero-stat-divider {
  width: 1px; height: 44px;
  background: rgba(255,255,255,.15);
}

/* Scroll hint */
.brands-scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  z-index: 4;
  animation: fadeInUp 1s ease 1s both;
}
.brands-scroll-hint span {
  color: rgba(255,255,255,.5);
  font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
}

/* ========== MARKA KARTLARI ========== */
.brands-listing {
  padding: 100px 0 80px;
  background: var(--bg);
  position: relative;
}
.brands-listing::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 400px;
  background: linear-gradient(180deg, var(--dark) 0%, transparent 100%);
  pointer-events: none;
}
.brands-listing .section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}
.brands-listing .section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px;
  background: rgba(0,180,216,.08);
  border: 1px solid rgba(0,180,216,.15);
  border-radius: 40px;
  color: var(--primary);
  font-weight: 600; font-size: .82rem;
  margin-bottom: 14px;
}
.brands-listing h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 14px;
}
.brands-listing h2 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.brands-listing .section-sub {
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 1;
}

/* Card */
.brand-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px 28px 28px;
  text-align: center;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 800px;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,180,216,.12);
  border-color: rgba(0,180,216,.3);
}

/* Tilt glow */
.brand-card .tilt-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,.20) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 0;
  transform: translate(-50%, -50%);
}
.brand-card:hover .tilt-glow {
  opacity: 1;
}

/* Shimmer */
.brand-card .shimmer-effect {
  position: absolute;
  top: 0; left: -100%; right: 0; bottom: 0;
  width: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.08) 50%, transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 1;
}
.brand-card:hover .shimmer-effect {
  animation: shimmerSlide .8s ease forwards;
}
@keyframes shimmerSlide {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Logo wrap */
.brand-logo-wrap {
  width: 120px; height: 90px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  background: #f6f8fb;
  padding: 14px;
  transition: transform .4s ease, background .3s ease;
  position: relative;
  z-index: 2;
}
.brand-logo-wrap img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  filter: grayscale(.3);
  transition: filter .4s ease, transform .4s ease;
}
.brand-card:hover .brand-logo-wrap {
  transform: scale(1.08);
  background: rgba(0,180,216,.06);
}
.brand-card:hover .brand-logo-wrap img {
  filter: grayscale(0);
  transform: scale(1.05);
}

.brand-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  position: relative; z-index: 2;
}
.brand-card p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
  position: relative; z-index: 2;
}

/* Tag */
.brand-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  background: rgba(0,180,216,.08);
  border: 1px solid rgba(0,180,216,.15);
  border-radius: 20px;
  color: var(--primary);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .02em;
  position: relative; z-index: 2;
  transition: background .3s ease, border-color .3s ease;
}
.brand-card:hover .brand-tag {
  background: rgba(0,180,216,.12);
  border-color: rgba(0,180,216,.3);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .brands-hero-inner {
    padding-top: 120px;
  }
  .brands-hero-content h1 {
    font-size: 2.4rem;
  }
  .brands-hero-stats {
    flex-direction: column;
    gap: 18px;
    padding: 20px 24px;
  }
  .brands-hero-stat-divider {
    width: 60px; height: 1px;
  }
}

@media (max-width: 768px) {
  .brands-hero {
    min-height: 560px;
  }
  .brands-hero-content h1 {
    font-size: 2rem;
  }
  .brands-hero-content .hero-desc {
    font-size: .95rem;
  }
  .brands-hero-content .hero-btns {
    flex-direction: column;
  }
  .brands-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .brands-listing {
    padding: 70px 0 50px;
  }
}

@media (max-width: 480px) {
  .brands-hero-content h1 {
    font-size: 1.7rem;
  }
  .brands-hero-stats {
    padding: 16px;
  }
  .brands-hero-stat-item strong {
    font-size: 1.3rem;
  }
  .brand-card {
    padding: 28px 20px 22px;
  }
}
