/**
 * Ghaya Studio — Design System Tokens
 * Theme: Ghaya Dentist
 * Positioning: Elite Healthcare & Aesthetic Practices
 *
 * NOTE: CSS Custom Properties ONLY. No hardcoded selectors or rules.
 */

:root {
  /* ==========================================================================
     #PALETTE: Primary Brand (Medical Deep Teal & Mint Accents)
     ========================================================================== */
  --gh-color-primary: #0e5a66;
  --gh-color-primary-hover: #0a4852;
  --gh-color-primary-active: #083c44;
  --gh-color-primary-light: #dcebeb;
  --gh-color-accent-mint: #9fded8;
  --gh-color-accent-gold: #f0a93b;

  /* ==========================================================================
     #PALETTE: Neutrals & Surfaces
     ========================================================================== */
  --gh-color-bg: #f3f5f4;
  --gh-color-surface: #ffffff;
  --gh-color-surface-subtle: #eaeeed;
  --gh-color-surface-muted: #e5eae9;

  /* ==========================================================================
     #PALETTE: Text & Content
     ========================================================================== */
  --gh-color-text-main: #0c1a1d;
  --gh-color-text-body: #44555a;
  --gh-color-text-muted: #5e6c73;
  --gh-color-text-dim: #8b999c;
  --gh-color-text-inverse: #ffffff;

  /* ==========================================================================
     #PALETTE: Borders & Dividers
     ========================================================================== */
  --gh-color-border-subtle: #0c1a1d1a;
  --gh-color-border-hairline: rgba(12, 26, 29, 0.08);
  --gh-color-border-medium: #b9c4c6;
  --gh-color-border-strong: rgba(12, 26, 29, 0.16);

  /* ==========================================================================
     #TYPOGRAPHY: Families
     ========================================================================== */
  --gh-font-sans: "IBM Plex Sans Arabic", "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Arabic", sans-serif;
  --gh-font-mono: "Geist Mono", monospace;

  /* ==========================================================================
     #TYPOGRAPHY: Fluid Scale (Mobile 360px -> Desktop 1440px)
     ========================================================================== */
  --gh-text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);      /* 12px -> 13px */
  --gh-text-sm: clamp(0.84375rem, 0.8rem + 0.22vw, 0.9375rem);   /* 13.5px -> 15px */
  --gh-text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);    /* 15px -> 17px */
  --gh-text-md: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);         /* 17px -> 20px */
  --gh-text-lg: clamp(1.25rem, 1.15rem + 0.6vw, 1.5625rem);       /* 20px -> 25px */
  --gh-text-xl: clamp(1.5rem, 1.35rem + 0.9vw, 2rem);             /* 24px -> 32px */
  --gh-text-2xl: clamp(1.875rem, 1.6rem + 1.5vw, 2.625rem);       /* 30px -> 42px */
  --gh-text-3xl: clamp(2.25rem, 1.85rem + 2.25vw, 3.5rem);        /* 36px -> 56px */
  --gh-text-hero: clamp(2.625rem, 1.8rem + 4.5vw, 5.25rem);       /* 42px -> 84px */

  /* ==========================================================================
     #TYPOGRAPHY: Weights & Leading
     ========================================================================== */
  --gh-font-light: 300;
  --gh-font-regular: 400;
  --gh-font-medium: 500;
  --gh-font-semibold: 600;
  --gh-font-bold: 700;

  --gh-leading-none: 1;
  --gh-leading-tight: 1.15;
  --gh-leading-snug: 1.3;
  --gh-leading-normal: 1.6;
  --gh-leading-relaxed: 1.8;

  /* ==========================================================================
     #SPACING: Fluid Scale
     ========================================================================== */
  --gh-space-3xs: 4px;
  --gh-space-2xs: 8px;
  --gh-space-xs: 12px;
  --gh-space-sm: 16px;
  --gh-space-md: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);   /* 20px -> 28px */
  --gh-space-lg: clamp(1.75rem, 1.4rem + 1.75vw, 2.5rem);    /* 28px -> 40px */
  --gh-space-xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);          /* 40px -> 64px */
  --gh-space-2xl: clamp(3.5rem, 2.8rem + 3.5vw, 5.5rem);     /* 56px -> 88px */
  --gh-space-3xl: clamp(4.5rem, 3.5rem + 5vw, 7.5rem);       /* 72px -> 120px */
  --gh-space-section: clamp(4.5rem, 3.5rem + 5vw, 7.5rem);   /* Section vertical padding */

  /* ==========================================================================
     #LAYOUT & CONTAINERS
     ========================================================================== */
  --gh-container-max: 1320px;
  --gh-container-narrow: 1040px;
  --gh-container-pad: clamp(1rem, 0.75rem + 1.25vw, 2.25rem); /* 16px -> 36px */
  --gh-frame-pad: clamp(8px, 1.2vw, 16px);                     /* Outer canvas frame padding */

  /* ==========================================================================
     #RADII: Curvature System
     ========================================================================== */
  --gh-radius-xs: 6px;
  --gh-radius-sm: 10px;
  --gh-radius-md: 16px;
  --gh-radius-lg: 22px;
  --gh-radius-xl: clamp(20px, 2.2vw, 28px);                   /* Luxury canvas & hero cards */
  --gh-radius-pill: 9999px;

  /* ==========================================================================
     #ELEVATION & SHADOWS
     ========================================================================== */
  --gh-shadow-subtle: 0 2px 6px rgba(12, 26, 29, 0.06), 0 1px 2px rgba(12, 26, 29, 0.03);
  --gh-shadow-card: 0 8px 24px -4px rgba(12, 26, 29, 0.08), 0 2px 6px -1px rgba(12, 26, 29, 0.03);
  --gh-shadow-floating: 0 16px 36px -8px rgba(12, 26, 29, 0.14), 0 4px 12px -2px rgba(12, 26, 29, 0.04);
  --gh-shadow-glass: rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(0, 0, 0, 0.05) 0px 1px 0px 0px, rgba(255, 255, 255, 0.15) 0px 0px 0px 1px;
  --gh-ring-primary: 0 0 0 3px rgba(14, 90, 102, 0.18);
  --gh-ring-live: 0 0 0 3px rgba(34, 197, 94, 0.25);

  /* ==========================================================================
     #BLURS & FILTERS
     ========================================================================== */
  --gh-blur-glass: blur(10px);
  --gh-blur-nav: blur(16px);

  /* ==========================================================================
     #TRANSITIONS & EASING
     ========================================================================== */
  --gh-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gh-ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --gh-duration-fast: 150ms;
  --gh-duration-base: 250ms;
  --gh-duration-slow: 450ms;
  --gh-duration-reveal: 0.9s;
  --gh-transition-fast: var(--gh-duration-fast) var(--gh-ease-out);
  --gh-transition-base: var(--gh-duration-base) var(--gh-ease-out);
  --gh-transition-slow: var(--gh-duration-slow) var(--gh-ease-out);
  --gh-transition-reveal: var(--gh-duration-reveal) var(--gh-ease-luxury);

  /* ==========================================================================
     #Z-INDEX LAYERING
     ========================================================================== */
  --gh-z-base: 1;
  --gh-z-card-overlay: 10;
  --gh-z-sticky: 100;
  --gh-z-header: 1000;
  --gh-z-modal: 2000;
}
