/* ========================================
   BANGO POWER — Site CSS (cleaned, no gradients)
   Move-as-is to resources/css/app.css for Laravel
   ======================================== */

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter', system-ui, sans-serif; color: #0A0F1E; background: #fff; }
.font-bn { font-family: 'Hind Siliguri', 'Inter', sans-serif; }
.font-display { font-family: 'Space Grotesk', 'Inter', sans-serif; }
.font-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

[x-cloak] { display: none !important; }

/* ---- Glass surfaces (translucent + blur, solid base color) ---- */
.glass-dark {
  background: rgba(30,42,87,0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.08);
}
.glass-light {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(30,42,87,0.06);
}

/* ---- Buttons (solid colors only — navy + black palette) ---- */
.cta-orange {
  background: #1E2A57;
  color: #FFFFFF;
  transition: background-color .2s cubic-bezier(0.22,1,0.36,1), color .2s, transform .15s;
}
.cta-orange:hover { background: #0A0F1E; }
.cta-orange:active { transform: translateY(1px); }

.cta-navy {
  background: #1E2A57;
  color: #FFFFFF;
  transition: background-color .2s cubic-bezier(0.22,1,0.36,1), color .2s, transform .15s;
}
.cta-navy:hover { background: #0A0F1E; }

/* On dark navy sections, primary CTAs are vivid blue with glow — adds real energy on flat navy */
.page-hero .cta-orange,
.page-hero .cta-navy,
.bg-brand-blue-950 .cta-orange,
.bg-brand-blue-950 .cta-navy,
.bg-brand-blue-900 .cta-orange,
.bg-brand-blue-900 .cta-navy,
.bg-ink-950 .cta-orange,
.bg-ink-950 .cta-navy {
  background: #3B82F6;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(59,130,246,.45), 0 0 0 1px rgba(147,197,253,.18);
}
.page-hero .cta-orange:hover,
.page-hero .cta-navy:hover,
.bg-brand-blue-950 .cta-orange:hover,
.bg-brand-blue-950 .cta-navy:hover,
.bg-brand-blue-900 .cta-orange:hover,
.bg-brand-blue-900 .cta-navy:hover,
.bg-ink-950 .cta-orange:hover,
.bg-ink-950 .cta-navy:hover {
  background: #2563EB;
  color: #FFFFFF;
  box-shadow: 0 14px 36px rgba(59,130,246,.6), 0 0 0 1px rgba(147,197,253,.28);
  transform: translateY(-1px);
}

/* Secondary ghost button — visible on dark hero, white border + faint fill */
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.50);
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.85);
  box-shadow: 0 6px 18px rgba(255,255,255,.10);
}

.btn-line {
  background: #fff;
  color: #1E2A57;
  border: 1px solid #E5E7EB;
  transition: border-color .2s, color .2s;
}
.btn-line:hover { border-color: #0A0F1E; color: #0A0F1E; }

/* ---- Marquee (clients / brands) ---- */
.marquee { display: flex; gap: 64px; animation: marquee 35s linear infinite; }
.marquee-pause:hover .marquee { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(0.16,1,0.3,1), transform .6s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---- Underline highlight (box-shadow trick, no gradient) ---- */
.underline-orange { box-shadow: inset 0 -0.3em 0 rgba(30,42,87,.30); padding: 0 2px; }
.underline-navy { box-shadow: inset 0 -0.3em 0 rgba(30,42,87,.18); padding: 0 2px; }

/* On dark navy sections, use a vivid blue underline so the highlight pops against navy */
.page-hero .underline-orange,
.bg-brand-blue-950 .underline-orange,
.bg-brand-blue-900 .underline-orange,
.bg-ink-950 .underline-orange {
  box-shadow: inset 0 -0.32em 0 rgba(59,130,246,.65);
}

/* ---- Product card ---- */
.product-card {
  transition: transform .25s cubic-bezier(0.22,1,0.36,1), box-shadow .25s cubic-bezier(0.22,1,0.36,1), border-color .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(30,42,87,.16); }

/* ---- Category card hover ---- */
.cat-card { transition: transform .25s, box-shadow .25s, border-color .2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30,42,87,.12); }

/* ---- No-scrollbar utility ---- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ---- Mega menu ---- */
.mega-trigger:hover .mega-panel,
.mega-panel:hover { display: block; }

/* ---- Brand strip rows ---- */
.brand-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border: 1px solid #E5E7EB; border-radius: 14px; overflow: hidden; background: #fff; }
.brand-row > * { padding: 24px 16px; display: flex; align-items: center; justify-content: center; border-right: 1px solid #E5E7EB; transition: background .2s; }
.brand-row > *:last-child { border-right: none; }
.brand-row > *:hover { background: #F8FAFC; }
@media (max-width: 1024px) { .brand-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .brand-row > *:nth-child(3n) { border-right: none; } .brand-row > *:nth-child(n+4) { border-top: 1px solid #E5E7EB; } }
@media (max-width: 640px) { .brand-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brand-row > *:nth-child(2n) { border-right: none; } .brand-row > *:nth-child(n+3) { border-top: 1px solid #E5E7EB; } }

/* ---- Hero slider dots ---- */
.dot { width: 8px; height: 8px; border-radius: 9999px; background: rgba(255,255,255,.4); transition: width .25s, background .25s; }
.dot:hover { background: rgba(255,255,255,.7); }
.dot.active { width: 28px; background: #FFFFFF; box-shadow: 0 0 12px rgba(255,255,255,.4); }

/* ---- Ribbon ---- */
.ribbon {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 4px;
  z-index: 2;
}
.ribbon-new { background: #10B981; color: #fff; }
.ribbon-hot { background: #0A0F1E; color: #fff; }
.ribbon-stock { background: #1E2A57; color: #fff; }

/* ---- Sticky filter sidebar ---- */
.sticky-side { position: sticky; top: 92px; }

/* ---- Product image frame (solid surface, no gradient) ---- */
.product-img-frame {
  background: #F8FAFC;
  border-bottom: 1px solid #E5E7EB;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

/* ---- Page hero (solid navy + subtle dot texture for depth, no gradient) ---- */
.page-hero {
  background-color: #1E2A57;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23ffffff' fill-opacity='0.10'/%3E%3C/svg%3E");
  color: #fff; position: relative; overflow: hidden;
}

/* Same subtle texture on any dark navy hero/section */
.bg-brand-blue-950.has-texture,
section.bg-brand-blue-950 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23ffffff' fill-opacity='0.10'/%3E%3C/svg%3E");
}

/* ---- Spec table ---- */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; font-size: 14px; border-bottom: 1px solid #E5E7EB; vertical-align: top; }
.spec-table th { color: #6B7280; font-weight: 600; width: 40%; background: #F8FAFC; }
.spec-table td { color: #0A0F1E; font-weight: 500; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
