/**
 * Patil's Classes - CSS Variables
 * Design tokens for consistent theming
 * Brand: Patil's Orange (#E8611A) with warm white accents
 * Updated: Feb 2026 - Matches client brochure branding
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;600;700;800&display=swap');

:root {
  /* ========================================
     BRAND COLORS
     ======================================== */
  /* Primary Brand Colors - Updated to match brochure */
  --color-primary: #E8611A;           /* Main brand orange - was #F86401 */
  --color-primary-dark: #D4520F;      /* Darker orange - hover states, gradients */
  --color-primary-light: #F28C28;     /* Lighter warm orange - highlights, badges */
  --color-primary-pale: #F5A623;      /* Golden yellow - stars, awards, accents */
  --color-primary-lighter: #FFB380;   /* Kept for backward compatibility */
  --color-primary-lightest: #FFE5D6;  /* Kept for backward compatibility */

  /* Secondary Colors - New from brochure */
  --color-secondary-navy: #1A3A5C;    /* Navy blue - Vision/Mission headings */
  --color-secondary-blue: #2B5EA7;    /* Royal blue - accent bars, dividers */
  --color-secondary-green: #2BAD6E;   /* Teal green - success, app UI */
  --color-secondary-brown: #5C3310;   /* Dark brown - facilities section */

  --color-white: #FFFFFF;
  --color-bg-warm: #F9F0E3;

  /* Background Colors - New warm palette */
  --color-bg-cream: #F7EBDD;          /* Primary warm background */
  --color-bg-peach: #FDEBD0;          /* Peach - result cards */
  --color-bg-light-warm: #FBF4EA;     /* Alternate warm background */
  --color-bg-orange: #F28C28;         /* Testimonials & feature sections */
  --color-bg-deep-orange: #E8611A;    /* Strong orange sections */

  /* Text Colors */
  --color-text-dark: #1A1A2E;
  --color-text-heading: #1A1A2E;
  --color-text-body: #374151;
  --color-text-muted: #6B7280;
  --color-text-light: #9CA3AF;
  --color-text-score: #E8611A;        /* Score percentages - bold orange */
  --color-text-on-orange: #FFFFFF;    /* White text on orange backgrounds */

  --color-border: #E5E7EB;
  --color-border-light: #F3F4F6;
  --color-border-dark: #D1D5DB;

  /* Status colors - Updated to match brochure */
  --color-success: #2BAD6E;           /* Updated to teal green */
  --color-success-light: #D1FAE5;
  --color-warning: #F5A623;           /* Updated to golden yellow */
  --color-warning-light: #FEF3C7;
  --color-error: #D4520F;             /* Updated to darker orange */
  --color-error-light: #FEE2E2;
  --color-info: #2B5EA7;              /* Updated to royal blue */
  --color-info-light: #DBEAFE;

  /* ========================================
     TYPOGRAPHY
     ======================================== */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;  /* Display font for section titles */

  /* Font sizes - Major Third scale (1.25) */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  --text-7xl: 4.5rem;      /* 72px */

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

  /* Line heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;
  --leading-loose: 2;

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

  /* ========================================
     SPACING
     ======================================== */
  --space-0: 0;
  --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 */

  /* ========================================
     LAYOUT
     ======================================== */
  --max-width-xs: 20rem;       /* 320px */
  --max-width-sm: 24rem;       /* 384px */
  --max-width-md: 28rem;       /* 448px */
  --max-width-lg: 32rem;       /* 512px */
  --max-width-xl: 36rem;       /* 576px */
  --max-width-2xl: 42rem;      /* 672px */
  --max-width-3xl: 48rem;      /* 768px */
  --max-width-4xl: 56rem;      /* 896px */
  --max-width-5xl: 64rem;      /* 1024px */
  --max-width-6xl: 72rem;      /* 1152px */
  --max-width-7xl: 75rem;      /* 1200px */
  --max-width-full: 100%;

  --container-padding: var(--space-4);
  --container-padding-sm: var(--space-6);

  /* ========================================
     BORDERS & SHADOWS
     ======================================== */
  --border-radius-none: 0;
  --border-radius-sm: 0.25rem;     /* 4px */
  --border-radius: 0.5rem;         /* 8px */
  --border-radius-md: 0.5rem;      /* 8px */
  --border-radius-lg: 0.75rem;     /* 12px */
  --border-radius-xl: 1rem;        /* 16px */
  --border-radius-2xl: 1.5rem;     /* 24px */
  --border-radius-full: 9999px;

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

  /* Box shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);

  /* Colored shadows */
  --shadow-primary: 0 10px 30px -10px var(--color-primary);
  --shadow-orange: 0 10px 40px -10px rgba(232, 97, 26, 0.3);  /* Updated to new primary */

  /* Orange card shadows - New */
  --shadow-card-orange: 0 2px 8px rgba(232, 97, 26, 0.10);
  --shadow-card-orange-hover: 0 4px 16px rgba(232, 97, 26, 0.18);

  /* ========================================
     TRANSITIONS & ANIMATIONS
     ======================================== */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slower: 500ms 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);

  /* ========================================
     GRADIENTS
     ======================================== */
  --gradient-hero: linear-gradient(180deg, #F2DEC6 0%, #E8A96A 100%);
  --gradient-cta: linear-gradient(135deg, #E8611A 0%, #F5A623 100%);
  --gradient-testimonial: linear-gradient(180deg, #F28C28 0%, #E8611A 100%);
  --gradient-facilities: linear-gradient(180deg, #E8611A 0%, #5C3310 100%);

  /* ========================================
     Z-INDEX SCALE
     ======================================== */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-toast: 800;
  --z-whatsapp: 900;

  /* ========================================
     BREAKPOINTS (for reference in JS)
     ======================================== */
  --bp-mobile: 768px;
  --bp-tablet: 1024px;
  --bp-desktop: 1025px;
}
