/* ==========================================================================
   Doron — site styles
   Theme: white & blue
   ========================================================================== */

:root {
  --blue-900: #0b2545;
  --blue-700: #13315c;
  --blue-500: #1d4e89;
  --blue-300: #4a7fc1;
  --blue-100: #e6eef8;
  --blue-50:  #f3f7fc;
  --white:    #ffffff;
  --ink:      #1a2433;
  --muted:    #5a6573;
  --border:   #d6e1f0;
  --max-width: 1080px;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(11, 37, 69, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

/* ----- Layout helpers ----- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ----- Header / nav ----- */
.site-header {
  background: var(--blue-900);
  color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.brand__name {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand__name-yi {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue-100);
}

.site-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--blue-100);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--blue-500);
  color: var(--white);
}

/* ----- Hero ----- */
.hero {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: 2.6rem;
  letter-spacing: 1px;
}

.hero .tagline {
  margin: 0;
  font-size: 1.15rem;
  color: var(--blue-100);
}

/* ----- Sections ----- */
.section {
  padding: 48px 0;
}

.section--alt {
  background: var(--blue-50);
}

.section h2 {
  color: var(--blue-700);
  font-size: 1.7rem;
  margin: 0 0 18px;
}

.section p { margin: 0 0 16px; }

/* ----- Bilingual blocks (English stacked above Yiddish) ----- */
.lang-en { /* default LTR */ }

.lang-yi {
  direction: rtl;
  text-align: right;
  font-family: "Frank Ruhl Libre", "Times New Roman", "David", serif;
  font-size: 1.15rem;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.lang-yi h2 { color: var(--blue-700); }

/* ----- Product / service lists ----- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-grid li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  font-weight: 500;
}

.lang-yi .feature-grid li { text-align: right; }

/* ----- Future product grid (placeholder, hidden until used) ----- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-card__img {
  aspect-ratio: 4 / 3;
  background: var(--blue-100);
}

.product-card__body { padding: 14px 16px; }

/* ----- Footer ----- */
.site-footer {
  background: var(--blue-900);
  color: var(--blue-100);
  padding: 36px 0;
  margin-top: 0;
}

.site-footer a { color: var(--white); }

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.site-footer h3 {
  color: var(--white);
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.footer-yi {
  direction: rtl;
  text-align: right;
  font-family: "Frank Ruhl Libre", "Times New Roman", "David", serif;
}

.footer-bottom {
  border-top: 1px solid var(--blue-700);
  margin-top: 24px;
  padding-top: 16px;
  font-size: 0.9rem;
  text-align: center;
}

/* ----- Responsive ----- */
@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .site-header .container { justify-content: center; text-align: center; }
  .site-nav { justify-content: center; }
}
