/*
 * Seacoast Integrative Medicine - Design System
 * CSS Custom Properties (Variables)
 *
 * Color palette extracted from brand logo
 * Design: Award-winning modern aesthetic with coastal theme
 */

:root {
  /* ===================================
     COLOR PALETTE - Teal (Primary)
     ================================= */
  --color-teal-50: #E6F4F6;
  --color-teal-100: #CCE9ED;
  --color-teal-200: #99D3DB;
  --color-teal-300: #66BDC9;
  --color-teal-400: #33A7B7;
  --color-teal-500: #2D7D8E;    /* Primary brand color from logo */
  --color-teal-600: #246371;
  --color-teal-700: #1B4B54;    /* Darker shade */
  --color-teal-800: #123238;
  --color-teal-900: #09181B;

  /* ===================================
     COLOR PALETTE - Gold (Accent)
     ================================= */
  --color-gold-50: #FBF7ED;
  --color-gold-100: #F7EFDB;
  --color-gold-200: #EFDEB7;
  --color-gold-300: #E7CE93;
  --color-gold-400: #DFBD6F;
  --color-gold-500: #D4A747;    /* Primary accent from logo */
  --color-gold-600: #AA8539;
  --color-gold-700: #7F642B;    /* Darker accent */
  --color-gold-800: #55431C;
  --color-gold-900: #2A210E;

  /* ===================================
     COLOR PALETTE - Neutrals
     ================================= */
  --color-white: #FFFFFF;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
  --color-black: #000000;

  /* ===================================
     ATMOSPHERIC GRADIENTS
     Award-winning design technique
     ================================= */
  --gradient-ocean: linear-gradient(
    to bottom,
    rgba(45, 125, 142, 0.08) 0%,
    rgba(45, 125, 142, 0.04) 50%,
    rgba(212, 167, 71, 0.04) 100%
  );

  --gradient-ocean-dark: linear-gradient(
    to bottom,
    rgba(45, 125, 142, 0.15) 0%,
    rgba(27, 75, 84, 0.08) 100%
  );

  --gradient-hero-overlay: linear-gradient(
    to bottom,
    rgba(45, 125, 142, 0.4) 0%,
    rgba(45, 125, 142, 0.6) 50%,
    rgba(27, 75, 84, 0.7) 100%
  );

  --gradient-mesh:
    radial-gradient(at 20% 30%, rgba(45, 125, 142, 0.08), transparent 50%),
    radial-gradient(at 80% 70%, rgba(212, 167, 71, 0.06), transparent 50%),
    radial-gradient(at 50% 50%, rgba(45, 125, 142, 0.04), transparent 70%);

  --gradient-gold-accent: linear-gradient(
    135deg,
    var(--color-gold-400),
    var(--color-gold-600)
  );

  --gradient-teal-accent: linear-gradient(
    135deg,
    var(--color-teal-400),
    var(--color-teal-600)
  );

  /* ===================================
     TYPOGRAPHY - Fluid Scaling
     Uses clamp() for responsive sizes
     ================================= */

  /* Font Sizes */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.825rem + 0.25vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.35rem + 0.75vw, 1.875rem);
  --text-3xl: clamp(1.875rem, 1.65rem + 1.125vw, 2.25rem);
  --text-4xl: clamp(2.25rem, 1.95rem + 1.5vw, 3rem);
  --text-5xl: clamp(3rem, 2.5rem + 2.5vw, 3.75rem);
  --text-6xl: clamp(3.75rem, 3rem + 3.75vw, 4.5rem);

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

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

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

  /* Font Families */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Dancing Script', cursive, serif;

  /* ===================================
     SPACING SYSTEM
     Consistent spacing scale
     ================================= */
  --space-0: 0;
  --space-px: 1px;
  --space-0-5: 0.125rem;    /* 2px */
  --space-1: 0.25rem;        /* 4px */
  --space-1-5: 0.375rem;     /* 6px */
  --space-2: 0.5rem;         /* 8px */
  --space-2-5: 0.625rem;     /* 10px */
  --space-3: 0.75rem;        /* 12px */
  --space-3-5: 0.875rem;     /* 14px */
  --space-4: 1rem;           /* 16px */
  --space-5: 1.25rem;        /* 20px */
  --space-6: 1.5rem;         /* 24px */
  --space-7: 1.75rem;        /* 28px */
  --space-8: 2rem;           /* 32px */
  --space-9: 2.25rem;        /* 36px */
  --space-10: 2.5rem;        /* 40px */
  --space-11: 2.75rem;       /* 44px */
  --space-12: 3rem;          /* 48px */
  --space-14: 3.5rem;        /* 56px */
  --space-16: 4rem;          /* 64px */
  --space-20: 5rem;          /* 80px */
  --space-24: 6rem;          /* 96px */
  --space-28: 7rem;          /* 112px */
  --space-32: 8rem;          /* 128px */

  /* Fluid Section Padding */
  --section-padding-y: clamp(3rem, 5vw, 6rem);
  --section-padding-x: clamp(1rem, 5vw, 2rem);
  --container-padding: clamp(1.5rem, 5vw, 3rem);

  /* ===================================
     LAYOUT
     ================================= */
  --container-max-width: 1280px;
  --container-narrow: 960px;
  --container-wide: 1440px;

  /* ===================================
     BORDER RADIUS
     ================================= */
  --radius-none: 0;
  --radius-sm: 0.25rem;
  --radius-base: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-3xl: 3rem;
  --radius-full: 9999px;

  /* ===================================
     SHADOWS
     Layered depth with brand colors
     ================================= */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Brand Color Shadows */
  --shadow-teal: 0 8px 16px -4px rgba(45, 125, 142, 0.2), 0 4px 8px -2px rgba(45, 125, 142, 0.1);
  --shadow-teal-lg: 0 12px 24px -6px rgba(45, 125, 142, 0.25), 0 6px 12px -3px rgba(45, 125, 142, 0.15);
  --shadow-gold: 0 8px 16px -4px rgba(212, 167, 71, 0.2), 0 4px 8px -2px rgba(212, 167, 71, 0.1);
  --shadow-gold-lg: 0 12px 24px -6px rgba(212, 167, 71, 0.25), 0 6px 12px -3px rgba(212, 167, 71, 0.15);

  /* ===================================
     TRANSITIONS & ANIMATIONS
     ================================= */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slower: 700ms cubic-bezier(0.4, 0, 0.2, 1);

  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* ===================================
     Z-INDEX SCALE
     ================================= */
  --z-0: 0;
  --z-10: 10;
  --z-20: 20;
  --z-30: 30;
  --z-40: 40;
  --z-50: 50;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* ===================================
     BLUR EFFECTS
     Glassmorphism
     ================================= */
  --blur-sm: 4px;
  --blur-base: 8px;
  --blur-md: 12px;
  --blur-lg: 16px;
  --blur-xl: 24px;
}

/* ===================================
   DARK MODE SUPPORT (Future Enhancement)
   Uncomment when implementing dark mode
   ================================= */
/* @media (prefers-color-scheme: dark) {
  :root {
    --color-background: var(--color-gray-900);
    --color-text: var(--color-gray-50);
  }
} */
