/**
 * Aktim - CSS Variables
 * Design System: Colors, Typography, Spacing
 *
 * Typography System:
 * - Google Sans Flex: Primary (300-700)
 * - Playfair Display: Decorative italic headers
 *
 * Font Weight Guide:
 * - 300: Light - Large decorative text, subtle labels
 * - 400: Regular - Body text, descriptions
 * - 500: Medium - UI elements, buttons, labels
 * - 600: Semibold - Subheadings, emphasis
 * - 700: Bold - Headings, CTAs
 *
 * @package    Aktim
 * @author     Mustafa Erdinc <mustafaerdinc@me.com>
 * @copyright  2024-2026 Bilgicler Yapi
 * @link       https://mustafaerdinc.com.tr
 */

/* Breakpoints (Mobile-First)
   sm:  576px   min-width: 576px
   md:  768px   min-width: 768px
   lg:  992px   min-width: 992px
   xl:  1200px  min-width: 1200px
*/

:root {
  /* ============================================
     COLORS
     ============================================ */
  --color-primary: #9a7744;
  --color-primary-dark: #7d6038;
  --color-primary-light: #b8956a;

  --color-secondary: #5b5d5f;
  --color-secondary-dark: #454749;

  --color-white: #ffffff;
  --color-black: #000000;

  --color-text: #1a1a1a;
  --color-text-secondary: #4a4a4a;
  --color-text-muted: #6b6b6b;
  --color-text-light: #999999;

  --color-bg: #ffffff;
  --color-bg-alt: #f8f8f8;
  --color-bg-dark: #1a1a1a;
  --color-mobile-bg: #1a1a1a;

  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-dark: rgba(255, 255, 255, 0.1);

  /* ============================================
     TYPOGRAPHY - Font Families
     ============================================ */
  --font-primary: 'Google Sans Flex', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Legacy alias */
  --font-family: var(--font-primary);

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

  /* ============================================
     TYPOGRAPHY - Font Sizes (Mobile First)
     Responsive scale using clamp()
     ============================================ */

  /* Display - Hero headlines */
  --text-display: clamp(2.5rem, 5vw + 1rem, 4.5rem);      /* 40px → 72px */

  /* Headings */
  --text-h1: clamp(2rem, 4vw + 0.5rem, 3.5rem);           /* 32px → 56px */
  --text-h2: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);       /* 28px → 44px */
  --text-h3: clamp(1.25rem, 2vw + 0.25rem, 1.75rem);      /* 20px → 28px */
  --text-h4: clamp(1.125rem, 1.5vw + 0.25rem, 1.375rem);  /* 18px → 22px */

  /* Body */
  --text-lg: clamp(1.0625rem, 0.5vw + 0.9rem, 1.125rem);  /* 17px → 18px */
  --text-base: clamp(0.9375rem, 0.25vw + 0.875rem, 1rem); /* 15px → 16px */
  --text-sm: clamp(0.8125rem, 0.25vw + 0.75rem, 0.875rem);/* 13px → 14px */
  --text-xs: clamp(0.6875rem, 0.25vw + 0.625rem, 0.75rem);/* 11px → 12px */

  /* Special - Decorative italic headers */
  --text-decorative: clamp(1.5rem, 2.5vw + 0.5rem, 2.5rem); /* 24px → 40px */

  /* ============================================
     TYPOGRAPHY - Line Heights
     ============================================ */
  --leading-none: 1;
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --leading-loose: 1.8;

  /* ============================================
     TYPOGRAPHY - Letter Spacing
     ============================================ */
  --tracking-tighter: -0.03em;
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  /* ============================================
     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 */

  /* ============================================
     TRANSITIONS
     ============================================ */
  --transition-fast: 0.15s ease;
  --transition-medium: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* ============================================
     BORDER RADIUS
     ============================================ */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Legacy aliases */
  --border-radius-sm: var(--radius-sm);
  --border-radius-md: var(--radius-md);
  --border-radius-lg: var(--radius-lg);
  --border-radius-pill: var(--radius-full);

  /* ============================================
     SHADOWS
     ============================================ */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);

  /* ============================================
     Z-INDEX
     ============================================ */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-fixed: 30;
  --z-modal-backdrop: 40;
  --z-modal: 50;
  --z-popover: 60;
  --z-tooltip: 70;
}

/* ============================================
   DARK MODE OVERRIDES (for dark sections)
   ============================================ */
.fp-section--dark,
[data-theme="dark"] {
  --color-text: #ffffff;
  --color-text-secondary: #cccccc;
  --color-text-muted: #999999;
  --color-text-light: #666666;
  --color-bg: #1a1a1a;
  --color-border: rgba(255, 255, 255, 0.1);
}
