/* ==========================================================================
   בשביל הטבע — stylesheet
   Warm, natural palette · Hebrew RTL · mobile-first
   ========================================================================== */
:root {
  --forest-900: #26331f;
  --forest-700: #3d5230;
  --forest-500: #5d7842;
  --sage: #9caf7f;
  --cream: #f7f3e9;
  --sand: #efe6d3;
  --terracotta: #c67b4e;
  --ink: #2b2a24;
  --muted: #6d6a5f;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(38, 51, 31, 0.12);
  --shadow-sm: 0 4px 14px rgba(38, 51, 31, 0.1);
  --container: 1120px;
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Assistant", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 18px;
}
h1, h2, h3, .brand-name { font-family: "Rubik", "Assistant", sans-serif; font-weight: 700; }
img { max-width: 100%; display: block; }
a { color: var(--forest-700); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 233, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(93, 120, 66, 0.18);
}
.header-inner { display: flex; align-items: center; justify-content: flex-start; min-height: var(--header-h); gap: 12px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--forest-900); flex-shrink: 0; padding-inline-end: 34px; margin-inline-end: 34px; border-inline-end: 1px solid rgba(93, 120, 66, 0.25); }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-name { font-size: 1.35rem; letter-spacing: .5px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a {
  display: block; text-decoration: none; color: var(--ink);
  padding: 8px 14px; border-radius: 9px; font-weight: 600; font-size: .98rem;
  transition: background .18s, color .18s;
}
.site-nav a:hover { background: var(--sand); }
.site-nav a[aria-current="page"] { background: var(--forest-700); color: var(--white); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--forest-700); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 360px; display: grid; place-items: center; overflow: hidden; }
.hero--home { min-height: min(78vh, 640px); }
.hero-art, .hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(38,51,31,.28), rgba(38,51,31,.55));
}
/* stronger, centered scrim for photographic heroes so white text stays readable */
.hero--photo .hero-overlay {
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(30,40,22,.55), rgba(30,40,22,.28) 55%, rgba(30,40,22,.5)),
    linear-gradient(180deg, rgba(30,40,22,.30), rgba(30,40,22,.55));
}
.hero-content { position: relative; text-align: center; color: var(--white); padding: 60px 22px; }
.hero-content h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0 0 .3em; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.5rem); max-width: 40ch; margin: 0 auto; text-shadow: 0 1px 10px rgba(0,0,0,.4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; margin-top: 26px; background: var(--terracotta); color: var(--white);
  text-decoration: none; padding: 13px 30px; border-radius: 999px; font-weight: 700;
  border: 0; cursor: pointer; font-size: 1rem; box-shadow: var(--shadow-sm);
  transition: transform .15s, background .2s;
}
.btn:hover { background: #b26838; transform: translateY(-2px); }
.btn--sm { margin-top: 6px; padding: 10px 22px; font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section-title { font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--forest-900); margin: 0 0 1em; text-align: center; }
.prose { max-width: 760px; margin-inline: auto; text-align: center; }
.prose p { margin: 0 0 1.1em; font-size: 1.12rem; color: #3a382f; }

/* About page: portrait beside the text */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 46px; align-items: center; max-width: 960px; margin-inline: auto; }
.about-portrait { margin: 0; }
.about-portrait img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.about-portrait figcaption { text-align: center; margin-top: 12px; color: var(--forest-700); font-weight: 700; font-family: "Rubik", sans-serif; }
.about-prose { max-width: none; }
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .about-portrait { max-width: 280px; margin-inline: auto; }
}

/* ---------- Home cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 30px 26px; border-radius: var(--radius); text-decoration: none; color: var(--white);
  background: linear-gradient(150deg, var(--c1, var(--forest-700)), var(--c2, var(--forest-500)));
  box-shadow: var(--shadow-sm); min-height: 170px; overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-art { font-size: 2rem; opacity: .9; }
.card-title { font-family: "Rubik", sans-serif; font-size: 1.5rem; font-weight: 700; }
.card-sub { font-size: .98rem; opacity: .92; line-height: 1.5; }

/* ---------- Quote band ---------- */
.quote-band { background: var(--forest-700); color: var(--cream); padding: clamp(40px, 7vw, 72px) 0; }
.quote-band blockquote {
  margin: 0; max-width: 800px; margin-inline: auto; text-align: center;
  font-family: "Rubik", sans-serif; font-size: clamp(1.25rem, 3vw, 1.8rem); line-height: 1.6;
}
.quote-band cite { display: block; margin-top: .8em; font-size: 1rem; font-style: normal; opacity: .8; font-family: "Assistant", sans-serif; }

/* ---------- Gallery ---------- */
.gallery-section { background: var(--sand); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.tile {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: block;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover img { transform: scale(1.06); }
.tile--ph svg { width: 100%; height: 100%; }
.tile[data-lightbox] { cursor: zoom-in; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-center { max-width: 560px; margin-inline: auto; text-align: center; }
.contact-line { margin: 0 0 .6em; }
.btn--whatsapp { display: inline-flex; align-items: center; gap: 9px; background: #25d366; }
.btn--whatsapp:hover { background: #1eb457; }
.btn--whatsapp .wa-icon { flex-shrink: 0; }
.contact-form { display: flex; flex-direction: column; gap: 14px; background: var(--white); padding: 26px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; }
.contact-form input, .contact-form textarea {
  font: inherit; padding: 11px 13px; border: 1px solid #d8d2c0; border-radius: 10px; background: var(--cream);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--sage); border-color: var(--sage); }
.hidden-field { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-900); color: #e7e3d5; padding: 34px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.footer-brand { font-family: "Rubik", sans-serif; font-size: 1.4rem; margin-bottom: 6px; }
.footer-tag { color: #b9c1a5; margin: 0; }
.footer-name { margin: 0 0 .55em; }
.footer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 26px; }
.footer-details p { margin: 0; }
.footer-contact a { color: #d9e0c6; }
.footer-bottom { text-align: center; padding: 16px; margin-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; color: #a7ad93; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(20,26,15,.92);
  display: grid; place-items: center; padding: 30px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute; top: 18px; inset-inline-end: 24px; background: none; border: 0;
  color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; z-index: 2;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 2.1rem; line-height: 1;
  display: grid; place-items: center; transition: background 0.18s; z-index: 2;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox-prev { inset-inline-end: 22px; }
.lightbox-next { inset-inline-start: 22px; }
.lightbox-count {
  position: absolute; bottom: 22px; inset-inline: 0; text-align: center; direction: ltr;
  color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; letter-spacing: 1px;
}
@media (max-width: 600px) {
  .lightbox-nav { width: 44px; height: 44px; font-size: 1.7rem; }
  .lightbox-prev { inset-inline-end: 10px; }
  .lightbox-next { inset-inline-start: 10px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .brand { border-inline-end: 0; padding-inline-end: 0; margin-inline-end: 0; }
  .header-inner { justify-content: space-between; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--cream);
    border-bottom: 1px solid rgba(93,120,66,.2); box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .28s ease; padding: 12px 0;
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav ul { flex-direction: column; gap: 2px; padding: 0 16px; }
  .site-nav a { padding: 12px 14px; border-radius: 10px; font-size: 1.05rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
