/* clients.css - Clients Section styling (light + dark-aware) */
:root{
  --light-bg: #fff8dc;
  --light-bg-2: #fef6e4;
  --gold: #b8860b;
  --gold-strong: #ffd700;
  --text-dark: #222;
  --divider: linear-gradient(90deg, transparent, rgba(212,175,55,0.9), transparent);
}

body.dark-mode {
  --light-bg: #3a2e00;
  --light-bg-2: #1f1700;
  --text-dark: #f8e7b1;
  --gold: #d4af37;
  --gold-strong: #ffd86b;
}

/* Section */
.clients-section {
  background: linear-gradient(135deg, var(--light-bg), var(--light-bg-2));
  color: var(--text-dark);
  padding: 90px 18px;
  overflow: hidden;
}

.clients-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Title & motto */
.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 14px;
  animation: titleGlow 2.5s ease-in-out infinite alternate;
}

.clients-motto {
  font-size: 1.05rem;
  max-width: 820px;
  margin: 0 auto 38px;
  line-height: 1.6;
  color: var(--text-dark);
  font-weight: 600;
}

/* divider */
.divider {
  height: 3px;
  width: 100%;
  background: var(--divider);
  margin: 30px 0;
  opacity: 0.85;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(212,175,55,0.08);
}

/* marquees */
.clients-marquee {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  box-sizing: border-box;
  position: relative;
}

.marquee-track {
  display: inline-flex;
  gap: 64px;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

/* logo styling */
.marquee-track img {
  height: 78px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(212,175,55,0.25));
  border-radius: 8px;
  transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s;
  opacity: 0.95;
}

/* hover highlight and pointer */
.marquee-track img:hover {
  transform: scale(1.18);
  filter: drop-shadow(0 10px 28px rgba(212,175,55,0.55));
  opacity: 1;
}

/* movement is handled in JS; but provide fallback slow keyframes for non-js */
@keyframes fallbackLeft {
  0% { transform: translateX(100%); } 100% { transform: translateX(-100%); }
}
@keyframes fallbackRight {
  0% { transform: translateX(-100%); } 100% { transform: translateX(100%); }
}

/* fade-in helper for reveal */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* responsive sizes */
@media (max-width: 1024px) {
  .marquee-track img { height: 66px; }
  .marquee-track { gap: 46px; }
  .section-title { font-size: 2.0rem; }
}
@media (max-width: 768px) {
  .marquee-track img { height: 56px; }
  .marquee-track { gap: 36px; }
  .clients-motto { font-size: 0.98rem; padding: 0 12px; }
}
@media (max-width: 480px) {
  .marquee-track img { height: 44px; }
  .marquee-track { gap: 26px; }
  .section-title { font-size: 1.4rem; }
}
