/*
Theme Name: ez-gan
Theme URI: https://opus-projects.co.il
Author: Opus-Projects
Author URI: https://opus-projects.co.il
Description: ez-gan kindergarten portal theme - RTL Hebrew mobile-first design
Version: 1.0.0
Requires at least: 5.0
Requires PHP: 7.4
License: Private
Text Domain: ez-gan
*/

/* ==========================================================================
   ez-gan Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap');

:root {
    /* Primary Colors */
    --ez-primary: #3ECFB2;
    --ez-primary-dark: #2DB89D;
    --ez-primary-light: #E6FFFA;

    /* Secondary Colors */
    --ez-secondary: #FFAB91;
    --ez-secondary-dark: #FF8A65;
    --ez-secondary-light: #FFE4D6;

    /* Accent */
    --ez-accent: #FFD93D;
    --ez-accent-dark: #F5C800;
    --ez-accent-light: #FFF9E6;

    /* Neutrals */
    --ez-background: #FBF9F7;
    --ez-surface: #FFFFFF;
    --ez-text: #2D3748;
    --ez-text-light: #718096;
    --ez-text-muted: #A0AEC0;
    --ez-border: #E2E8F0;

    /* Semantic Colors */
    --ez-success: #48BB78;
    --ez-success-light: #E6FFFA;
    --ez-error: #FC8181;
    --ez-error-light: #FFF5F5;
    --ez-warning: #F6AD55;
    --ez-warning-light: #FFFBEB;
    --ez-info: #63B3ED;
    --ez-info-light: #EBF8FF;

    /* Shadows */
    --ez-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
    --ez-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --ez-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --ez-shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --ez-radius-sm: 12px;
    --ez-radius-md: 16px;
    --ez-radius-lg: 24px;
    --ez-radius-xl: 32px;
    --ez-radius-full: 50px;

    /* Typography */
    --ez-font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ez-font-size-xs: 12px;
    --ez-font-size-sm: 14px;
    --ez-font-size-base: 16px;
    --ez-font-size-lg: 18px;
    --ez-font-size-xl: 20px;
    --ez-font-size-2xl: 24px;
    --ez-font-size-3xl: 32px;
    --ez-font-size-4xl: 40px;

    /* Spacing */
    --ez-space-1: 4px;
    --ez-space-2: 8px;
    --ez-space-3: 12px;
    --ez-space-4: 16px;
    --ez-space-5: 20px;
    --ez-space-6: 24px;
    --ez-space-8: 32px;
    --ez-space-10: 40px;
    --ez-space-12: 48px;

    /* Transitions */
    --ez-transition-fast: 0.15s ease;
    --ez-transition-base: 0.25s ease;
    --ez-transition-slow: 0.4s ease;
}

/* ==========================================================================
   Global Reset & Base Styles
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--ez-font-family);
    font-size: var(--ez-font-size-base);
    line-height: 1.6;
    color: var(--ez-text);
    background-color: var(--ez-background);
    direction: rtl;
    text-align: right;
}

/* Remove default margins */
h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

/* Links */
a {
    color: var(--ez-primary);
    text-decoration: none;
    transition: color var(--ez-transition-fast);
}

a:hover {
    color: var(--ez-primary-dark);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons base */
button {
    font-family: inherit;
    cursor: pointer;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.ez-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--ez-space-4);
}

.ez-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Hide scrollbar but keep functionality */
.ez-hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.ez-hide-scrollbar::-webkit-scrollbar {
    display: none;
}
