/* ============================================================
   חופשה על גלגלים — style.css
   Mobile-first, RTL. פלטה: ירוק (קרוואן משפחתי), צהוב (קרוואן זוגי), קרם.
   ============================================================ */

:root {
  --green: #2f5d3a;
  --green-dark: #22462b;
  --green-light: #e4efe6;
  --yellow: #f2b632;
  --yellow-dark: #c98f0f;
  --yellow-light: #fdf1d3;
  --cream: #faf7f0;
  --white: #ffffff;
  --ink: #1f2a22;
  --ink-soft: #4d5a50;
  --line: #e2ddd2;
  --danger: #b3261e;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(31, 42, 34, 0.08);
  --max: 1120px;
  --gutter: 16px;
  --font: "Heebo", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  direction: rtl;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
}

a:hover {
  color: var(--green-dark);
}

:focus-visible {
  outline: 3px solid var(--yellow-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  line-height: 1.25;
  margin: 0 0 0.5em;
  font-weight: 800;
  color: var(--green-dark);
}

h1 {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  padding-inline-start: 1.4em;
  margin: 0 0 1em;
}

li {
  margin-bottom: 0.35em;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  inset-inline-start: 8px;
  top: -60px;
  background: var(--yellow);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  z-index: 200;
  font-weight: 700;
}

.skip-link:focus {
  top: 8px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Placeholders לאישור מול הבעלים ---------- */
mark.todo {
  background: var(--yellow-light);
  color: var(--danger);
  border: 1px dashed var(--danger);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 1.15rem;
  white-space: nowrap;
}

.brand svg {
  width: 36px;
  height: 36px;
  flex: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--green-dark);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.site-nav {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 8px var(--gutter) 16px;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.site-nav a {
  display: block;
  padding: 12px 8px;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius-sm);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--green-light);
  color: var(--green-dark);
}

.site-nav .nav-cta a {
  margin-top: 8px;
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
  font-weight: 800;
}

.site-nav .nav-cta a:hover {
  background: var(--yellow-dark);
  color: var(--ink);
}

@media (min-width: 1140px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 0.95rem;
  }

  .site-nav .nav-cta a {
    margin: 0 0 0 0;
    margin-inline-start: 8px;
    padding-inline: 16px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.2;
  transition: background 0.15s, transform 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--yellow-dark);
  color: var(--ink);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--green);
  color: var(--green-dark);
}

.btn-outline:hover {
  background: var(--green-light);
}

.btn-whatsapp {
  background: #25d366;
  color: #062b14;
}

.btn-whatsapp:hover {
  background: #1ebe5a;
  color: #062b14;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.2em 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: var(--green-dark);
  overflow: hidden;
}

.hero picture,
.hero .hero-img {
  position: absolute;
  inset: 0;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero .container {
  position: relative;
  padding-block: 64px;
  max-width: 760px;
}

.hero h1 {
  color: var(--white);
}

.hero p {
  font-size: 1.15rem;
  max-width: 48ch;
}

.hero .eyebrow {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .hero .container {
    padding-block: 110px;
  }
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: var(--green-light);
  border-bottom: 1px solid var(--line);
}

.page-header .container {
  padding-block: 40px;
}

.page-header p {
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
}

/* ---------- Sections & cards ---------- */
.section {
  padding-block: 48px;
}

.section-tight {
  padding-block: 32px;
}

.section-alt {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section-title {
  text-align: center;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.card-img {
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.card-flush {
  padding: 0;
  overflow: hidden;
}

.card-flush .card-body {
  padding: 22px;
}

.card-couple {
  border-top: 6px solid var(--yellow);
}

.card-family {
  border-top: 6px solid var(--green);
}

.badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  vertical-align: middle;
}

.badge-available {
  background: var(--green-light);
  color: var(--green-dark);
}

.badge-unavailable {
  background: #fde8e6;
  color: var(--danger);
}

.feature {
  text-align: center;
}

.feature .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--yellow-light);
  display: grid;
  place-items: center;
  color: var(--green-dark);
}

.feature .icon svg {
  width: 28px;
  height: 28px;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-inline-start: 28px;
  margin-bottom: 0.5em;
}

.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>") center/10px no-repeat;
}

.spec-list {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 6px;
}

.spec-list li span:first-child {
  color: var(--ink-soft);
}

.note {
  background: var(--yellow-light);
  border-inline-start: 4px solid var(--yellow);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin: 1em 0;
}

.prose {
  max-width: 68ch;
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}

th,
td {
  padding: 12px 14px;
  text-align: start;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 800;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.price {
  font-weight: 800;
  color: var(--green-dark);
  white-space: nowrap;
}

/* ---------- Pricing cards ---------- */
.price-card .tiers {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.price-card .tiers li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.price-card .tiers li:last-child {
  border-bottom: 0;
}

.price-card .tiers .price {
  font-size: 1.4rem;
}

.price-card .tiers .per {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 400;
  margin-inline-start: 4px;
}

/* ---------- Gallery ---------- */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.gallery-filter button {
  font: inherit;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  color: var(--ink);
}

.gallery-filter button[aria-pressed="true"] {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item .tag {
  position: absolute;
  bottom: 8px;
  inset-inline-start: 8px;
  background: rgba(31, 42, 34, 0.75);
  color: var(--white);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
}

.gallery-item.is-placeholder img {
  object-fit: contain;
  background: var(--yellow-light);
  padding: 12%;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 12, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 16px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.lightbox figure {
  margin: 0;
  text-align: center;
  color: var(--white);
  max-width: 1200px;
}

.lightbox figcaption {
  margin-top: 12px;
  font-size: 0.95rem;
}

.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox button:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox button svg {
  width: 26px;
  height: 26px;
}

.lightbox .lb-close {
  top: 16px;
  inset-inline-end: 16px;
}

.lightbox .lb-prev {
  inset-inline-start: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .lb-next {
  inset-inline-end: 12px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 16px;
  max-width: 640px;
}

.form-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

label .req {
  color: var(--danger);
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 11px 14px;
  border: 1px solid #c9c4b8;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(47, 93, 58, 0.2);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 0;
}

legend {
  font-weight: 700;
  padding-inline: 6px;
}

.radio-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  margin: 0;
}

.radio-row input {
  width: auto;
}

.form-help {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Contact ---------- */
.contact-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-list svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--green);
  margin-top: 4px;
}

.contact-list a {
  font-weight: 700;
  text-decoration: none;
  direction: ltr;
  unicode-bidi: embed;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-dark);
  color: #dfe9e0;
  padding: 40px 0 96px;
  margin-top: 48px;
}

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

.site-footer .grid {
  gap: 28px;
}

.site-footer h3 {
  color: var(--yellow);
  font-size: 1.05rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 6px;
}

.site-footer .copy {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
  color: #b8c9bb;
}

@media (min-width: 1140px) {
  .site-footer {
    padding-bottom: 40px;
  }
}

/* ---------- Floating call bar (mobile) ---------- */
.call-bar {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 90;
  display: flex;
  gap: 8px;
  padding: 10px var(--gutter);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 247, 240, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.call-bar .btn {
  flex: 1;
  padding-inline: 10px;
}

@media (min-width: 1140px) {
  .call-bar {
    display: none;
  }
}

/* ---------- Misc ---------- */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  padding-inline-start: 44px;
  margin-bottom: 14px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  display: grid;
  place-items: center;
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.muted {
  color: var(--ink-soft);
}

.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .gallery-item img,
  .btn {
    transition: none;
  }
}
