/* ==========================================================================
   Shivba Graphics - Core Stylesheet & Design System
   Owner: Akshad Deshmukh | Sinnar, Maharashtra (+91 9970833003)
   ========================================================================== */

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

:root {
  /* Logo-Inspired Spectrum Color Palette (Shivba Graphics) */
  --primary: #0F172A;          /* Deep Midnight Base */
  --primary-light: #1E293B;    /* Slate Navy */
  --primary-dark: #0A0E17;     /* Darkest Obsidian */

  /* Logo Ribbon Accents */
  --accent: #0284C7;           /* Vibrant Ocean / Cyan Blue (logo middle curve) */
  --accent-hover: #0369A1;
  --accent-light: #F0F9FF;      /* Clean sky tint */

  --logo-teal: #0D9488;        /* Teal / Emerald Cyan (logo upper ribbon) */
  --logo-magenta: #C026D3;     /* Royal Magenta / Violet (logo lower ribbon) */
  --logo-magenta-hover: #A21CAF;
  --logo-orange: #F97316;      /* Sunset Orange (logo bottom curve) */
  --logo-orange-hover: #EA580C;
  --logo-lime: #84CC16;        /* Lime Green (logo top loop & dot) */

  --secondary: #F97316;        /* Warm Sunset Orange / Amber */
  --secondary-hover: #EA580C;
  --secondary-light: #FFF7ED;

  /* Spectrum Gradients matching the Logo */
  --gradient-logo: linear-gradient(135deg, #84CC16 0%, #06B6D4 25%, #0284C7 50%, #C026D3 75%, #F97316 100%);
  --gradient-primary: linear-gradient(135deg, #0284C7 0%, #7C3AED 50%, #C026D3 100%);
  --gradient-cta: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  --gradient-hero: linear-gradient(135deg, #0A0E17 0%, #111827 50%, #1E1B4B 100%);

  --success: #10B981;
  --whatsapp: #25D366;         /* Official WhatsApp Green */
  --whatsapp-hover: #1ebe5d;
  --danger: #EF4444;

  /* Neutrals */
  --bg-main: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-alt: #F1F5F9;
  --card-bg: #FFFFFF;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.35);
  --shadow-spectrum: 0 8px 25px rgba(192, 38, 211, 0.28);

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: all 0.15s ease;
  --transition: all 0.25s ease-in-out;
  --transition-slow: all 0.4s ease;

  /* Container */
  --container-max: 1240px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

/* Universal SVG Icon helper */
.svg-icon {
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-sm {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-bg-subtle {
  background-color: var(--bg-subtle);
}

.section-bg-alt {
  background-color: var(--bg-alt);
}

.section-bg-dark {
  background-color: var(--primary);
  color: #FFFFFF;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-badge.badge-amber {
  background: #FEF3C7;
  color: #B45309;
}

.section-badge.badge-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #93C5FD;
}

.section-title {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.section-bg-dark .section-title {
  color: #FFFFFF;
}

.section-bg-dark .section-subtitle {
  color: #94A3B8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369A1 0%, #6D28D9 50%, #A21CAF 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(192, 38, 211, 0.4);
}

.btn-secondary {
  background: var(--gradient-cta);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
  transform: translateY(-2px);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.btn-outline {
  border: 1.5px solid var(--border);
  background-color: #FFFFFF;
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: var(--accent-light);
}

.btn-outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #FFFFFF;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
}

/* Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Badges */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
}

.tag-bestseller {
  background: #FEF3C7;
  color: #B45309;
}

.tag-new {
  background: #DCFCE7;
  color: #15803D;
}

.tag-custom {
  background: #EFF6FF;
  color: #1D4ED8;
}

.tag-express {
  background: #FEE2E2;
  color: #B91C1C;
}

/* Animations */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease forwards;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .section-header {
    margin-bottom: 2.5rem;
  }
}
