@font-face {
  font-family: "Reisinger Yonatan";
  src: url("../assets/fonts/Reisinger-Yonatan-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Reisinger Neta";
  src: url("../assets/fonts/Reisinger-Neta-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Reisinger Neta";
  src: url("../assets/fonts/Reisinger-Neta-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Reisinger Neta";
  src: url("../assets/fonts/Reisinger-Neta-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Suez One";
  src: url("../assets/fonts/SuezOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-accent: #fd6d13;
  --overlay-kisekala: rgba(2, 25, 73, 0.55);
  --overlay-lehaka: rgba(59, 59, 59, 0.65);
  --overlay-dj: rgba(121, 0, 0, 0.62);

  --font-display: "Reisinger Yonatan", sans-serif;
  --font-logo: "Reisinger Neta", sans-serif;
  --font-body: "Suez One", sans-serif;

  --container-padding: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  line-height: 1.4;
}

.site-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

/* ---------- Top bar ---------- */

:root {
  --topbar-h-mobile: 92px;
  --topbar-h-desktop: 110px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: 15px;
}

.topbar__icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.topbar__icons a {
  display: inline-flex;
}

.icon-swap.topbar__logo {
  display: none;
}

.icon-swap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.icon-swap img {
  display: block;
}

.icon-swap__hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.icon-swap:hover .icon-swap__hover {
  opacity: 1;
}

a.topbar__recommend {
  display: none;
}

.hero__recommend {
  position: absolute;
  top: 73px;
  right: var(--container-padding);
  z-index: 15;
}

.topbar__icons img {
  height: 30px;
  width: auto;
  max-width: none;
}

.topbar__icons a[aria-label="אינסטגרם"] img {
  height: 35px;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 9px 4px;
  height: 43px;
  box-sizing: border-box;
  font-family: var(--font-display);
  font-size: 25px;
  white-space: nowrap;
}

.btn--ghost {
  border: 2px solid var(--color-white);
  color: var(--color-white);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn__star {
  display: inline-block;
  width: 27px;
  aspect-ratio: 30 / 28.5;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-image: url("../assets/images/icon-star.svg");
  mask-image: url("../assets/images/icon-star.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.btn--solid {
  background: var(--color-white);
  color: var(--color-black);
  transition: background 0.25s ease, color 0.25s ease;
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background: linear-gradient(-66deg, rgb(252, 67, 25) 0%, rgb(255, 169, 1) 86.489%);
  color: #151515;
}

.btn__icon {
  height: 1em;
  width: auto;
  max-width: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: 0 20px;
}

.hero__logo {
  width: min(70vw, 420px);
  height: auto;
}

.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

body.at-top .hero__scroll {
  opacity: 1;
}

.hero__scroll-text {
  font-family: var(--font-body);
  font-size: 16px;
  text-align: center;
  max-width: 260px;
}

.hero__brands {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 22px;
}

.hero__brands-logo {
  height: 40px;
  width: auto;
  max-width: none;
}

.hero__brands-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__brands-title {
  font-family: var(--font-logo);
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
}

.hero__brands-subtitle {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.5px;
}

/* ---------- Cards section ---------- */

.cards {
  position: relative;
  padding: calc(var(--topbar-h-mobile) + 24px) var(--container-padding) 60px;
  scroll-margin-top: var(--topbar-h-mobile);
}

.cards__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer {
  text-align: center;
  padding: 24px var(--container-padding) 32px;
}

.site-footer p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  isolation: isolate;
}

.card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.card__hover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 16px 10px;
  border-bottom: 2.683px solid var(--color-white);
  opacity: 1;
}

.card__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.card__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 80px;
}

.card__mobile-footer {
  display: flex;
  justify-content: center;
  order: 1;
}

.card__content {
  display: flex;
  flex-direction: column;
  gap: 12.5px;
  order: 2;
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  order: 3;
}

.card__gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  border: 2px solid var(--color-white);
  border-radius: 17px;
  padding: 0 12px 3px;
  font-family: var(--font-display);
  font-size: 25px;
  white-space: nowrap;
}

.card__gallery-arrow {
  display: inline-block;
  width: 25px;
  aspect-ratio: 20 / 12;
  transform: scaleX(-1);
  background-color: currentColor;
  -webkit-mask-image: url("../assets/images/icon-gallery-arrow.svg");
  mask-image: url("../assets/images/icon-gallery-arrow.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.card__icons {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex-wrap: nowrap;
}

.card__icons img {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.card__text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.377;
  order: 2;
  margin-top: 0;
}

.card__text p {
  margin-bottom: 0.5em;
}

.card__text p:last-child {
  margin-bottom: 0;
}

.card__text .u {
  text-decoration: underline;
}

.card__text .en {
  font-family: var(--font-display);
}

.card__footer {
  display: none;
}

.card__footer-logo {
  width: 170px;
  height: auto;
  transition: transform 0.35s ease;
}

.card:hover .card__footer-logo {
  transform: scale(1.1);
}

.card__footer-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  transition: transform 0.35s ease;
}

.card:hover .card__footer-type {
  transform: scale(1.1);
}

.card__footer-title {
  font-family: var(--font-logo);
  font-weight: 500;
  font-size: 50px;
  line-height: 1;
}

.card__footer-subtitle {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* ============================================================
   Desktop (≥1024px): hover-reveal cards, 3-column grid, wide hero
   ============================================================ */

@media (min-width: 1024px) {
  :root {
    --container-padding: 40px;
  }

  .btn {
    font-size: 35px;
  }

  .topbar {
    padding: 28px var(--container-padding);
  }

  .icon-swap.topbar__logo {
    display: inline-flex;
  }

  .topbar__logo img {
    height: 48px;
    width: auto;
    max-width: none;
  }

  a.topbar__recommend {
    display: inline-flex;
  }

  .hero__recommend {
    display: none;
  }

  .hero__logo {
    width: min(35vw, 560px);
  }

  .hero__scroll-text {
    font-size: 20px;
    max-width: none;
  }

  .hero__brands {
    display: none;
  }

  .cards {
    position: sticky;
    top: calc(var(--topbar-h-desktop) + 24px);
    padding: 0 var(--container-padding) 80px;
    scroll-margin-top: var(--topbar-h-desktop);
  }

  .cards__grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  .card {
    flex: 1;
    aspect-ratio: 428.596 / 642.58;
    max-height: calc(100svh - var(--topbar-h-desktop) - 24px - 80px);
    padding: 16px 24px 24px;
  }

  .card__mobile-footer {
    display: none;
  }

  .card__top {
    justify-content: right;
    order: 1;
    gap: 12px;
  }

  .card__icons {
    gap: 6px;
  }

  .card__icons img {
    width: 28px;
    height: 28px;
  }

  .card__text {
    order: 2;
    margin-top: 0;
  }

  .card__gallery-btn {
    display: none;
  }

  .card__hover {
    position: absolute;
    inset: 0;
    padding: 16px 24px 24px;
    border-bottom: none;
    border-top: 3px solid var(--color-white);
    opacity: 0;
    transition: opacity 0.35s ease;
  }

  .card:hover .card__hover,
  .card:focus-visible .card__hover {
    opacity: 1;
  }

  .card__overlay {
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.35s ease;
  }

  .card:hover .card__overlay,
  .card:focus-visible .card__overlay {
    opacity: 1;
  }

  .card__text {
    font-size: 21px;
  }

  .card__footer {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: auto;
    margin-bottom: 20px;
  }

  .card__footer-logo {
    width: 220px;
  }

  .card__footer-title {
    font-size: 64px;
  }

  .card__footer-subtitle {
    font-size: 16px;
  }
}

/* ---------- Reviews overlay ---------- */

.reviews-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: flex-start;
  justify-content: right;
  padding: 73px var(--container-padding) 24px;
}

.reviews-overlay[hidden] {
  display: none;
}

.reviews-modal {
  position: relative;
  width: 100%;
  height: min(74vh, 600px);
  border: 3px solid var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  background: #12203f url("../assets/images/reviews/overlay-bg.png") center / cover no-repeat;
  display: flex;
  flex-direction: column;
  padding-top: 24px;
}

.reviews-modal__close {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  width: 24px;
  height: 24px;
  color: var(--color-white);
}

.reviews-modal__close svg {
  width: 100%;
  height: 100%;
}

.reviews-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 0 0;
  flex: 1;
  min-height: 0;
  direction: ltr;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.review-card {
  direction: rtl;
}

.review-card {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  scroll-snap-align: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.reviews-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 0 16px;
  flex-shrink: 0;
}

.reviews-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.reviews-dot.is-active {
  background: var(--color-white);
  transform: scale(1.3);
}

.review-card__name {
  font-family: var(--font-body);
  color: var(--color-white);
  font-size: 18px;
  text-align: center;
  white-space: nowrap;
}

.review-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-white);
  flex-shrink: 0;
}

.review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-card__date {
  background: #151515;
  color: var(--color-white);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 10px;
  white-space: nowrap;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.review-card__bubble {
  background: var(--color-white);
  color: var(--color-black);
  border-radius: 14px;
  padding: 10px 12px;
  width: 100%;
  font-size: 13px;
  line-height: 1.35;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.review-card__bubble p {
  margin-bottom: 0.6em;
  white-space: pre-wrap;
}

.review-card__bubble p:last-of-type {
  margin-bottom: 0.3em;
}

.review-card__time {
  opacity: 0.31;
  font-size: 12px;
  text-align: right;
}

@media (min-width: 1024px) {
  .reviews-overlay {
    padding: calc(var(--topbar-h-desktop) + 24px) var(--container-padding) 24px;
  }

  .reviews-modal {
    width: 66.667%;
    height: min(80vh, 720px);
    padding-top: 28px;
  }

  .reviews-modal__close {
    top: 28px;
    left: 28px;
    width: 28px;
    height: 28px;
  }

  .reviews-track {
    padding: 10px 28px 28px;
    gap: 24px;
    scroll-snap-type: none;
  }

  .review-card {
    flex: 0 0 auto;
    width: 300px;
    height: auto;
    padding: 0;
    scroll-snap-align: none;
    overflow-y: visible;
  }

  .reviews-dots {
    display: none;
  }

  .review-card__name {
    font-size: 22px;
  }

  .review-card__avatar {
    width: 120px;
    height: 120px;
  }

  .review-card__date {
    font-size: 12px;
  }

  .review-card__bubble {
    font-size: 14px;
    padding: 12px 14px;
  }
}

/* ============================================================
   Gallery sub-pages (dj.html, kise-kala.html, lehaka.html)
   ============================================================ */

.gallery-page {
  height: 100svh;
  overflow: hidden;
}

.gallery-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.gallery-tint {
  display: none;
}

.gallery-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--container-padding);
}

.gallery-header__logo,
.gallery-back {
  display: none;
}

.gallery-header__logo img {
  height: 36px;
  width: auto;
  max-width: none;
}

.gallery-back__arrow {
  height: 0.6em;
  width: auto;
  max-width: none;
}

.gallery-header__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--color-white);
  text-align: center;
}

