:root {
  --bg: #F6EFF1;
  --soft: #C5A7B3;
  --plum: #5B2C3A;
  --indigo: #071333;
  --violet: #3E1B25;
  --text: #3E1B25;
  --radius: 18px;
  --light-pink: #E7C8D3;
}

/* ================= RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Heebo', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  direction: rtl;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1200px, 92%);
  margin: auto;
}

/* ================= HERO ================= */

.hero {
  background: var(--soft);
  padding: 20px 0;
}

.hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  gap: 20px;
}

.hero-text {
  flex: 1;
  text-align: right;
}

.hero-title {
  font-size: clamp(24px, 5vw, 36px);
  color: var(--plum);
  font-weight: 700;
}

.hero-image img { width: 150px; }
.hero-logo img { width: 180px; }

.hero-categories {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 25px;
  border-top: 1px solid rgba(91,44,58,0.15);
  padding-top: 15px;
}

.hero-categories a {
  color: var(--plum);
  font-weight: 600;
  font-size: 15px;
}

.hero-categories a:hover {
  text-decoration: underline;
}

/* ================= SECTIONS ================= */

.section {
  padding: 70px 0;
}

/* ===== Default (inner pages) ===== */
.section-head {
  text-align: right;
  max-width: 800px;
  margin-left: auto;
}

.section-head h1,
.section-head h2 {
  font-size: 28px;
  color: var(--plum);
  margin-bottom: 10px;
}

.section-head p {
  max-width: 650px;
}

/* ===== HOME override ===== */
.home .section-head {
  text-align: center;
  margin: 0 auto;
}

.home .section-head p {
  margin: 10px auto 0;
}

/* ================= CONTENT ================= */

.content-intro {
  max-width: 800px;
  margin: 30px auto 0;
}

.content-intro p {
  max-width: 650px;
  margin: 0 auto 18px;
  text-align: center;
}

/* ================= FEATURE ROW ================= */

.feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 100px;
  transition: 0.25s ease;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
  text-align: right;
}

.feature-text h2 {
  color: var(--plum);
  font-size: clamp(24px, 4vw, 30px);
  margin-bottom: 15px;
}

.feature-text p {
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.9;
}

.feature-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image img {
  width: 100%;
  max-width: 340px;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: 0.4s ease;
}

.feature-link:hover .feature-row {
  transform: translateY(-5px);
}

.feature-link:hover img {
  transform: scale(1.05);
}

/* ================= CARDS ================= */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* תמונה בכרטיס */
.card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}

/* overlay עדין */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(91,44,58,0.05);
  opacity: 0;
  transition: 0.3s;
}

.card:hover::after {
  opacity: 1;
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  margin-bottom: 8px;
  color: var(--plum);
}

.card-body p {
  font-size: 14px;
  opacity: 0.75;
}

/* ================= CTA ================= */

.cta-box {
  background: var(--plum);
  color: #fff;
  padding: 60px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 40px;
}

.cta-box h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--light-pink);
}

.cta-box p {
  margin-bottom: 25px;
  opacity: 0.9;
}

.btn-primary {
  display: inline-block;
  background: var(--soft);
  color: var(--plum);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  transition: 0.3s;
}

.btn-primary:hover {
  background: var(--bg);
  transform: scale(1.05);
}

/* ================= FOOTER ================= */

.site-footer {
  background: var(--violet);
  color: var(--light-pink);
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  opacity: 0.7;
}

/* ================= MOBILE ================= */

@media (max-width: 850px) {
  .feature-row,
  .feature-row.reverse {
    flex-direction: column !important;
    gap: 30px;
    margin-bottom: 60px;
    text-align: center;
  }

  .feature-text {
    text-align: center;
  }

  .feature-image img {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-row {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}