/* Gateside B&B - CSS Custom Properties */
/* Modern design system with earthy countryside theme */

:root {
    /* Primary Colors - Earthy Palette */
    --color-primary: #2C4A3E;           /* Deep forest green */
    --color-primary-light: #3D6B5A;     /* Lighter forest green */
    --color-primary-dark: #1E352D;      /* Darker forest green */

    --color-secondary: #8B7355;         /* Warm brown/taupe */
    --color-secondary-light: #A68B6A;   /* Lighter brown */
    --color-secondary-dark: #6B5A42;    /* Darker brown */

    --color-accent: #D4A574;            /* Warm gold */
    --color-accent-light: #E5C49A;      /* Lighter gold */
    --color-accent-dark: #B8864E;       /* Darker gold */

    /* Neutrals */
    --color-background: #FAF7F2;        /* Cream/off-white */
    --color-background-alt: #F5F0E8;    /* Slightly darker cream */
    --color-surface: #FFFFFF;           /* Pure white for cards */
    --color-surface-hover: #FDFCFA;     /* Hover state */

    --color-text: #2D3436;              /* Dark gray for body */
    --color-text-light: #636E72;        /* Lighter gray */
    --color-text-muted: #9CA3AF;        /* Muted gray */
    --color-text-inverse: #FFFFFF;      /* White text on dark bg */

    /* Semantic Colors */
    --color-success: #2C4A3E;           /* Use primary for success */
    --color-success-light: #E8F0ED;
    --color-error: #C0392B;
    --color-error-light: #FADBD8;
    --color-warning: #D4A574;           /* Use accent for warning */

    /* Typography - Font Families */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
    --text-5xl: clamp(3rem, 2.25rem + 3.75vw, 4.5rem);

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

    /* Line Heights */
    --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 Scale */
    --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 */

    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --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);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-slower: 500ms ease;

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

/* Dark mode support (future enhancement) */
@media (prefers-color-scheme: dark) {
    :root {
        /* Can be enabled later if needed */
    }
}
