/* Hebroni Website — /en Design System */
/* Light parchment mode — warm Israelite aesthetic, not clinical white */

@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@300;400;700;900&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap');

:root {
  --bg:         #f5ead0;       /* warm parchment */
  --bg-alt:     #ede0be;       /* slightly deeper parchment */
  --bg-card:    #fdf9f0;       /* near-white warm — cards */
  --bg-nav:     rgba(253,249,240,0.96);
  --text:       #2a180a;       /* sepia-ink dark brown */
  --text-2:     #5c3820;       /* medium warm brown */
  --muted:      #8a6a48;       /* light warm brown */
  --dim:        #b89870;       /* very light/dim */
  --gold:       #9a7828;       /* dark gold — readable on light bg */
  --gold-lt:    #c8a84b;       /* lighter accent gold */
  --gold-bg:    rgba(154,120,40,0.08);
  --border:     rgba(154,120,40,0.2);
  --border-ho:  rgba(154,120,40,0.5);
  --shadow:     0 2px 16px rgba(60,30,10,0.1);
  --shadow-lg:  0 8px 40px rgba(60,30,10,0.15);
  --radius:     12px;
  --radius-sm:  8px;
  --max-w:      1160px;
  --nav-h:      64px;
  --sidebar-w:  260px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img { display: block; max-width: 100%; }

/* ── Base ── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-lt); }
p { color: var(--text-2); line-height: 1.65; }

.he {
  font-family: 'Frank Ruhl Libre', serif;
  direction: rtl;
  unicode-bidi: embed;
}

/* ── NAV ── */
.en-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  gap: 16px;
}
.en-nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  flex-shrink: 0;
  text-decoration: none;
}
.en-nav-logo img { width: 30px; height: 30px; object-fit: contain; }
.en-nav-logo-he {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
}
.en-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.en-nav-link {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.en-nav-link:hover,
.en-nav-link.active { color: var(--gold); background: var(--gold-bg); }
.en-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.en-nav-lang a {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all 0.15s;
  text-decoration: none;
}
.en-nav-lang a.active,
.en-nav-lang a:hover { color: var(--gold); border-color: var(--border-ho); }
.en-nav-cta {
  padding: 8px 18px;
  background: var(--gold);
  color: #fdf9f0;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 0.15s, transform 0.12s;
  text-decoration: none;
}
.en-nav-cta:hover { background: #b88e30; color: #fff; transform: translateY(-1px); }
.en-nav-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-2);
}
.en-nav-menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.2s;
}
.en-nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 199;
}
.en-nav-mobile.open { display: block; }
.en-nav-mobile a {
  display: block;
  padding: 12px 28px;
  font-size: 0.95rem;
  color: var(--text-2);
  border-bottom: 1px solid rgba(154,120,40,0.06);
  text-decoration: none;
  transition: color 0.13s, background 0.13s;
}
.en-nav-mobile a:hover { color: var(--gold); background: var(--gold-bg); }
.en-nav-mobile-cta {
  margin: 10px 28px 4px;
  display: block !important;
  text-align: center;
  padding: 10px !important;
  background: var(--gold) !important;
  color: #fdf9f0 !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700;
}

/* ── SECTION LAYOUT ── */
.en-section { padding: 72px 24px; }
.en-section-alt { background: var(--bg-alt); }
.en-section-inner { max-width: var(--max-w); margin: 0 auto; }
.en-section-header { text-align: center; margin-bottom: 48px; }
.en-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.en-section-title {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 6px;
}
.en-section-he {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1rem;
  color: var(--muted);
  direction: rtl;
}
.en-rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-lt), transparent);
  margin: 10px auto;
}
.en-section-sub {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 540px;
  margin: 8px auto 0;
}

/* ── BUTTONS ── */
.en-btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gold);
  color: #fdf9f0;
  border-radius: 24px;
  font-weight: 700;
  font-size: 0.93rem;
  transition: background 0.15s, transform 0.12s;
  text-decoration: none;
}
.en-btn-primary:hover { background: #b88e30; color: #fff; transform: translateY(-2px); }
.en-btn-secondary {
  display: inline-block;
  padding: 11px 26px;
  border: 1.5px solid var(--border-ho);
  color: var(--gold);
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.93rem;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
  text-decoration: none;
}
.en-btn-secondary:hover { border-color: var(--gold); background: var(--gold-bg); transform: translateY(-2px); }

/* ── CARDS ── */
.en-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.en-card:hover {
  border-color: var(--border-ho);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.en-card a.en-card { text-decoration: none; color: inherit; display: block; }

/* ── TAGS/CHIPS ── */
.en-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--gold-bg);
  border: 1px solid var(--border);
  color: var(--gold);
}
.en-tag-positive { background: rgba(45,158,95,0.08); border-color: rgba(45,158,95,0.3); color: #1a7040; }
.en-tag-negative { background: rgba(180,40,40,0.07); border-color: rgba(180,40,40,0.25); color: #8a2020; }

/* ── SEARCH INPUT ── */
.en-search {
  width: 100%;
  max-width: 520px;
  padding: 11px 18px 11px 42px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.en-search:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(154,120,40,0.12); }
.en-search::placeholder { color: var(--muted); }
.en-search-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 520px;
}
.en-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

/* ── FOOTER ── */
.en-footer {
  background: #e8d8b8;
  border-top: 1px solid var(--border);
  padding: 52px 24px 28px;
}
.en-footer-inner { max-width: var(--max-w); margin: 0 auto; }
.en-footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.en-footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  text-decoration: none;
}
.en-footer-logo img { width: 26px; }
.en-footer-brand p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; max-width: 260px; }
.en-footer-col-title {
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.en-footer-col a {
  display: block;
  font-size: 0.84rem;
  color: var(--text-2);
  margin-bottom: 9px;
  transition: color 0.13s;
  text-decoration: none;
}
.en-footer-col a:hover { color: var(--gold); }
.en-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.77rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 6px;
}
.en-footer-bottom a { color: var(--muted); text-decoration: none; }
.en-footer-bottom a:hover { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .en-nav-links { display: none; }
  .en-nav-menu-btn { display: block; }
  .en-footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .en-section { padding: 52px 20px; }
  .en-footer-top { grid-template-columns: 1fr; }
}
