/**
 * CSS Custom Properties (Variables)
 * Bahamus Limited Website
 * Path: bahamus_website/frontend/assets/css/variables.css
 *
 * @package    Bahamus
 * @version    2.0.0
 */

/* Aeonik via Fontshare */
@import url('https://api.fontshare.com/v2/css?f[]=aeonik@300,400,500,700,900&display=swap');

:root {
    /* ============================================================
       COLORS
    ============================================================ */

    /* Brand Colors */
    --color-primary: #e8602a;
    --color-primary-dark: #cf5522;
    --color-primary-light: #f07850;
    --color-secondary: #b02280;
    --color-secondary-dark: #8e1b66;
    --color-secondary-light: #c44098;
    --color-accent: #1e40af;

    /* Gray Scale */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Semantic Colors */
    --color-success: #10b981;
    --color-success-light: #d1fae5;
    --color-error: #ef4444;
    --color-error-light: #fee2e2;
    --color-warning: #f59e0b;
    --color-warning-light: #fef3c7;
    --color-info: #3b82f6;
    --color-info-light: #dbeafe;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: var(--gray-50);
    --bg-dark: #161d2b;
    --color-dark: #161d2b;

    /* Text Colors */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    --text-inverse: #ffffff;

    /* Border Colors */
    --border-color: var(--gray-200);
    --border-color-dark: var(--gray-300);

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

    /* Font Families */
    --font-sans: 'FKGrotesk', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
                 "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: 'FKGroteskMonospaced', ui-monospace, SFMono-Regular, Menlo, Monaco,
                 Consolas, "Liberation Mono", "Courier New", monospace;
    --font-serif: "Times New Roman", Times, serif;
    --font-heading: 'Aeonik', sans-serif;

    /* Font Sizes */
    --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: 900;

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

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

    --spacing-0: 0;
    --spacing-1: 0.25rem;    /* 4px */
    --spacing-2: 0.5rem;     /* 8px */
    --spacing-3: 0.75rem;    /* 12px */
    --spacing-4: 1rem;       /* 16px */
    --spacing-5: 1.25rem;    /* 20px */
    --spacing-6: 1.5rem;     /* 24px */
    --spacing-8: 2rem;       /* 32px */
    --spacing-10: 2.5rem;    /* 40px */
    --spacing-12: 3rem;      /* 48px */
    --spacing-16: 4rem;      /* 64px */
    --spacing-20: 5rem;      /* 80px */
    --spacing-24: 6rem;      /* 96px */
    --spacing-32: 8rem;      /* 128px */

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

    /* Container */
    --container-max: 1280px;
    --container-padding: var(--spacing-4);

    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* ============================================================
       BORDERS
    ============================================================ */

    /* Border Widths */
    --border-width: 1px;
    --border-width-2: 2px;
    --border-width-4: 4px;

    /* Border Radius */
    --radius-none: 0;
    --radius-sm: 0.125rem;   /* 2px */
    --radius-base: 0.25rem;  /* 4px */
    --radius-md: 0.375rem;   /* 6px */
    --radius-lg: 0.5rem;     /* 8px */
    --radius-xl: 0.75rem;    /* 12px */
    --radius-2xl: 1rem;      /* 16px */
    --radius-3xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;

    /* ============================================================
       SHADOWS — flat/minimal
    ============================================================ */

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 2px 6px -1px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 8px 20px -4px rgba(0, 0, 0, 0.09);
    --shadow-2xl: 0 12px 32px -8px rgba(0, 0, 0, 0.12);
    --shadow-inner: inset 0 1px 3px 0 rgba(0, 0, 0, 0.04);
    --shadow-none: none;

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

    /* Duration */
    --duration-75: 75ms;
    --duration-100: 100ms;
    --duration-150: 150ms;
    --duration-200: 200ms;
    --duration-300: 300ms;
    --duration-500: 500ms;
    --duration-700: 700ms;
    --duration-1000: 1000ms;

    /* Timing Functions */
    --ease-linear: linear;
    --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);

    /* Combined Transitions */
    --transition-fast: all var(--duration-150) var(--ease-out);
    --transition-base: all var(--duration-200) var(--ease-out);
    --transition-slow: all var(--duration-300) var(--ease-out);

    /* ============================================================
       EFFECTS
    ============================================================ */

    /* Opacity */
    --opacity-0: 0;
    --opacity-10: 0.1;
    --opacity-20: 0.2;
    --opacity-30: 0.3;
    --opacity-40: 0.4;
    --opacity-50: 0.5;
    --opacity-60: 0.6;
    --opacity-70: 0.7;
    --opacity-80: 0.8;
    --opacity-90: 0.9;
    --opacity-100: 1;

    /* Backdrop Blur */
    --backdrop-blur-sm: blur(4px);
    --backdrop-blur-base: blur(8px);
    --backdrop-blur-md: blur(12px);
    --backdrop-blur-lg: blur(16px);
    --backdrop-blur-xl: blur(24px);

    /* ============================================================
       GRADIENTS — subtle, flat
    ============================================================ */

    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-primary-vertical: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    --gradient-overlay-top: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);

    /* ============================================================
       BREAKPOINTS (for reference in media queries)
    ============================================================ */

    /*
    --screen-sm: 640px;
    --screen-md: 768px;
    --screen-lg: 1024px;
    --screen-xl: 1280px;
    --screen-2xl: 1536px;
    */
}

/* ============================================================
   DARK MODE (Optional)
============================================================ */

@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: var(--gray-900);
        --bg-secondary: var(--gray-800);
        --text-primary: var(--gray-100);
        --text-secondary: var(--gray-300);
        --border-color: var(--gray-700);
    }
}

/* Force light mode (remove if you want to support dark mode) */
:root {
    color-scheme: light;
}
