/* CSS Custom Properties - Variables */

/* ========================================
   COLOR PALETTE - Radobolja
   ======================================== */

:root {
    /* Single source of truth: detected footer green */
    --radobolja-green: #0f4346;
    --radobolja-green-rgb: 15, 67, 70;
    --radobolja-green-light: color-mix(in srgb, var(--radobolja-green) 80%, white);
    --radobolja-green-dark: color-mix(in srgb, var(--radobolja-green) 80%, black);

    /* Primary colors */
    --color-beige: #f7f3ec;
    --color-tan: #c3a96f;
    --color-brown: #d4af37;
    --color-brown-dark: var(--radobolja-green);
    --color-sea: var(--radobolja-green-light);
    --color-sea-dark: var(--radobolja-green-dark);

    /* Vibrant food accents */
    --color-green: var(--radobolja-green);
    --color-red: #C62828;              /* Tomato, meat accents */
    --color-yellow: #FBC02D;           /* Cheese, pasta accents */

    /* UI colors */
    --color-white: #FFFFFF;
    --color-black: #1A1A1A;
    --color-gray-light: #F5F5F5;
    --color-gray: #E0E0E0;
    --color-gray-medium: #9E9E9E;
    --color-gray-dark: #616161;

    /* Text colors */
    --color-text-primary: #1f2f31;
    --color-text-secondary: #425c5e;
    --color-text-muted: #5e7476;
    --color-text-light: #FFFFFF;       /* Light text on dark backgrounds */

    /* Background colors */
    --color-background: #f7f3ec;
    --color-background-alt: #FFFFFF;   /* Alternate background */

    /* Status colors */
    --color-success: var(--radobolja-green);
    --color-error: #C62828;            /* Closed/Error */
    --color-warning: #FBC02D;          /* Warning */

    /* ========================================
       TYPOGRAPHY
       ======================================== */

    /* Font families */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Manrope', sans-serif;
    --font-script: 'Cormorant Garamond', serif;

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

    /* Mobile font sizes (larger for readability) */
    --font-size-mobile-base: 1.125rem;  /* 18px */
    --font-size-mobile-lg: 1.25rem;     /* 20px */

    /* Line heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    --line-height-loose: 2;

    /* Font weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-bold: 700;

    /* ========================================
       SPACING
       ======================================== */

    /* Spacing scale */
    --spacing-xs: 0.25rem;    /* 4px */
    --spacing-sm: 0.5rem;     /* 8px */
    --spacing-md: 1rem;       /* 16px */
    --spacing-lg: 1.5rem;     /* 24px */
    --spacing-xl: 2rem;       /* 32px */
    --spacing-2xl: 3rem;      /* 48px */
    --spacing-3xl: 4rem;      /* 64px */
    --spacing-4xl: 6rem;      /* 96px */
    --spacing-5xl: 8rem;      /* 128px */

    /* Section spacing */
    --section-spacing: var(--spacing-4xl);    /* 96px */
    --section-spacing-mobile: var(--spacing-3xl);  /* 64px */

    /* ========================================
       LAYOUT
       ======================================== */

    /* Container */
    --container-max-width: 1200px;
    --container-padding: var(--spacing-lg);

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* 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 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);

    /* ========================================
       TRANSITIONS
       ======================================== */

    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;

    /* ========================================
       Z-INDEX LAYERS
       ======================================== */

    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
}
