/* ======================
   GLOBAL DESIGN SYSTEM
   ====================== */

/* Colors */
:root {
  --bg-main: #f5f1e9;
  --bg-secondary: #faf7f0;

  --text-main: #2b2620;
  --text-light: #ffffff;

  --accent-gold: #c9a35f;
  --accent-gold-light: #e7d8b0;

  --accent-dark: #1a140d;

  --white: #ffffff;

  /* Spacing System */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-xxxl: 64px;
}

/* Typography */
body {
  font-family: 'Heebo', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  padding: 0;
  margin: 0;
  direction: rtl;
}

h1 {
  font-size: 2.6rem;
  font-weight: 800;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.6rem;
  font-weight: 600;
}

p, li {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Global Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================
   HEADER STYLE
   ======================== */

.site-header {
    background-color: var(--bg--header); /* זה שהגדרת ב :root */
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.site-logo img {
    max-height: 48px;
}

.site-title {
    font-size: 1.4rem;
    font-weight: 700;
}

/* תפריט עליון */
.main-menu {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.main-menu li a {
    font-size: 0.95rem;
    padding: 8px 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: 0.2s;
}

.main-menu li a:hover {
    color: var(--accent-gold);
}

/* רספונסיביות בסיסית */
@media (max-width: 768px) {
    .site-header-inner {
        padding: 8px 0;
    }

    .main-menu {
        display: none; /* בהמשך נוסיף המבורגר */
    }
}

/* container רספונסיבי יותר */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}


/* ========================
   HERO SECTION
   ======================== */

.hero.hero--bar {
    position: relative;
    min-height: 80vh; /* כמעט מסך מלא */
    background-image: url('/wp-content/themes/pinathemed/assets/images/homepage.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.75)
    );
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.hero-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 999px;
    background-color: var(--accent-gold);
    color: var(--accent-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* מובייל */
@media (max-width: 768px) {
    .hero.hero--bar {
        min-height: 70vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

