/*
Theme Name: Ensofia Estates
Theme URI: https://ensofia-estates.co.il
Author: Ensofia Estates
Author URI: https://ensofia-estates.co.il
Description: תבנית וורדפרס מקצועית לאתר נדל"ן עם תמיכה רב-לשונית (עברית, אנגלית, רוסית), חיפוש מתקדם, וניהול נכסים. Professional WordPress theme for real estate website with multilingual support (Hebrew, English, Russian), advanced search, and property management.
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ensofia-estates
Tags: real-estate, property, multilingual, rtl-language-support, custom-menu, custom-logo, featured-images, translation-ready, block-styles, wide-blocks, accessibility-ready
*/

/* Color Variables - Coolors Palette */
:root {
	--color-primary: #8183b1;
	--color-secondary: #a69cac;
	--color-dark-bg: #161b33;
	--color-text: #14122b;
	--color-bg-light: #f1dac4;
	--color-bg-hover: #f5f5f5;
	--color-white: #fff;
	
	/* RGBA variants for overlays and transparency */
	--color-primary-rgba-03: rgba(129, 131, 177, 0.3);
	--color-primary-rgba-01: rgba(129, 131, 177, 0.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

/* Jost font for English (LTR) content - default */
[dir="ltr"] body,
html[lang="en"] body,
html[lang="en-US"] body,
html[lang="en-GB"] body {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Arimo font specifically for Hebrew (RTL) content */
[dir="rtl"] body,
html[lang="he"] body,
html[lang="he-IL"] body {
    font-family: 'Arimo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-button-hover);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #005177;
}

.btn-secondary {
    background-color: #666;
}

.btn-secondary:hover {
    background-color: var(--color-button-hover);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 16px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-border);
}

/* Grid */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