.gallery-header__title .gallery-hero__name {
  font-size: 40px;
}

.gallery-header__title .gallery-hero__subtitle {
  font-size: 14px;
}

.gallery-header__logo-img {
  height: 64px;
  width: auto;
  max-width: none;
}

.gallery-back-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  color: var(--color-white);
  flex-shrink: 0;
}

.gallery-back-chevron svg {
  width: 12px;
  height: auto;
}

.gallery-layout {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: 100svh;
  padding: calc(var(--topbar-h-mobile) + 24px) var(--container-padding) 40px;
}

.gallery-hero {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  color: var(--color-white);
  text-align: center;
}

.gallery-hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.gallery-hero__logo {
  width: 220px;
  height: auto;
}

.gallery-hero__name {
  font-family: var(--font-logo);
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
}

.gallery-hero__subtitle {
  font-family: var(--font-display);
  font-size: 20px;
}

.gallery-hero__text {
  display: none;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
  text-align: right;
}

.gallery-hero__text p {
  margin-bottom: 0.7em;
}

.gallery-hero__text .u {
  text-decoration: underline;
}

.gallery-hero__text .en {
  font-family: var(--font-display);
}

.gallery-photos {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 20px;
  border-top: 3px solid var(--color-white);
  padding-top: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.gallery-photos img,
.gallery-photos video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.gallery-photos__row {
  display: flex;
  gap: 16px;
}

.gallery-photos__row img,
.gallery-photos__row video {
  flex: 1;
  min-width: 0;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .gallery-header {
    padding: 28px var(--container-padding);
  }

  .gallery-header__logo,
  .gallery-back {
    display: inline-flex;
  }

  .gallery-header__logo img {
    height: 48px;
  }

  .gallery-header__title,
  .gallery-back-chevron {
    display: none;
  }

  .gallery-hero__text {
    display: block;
  }

  .gallery-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    padding: calc(var(--topbar-h-desktop) + 24px) var(--container-padding) 40px;
    height: 100svh;
    box-sizing: border-box;
  }

  .gallery-hero {
    display: flex;
    flex: 0 0 380px;
    align-items: flex-end;
    text-align: right;
  }

  .gallery-hero__title {
    align-items: center;
    width: 100%;
  }

  .gallery-hero__name {
    font-size: 110px;
  }

  .gallery-hero__subtitle {
    font-size: 30px;
  }

  .gallery-hero__text {
    font-size: 19px;
  }

  .gallery-photos {
    flex: 1;
    min-width: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 0;
  }
}
