/* =========================================================
   Design tokens — from the Figma source
   Navy   #001927   Cyan   #00baed / #39ceef   Orange #ef7939
   Mint   #f4fff9   Ink    #001927
   Font   Assistant (Hebrew, weights 300/400/600/700/800)
   ========================================================= */
:root {
  --navy: #001927;
  --near-black: #061219;
  --cyan: #00baed;
  --cyan-light: #39ceef;
  --orange: #ef7939;
  --orange-dark: #d9642a;
  --mint: #f4fff9;
  --paper: #ffffff;
  --ink: #001927;
  --ink-soft: rgba(0, 25, 39, 0.68);
  --white: #ffffff;

  --font: 'Assistant', system-ui, -apple-system, sans-serif;

  --radius-lg: 30px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --shadow-card: 0 6px 18px rgba(0, 25, 39, 0.18);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { font-weight: 800; margin: 0; line-height: 1.15; }
a { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.pill-btn:hover { transform: translateY(-2px); }

.pill-btn {
  background: #ececec;
  color: var(--navy);
  font-size: .85rem;
  padding: 8px 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.pill-btn:hover { background: #e0e0e0; }

.pill-btn--orange {
  background: var(--orange);
  color: var(--navy);
  font-size: 1.05rem;
  padding: 14px 34px;
  box-shadow: 0 8px 18px rgba(239, 121, 57, 0.4);
}
.pill-btn--orange:hover { background: var(--orange-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  color: var(--mint);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; }
.hero-gradient {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,15,24,0.55) 0%, rgba(0,15,24,0.15) 35%, rgba(0,15,24,0.65) 100%),
    linear-gradient(90deg, rgba(0,15,24,0.15) 0%, rgba(0,15,24,0.05) 50%, rgba(0,15,24,0.35) 100%);
}

.hero-top {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 40px 100px;
}

.logo { display: flex; align-items: center; }
.logo-mark { width: 500px; height: 500px; object-fit: contain; }

.hero-text { max-width: 560px; text-align: right; align-self: center; }
.hero-text h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 2800;
  color: var(--white);
  margin-bottom: 14px;
}
.hero-question {
  color: var(--cyan-light);
  font-weight: 700;
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  margin: 0 0 4px;
}
.hero-sub {
  color: var(--cyan-light);
  font-weight: 600;
  font-size: clamp(.85rem, 1.4vw, 1rem);
  margin: 0;
}

.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
}
.hero-dots span.active { background: var(--white); width: 22px; border-radius: var(--radius-pill); }

/* ---------- Activities row ---------- */
.activities { padding-block: 36px 44px; }
.cards-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
}
.cards-row::-webkit-scrollbar { height: 6px; }
.cards-row::-webkit-scrollbar-thumb { background: #ddd; border-radius: var(--radius-pill); }

.card {
  scroll-snap-align: start;
  flex: 1 1 0;
  min-width: 150px;
  background: var(--white);
  border: 1px solid rgba(0,25,39,0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 12px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.card-media {
  width: 100%;
  aspect-ratio: 1/0.72;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f2f2f2;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }

.card h3 { font-size: .95rem; color: var(--navy); font-weight: 800; }

/* ---------- Booking ---------- */
.booking {
  background: var(--cyan);
  padding-block: 60px 50px;
  text-align: center;
}
.booking h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.5rem); }
.booking-sub {
  color: var(--navy);
  font-weight: 400;
  font-size: 1.1rem;
  margin: 10px 0 34px;
}

.booking-form {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.field {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0,25,39,0.15);
  padding: 4px 20px;
  gap: 8px;
}
.field label {
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
  white-space: nowrap;
}
.field input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 0;
  font-family: var(--font);
  font-size: .95rem;
  color: var(--ink);
  text-align: right;
  min-width: 0;
}
.field input:focus { outline: none; }
.field:focus-within { border-color: var(--navy); }

.booking-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cancel-policy {
  color: var(--navy);
  font-size: .85rem;
  font-weight: 600;
  margin: 0;
}
.form-status {
  grid-column: 1 / -1;
  min-height: 1.2em;
  font-weight: 700;
  color: #06421f;
  margin: 4px 0 0;
  text-align: right;
}
.form-status[data-state="error"] { color: #6b1414; }

.contact-row {
  margin-top: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--navy);
  font-weight: 700;
}
.contact-prompt { font-size: 1rem; }
.contact-item { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; }
.contact-item svg { width: 20px; height: 20px; fill: var(--navy); }
.contact-sep { opacity: .5; }

/* ---------- Closing band ---------- */
.closing {
  position: relative;
  background: var(--near-black) url('footer.png') center/cover no-repeat;
  color: var(--white);
  padding-block: 70px;
  overflow: hidden;
  isolation: isolate;
}
.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,15,24,0.55);
  z-index: 0;
}
.closing-mark, .closing-inner, .closing-copyright { position: relative; z-index: 1; }
.closing-mark {
  position: absolute;
  right: auto;
  left: -160px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  object-fit: contain;
  opacity: 0.9;
  filter: brightness(0) saturate(100%) invert(53%) sepia(80%) saturate(1200%) hue-rotate(155deg) brightness(97%) contrast(101%);
  z-index: -1;
}
.closing-inner { text-align: center; }
.closing-inner h2 {
  color: var(--orange);
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 14px;
}
.closing-inner p {
  color: var(--white);
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin: 0;
}
.closing-copyright {
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: .78rem;
  margin: 34px 0 0;
}

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 25, 39, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  text-align: right;
}
.modal h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: 12px; }
.modal p { color: var(--ink-soft); margin: 0 0 22px; }
.modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-soft);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 860px) {
  .hero-top { flex-direction: column; align-items: flex-start; padding-block: 24px 70px; gap: 20px; }
  .hero-text { text-align: right; max-width: 100%; }
  .booking-form { grid-template-columns: 1fr; }
  .booking-actions { justify-content: center; text-align: center; }
  .closing-mark { width: 320px; height: 320px; left: -120px; opacity: .7; }
}

@media (max-width: 600px) {
  .cards-row { gap: 12px; }
  .card { min-width: 118px; padding: 10px 8px 14px; }
  .card h3 { font-size: .8rem; }
  .pill-btn { font-size: .72rem; padding: 6px 12px; }
  .contact-row { flex-direction: column; gap: 8px; }
  .contact-sep { display: none; }
}
