/* ======================================================
   JAISWAL FASHION — Global Design System
   Theme: Premium Ivory + Deep Navy (Scheme 1)
   ====================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,700;0,800;0,900;1,700&family=Barlow:wght@400;500;600&display=swap');

/* ==================== CSS Variables ==================== */
:root {
  /* Primary Colors - Deep Navy */
  --gold: #1B2A4A;
  --gold-light: #2A3F6F;
  --gold-dark: #0F1B30;
  --gold-glow: rgba(27, 42, 74, 0.18);
  --gold-subtle: rgba(27, 42, 74, 0.07);

  /* Accent - Gold */
  --accent: #D4A853;
  --accent-light: #E8C070;
  --accent-dark: #B8892E;
  --accent-glow: rgba(212, 168, 83, 0.2);
  --accent-subtle: rgba(212, 168, 83, 0.1);

  /* CTA Red */
  --cta: #E8342A;
  --cta-hover: #C82820;

  /* Backgrounds - Warm Ivory */
  --bg-primary: #F8F7F4;
  --bg-secondary: #F0EDE6;
  --bg-tertiary: #E6E0D5;
  --bg-card: rgba(27, 42, 74, 0.04);
  --bg-card-hover: rgba(27, 42, 74, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.80);
  --bg-glass-strong: rgba(255, 255, 255, 0.97);
  --bg-input: rgba(27, 42, 74, 0.05);

  /* Text */
  --text-white: #1a1f2e;
  --text-light: #2a3248;
  --text-secondary: #5c6478;
  --text-muted: #8a9099;
  --text-gold: var(--accent);

  /* Borders */
  --border-subtle: #DDD8CE;
  --border-light: rgba(27, 42, 74, 0.12);
  --border-medium: rgba(27, 42, 74, 0.22);
  --border-gold: rgba(212, 168, 83, 0.25);
  --border-gold-strong: rgba(212, 168, 83, 0.5);
  --border: #d8d2c6;

  /* Status Colors */
  --success: #27ae60;
  --error: #e8342a;
  --warning: #D4A853;
  --info: #2A3F6F;

  /* Spacing Scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Typography */
  --font-body: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
  --font-display: 'Barlow Condensed', 'Barlow', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;
  --fs-7xl: 4.5rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(27, 42, 74, 0.10);
  --shadow-md: 0 4px 16px rgba(27, 42, 74, 0.12);
  --shadow-lg: 0 10px 40px rgba(27, 42, 74, 0.15);
  --shadow-xl: 0 25px 60px rgba(27, 42, 74, 0.20);
  --shadow-glow: 0 0 30px var(--gold-glow);
  --shadow-glow-sm: 0 0 15px var(--gold-glow);

  /* Transitions */
  --ease-fast: 150ms ease;
  --ease-base: 300ms ease;
  --ease-slow: 500ms ease;
  --ease-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-navbar: 300;
  --z-modal-bg: 400;
  --z-modal: 500;
  --z-toast: 600;
  --z-tooltip: 700;

  /* Container */
  --container-max: 1280px;
  --container-pad: 24px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-white);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: none;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--ease-fast); }
button { font-family: inherit; cursor: pointer; border: none; outline: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; outline: none; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }

/* ==================== Scrollbar ==================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: var(--radius-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ==================== Selection ==================== */
::selection { background: var(--gold); color: #F8F7F4; }

/* ==================== Container ==================== */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 var(--container-pad); }
.container-lg { max-width: 1440px; margin: 0 auto; padding: 0 var(--container-pad); }

/* ==================== Section ==================== */
.section { padding: var(--sp-20) 0; }
.section-header { text-align: center; margin-bottom: var(--sp-16); }

.section-badge {
  display: inline-block;
  padding: var(--sp-2) var(--sp-5);
  background: var(--accent-subtle);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--accent-dark);
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-4);
}

.section-title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  margin-bottom: var(--sp-4);
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 60%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== Typography ==================== */
.text-gold { color: var(--accent); }
.text-gradient {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-muted { color: var(--text-muted); }

/* ==================== Animations ==================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 20px var(--gold-glow); } 50% { box-shadow: 0 0 40px var(--gold-glow), 0 0 60px rgba(27, 42, 74, 0.12); } }
@keyframes heartBeat { 0% { transform: scale(1); } 25% { transform: scale(1.3); } 50% { transform: scale(1); } 75% { transform: scale(1.3); } 100% { transform: scale(1); } }

.animate-fade-in { animation: fadeIn 0.6s ease forwards; }
.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }
.animate-fade-down { animation: fadeInDown 0.5s ease forwards; }
.animate-fade-left { animation: fadeInLeft 0.6s ease forwards; }
.animate-fade-right { animation: fadeInRight 0.6s ease forwards; }
.animate-scale-in { animation: scaleIn 0.5s ease forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }

.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 200ms; }
.delay-3 { animation-delay: 300ms; }
.delay-4 { animation-delay: 400ms; }
.delay-5 { animation-delay: 500ms; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ==================== Utility Classes ==================== */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: var(--sp-1); }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }
.grid { display: grid; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.pointer { cursor: pointer; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
  :root { --container-pad: 20px; }
  .section-title { font-size: var(--fs-3xl); }
}
@media (max-width: 768px) {
  :root { --container-pad: 16px; }
  html { font-size: 15px; }
  .section { padding: var(--sp-16) 0; }
  .section-header { margin-bottom: var(--sp-10); }
  .section-title { font-size: var(--fs-2xl); }
  .section-subtitle { font-size: 13px; }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  .section { padding: var(--sp-12) 0; }
  .section-header { margin-bottom: var(--sp-8); }
  .section-title { font-size: var(--fs-xl); }
  .section-subtitle { font-size: 12px; }
}
