/* =========================================================
   Laksh Air Con — custom design layer (on top of Tailwind)
   ========================================================= */

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

::selection { background-color: #33A8FF; color: #fff; }

/* Focus states for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid #1E88E5;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg,#0D2E66 0%,#1E88E5 100%);
  color: #fff;
  font-weight: 600;
  font-size: .875rem;
  box-shadow: 0 8px 24px rgba(13,46,102,.18);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(13,46,102,.24); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  border-radius: 9999px;
  background: #fff;
  color: #0D2E66;
  font-weight: 600;
  font-size: .875rem;
  border: 1px solid #E2E8F0;
  transition: all .2s ease;
}
.btn-secondary:hover { background: #EAF6FF; border-color: #33A8FF; transform: translateY(-2px); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-weight: 600;
  font-size: .875rem;
  transition: all .2s ease;
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); }

/* ---------- Cards ---------- */
.card-hover { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease; }
.card-hover:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(13,46,102,.18); border-color: #33A8FF33; }

/* ---------- Footer links / social ---------- */
.footer-link { transition: color .2s ease; }
.footer-link:hover { color: #A7D8FF; }

.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.5rem; width: 2.5rem; border-radius: 9999px;
  background: rgba(255,255,255,.08); color: #fff; font-size: .875rem;
  transition: all .25s ease;
}
.social-icon:hover { background: #1E88E5; transform: translateY(-3px); }

/* ---------- Scroll reveal ---------- */
.reveal-up { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Hero blob / airflow signature motif ---------- */
.airflow-line {
  stroke-dasharray: 6 10;
  animation: airflow-move 6s linear infinite;
}
@keyframes airflow-move { to { stroke-dashoffset: -160; } }

.hero-blob {
  animation: blob-float 9s ease-in-out infinite;
}
@keyframes blob-float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(0,-16px) scale(1.03); }
}

/* ---------- Digital counter (control-panel inspired) ---------- */
.counter-digit {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* ---------- Pulse ring for floating call button ---------- */
.animate-pulse-ring { position: relative; }
.animate-pulse-ring::after {
  content: '';
  position: absolute; inset: 0; border-radius: 9999px;
  box-shadow: 0 0 0 0 rgba(30,136,229,.5);
  animation: pulse-ring 2.2s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(30,136,229,.55); }
  70% { box-shadow: 0 0 0 16px rgba(30,136,229,0); }
  100% { box-shadow: 0 0 0 0 rgba(30,136,229,0); }
}

/* ---------- FAQ accordion ---------- */
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-item.active .faq-panel { max-height: 400px; }

/* ---------- Testimonial slider ---------- */
.slider-track { display: flex; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.slider-dot { height: .5rem; width: .5rem; border-radius: 9999px; background: #E2E8F0; transition: all .25s ease; }
.slider-dot.active { width: 1.5rem; background: #1E88E5; }

/* ---------- Gallery lightbox ---------- */
.lightbox-overlay { backdrop-filter: blur(6px); }

/* ---------- Marquee (brands we service) ---------- */
.marquee-track { animation: marquee-scroll 28s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Utility ---------- */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #1E88E5; background: #EAF6FF; padding: .4rem .9rem; border-radius: 9999px;
}
