/* 
 * CSS Custom Properties and Variables
 * Atelier Flint & Associates Architects Website
 * 
 * This file contains all CSS custom properties for consistent theming
 * and maintainable design system across the website.
 */

:root {
    /* Color Palette - Black & Gold Professional Theme */
    --color-primary: #000000;           /* Black (Main Color) */
    --color-secondary: #FFD700;         /* Gold/Yellow (Main Color) */
    --color-tertiary: #1A1A1A;          /* Dark Charcoal */
    --color-quaternary: #F8F9FA;        /* Light Gray */
    --color-background: #FFFFFF;        /* White Background */
    
    /* Text Colors */
    --color-text-primary: #000000;      /* Black Text */
    --color-text-secondary: #4A4A4A;    /* Dark Gray Text */
    --color-text-light: #FFFFFF;        /* White Text */
    --color-text-muted: #6C757D;        /* Muted Text */
    
    /* Accent Colors */
    --color-accent-blue: #007BFF;       /* Professional Blue */
    --color-accent-orange: #FF6B35;     /* Warm Orange */
    --color-accent-green: #28A745;      /* Success Green */
    
    /* State Colors */
    --color-success: #28A745;           /* Success States */
    --color-warning: #FFC107;           /* Warning States */
    --color-error: #DC3545;             /* Error States */
    --color-info: #17A2B8;              /* Info States */
    
    /* Border and Shadow Colors */
    --color-border: #E9ECEF;            /* Light Border */
    --color-border-dark: #DEE2E6;       /* Dark Border */
    --color-shadow: rgba(0, 0, 0, 0.1); /* Box Shadows */
    --color-overlay: rgba(0, 0, 0, 0.7); /* Video/Image Overlays */
    
    /* Typography */
    --font-family-heading: 'Poppins', sans-serif;
    --font-family-body: 'Open Sans', sans-serif;
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 600;
    --font-weight-bold: 700;
    
    /* 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 */
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* 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: 2.5rem;      /* 40px */
    --spacing-3xl: 3rem;        /* 48px */
    --spacing-4xl: 4rem;        /* 64px */
    --spacing-5xl: 5rem;        /* 80px */
    --spacing-6xl: 6rem;        /* 96px */
    
    /* Border Radius */
    --border-radius-none: 0;
    --border-radius-sm: 0.125rem;    /* 2px */
    --border-radius-md: 0.25rem;     /* 4px */
    --border-radius-lg: 0.5rem;      /* 8px */
    --border-radius-xl: 0.75rem;     /* 12px */
    --border-radius-2xl: 1rem;       /* 16px */
    --border-radius-full: 50%;
    
    /* 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-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Z-Index Scale */
    --z-index-negative: -1;
    --z-index-base: 0;
    --z-index-dropdown: 10;
    --z-index-sticky: 20;
    --z-index-fixed: 30;
    --z-index-overlay: 40;
    --z-index-modal: 50;
    --z-index-tooltip: 60;
    
    /* Breakpoints (for reference in media queries) */
    --breakpoint-xs: 0px;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;
    
    /* Container Max Widths */
    --container-sm: 540px;
    --container-md: 720px;
    --container-lg: 960px;
    --container-xl: 1140px;
    --container-xxl: 1320px;
    
    /* Animation Durations */
    --animation-duration-fast: 200ms;
    --animation-duration-normal: 300ms;
    --animation-duration-slow: 500ms;
    
    /* Animation Easing */
    --animation-ease-in: cubic-bezier(0.4, 0, 1, 1);
    --animation-ease-out: cubic-bezier(0, 0, 0.2, 1);
    --animation-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Component Specific Variables */
    
    /* Header */
    --header-height: 4rem;              /* 64px */
    --header-contact-bar-height: 3rem;  /* 48px */
    --header-total-height: 7rem;        /* 112px */
    
    /* Navigation */
    --nav-link-padding: 0.75rem 1rem;
    --nav-mobile-menu-width: 280px;
    
    /* Buttons */
    --button-padding-sm: 0.5rem 1rem;
    --button-padding-md: 0.75rem 1.5rem;
    --button-padding-lg: 1rem 2rem;
    --button-height-sm: 2.25rem;        /* 36px */
    --button-height-md: 2.75rem;        /* 44px */
    --button-height-lg: 3.25rem;        /* 52px */
    
    /* Forms */
    --form-input-height: 3rem;          /* 48px */
    --form-input-padding: 0.75rem 1rem;
    --form-label-margin-bottom: 0.5rem;
    
    /* Cards */
    --card-padding: 1.5rem;
    --card-border-radius: var(--border-radius-lg);
    
    /* Hero Section */
    --hero-min-height: 100vh;
    --hero-padding-top: var(--header-total-height);
    
    /* Footer */
    --footer-padding: 3rem 0;
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --color-background: #0F0F0F;
        --color-text-primary: #FFFFFF;
        --color-text-secondary: #E5E5E5;
        --color-border: #2D2D2D;
        --color-shadow: rgba(255, 255, 255, 0.1);
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #000000;
        --color-secondary: #FFFF00;
        --color-background: #FFFFFF;
        --color-text-primary: #000000;
        --color-border: #000000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    :root {
        --transition-fast: 0ms;
        --transition-normal: 0ms;
        --transition-slow: 0ms;
        --animation-duration-fast: 0ms;
        --animation-duration-normal: 0ms;
        --animation-duration-slow: 0ms;
    }
}
