/* ============================================================
   Wazen — custom styles (complements Tailwind CDN utilities)
   ============================================================ */

html {
  scroll-behavior: smooth;
}

::selection {
  background-color: #F2A81C;
  color: #0A0A0C;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0A0A0C; }
::-webkit-scrollbar-thumb { background: #F2A81C; border-radius: 999px; }

/* Gradient text helper */
.text-gradient-gold {
  background: linear-gradient(90deg, #FBCB4A 0%, #F2A81C 60%, #C6890A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Marquee ticker */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
[dir="rtl"] .marquee-track {
  animation: marquee-rtl 28s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

/* Slow bounce for the WhatsApp bubble */
@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.animate-bounce-slow { animation: bounce-slow 2.6s ease-in-out infinite; }

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Header shrink state */
#site-header.scrolled {
  box-shadow: 0 10px 30px -15px rgba(0,0,0,.6);
}

/* Hero blob */
.hero-glow {
  background: radial-gradient(circle, rgba(242,168,28,0.35) 0%, rgba(242,168,28,0) 70%);
  filter: blur(10px);
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-answer {
  max-height: 400px;
}
.faq-item .faq-icon { transition: transform .3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Testimonial / gallery snap-scroll */
.snap-row {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.snap-row > * {
  scroll-snap-align: start;
}
.snap-row::-webkit-scrollbar { display: none; }
.snap-row { scrollbar-width: none; }

/* Card hover lift */
.hover-lift { transition: transform .35s ease, box-shadow .35s ease; }
.hover-lift:hover { transform: translateY(-6px); }

/* Before / After compare slider */
.compare-wrap { position: relative; overflow: hidden; touch-action: pan-y; }
.compare-after { position: absolute; inset: 0; overflow: hidden; width: 50%; }
.compare-after img { position: absolute; inset: 0; width: var(--w, 100%); height: 100%; object-fit: cover; }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: #F2A81C; cursor: ew-resize;
  transform: translateX(-50%);
}
.compare-handle::after {
  content: '⇔';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 999px;
  background: #F2A81C; color: #0A0A0C;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: bold;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}

/* Utility: dotted section divider */
.dot-divider {
  background-image: radial-gradient(circle, rgba(242,168,28,.5) 1.5px, transparent 1.5px);
  background-size: 10px 10px;
}
