/* =============================================================
   components.css — Cursor, Navbar, Stats Bar, WhatsApp FAB
   FireChars.in
   ============================================================= */

/* ── Custom Cursor ───────────────────────────────────── */
.cursor {
  width: 12px; height: 12px;
  background: var(--fire-orange);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s, height 0.2s;
  mix-blend-mode: screen;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(232, 98, 26, 0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease;
}
.cursor.hover  { transform: translate(-50%, -50%) scale(2.5); }
.cursor-ring.hover { transform: translate(-50%, -50%) scale(1.5); }

/* ── Navbar ──────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(8,8,8,0.97) 0%, rgba(8,8,8,0) 100%);
  transition: background 0.4s;
}
nav.scrolled {
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 98, 26, 0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon { width: 38px; height: 38px; }
.nav-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 2px;
  color: var(--white);
}
.nav-logo-text span { color: var(--fire-orange); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--ash);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--fire-orange);
  transition: width 0.3s;
}
.nav-links a:hover          { color: var(--white); }
.nav-links a:hover::after   { width: 100%; }

.nav-cta {
  background: transparent !important;
  border: 1px solid var(--fire-orange) !important;
  color: var(--fire-orange) !important;
  padding: 8px 20px;
  border-radius: 2px;
  transition: background 0.3s, color 0.3s !important;
}
.nav-cta:hover {
  background: var(--fire-orange) !important;
  color: var(--deep-black) !important;
}
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ── Stats Bar ───────────────────────────────────────── */
.stats-bar {
  background: var(--mid-charcoal);
  border-top: 1px solid rgba(232, 98, 26, 0.2);
  border-bottom: 1px solid rgba(232, 98, 26, 0.2);
  padding: 2.5rem 5%;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.stat-item { text-align: center; flex: 1; min-width: 150px; }
.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--fire-orange);
  line-height: 1;
  letter-spacing: 2px;
}
.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 4px;
}
.stat-divider {
  width: 1px; height: 50px;
  background: rgba(232, 98, 26, 0.2);
}

/* ── WhatsApp FAB ────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}
.whatsapp-fab a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}
.whatsapp-fab a:hover {
  background-color: #1ebe5d;
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}
.whatsapp-fab svg { width: 32px; height: 32px; fill: #fff; }

/* Pulse ring */
.whatsapp-fab a::before {
  content: '';
  position: absolute;
  width: 62px; height: 62px;
  border-radius: 50%;
  background-color: #25D366;
  animation: waPulse 2s infinite;
  z-index: -1;
}
@keyframes waPulse {
  0%  { transform: scale(1);    opacity: 0.7; }
  70% { transform: scale(1.45); opacity: 0;   }
  100%{ transform: scale(1);    opacity: 0;   }
}

/* Tooltip */
.whatsapp-fab a::after {
  content: 'Chat with us';
  position: absolute;
  right: 74px;
  background: #1a1a1a;
  color: #fff;
  padding: 7px 14px;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(37, 211, 102, 0.3);
}
.whatsapp-fab a:hover::after { opacity: 1; visibility: visible; }

/* ── Nav Dropdown ─────────────────────────────────────── */
.nav-dropdown-wrap {
  position: relative;
}
.nav-dropdown-wrap > a {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-dropdown-wrap > a::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--ash);
  border-bottom: 1.5px solid var(--ash);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s, border-color 0.3s;
  margin-left: 2px;
  flex-shrink: 0;
}
.nav-dropdown-wrap:hover > a::before {
  transform: rotate(-135deg) translateY(-2px);
  border-color: var(--fire-orange);
}
.nav-dropdown-wrap > a::after { display: none !important; }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: transparent;
  min-width: 230px;
  list-style: none;
  padding-top: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 999;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 18px; left: 0; right: 0; bottom: 0;
  background: rgba(14, 14, 14, 0.98);
  border: 1px solid rgba(232, 98, 26, 0.18);
  border-top: 2px solid var(--fire-orange);
  backdrop-filter: blur(16px);
  z-index: -1;
}
.nav-dropdown-wrap:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li {
  border-bottom: 1px solid rgba(232, 98, 26, 0.07);
}
.nav-dropdown li:last-child { border-bottom: none; }
.nav-dropdown li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ash);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
  white-space: nowrap;
}
.nav-dropdown li a::after { display: none !important; }
.nav-dropdown li a:hover {
  background: rgba(232, 98, 26, 0.07);
  color: var(--fire-orange);
  padding-left: 22px;
}
.nav-dropdown-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  color: rgba(232, 98, 26, 0.4);
  letter-spacing: 1px;
  min-width: 20px;
  transition: color 0.2s;
}
.nav-dropdown li a:hover .nav-dropdown-num {
  color: var(--fire-orange);
}
