/*
Theme Name: Lumive Theme
Theme URI: https://lumivestore.com
Author: Lumive
Author URI: https://lumivestore.com
Description: Custom WordPress theme for Lumive Smart Home Store. Built for performance, RTL support, and WooCommerce integration.
Version: 1.2.63
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: Proprietary
License URI: https://lumivestore.com/terms-and-conditions/
Text Domain: lumive
Tags: e-commerce, rtl-language-support, custom-logo, woocommerce

Lumive Theme - Smart Home Store
Copyright 2026 Lumive
*/

/* ==========================================================================
   DESIGN SYSTEM / CSS VARIABLES
   Based on Lumive Headless UI/UX
   ========================================================================== */

:root {
    /* ─── Lumive Light Premium Theme ─────────────────────────────── */
    
    /* Brand Colors */
    --lumive-primary: #0191EE;        /* Lumive Blue */
    --lumive-primary-hover: #0077CC;
    --lumive-primary-light: #E6F4FD;  /* Lumive Blue Light */
    --lumive-secondary: #0191EE;      /* Default = primary; overridden by Customizer */
    --lumive-secondary-hover: #0077CC;
    --lumive-gold: #FFC83D;           /* Lumive Gold / Accent */
    --lumive-gold-hover: #E5A800;
    
    /* Neutral Colors */
    --lumive-dark: #1E2228;           /* Main text color */
    --lumive-dark-alt: #374151;
    --lumive-gray-900: #111827;
    --lumive-gray-800: #1F2937;
    --lumive-gray-700: #374151;
    --lumive-gray-600: #4B5563;
    --lumive-gray-500: #6B7280;
    --lumive-gray-400: #9CA3AF;
    --lumive-gray-300: #D1D5DB;
    --lumive-gray-200: #E5E7EB;
    --lumive-gray-100: #F3F4F6;
    --lumive-gray-50: #F9FAFB;
    --lumive-white: #FFFFFF;
    
    /* Surface Colors */
    --lumive-surface: #F5F9FF;        /* Very light blue surface */
    --lumive-card: #FFFFFF;
    --lumive-border: #E0E0E0;
    
    /* Accent Colors */
    --lumive-success: #10B981;
    --lumive-success-bg: #D1FAE5;
    --lumive-warning: #F59E0B;
    --lumive-error: #EF4444;
    --lumive-info: #3B82F6;
    
    /* Typography */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-arabic: 'IBM Plex Sans Arabic', Tahoma, Arial, 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 */
    
    /* Spacing */
    --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 */
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --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 -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Container */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1440px;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--lumive-dark);
    background-color: var(--lumive-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* RTL Support */
html[dir="rtl"] body,
body.rtl {
    font-family: var(--font-arabic), var(--font-body);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
    color: var(--lumive-dark);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-top: 0;
    margin-bottom: var(--space-4);
}

a {
    color: var(--lumive-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--lumive-primary-hover);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

.container-fluid {
    width: 100%;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--lumive-primary);
    color: var(--lumive-white);
}

.btn-primary:hover {
    background-color: var(--lumive-primary-hover);
    color: var(--lumive-white);
}

.btn:focus-visible,
.btn-primary:focus-visible {
    outline: 2px solid var(--lumive-primary);
    outline-offset: 2px;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--lumive-dark);
    color: var(--lumive-dark);
}

.btn-outline:hover {
    background-color: var(--lumive-dark);
    color: var(--lumive-white);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Mobile first approach */
/* sm: 640px */
/* md: 768px */
/* lg: 1024px */
/* xl: 1280px */
/* 2xl: 1536px */

@media (max-width: 767px) {
    :root {
        --text-4xl: 1.875rem;
        --text-3xl: 1.5rem;
        --text-2xl: 1.25rem;
    }
}
