/* ==========================================================================
   ASHISH TRADERS FIREWORKS (A&T) - CORE DESIGN SYSTEM & STYLES
   Crafted with Agency UI Designer & Agency Frontend Developer Standards
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&family=Fira+Code:wght@400;600&display=swap');

:root {
  /* Color Palette Tokens */
  --bg-dark: #07080d;
  --bg-card: rgba(18, 21, 33, 0.75);
  --bg-card-hover: rgba(28, 33, 52, 0.9);
  --border-subtle: rgba(255, 215, 0, 0.15);
  --border-glow: rgba(255, 179, 0, 0.5);
  
  --gold-primary: #ffb300;
  --gold-light: #ffe082;
  --gold-gradient: linear-gradient(135deg, #fff2a3 0%, #ffb300 50%, #d48800 100%);
  --fire-gradient: linear-gradient(135deg, #ff9100 0%, #ff3d00 50%, #dd2c00 100%);
  --festive-burst: linear-gradient(135deg, #ff007f 0%, #7928ca 50%, #ff0080 100%);
  --green-eco: #00e676;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-gold: #ffd54f;

  /* Typography */
  --font-display: 'Cinzel', serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fira Code', monospace;

  /* Shadows & Glows */
  --glow-gold: 0 0 25px rgba(255, 179, 0, 0.35);
  --glow-fire: 0 0 30px rgba(255, 61, 0, 0.4);
  --glow-green: 0 0 25px rgba(0, 230, 118, 0.3);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.8), 0 0 1px 1px rgba(255, 255, 255, 0.05);

  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(255, 61, 0, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(255, 179, 0, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(121, 40, 202, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #07080d;
}
::-webkit-scrollbar-thumb {
  background: #ffb300;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff9100;
}

/* Typography Helpers */
.font-display { font-family: var(--font-display); }
.font-sans { font-family: var(--font-sans); }
.font-mono { font-family: var(--font-mono); }

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-fire-gradient {
  background: var(--fire-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Glassmorphism Card Utilities */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card), var(--glow-gold);
}

.glass-nav {
  background: rgba(7, 8, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 179, 0, 0.15);
}

/* Golden Sparkle Glow Buttons */
.btn-gold {
  background: var(--gold-gradient);
  color: #07080d;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(255, 179, 0, 0.4);
  transition: var(--transition-smooth);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

.btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 179, 0, 0.6);
  color: #000;
}

.btn-fire {
  background: var(--fire-gradient);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(255, 61, 0, 0.4);
  transition: var(--transition-smooth);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

.btn-fire:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 61, 0, 0.7);
  color: #fff;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-outline-gold:hover {
  background: rgba(255, 179, 0, 0.15);
  border-color: #ffe082;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 179, 0, 0.3);
}

/* Badge Badges */
.badge-eco {
  background: rgba(0, 230, 118, 0.15);
  color: var(--green-eco);
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-brand {
  background: rgba(255, 179, 0, 0.12);
  color: #ffe082;
  border: 1px solid rgba(255, 179, 0, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================================
   SKY SHOT INTRO CINEMATIC OVERLAY
   ========================================================================== */
#skyShotIntroOverlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at 50% 100%, #0d111d 0%, #040508 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 1.2s ease;
  overflow: hidden;
}

#skyShotIntroOverlay.hidden-intro {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#introCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.intro-brand-reveal {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  max-width: 750px;
  opacity: 0;
  transform: scale(0.85);
  transition: all 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.intro-brand-reveal.visible-brand {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.intro-controls {
  position: absolute;
  bottom: 2rem;
  z-index: 20;
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Skip button on intro */
.intro-skip-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.intro-skip-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Background interactive fireworks canvas */
#bgFireworksCanvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  z-index: -1 !important;
  opacity: 0.65;
}

/* Permanent Fixed Background Video Container (Seamless loop behind content) */
.bg-video-container {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  overflow: hidden !important;
  z-index: -2 !important;
  pointer-events: none !important;
}

.bg-video-container video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Ambient Floating Audio Toggle */
.audio-control-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  background: rgba(18, 21, 33, 0.9);
  border: 1px solid var(--border-glow);
  color: var(--gold-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), var(--glow-gold);
  transition: var(--transition-smooth);
}

.audio-control-fab:hover {
  transform: scale(1.1) rotate(10deg);
  background: #ffb300;
  color: #000;
}

/* Floating WhatsApp Quick Order FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 999;
  background: #25d366;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* Infinite Marquee for Partner Brands */
.marquee-container {
  overflow: hidden;
  user-select: none;
  display: flex;
  gap: 1.5rem;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: 1.5rem;
  animation: scrollMarquee 32s linear infinite;
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* Shimmer animation */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer-text {
  background: linear-gradient(90deg, #ffd54f 0%, #ffffff 50%, #ffd54f 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

/* Pulse Glow Animation */
@keyframes firePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 179, 0, 0.4); }
  50% { box-shadow: 0 0 35px rgba(255, 61, 0, 0.7); }
}

.pulse-glow {
  animation: firePulse 3s infinite;
}

/* Modal Drawer for Cart & Estimate */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: rgba(14, 17, 26, 0.98);
  backdrop-filter: blur(25px);
  border-left: 1px solid var(--border-glow);
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Floating WhatsApp & Call Action Buttons (Right Side) */
.floating-actions-container {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.floating-action-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.floating-action-btn:hover {
  transform: scale(1.12) translateY(-2px);
}

.floating-btn-wa {
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
}
.floating-btn-wa:hover {
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

.floating-btn-call {
  background: linear-gradient(135deg, #ff9100 0%, #ff3d00 100%);
  box-shadow: 0 4px 20px rgba(255, 61, 0, 0.45);
}
.floating-btn-call:hover {
  box-shadow: 0 8px 30px rgba(255, 61, 0, 0.7);
}

/* Footer Social Icon Links */
.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.25s ease;
  text-decoration: none;
}

.social-icon-btn:hover {
  background: rgba(255, 179, 0, 0.2);
  border-color: #ffb300;
  color: #ffb300;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255, 179, 0, 0.35);
}

/* Gallery & Lightbox */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s ease;
}

.gallery-card:hover {
  border-color: rgba(255, 179, 0, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 179, 0, 0.2);
}

.gallery-card img {
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

