/* =====================================================
   KAAMVALI.COM — GLOBAL DESIGN SYSTEM
   Version: 1.0 | Brand: Hot Pink + Deep Navy
   ===================================================== */

/* ---- Google Fonts Import ---- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* =====================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ===================================================== */
:root {
  /* --- Brand Colors --- */
  --pink:          #E91E8C;
  --pink-dark:     #C0166F;
  --pink-deeper:   #9B0F57;
  --pink-light:    #FDE8F4;
  --pink-lighter:  #FEF4FA;

  --navy:          #1A2B6B;
  --navy-mid:      #2D3F8A;
  --navy-light:    #EEF1FA;
  --navy-lighter:  #F5F7FD;

  --white:         #FFFFFF;
  --off-white:     #F8F9FB;

  /* --- Neutral Colors --- */
  --gray-50:       #F9FAFB;
  --gray-100:      #F3F4F6;
  --gray-200:      #E5E7EB;
  --gray-300:      #D1D5DB;
  --gray-400:      #9CA3AF;
  --gray-500:      #6B7280;
  --gray-600:      #4B5563;
  --gray-700:      #374151;
  --gray-800:      #1F2937;
  --gray-900:      #111827;

  /* --- Semantic Colors --- */
  --success:       #22C55E;
  --success-light: #DCFCE7;
  --warning:       #F59E0B;
  --warning-light: #FEF3C7;
  --error:         #EF4444;
  --error-light:   #FEE2E2;
  --info:          #3B82F6;
  --info-light:    #DBEAFE;

  /* --- Gradient Presets --- */
  --grad-pink:     linear-gradient(135deg, #E91E8C 0%, #C0166F 100%);
  --grad-navy:     linear-gradient(135deg, #1A2B6B 0%, #2D3F8A 100%);
  --grad-hero:     linear-gradient(135deg, #1A2B6B 0%, #2D3F8A 60%, #E91E8C 100%);
  --grad-soft:     linear-gradient(135deg, #FDE8F4 0%, #EEF1FA 100%);

  /* --- Typography --- */
  --font-display:  'Nunito', sans-serif;
  --font-body:     'Inter', sans-serif;

  --text-xs:       0.75rem;    /* 12px */
  --text-sm:       0.875rem;   /* 14px */
  --text-base:     1rem;       /* 16px */
  --text-lg:       1.125rem;   /* 18px */
  --text-xl:       1.25rem;    /* 20px */
  --text-2xl:      1.5rem;     /* 24px */
  --text-3xl:      1.875rem;   /* 30px */
  --text-4xl:      2.25rem;    /* 36px */
  --text-5xl:      3rem;       /* 48px */
  --text-6xl:      3.75rem;    /* 60px */

  /* --- Font Weights --- */
  --fw-regular:    400;
  --fw-medium:     500;
  --fw-semibold:   600;
  --fw-bold:       700;
  --fw-extrabold:  800;
  --fw-black:      900;

  /* --- Line Heights --- */
  --lh-tight:      1.2;
  --lh-snug:       1.375;
  --lh-normal:     1.5;
  --lh-relaxed:    1.625;
  --lh-loose:      2;

  /* --- Spacing Scale --- */
  --space-1:       0.25rem;   /* 4px  */
  --space-2:       0.5rem;    /* 8px  */
  --space-3:       0.75rem;   /* 12px */
  --space-4:       1rem;      /* 16px */
  --space-5:       1.25rem;   /* 20px */
  --space-6:       1.5rem;    /* 24px */
  --space-8:       2rem;      /* 32px */
  --space-10:      2.5rem;    /* 40px */
  --space-12:      3rem;      /* 48px */
  --space-16:      4rem;      /* 64px */
  --space-20:      5rem;      /* 80px */
  --space-24:      6rem;      /* 96px */
  --space-32:      8rem;      /* 128px */

  /* --- Border Radius --- */
  --radius-sm:     0.25rem;   /* 4px  */
  --radius-md:     0.5rem;    /* 8px  */
  --radius-lg:     0.75rem;   /* 12px */
  --radius-xl:     1rem;      /* 16px */
  --radius-2xl:    1.5rem;    /* 24px */
  --radius-3xl:    2rem;      /* 32px */
  --radius-full:   9999px;

  /* --- Shadows --- */
  --shadow-xs:     0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm:     0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md:     0 4px 20px rgba(0, 0, 0, 0.10);
  --shadow-lg:     0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl:     0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-pink:   0 8px 30px rgba(233, 30, 140, 0.30);
  --shadow-navy:   0 8px 30px rgba(26, 43, 107, 0.25);

  /* --- Transitions --- */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* --- Layout --- */
  --container-max:  1200px;
  --container-xl:   1400px;
  --nav-height:     72px;

  /* --- Z-Index --- */
  --z-base:        1;
  --z-dropdown:    100;
  --z-sticky:      200;
  --z-overlay:     300;
  --z-modal:       400;
  --z-toast:       500;
}


/* =====================================================
   2. RESET & BASE
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--gray-700);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--navy);
}


/* =====================================================
   3. TYPOGRAPHY SYSTEM
   ===================================================== */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, var(--text-6xl));
  font-weight: var(--fw-black);
  line-height: 1.1;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, var(--text-5xl));
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, var(--text-4xl));
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, var(--text-3xl));
  font-weight: var(--fw-bold);
}

