/*
Theme Name: MD Electrical
Theme URI: https://maximumdemandelectricals.co.ke
Author: Kingdom Keys Digital
Author URI: https://kingdomkeysdigital.co.ke
Description: A premium WordPress theme for Maximum Demand Electricals & Solar Solutions. Features custom post types for services, hero slides, gallery, partners, and customer testimonials with a stunning gold and black design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: md-electrical
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns, right-sidebar
*/

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
    /* Gold Palette */
    --gold-primary: #D4AF37;
    --gold-light: #E8D48B;
    --gold-dark: #B8941F;
    --gold-muted: #C9A84C;
    --gold-gradient: linear-gradient(135deg, #D4AF37, #F2D06B, #C9A84C);
    --gold-gradient-hover: linear-gradient(135deg, #C9A84C, #D4AF37, #F2D06B);
    --gold-shimmer: linear-gradient(
        110deg,
        #D4AF37 0%,
        #F2D06B 25%,
        #D4AF37 50%,
        #F2D06B 75%,
        #D4AF37 100%
    );

    /* Black Palette */
    --black-primary: #1A1A1A;
    --black-deep: #0D0D0D;
    --black-soft: #2A2A2A;
    --black-card: #222222;
    --black-overlay: rgba(13, 13, 13, 0.85);

    /* Neutrals */
    --white: #FFFFFF;
    --white-off: #F8F8F8;
    --gray-lightest: #F5F5F5;
    --gray-light: #E0E0E0;
    --gray-medium: #999999;
    --gray-text: #B0B0B0;
    --gray-dark: #666666;

    /* Semantic */
    --success: #2ECC71;
    --warning: #F39C12;
    --danger: #E74C3C;
    --info: #3498DB;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-md: 1.125rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    --font-size-4xl: 3rem;
    --font-size-5xl: 3.5rem;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    --line-height-tight: 1.2;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --container-max: 1320px;
    --container-narrow: 900px;
    --container-padding: 1.5rem;
    --header-height: 80px;
    --topbar-height: 40px;

    /* Borders & Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 50%;
    --border-thin: 1px solid rgba(212, 175, 55, 0.2);
    --border-gold: 2px solid var(--gold-primary);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
    --shadow-gold-lg: 0 8px 32px rgba(212, 175, 55, 0.4);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-header: 300;
    --z-overlay: 400;
    --z-modal: 500;
    --z-toast: 600;
    --z-whatsapp: 700;
}
