﻿/* ============================================
   SIRAJ DAIRY FARM â€” Design Tokens
   Premium White + Gold + Deep Green Theme
   ============================================ */

:root {
  /* â”€â”€ Primary Colors â”€â”€ */
  --color-primary: #CF1754;
  --color-primary-light: #E0356D;
  --color-primary-lighter: #F05688;
  --color-primary-dark: #800A31;
  --color-primary-rgb: 207, 23, 84;

  /* â”€â”€ Gold Accents â”€â”€ */
  --color-gold: #C9A84C;
  --color-gold-light: #D4AF37;
  --color-gold-dark: #A68A3E;
  --color-gold-rgb: 201, 168, 76;
  --gradient-gold: linear-gradient(135deg, #C9A84C, #D4AF37, #E8C547);
  --gradient-gold-hover: linear-gradient(135deg, #D4AF37, #E8C547, #F0D860);

  /* â”€â”€ Neutrals â”€â”€ */
  --color-cream: #FAFAF5;
  --color-warm-white: #FFF8F0;
  --color-off-white: #F5F1EB;
  --color-light-green: #FDE8EE;
  --color-bg: #FFFFFF;
  --color-bg-alt: #FAFAF5;

  /* â”€â”€ Text Colors â”€â”€ */
  --color-text: #2C2C2C;
  --color-text-secondary: #555555;
  --color-text-light: #888888;
  --color-text-on-dark: #F0EDE8;
  --color-text-on-primary: #FFFFFF;

  /* â”€â”€ Semantic Colors â”€â”€ */
  --color-success: #27AE60;
  --color-error: #E74C3C;
  --color-warning: #F39C12;
  --color-info: #3498DB;
  --color-whatsapp: #25D366;

  /* â”€â”€ Gradients â”€â”€ */
  --gradient-primary: linear-gradient(135deg, #CF1754 0%, #E0356D 100%);
  --gradient-primary-dark: linear-gradient(135deg, #800A31 0%, #CF1754 100%);
  --gradient-hero-overlay: linear-gradient(180deg, rgba(128,10,49,0.7) 0%, rgba(207,23,84,0.5) 50%, rgba(128,10,49,0.8) 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(250,250,245,0.95) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);

  /* â”€â”€ Typography â”€â”€ */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-heading: 'Outfit', 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  /* â”€â”€ Font Sizes (clamp for fluid typography) â”€â”€ */
  --fs-hero: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  --fs-h1: clamp(2rem, 4vw + 0.5rem, 3.5rem);
  --fs-h2: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
  --fs-h3: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
  --fs-h4: clamp(1.1rem, 1.5vw + 0.5rem, 1.35rem);
  --fs-body: clamp(0.95rem, 1vw + 0.25rem, 1.1rem);
  --fs-body-lg: clamp(1.05rem, 1.2vw + 0.3rem, 1.25rem);
  --fs-small: clamp(0.8rem, 0.9vw + 0.2rem, 0.9rem);
  --fs-xs: 0.75rem;
  --fs-tag: 0.7rem;

  /* â”€â”€ Font Weights â”€â”€ */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;

  /* â”€â”€ Line Heights â”€â”€ */
  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  /* â”€â”€ Letter Spacing â”€â”€ */
  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;
  --ls-widest: 0.2em;

  /* â”€â”€ Spacing (8px grid) â”€â”€ */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  --space-4xl: 6rem;     /* 96px */
  --space-5xl: 8rem;     /* 128px */

  /* â”€â”€ Section Padding â”€â”€ */
  --section-py: clamp(4rem, 8vw, 8rem);
  --section-px: clamp(1rem, 4vw, 2rem);

  /* â”€â”€ Container â”€â”€ */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1400px;

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

  /* â”€â”€ Shadows â”€â”€ */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 50px rgba(0,0,0,0.15);
  --shadow-2xl: 0 24px 60px rgba(0,0,0,0.2);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.3);
  --shadow-green: 0 4px 20px rgba(207, 23, 84, 0.2);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 8px 32px rgba(0,0,0,0.12);

  /* â”€â”€ Transitions â”€â”€ */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);

  /* â”€â”€ Z-Index Scale â”€â”€ */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-toast: 800;
  --z-max: 9999;

  /* â”€â”€ Borders â”€â”€ */
  --border-light: 1px solid rgba(0,0,0,0.06);
  --border-medium: 1px solid rgba(0,0,0,0.1);
  --border-gold: 1px solid var(--color-gold);
  --border-gold-light: 1px solid rgba(201, 168, 76, 0.3);
}

/* â”€â”€ Dark section overrides â”€â”€ */
[data-theme="dark"],
.section-dark {
  --color-bg: #800A31;
  --color-bg-alt: #CF1754;
  --color-text: #F0EDE8;
  --color-text-secondary: #C8C4BE;
  --shadow-card: 0 2px 16px rgba(0,0,0,0.3);
  --shadow-card-hover: 0 8px 32px rgba(0,0,0,0.4);
}