.heading-md {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, var(--text-2xl));
  font-weight: var(--fw-semibold);
}

.body-lg { font-size: var(--text-lg); line-height: var(--lh-relaxed); }
.body-base { font-size: var(--text-base); line-height: var(--lh-relaxed); }
.body-sm { font-size: var(--text-sm); line-height: var(--lh-normal); }

.label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Text Colors */
.text-pink    { color: var(--pink); }
.text-navy    { color: var(--navy); }
.text-white   { color: var(--white); }
.text-gray    { color: var(--gray-500); }
.text-dark    { color: var(--gray-800); }

/* Text Alignment */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }


/* =====================================================
   4. LAYOUT UTILITIES
   ===================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.container-xl {
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

.section-sm {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

/* Section heading block */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--pink-light);
  color: var(--pink-dark);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: var(--fw-extrabold);
  color: var(--navy);
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--gray-500);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--lh-relaxed);
}

.section-header .title-accent {
  color: var(--pink);
}

/* Backgrounds */
.bg-white       { background-color: var(--white); }
.bg-off-white   { background-color: var(--off-white); }
.bg-navy        { background-color: var(--navy); }
.bg-navy-light  { background-color: var(--navy-light); }
.bg-pink-light  { background-color: var(--pink-light); }
.bg-grad-hero   { background: var(--grad-hero); }
.bg-grad-navy   { background: var(--grad-navy); }

/* Flex & Grid */
.flex           { display: flex; }
.flex-col       { flex-direction: column; }
.items-center   { align-items: center; }
.justify-center { justify-content: center; }
.justify-between{ justify-content: space-between; }
.gap-4          { gap: var(--space-4); }
.gap-6          { gap: var(--space-6); }
.gap-8          { gap: var(--space-8); }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* Responsive Grid Breakpoints */
@media (max-width: 992px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

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


/* =====================================================
   5. ANIMATION UTILITIES
   ===================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.08); opacity: 0.85; }
}

@keyframes pulseShadow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 30, 140, 0.4); }
  50%       { box-shadow: 0 0 0 14px rgba(233, 30, 140, 0); }
}

@keyframes rotateText {
  0%   { opacity: 0; transform: translateY(20px); }
  10%  { opacity: 1; transform: translateY(0); }
  80%  { opacity: 1; transform: translateY(0); }
  90%  { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 0; transform: translateY(-20px); }
}

@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Animation Classes */
.animate-fade-up    { animation: fadeInUp 0.6s ease forwards; }
.animate-fade-in    { animation: fadeIn 0.5s ease forwards; }
.animate-scale-in   { animation: scaleIn 0.5s var(--transition-spring) forwards; }

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }


/* =====================================================
   6. RESPONSIVE BREAKPOINTS
   ===================================================== */
@media (max-width: 1024px) {
  :root { --container-max: 960px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --space-20: 3.5rem;
    --space-16: 2.5rem;
    --space-12: 2rem;
    --nav-height: 64px;
  }
  .container,
  .container-xl { padding-left: var(--space-4); padding-right: var(--space-4); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-header { margin-bottom: var(--space-8); }
  .section-header h2 { font-size: 1.65rem; }
  .section-header p { font-size: var(--text-base); }
}

@media (max-width: 480px) {
  :root {
    --space-20: 2.5rem;
    --space-16: 2rem;
    --space-12: 1.5rem;
  }
  .container,
  .container-xl { padding-left: var(--space-4); padding-right: var(--space-4); }
  .section { padding-top: var(--space-12); padding-bottom: var(--space-12); }
  .section-header h2 { font-size: 1.5rem; }
  .section-header .eyebrow { font-size: 11px; }
}

/* Desktop/Mobile text visibility */
.d-none { display: none !important; }
.d-inline { display: inline !important; }
@media (min-width: 992px) {
  .d-lg-inline { display: inline !important; }
  .d-lg-none { display: none !important; }
}

