/* ============================================================
 * Reshamgift – CSS Custom Properties (Theme File)
 * This is the SINGLE source of truth for all visual tokens.
 * Editing :root variables instantly updates the entire site.
 * ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* ── Core Colors (LIGHT MODE DEFAULT) ─────────────────────────────────────────── */
  --color-primary:       #C9A96E;    /* Warm Gold */
  --color-primary-dk:    #A8844A;    /* Deep Gold (hover) */
  --color-primary-lt:    #E8D5B0;    /* Light Gold (highlights) */
  --color-primary-glow:  rgba(201, 169, 110, 0.18);

  --color-dark:          #FAF9F6;    /* Deepest background (off-white in light mode) */
  --color-dark-2:        #FFFFFF;    /* Section backgrounds (white) */
  --color-dark-3:        #FFFFFF;    /* Card backgrounds (white) */
  --color-dark-4:        #E2DED5;    /* Borders / subtle dividers */

  --color-light:         #1A1713;    /* Very dark primary text */
  --color-light-2:       #3A362F;    /* Secondary text */
  --color-muted:         #7A7060;    /* Muted / placeholder text */

  --color-accent:        #D4AF37;    /* Secondary accent – shimmer */
  --color-success:       #4CAF50;
  --color-error:         #E57373;
  --color-white:         #ffffff;

  /* ── Gradients ───────────────────────────────────────────── */
  --gradient-gold:       linear-gradient(135deg, #C9A96E 0%, #D4AF37 50%, #A8844A 100%);
  --gradient-gold-light: linear-gradient(135deg, #E8D5B0 0%, #C9A96E 100%);
  --gradient-dark:       linear-gradient(180deg, #FAF9F6 0%, #FFFFFF 100%);
  --gradient-hero:       linear-gradient(135deg, rgba(250,249,246,0.95) 0%, rgba(250,249,246,0.7) 60%, transparent 100%);
  --gradient-card:       linear-gradient(180deg, transparent 40%, rgba(255,255,255,0.95) 100%);

  /* ── Typography ──────────────────────────────────────────── */
  --font-display:        'Cormorant Garamond', Georgia, serif;
  --font-body:           'Inter', 'Helvetica Neue', Arial, sans-serif;

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

  --weight-light:        300;
  --weight-normal:       400;
  --weight-medium:       500;
  --weight-semi:         600;
  --weight-bold:         700;

  --leading-tight:       1.1;
  --leading-snug:        1.3;
  --leading-normal:      1.5;
  --leading-relaxed:     1.7;
  --tracking-tight:      -0.02em;
  --tracking-wide:       0.08em;
  --tracking-widest:     0.2em;

  /* ── Spacing ─────────────────────────────────────────────── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ── Border Radius ───────────────────────────────────────── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-full: 9999px;

  /* ── Shadows ─────────────────────────────────────────────── */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.1);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.1);
  --shadow-xl:   0 16px 64px rgba(0,0,0,0.15);
  --shadow-gold: 0 0 24px rgba(201,169,110,0.3);
  --shadow-glow: 0 0 48px rgba(201,169,110,0.15);

  /* ── Transitions & Animations ────────────────────────────── */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);

  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;
  --duration-slower: 600ms;

  /* ── Layout ──────────────────────────────────────────────── */
  --container-sm:    640px;
  --container-md:    768px;
  --container-lg:    1024px;
  --container-xl:    1280px;
  --container-2xl:   1440px;

  --nav-height:      80px;
  --nav-height-sm:   64px;

  /* ── Z-Index Scale ───────────────────────────────────────── */
  --z-below:   -1;
  --z-base:     0;
  --z-above:   10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-modal:    300;
  --z-toast:    400;
}

[data-theme="dark"] {
  /* ── Dark Mode Overrides ─────────────────────────────────── */
  --color-dark:          #0D0D0D;    /* Deepest background */
  --color-dark-2:        #161616;    /* Section backgrounds */
  --color-dark-3:        #1E1E1E;    /* Card backgrounds */
  --color-dark-4:        #2A2A2A;    /* Borders / subtle dividers */

  --color-light:         #F5F0E8;    /* Warm Ivory primary text */
  --color-light-2:       #D4CEC4;    /* Secondary text */
  --color-muted:         #7A7060;    /* Muted / placeholder text */

  --gradient-dark:       linear-gradient(180deg, #0D0D0D 0%, #161616 100%);
  --gradient-hero:       linear-gradient(135deg, rgba(13,13,13,0.85) 0%, rgba(13,13,13,0.4) 60%, transparent 100%);
  --gradient-card:       linear-gradient(180deg, transparent 40%, rgba(13,13,13,0.95) 100%);

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.6);
  --shadow-xl:   0 16px 64px rgba(0,0,0,0.7);
}
