/* ==========================================================================
   LUA Wedding Agency - Design System Variables
   ========================================================================== */

:root {
  /* -------------------------------------------------------------------------
     Colors - LUA Palette
     ------------------------------------------------------------------------- */

  /* Warm Tones (Gold / Brown) */
  --color-cream: #EFEEE9;
  --color-sand: #E2CA8C;
  --color-gold: #E1A81B;
  --color-bronze: #935F10;
  --color-brown: #593C0F;

  /* Cool Tones (Blues) */
  --color-ice-blue: #C9DCED;
  --color-sky-blue: #8EA8CB;
  --color-steel-blue: #536C95;
  --color-navy: #253449;
  --color-deep-navy: #04172F;

  /* Accent Tones (Pink / Burgundy) */
  --color-pearl: #F8F3F0;
  --color-blush: #FAE8E9;
  --color-burgundy: #921C38;
  --color-wine: #7B1830;
  --color-dark-wine: #551624;

  /* Semantic Variables */
  --color-text-primary: var(--color-navy);
  --color-text-heading: var(--color-deep-navy);
  --color-text-light: var(--color-steel-blue);
  --color-text-muted: var(--color-sky-blue);
  --color-background: #FFFFFF;
  --color-background-alt: var(--color-pearl);
  --color-background-warm: var(--color-pearl);
  --color-accent-primary: var(--color-burgundy);
  --color-accent-secondary: var(--color-gold);
  --color-link: var(--color-steel-blue);
  --color-link-hover: var(--color-navy);
  --color-border: var(--color-ice-blue);
  --color-border-light: var(--color-pearl);
  --color-overlay: rgba(4, 23, 47, 0.5);

  /* -------------------------------------------------------------------------
     Typography
     ------------------------------------------------------------------------- */
  /* Font Families */
  --font-heading: 'Prata', serif;
  --font-body: 'Libre Franklin', sans-serif;
  --font-ui: 'Montserrat', sans-serif;

  /* Font Sizes - Desktop */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-md: 1.125rem;     /* 18px */
  --text-lg: 1.25rem;      /* 20px */
  --text-xl: 1.5rem;       /* 24px */
  --text-2xl: 2rem;        /* 32px */
  --text-3xl: 2.5rem;      /* 40px */
  --text-4xl: 3rem;        /* 48px */
  --text-5xl: 3.5rem;      /* 56px */
  --text-6xl: 4.5rem;      /* 72px */

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --leading-relaxed: 1.6;
  --leading-loose: 1.75;

  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;

  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;
  --tracking-widest: 0.2em;

  /* -------------------------------------------------------------------------
     Spacing
     ------------------------------------------------------------------------- */
  --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 */
  --space-40: 10rem;       /* 160px */

  /* -------------------------------------------------------------------------
     Layout
     ------------------------------------------------------------------------- */
  /* Container */
  --container-max: 1200px;
  --container-content: 1120px;
  --container-narrow: 800px;

  /* Padding */
  --padding-x-desktop: 80px;
  --padding-x-tablet: 40px;
  --padding-x-mobile: 20px;

  /* Grid */
  --grid-columns: 12;
  --grid-gutter: 24px;

  /* Section Spacing */
  --section-gap-lg: 160px;
  --section-gap-md: 120px;
  --section-gap-sm: 80px;
  --block-gap: 64px;
  --element-gap: 32px;

  /* -------------------------------------------------------------------------
     Borders & Radius
     ------------------------------------------------------------------------- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --border-width: 1px;
  --border-width-thick: 2px;

  /* -------------------------------------------------------------------------
     Shadows
     ------------------------------------------------------------------------- */
  --shadow-sm: 0 1px 2px rgba(4, 23, 47, 0.04);
  --shadow-md: 0 4px 12px rgba(4, 23, 47, 0.06);
  --shadow-lg: 0 8px 24px rgba(4, 23, 47, 0.08);

  /* -------------------------------------------------------------------------
     Transitions
     ------------------------------------------------------------------------- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-slower: 600ms ease;

  /* Header-specific transitions for synchronized animations */
  --transition-header: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --duration-header: 250ms;

  /* -------------------------------------------------------------------------
     Z-Index
     ------------------------------------------------------------------------- */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;
}

/* ==========================================================================
   Mobile Overrides (360-390px)
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    /* Adjusted spacing for mobile */
    --section-gap-lg: 80px;
    --section-gap-md: 64px;
    --section-gap-sm: 48px;
    --block-gap: 40px;
    --element-gap: 24px;

    /* Typography adjustments */
    --text-6xl: 2.5rem;    /* 40px */
    --text-5xl: 2rem;      /* 32px */
    --text-4xl: 1.75rem;   /* 28px */
    --text-3xl: 1.5rem;    /* 24px */
    --text-2xl: 1.25rem;   /* 20px */
  }
}
