/**
 * Houzez Theme Variables
 * تم إنشاؤه لمطابقة WordPress Houzez Theme
 */

:root {
    /* ===================================
       Primary Colors - Houzez Theme
       =================================== */
    --primary-color: #1a6eaf;
    --primary-hover: #145a8f;
    --secondary-color: #ff6600;
    --secondary-hover: #e65c00;
    --accent-color: #f15a23;
    
    /* Button Colors - Specific */
    --btn-create-listing: #00aaff;
    --btn-create-listing-hover: #0099dd;
    --btn-search: #ff8c00;
    --btn-search-hover: #e07a00;
    
    /* ===================================
       Background Colors
       =================================== */
    --header-bg: #0B2341;
    --body-bg: #ffffff;
    --section-bg: #f5f5f5;
    --section-alt-bg: #fafafa;
    --card-bg: #ffffff;
    --footer-bg: #0B2341;
    
    /* ===================================
       Text Colors
       =================================== */
    --text-color: #484848;
    --text-light: #666666;
    --text-dark: #333333;
    --text-white: #ffffff;
    --text-muted: #999999;
    --heading-color: #2d2d2d;
    
    /* ===================================
       Border Colors
       =================================== */
    --border-color: #d4d4d4;
    --border-light: #eeeeee;
    --border-dark: #cccccc;
    
    /* ===================================
       Status Colors
       =================================== */
    --success-color: #5cb85c;
    --error-color: #d9534f;
    --warning-color: #f0ad4e;
    --info-color: #5bc0de;
    
    /* ===================================
       Fonts - Houzez Typography
       =================================== */
    --font-primary: 'Roboto Slab', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-headings: 'Roboto Slab', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-secondary: 'Roboto Slab', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    
    /* ===================================
       Font Sizes - Houzez Standard
       =================================== */
    --font-size-base: 14px;
    --font-size-large: 16px;
    --font-size-small: 13px;
    --font-size-xs: 12px;
    
    /* Headings */
    --font-size-h1: 36px;
    --font-size-h2: 30px;
    --font-size-h3: 24px;
    --font-size-h4: 18px;
    --font-size-h5: 16px;
    --font-size-h6: 14px;
    
    /* ===================================
       Font Weights
       =================================== */
    --font-weight-light: 300;
    --font-weight-normal: 300;
    --font-weight-medium: 300;
    --font-weight-semibold: 300;
    --font-weight-bold: 300;
    --font-weight-extrabold: 300;
    --font-weight-black: 300;
    
    /* ===================================
       Border Radius - Houzez Theme
       =================================== */
    --border-radius: 50px; /* للكروت والعناصر الكبيرة */
    --border-radius-small: 25px;
    --border-radius-large: 75px;
    --border-radius-circle: 50%;
    
    /* Border Radius للأزرار - مستطيلة */
    --border-radius-btn: 3px; /* Houzez button style */
    --border-radius-input: 3px; /* Houzez input style */
    
    /* ===================================
       Spacing - Houzez Standard
       =================================== */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 50px;
    --spacing-2xl: 80px;
    
    /* ===================================
       Shadows - Houzez Design
       =================================== */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
    
    /* ===================================
       Transitions
       =================================== */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* ===================================
       Z-Index Layers
       =================================== */
    --z-index-dropdown: 1000;
    --z-index-sticky: 1020;
    --z-index-fixed: 1030;
    --z-index-modal-backdrop: 1040;
    --z-index-modal: 1050;
    --z-index-popover: 1060;
    --z-index-tooltip: 1070;
    
    /* ===================================
       Container Widths
       =================================== */
    --container-sm: 540px;
    --container-md: 720px;
    --container-lg: 960px;
    --container-xl: 1140px;
    --container-xxl: 1320px;
    
    /* ===================================
       Button Styles
       =================================== */
    --btn-padding-y: 12px;
    --btn-padding-x: 30px;
    --btn-font-size: 14px;
    --btn-border-radius: var(--border-radius-btn); /* مستطيلة */
    
    /* ===================================
       Input Styles
       =================================== */
    --input-padding-y: 12px;
    --input-padding-x: 16px;
    --input-font-size: 14px;
    --input-border-radius: var(--border-radius-input); /* مستطيلة */
    --input-border-color: var(--border-color);
    --input-focus-color: var(--primary-color);
    
    /* ===================================
       Card Styles
       =================================== */
    --card-padding: 25px;
    --card-border-radius: var(--border-radius);
    --card-shadow: var(--shadow-md);
    
    /* ===================================
       Header Styles
       =================================== */
    --header-height: 70px;
    --header-padding: 11px 0;
    
    /* ===================================
       Hero Section
       =================================== */
    --hero-height: 100vh;
    --hero-overlay: rgba(0, 0, 0, 0.2);
    
    /* ===================================
       Property Card Styles
       =================================== */
    --property-card-image-height: 280px;
    --property-card-border-radius: var(--border-radius);
    --property-card-shadow: var(--shadow-md);
    --property-card-shadow-hover: var(--shadow-lg);
}

/* ===================================
   Dark Mode Support (اختياري)
   =================================== */
[data-theme="dark"] {
    --header-bg: #1a1a1a;
    --body-bg: #2d2d2d;
    --section-bg: #252525;
    --card-bg: #333333;
    --text-color: #e0e0e0;
    --text-light: #b0b0b0;
    --text-dark: #ffffff;
    --border-color: #444444;
    --border-light: #555555;
}

/* ===================================
   RTL Support Variables
   =================================== */
[dir="rtl"] {
    --text-align-start: right;
    --text-align-end: left;
    --float-start: right;
    --float-end: left;
}

[dir="ltr"] {
    --text-align-start: left;
    --text-align-end: right;
    --float-start: left;
    --float-end: right;
}

/* ===================================
   Utility Classes
   =================================== */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-error { color: var(--error-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-info { color: var(--info-color) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-light { background-color: var(--section-bg) !important; }
.bg-dark { background-color: var(--footer-bg) !important; }

.border-radius { border-radius: var(--border-radius) !important; }
.border-radius-sm { border-radius: var(--border-radius-small) !important; }
.border-radius-lg { border-radius: var(--border-radius-large) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
