@font-face { font-family: 'Gotham'; src: url('/fonts/Gotham-Book.otf') format('opentype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Gotham'; src: url('/fonts/Gotham-BookIta.otf') format('opentype'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'Gotham'; src: url('/fonts/Gotham-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Gotham'; src: url('/fonts/Gotham-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Gotham'; src: url('/fonts/Gotham-BoldIta.otf') format('opentype'); font-weight: 700; font-style: italic; }
@font-face { font-family: 'Gotham'; src: url('/fonts/Gotham-Light.otf') format('opentype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Gotham'; src: url('/fonts/Gotham-Black.otf') format('opentype'); font-weight: 900; font-style: normal; }

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #E9C84D;
  --yellow-dark: #d4b03a;
  --green: #5BAD6A;
  --bg-news: #C5D5DC;
  --bg-dark: #1a1a1a;
  --text-dark: #1A1A1A;
  --text-muted: #444;
  --font: 'Gotham', 'Assistant', Arial, sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body { font-family: var(--font); color: var(--text-dark); background: #fff; line-height: 1.7; overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── LANG SWITCHER ── */
.nav {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 100;
}

.nav__lang a {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.85);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
}
.nav__lang a::after { content: '▾'; font-size: 11px; }
.nav__lang a:hover { background: #fff; opacity: 1; }

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 520px;
  max-height: 720px;
  overflow: hidden;
}

/* background: sky-focused, bright and airy */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/Custom Preset Copy 3.png');
  background-size: cover;
  background-position: center 15%;
  background-repeat: no-repeat;
  filter: blur(1.5px) brightness(1.08) saturate(0.9);
  transform: scale(1.04);
  z-index: 0;
}

/* monkey: hangs from top, above phone area */
.hero__monkey {
  position: absolute;
  top: 0;
  right: calc(8% + 60px);
  height: 200px;
  width: auto;
  z-index: 3;
  pointer-events: none;
}

/* content block: upper-left, NOT vertically centered */
.hero__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-left: 300px;
  padding-top: 10vh;
}

/* logo: large, ~580px */
.hero__logo-img {
  width: 580px;
  max-width: 100%;
  display: block;
  margin-bottom: 10px;
}

/* tagline */
.hero__tagline {
  font-family: var(--font);
  font-size: 30px;
  font-weight: 400;
  color: #3DB83A;
  margin-top: 0;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

/* app store buttons */
.hero__badges {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.hero__badges img {
  height: 52px;
  width: auto;
}

/* phone: anchored bottom-right, hand bleeds off bottom */
.hero__phone {
  position: absolute;
  right: 8%;
  bottom: 0;
  height: 90%;
  width: auto;
  object-fit: contain;
  object-position: top;
  z-index: 2;
  pointer-events: none;
}

/* ── SPLIT SECTIONS ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__photo {
  position: relative;
  overflow: hidden;
}
.split__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  top: 0; left: 0;
}

.split__text {
  background: var(--yellow);
  padding: 36px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split__body {
  font-size: 15px;
  line-height: 1.7;
}
.split__body p + p { margin-top: 12px; }

.split__title {
  font-family: var(--font);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.3;
}

.split__body {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.85;
}
.split__body p + p { margin-top: 16px; }

/* ── FULL-WIDTH IMAGE ── */
.full-img {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
}
.full-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── VALUES ── */
.values {
  background: #8FAEC8;
  padding: 70px 60px;
  text-align: center;
}

.values__title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  margin-bottom: 48px;
  color: var(--text-dark);
  font-style: italic;
  letter-spacing: 0.01em;
}

.values__img {
  max-width: 900px;
  margin: 0 auto;
  display: block;
}

/* ── VIDEO ── */
.video-section {
  background: #000;
}
.video-wrap {
  width: 100%;
  aspect-ratio: 16/9;
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── MAP ── */
.map-section {
  width: 100%;
  height: 420px;
}
.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── CONTACT ── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.contact-split__form-panel {
  background: var(--yellow);
  padding: 70px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-split__image {
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.contact-split__image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  display: block;
}

.contact__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact__emails { margin-bottom: 20px; }
.contact__emails a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.contact__emails a:hover { text-decoration: underline; opacity: 1; }

.contact__socials {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  align-items: center;
}
.social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.social-icon:hover { opacity: 0.7; }
.social-icon svg { width: 28px; height: 28px; }

.form-row { margin-bottom: 0; }
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.3);
  font-family: var(--font);
  font-size: 15px;
  color: var(--text-dark);
  outline: none;
  margin-bottom: 16px;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(0,0,0,0.5); }
.form-row input:focus,
.form-row textarea:focus { border-bottom-color: var(--text-dark); }
.form-row textarea { height: 80px; resize: none; }

.btn-submit {
  background: var(--text-dark);
  color: #fff;
  border: none;
  padding: 12px 40px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.05em;
  margin-top: 8px;
  transition: opacity 0.2s;
}
.btn-submit:hover { opacity: 0.8; }

.form-success {
  display: none;
  margin-top: 14px;
  font-weight: 600;
  color: #2e7d32;
}

/* ── NEWS ── */
.news {
  background: var(--bg-news);
  padding: 70px 60px;
  text-align: center;
}

.news__title {
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 40px;
  color: var(--text-dark);
  font-style: italic;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.news-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  display: block;
}
.news-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.news-item:hover img { transform: scale(1.04); }
.news-item--video { aspect-ratio: 1; }
.news-item--video iframe { width: 100%; height: 100%; border: 0; }

/* ── GALLERY ── */
.gallery {
  background: #f0f0ee;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.gallery__track-wrapper {
  overflow: hidden;
  width: 100%;
}

.gallery__track {
  display: flex;
  transition: transform 0.4s ease;
}

.gallery__slide {
  flex: 0 0 33.333%;
  height: 380px;
  overflow: hidden;
}
.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transition: background 0.2s;
}
.gallery__btn:hover { background: #fff; }
.gallery__btn--prev { left: 16px; }
.gallery__btn--next { right: 16px; }

/* ── LOGOS SECTION ── */
.logos-section {
  background: #fff;
  padding: 60px 40px;
}

.logos-section__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.logos-section__grid img {
  height: 52px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.logos-section__grid img:hover { opacity: 1; }

/* ── PARTNERS ── */
.partners {
  padding: 60px 60px;
  background: #fff;
  text-align: center;
}

.partners__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text-dark);
}

.partners__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 32px;
}
.partners__logos img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.partners__logos img:hover { opacity: 1; filter: none; }

.partners__credits {
  max-width: 700px;
  margin: 0 auto 24px;
  display: block;
}

.generosity-text {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  margin: 16px auto;
  max-width: 600px;
}

/* ── MOOSH BUTTON ── */
.moosh-banner {
  background: var(--bg-dark);
  text-align: center;
  padding: 32px 40px;
}
.moosh-banner__btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--text-dark);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.moosh-banner__btn:hover { background: var(--yellow-dark); }

/* ── FOOTER ── */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 28px 40px;
  font-size: 14px;
}
.footer__socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
}
.footer__socials .social-icon svg {
  width: 24px;
  height: 24px;
  fill: rgba(255,255,255,0.5);
  transition: fill 0.2s;
}
.footer__socials .social-icon:hover svg { fill: #fff; opacity: 1; }
.footer__links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.footer__links a { color: rgba(255,255,255,0.55); }
.footer__links a:hover { color: #fff; opacity: 1; }

/* ── HAMBURGER (mobile only) ── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: rgba(255,255,255,0.85);
  border-radius: 4px;
}
.nav__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-dark); border-radius: 2px;
}
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  padding: 60px 30px 30px;
  flex-direction: column;
  gap: 20px;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.nav__mobile-menu.open { display: flex; }
.nav__mobile-menu a { font-size: 16px; font-weight: 600; color: var(--text-dark); }
.nav__mobile-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-dark);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  /* Tablet: split sections stack */
  .split { grid-template-columns: 1fr; }
  .split__photo { min-height: 280px; }
  .split__text { padding: 48px 30px; }
  .split--reverse { direction: ltr; }

  .contact-split { grid-template-columns: 1fr; }
  .contact-split__form-panel { padding: 48px 30px; }
  .contact-split__image { min-height: 260px; }

  .gallery__slide { flex: 0 0 100%; }
  .full-img img { height: 260px; }
  .map-section { height: 300px; }

  .values { padding: 60px 30px; }

  .news { padding: 50px 20px; }
  .news__grid { grid-template-columns: repeat(2, 1fr); }

  .logos-section { padding: 40px 20px; }
  .logos-section__grid { gap: 24px; }
  .logos-section__grid img { height: 36px; }

  .partners { padding: 48px 20px; }
  .partners__logos img { height: 36px; }

  .nav__hamburger { display: flex; }
  .nav__lang { display: none; }
}

@media (max-width: 768px) {
  /* Mobile hero: full vertical stack */
  .hero {
    height: auto;
    min-height: unset;
    max-height: unset;
    padding: 100px 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
  }

  .hero__bg {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
  }

  /* monkey: small, top-right, above everything but not blocking text */
  .hero__monkey {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    height: 140px;
    width: auto;
    z-index: 3;
  }

  /* content: in-flow, centered */
  .hero__content {
    position: static;
    width: 100%;
    padding: 0;
    height: auto;
    align-items: center;
    text-align: center;
    z-index: 2;
  }

  .hero__logo-img {
    width: 70vw;
    max-width: 320px;
    margin: 0 auto 10px;
  }

  .hero__tagline {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .hero__badges {
    align-items: center;
  }
  .hero__badges img {
    width: 200px;
    height: auto;
  }

  /* phone: in-flow below content */
  .hero__phone {
    position: static;
    width: 85vw;
    height: auto;
    margin: 16px auto 0;
    z-index: 2;
  }

  /* sections general padding */
  section, .split__text, .contact-split__form-panel {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* news: 2x2 grid */
  .news__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* values image: full width */
  .values {
    padding: 48px 24px;
  }
  .values__img {
    width: 100%;
    max-width: 100%;
  }

  /* value cards (Hebrew version) */
  .values__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .value-card {
    width: 80vw;
    max-width: 320px;
  }

  /* logos: wrap and smaller */
  .logos-section__grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .logos-section__grid img {
    max-height: 50px;
    width: auto;
  }
  .partners__logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .partners__logos img {
    max-height: 50px;
    width: auto;
  }

  /* contact: single column, no giant image panel */
  .contact-split {
    grid-template-columns: 1fr;
  }
  .contact-split__image {
    display: none;
  }
  .contact-split__form-panel {
    padding: 48px 24px;
  }
}
