/*
Theme Name: Sugi Fireworks Festive Store
Theme URI: https://sugifireworks.com
Author: Sugi Fireworks Team
Author URI: https://sugifireworks.com
Description: A premium, festive, high-performance WordPress theme for Diwali fireworks online store with built-in product catalog, custom cart, checkout, UPI QR & Bank Transfer details, tax invoice generator, and email notifications. Fully compatible with WordPress 7.1 and PHP 8.3.
Version: 7.1.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sugi-crackers
Tags: e-commerce, festive, diwali, fireworks, custom-colors, custom-menu, custom-logo, featured-images, theme-options
*/

/* --- FESTIVE COLOR SYSTEM & CUSTOM CSS VARIABLES --- */
:root {
  --diwali-red: #d32f2f;
  --diwali-dark-red: #8e0000;
  --diwali-gold: #ffd700;
  --diwali-dark-gold: #c7a500;
  --diwali-orange: #ff6f00;
  --diwali-dark-bg: #121212;
  --diwali-card-bg: #1e1e1e;
  --diwali-border: #333333;
  --diwali-text-muted: #aaaaaa;
}

body {
  background-color: var(--diwali-dark-bg);
  color: #e0e0e0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

/* --- FESTIVE ANNOUNCEMENT MARQUEE TICKER --- */
.diwali-ticker {
  background: linear-gradient(90deg, #b71c1c, #ff6f00, #b71c1c);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  color: #ffffff;
  padding: 8px 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- NAVBAR STYLING --- */
.navbar-diwali {
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #333333;
}

.navbar-diwali .nav-link {
  color: #e0e0e0 !important;
  font-weight: 600;
  padding: 8px 16px !important;
  transition: all 0.3s ease;
}

.navbar-diwali .nav-link:hover,
.navbar-diwali .nav-link.active {
  color: var(--diwali-gold) !important;
  transform: translateY(-1px);
}

/* --- FESTIVE CARDS & GLASSMORPHISM --- */
.card-festive {
  background: rgba(30, 30, 30, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--diwali-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-festive:hover {
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 12px 40px 0 rgba(255, 215, 0, 0.15);
}

/* --- FESTIVE BUTTONS --- */
.btn-festive {
  background: linear-gradient(135deg, #ff8f00 0%, #d84315 100%);
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  padding: 10px 24px;
  box-shadow: 0 4px 15px rgba(216, 67, 21, 0.4);
  transition: all 0.3s ease;
}

.btn-festive:hover {
  background: linear-gradient(135deg, #ffa000 0%, #f4511e 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 81, 30, 0.6);
}

.product-code-pill {
  background: rgba(255, 215, 0, 0.15);
  color: var(--diwali-gold);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.badge-noise-soundless { background-color: #2e7d32; color: #fff; }
.badge-noise-medium { background-color: #f57c00; color: #fff; }
.badge-noise-high { background-color: #c62828; color: #fff; }
.badge-noise-eco { background-color: #00838f; color: #fff; }

/* --- TIMELINE TRACKING --- */
.timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 20px 0;
}

.timeline-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 5%;
  width: 90%;
  height: 4px;
  background: #333;
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #212121;
  border: 2px solid #555;
  color: #777;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 1.1rem;
}

.step-item.completed .step-icon {
  background: #2e7d32;
  border-color: #4caf50;
  color: #fff;
}

.step-item.completed .step-text {
  color: var(--diwali-gold);
}
