: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.7;
}

.container {
  width: min(1200px, 92%);
  margin: auto;
}

/* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid rgba(91,44,58,.15);
  z-index: 999;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 22px;
  color: var(--plum);
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  text-decoration: none;
  color: var(--plum);
  padding: 6px 8px;
  border-radius: 12px;
  transition: .2s;
}

.nav-links a:hover {
  background: rgba(197,167,179,.25);
}

/* ================= HERO ================= */

.hero{
  background: var(--soft);
  padding: 16px 0 12px;
}

.hero-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  gap: 16px;
}

/* איור ימין */
.hero-image{
  flex: 0 0 150px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-image img{
  width: 150px;
  height: auto;
  object-fit: contain;
}

/* טקסט */
.hero-text{
  flex: 1;
  text-align: right;
}

.kicker{
  font-size: 13px;
  opacity: .75;
  margin-bottom: 6px;
}

.hero-title{
  font-size: 36px;
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--plum);
  white-space: nowrap;
}

.lead{
  font-size: 15px;
  opacity: .95;
}

/* לוגו שמאל */
.hero-logo{
  flex: 0 0 200px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-logo img{
  width: 200px;
  height: auto;
}

/* קטגוריות */
.hero-categories{
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(91,44,58,.18);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-categories a{
  text-decoration: none;
  color: var(--plum);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(246,239,241,.55);
  border: 1px solid rgba(91,44,58,.16);
  transition: .2s ease;
}

.hero-categories a:hover{
  background: rgba(246,239,241,.9);
}

/* ================= SECTIONS ================= */

.section {
  padding: 80px 0;
}

.section.alt {
  background: rgba(197,167,179,.20);
}

.section-head h2,
.section-head h1 {
  font-size: 26px;
  color: var(--plum);
  margin-bottom: 6px;
}

/* GRID */

.cards {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* CARD בסיסי */

.card {
  position: relative;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(91,44,58,.12);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: .2s ease;
}

/* hover רגיל */

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  margin-bottom: 10px;
  color: var(--plum);
}

/* ================= CLICKABLE CARDS ================= */

.card-link {
  cursor: pointer;
  border: 1px solid rgba(91,44,58,.20);
}

.card-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(91,44,58,.15);
}

/* אינדיקציה קטנה לכרטיס לחיץ */

.card-link::after {
  content: "↗";
  position: absolute;
  top: 14px;
  left: 16px; /* RTL */
  font-size: 14px;
  opacity: .6;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* ================= FOOTER ================= */

.site-footer {
  background: var(--violet);
  color: var(--light-pink);
  padding: 50px 0 20px;
  margin-top: 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 18px;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 13px;
  opacity: .9;
}

.footer-nav {
  display: flex;
  gap: 18px;
}

.footer-nav a {
  color: var(--light-pink);
  text-decoration: none;
  font-size: 14px;
  transition: .2s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-contact a {
  color: var(--light-pink);
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(231,200,211,.3);
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 12px;
  opacity: .9;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px){

  .hero-row{
    flex-direction: column;
    text-align: center;
  }

  .hero-text{
    text-align: center;
  }

  .hero-title{
    white-space: normal;
    font-size: 30px;
  }

  .hero-logo img{
    width: 160px;
  }

  .hero-image img{
    width: 130px;
  }

  .footer-grid{
    flex-direction: column;
    text-align: center;
  }

  .footer-nav{
    justify-content: center;
  }
  /* FORCE footer links to be light pink (kills blue + visited) */
.site-footer a,
.site-footer a:link,
.site-footer a:visited,
.site-footer a:hover,
.site-footer a:active {
  color: var(--light-pink) !important;
  text-decoration: none !important;
}

.site-footer a:hover {
  text-decoration: underline !important;
}

}
