/*
Theme Name:   Glassmorphism Child
Theme URI:    https://example.com/glassmorphism-child
Description:  قالب چایلد المنتور — Glassmorphism + Dark Mode + RTL/LTR + چندزبانه
Author:       Your Name
Author URI:   https://example.com
Template:     hello-elementor
Version:      3.1.0
Requires at least: 5.8
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:  glass
Tags:         elementor, dark-mode, multilingual, glassmorphism, rtl-support
*/

/* ════════════════════════════════════════
   CSS CUSTOM PROPERTIES (ROOT VARIABLES)
   ════════════════════════════════════════ */

:root {
    /* Brand Colors */
    --fl-primary:        #2D5F93;
    --fl-primary-dark:   #1B3F63;
    --fl-accent:         #A4B400;
    --fl-accent-hover:   #7C8B00;

    /* Text */
    --fl-text:           #17212B;
    --fl-text-light:     #64748B;
    --fl-white:          #FFFFFF;

    /* Glass */
    --fl-glass-bg:       rgba(255, 255, 255, 0.42);
    --fl-glass-border:   rgba(255, 255, 255, 0.38);
    --fl-glass-blur:     42px;

    /* Shadows */
    --fl-shadow:         0 12px 40px rgba(0, 0, 0, 0.06);

    /* Motion */
    --fl-speed:          0.35s;
    --fl-ease:           cubic-bezier(0.4, 0, 0.2, 1);

    /* Radius */
    --fl-radius:         20px;

    /* Background base */
    --gl-bg-base:        #f0f5fc;
}

/* ════════════════════════════════════════
   RESET
   ════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    color: var(--fl-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--fl-speed) var(--fl-ease);
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════ */

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-main {
    min-height: 60vh;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

/* Elementor: حذف padding اضافه */
.elementor-active .site-main {
    padding: 0;
}

/* ════════════════════════════════════════
   ACCESSIBILITY
   ════════════════════════════════════════ */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

:focus-visible {
    outline: 2px solid var(--fl-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ════════════════════════════════════════
   PRINT
   ════════════════════════════════════════ */

@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }

    .fl-header-group,
    .fl-footer,
    .fl-floating-buttons,
    #fl-fab-call,
    #fl-fab-social,
    .fl-dark-toggle {
        display: none !important;
    }
}
