/* =========================================================
   מיץ מרק — SOUP PUNK
   Neo-brutalist landing page, RTL Hebrew.
   Structure: 1) Variables  2) Base  3) Layout  4) Components
   ========================================================= */

/* ---------- 1) VARIABLES ---------- */
:root {
  /* Palette */
  --ink: #111111;
  --yellow: #ffe94d;
  --yellow-deep: #f5d900;
  --tomato: #e7402c;
  --bottle: #0b3d2e;
  --cream: #f7f1e3;
  --white: #ffffff;

  /* Type */
  --font-display: "Heebo", "Arial Hebrew", system-ui, sans-serif;
  --font-body: "Heebo", "Arial Hebrew", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Menlo", monospace;

  /* System */
  --border: 3px solid var(--ink);
  --border-thick: 5px solid var(--ink);
  --offset: 6px;
  --shadow-brute: var(--offset) var(--offset) 0 0 var(--ink);
  --shadow-brute-sm: 4px 4px 0 0 var(--ink);

  /* Spacing */
  --pad-section: clamp(64px, 10vw, 160px);
  --gutter: clamp(16px, 3vw, 48px);
  --max: 1440px;
}

/* ---------- 2) BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--yellow);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0 0 1em;
}

::selection {
  background: var(--tomato);
  color: var(--yellow);
}

/* Screen-reader only */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Section label kicker */
.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 24px;
  color: var(--ink);
  display: inline-block;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
}

/* ---------- 3) LAYOUT ---------- */

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  background: var(--ink);
  color: var(--yellow);
  border-bottom: var(--border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.nav__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
}

.nav__logo-text {
  font-size: 18px;
}

.nav__links {
  display: flex;
  gap: clamp(10px, 2vw, 28px);
  align-items: center;
  font-weight: 500;
  font-size: 15px;
}

.nav__links a {
  position: relative;
  padding: 4px 2px;
  transition: color 0.12s ease;
}

.nav__links a:hover {
  color: var(--tomato);
}

.nav__cta {
  background: var(--tomato);
  color: var(--yellow) !important;
  padding: 8px 14px !important;
  border: 2px solid var(--yellow);
  transition: transform 0.12s ease;
}

.nav__cta:hover {
  transform: translate(-2px, -2px);
}

/* HERO */
.hero {
  position: relative;
  padding: clamp(40px, 8vw, 96px) clamp(16px, 4vw, 48px) 0;
  background: var(--yellow);
  border-bottom: var(--border-thick);
}

.hero__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding-bottom: clamp(40px, 6vw, 96px);
}

.hero__kicker {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
  padding: 6px 12px;
  display: inline-block;
  background: var(--ink);
  color: var(--yellow);
}

.hero__title {
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.85;
  font-weight: 900;
  margin: 0 0 32px;
  letter-spacing: -0.035em;
}

.hero__title-line {
  display: block;
}

.hero__title-line--tomato {
  color: var(--tomato);
  padding-right: 0.35em;
}

.hero__title-line--green {
  color: var(--bottle);
  padding-right: 0.7em;
}

.hero__lede {
  font-size: clamp(17px, 1.6vw, 22px);
  max-width: 520px;
  margin: 0 0 32px;
  font-weight: 500;
  line-height: 1.45;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 14px;
}

.hero__badges li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-top: 2px solid var(--ink);
  padding-top: 10px;
  min-width: 120px;
}

.hero__badges span {
  font-weight: 700;
  color: var(--tomato);
}

.hero__image {
  position: relative;
}

.hero__figure {
  position: relative;
  margin: 0;
  border: var(--border-thick);
  background: var(--ink);
  box-shadow: var(--shadow-brute);
  transform: rotate(-1.5deg);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero__figure:hover {
  transform: rotate(0deg) translate(-4px, -4px);
}

.hero__figure img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.hero__figure figcaption {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border: 2px solid var(--ink);
}

/* MARQUEE */
.marquee {
  background: var(--ink);
  color: var(--yellow);
  border-top: var(--border);
  border-bottom: var(--border);
  overflow: hidden;
  padding: 18px 0;
  margin: 0 calc(-1 * clamp(16px, 4vw, 48px));
}

.marquee__track {
  display: flex;
  gap: 48px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 44px);
  letter-spacing: -0.01em;
  /* RTL marquee - direction reversed visually */
  direction: ltr;
  width: max-content;
}

.marquee__track span {
  color: var(--yellow);
}

.marquee__track span:nth-child(odd) {
  color: var(--tomato);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ABOUT */
.about {
  padding: var(--pad-section) clamp(16px, 4vw, 48px);
  background: var(--cream);
  border-bottom: var(--border-thick);
}

.about__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.about__title {
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.9;
  margin-top: 8px;
}

.about__title em {
  font-style: normal;
  color: var(--tomato);
  display: inline-block;
  transform: rotate(-2deg);
  background: var(--yellow);
  padding: 0 12px;
  border: var(--border);
}

.about__body {
  max-width: 560px;
  font-size: 18px;
}

.about__body p {
  margin-bottom: 20px;
}

.pillar {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pillar__item {
  background: var(--white);
  border: var(--border);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-brute-sm);
  transition: transform 0.15s ease;
}

.pillar__item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 var(--ink);
}

.pillar__item--tomato {
  background: var(--tomato);
  color: var(--yellow);
}

.pillar__item--green {
  background: var(--bottle);
  color: var(--yellow);
}

.pillar__num {
  display: block;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
  font-family: var(--font-display);
}

.pillar__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* MENU */
.menu {
  padding: var(--pad-section) clamp(16px, 4vw, 48px);
  background: var(--yellow);
  border-bottom: var(--border-thick);
}

.menu__head {
  max-width: var(--max);
  margin: 0 auto 48px;
}

.menu__title {
  font-size: clamp(56px, 10vw, 140px);
  line-height: 0.9;
  margin: 0 0 16px;
}

.menu__title .tomato {
  color: var(--tomato);
  display: inline-block;
  padding: 0 12px;
  background: var(--ink);
  transform: rotate(-1deg);
  margin: 0 4px;
}

.menu__note {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  opacity: 0.7;
}

.menu__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.menu-section {
  background: var(--white);
  border: var(--border-thick);
  box-shadow: var(--shadow-brute);
  padding: 28px 28px 24px;
  position: relative;
}

.menu-section:nth-child(2) {
  background: var(--cream);
  transform: rotate(0.4deg);
}

.menu-section:nth-child(3) {
  background: var(--white);
  transform: rotate(-0.3deg);
}

.menu-section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.menu-section__title {
  font-size: 32px;
  font-weight: 900;
}

.menu-section__icon {
  font-size: 36px;
  line-height: 1;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(17, 17, 17, 0.25);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item__name {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 4px;
}

.menu-item__desc {
  font-size: 14px;
  color: rgba(17, 17, 17, 0.75);
  margin: 0;
  line-height: 1.4;
}

.menu-item__price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  align-self: center;
  background: var(--tomato);
  color: var(--yellow);
  padding: 4px 10px;
  border: 2px solid var(--ink);
  white-space: nowrap;
  height: fit-content;
}

.menu-item__price::after {
  content: " ₪";
  font-size: 13px;
  opacity: 0.8;
}

/* GALLERY */
.gallery {
  padding: var(--pad-section) clamp(16px, 4vw, 48px);
  background: var(--ink);
  color: var(--yellow);
  border-bottom: var(--border-thick);
}

.gallery__head {
  max-width: var(--max);
  margin: 0 auto 48px;
}

.gallery .section-label {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.gallery__title {
  font-size: clamp(48px, 8vw, 120px);
  color: var(--yellow);
}

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

.gallery__item {
  position: relative;
  overflow: hidden;
  border: var(--border-thick);
  background: var(--cream);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: saturate(1.05) contrast(1.03);
}

.gallery__item:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 0 var(--tomato);
}

.gallery__item:hover img {
  transform: scale(1.04);
}

/* Asymmetric grid spans */
.gallery__item:nth-child(1) { grid-column: span 7; aspect-ratio: 16 / 10; }
.gallery__item:nth-child(2) { grid-column: span 5; aspect-ratio: 4 / 5; }
.gallery__item:nth-child(3) { grid-column: span 4; aspect-ratio: 1 / 1; }
.gallery__item:nth-child(4) { grid-column: span 4; aspect-ratio: 1 / 1; background: var(--tomato); }
.gallery__item:nth-child(5) { grid-column: span 4; aspect-ratio: 1 / 1; }
.gallery__item:nth-child(6) { grid-column: span 12; aspect-ratio: 24 / 7; }

/* REVIEWS */
.reviews {
  padding: var(--pad-section) clamp(16px, 4vw, 48px);
  background: var(--tomato);
  color: var(--yellow);
  border-bottom: var(--border-thick);
}

.reviews .section-label {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.reviews__head {
  max-width: var(--max);
  margin: 0 auto 48px;
}

.reviews__title {
  font-size: clamp(40px, 6vw, 88px);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 20px;
  color: var(--yellow);
}

.reviews__stars {
  font-size: 1em;
  letter-spacing: 0.04em;
}

.reviews__stars--half {
  opacity: 0.45;
}

.reviews__count {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  opacity: 0.9;
}

.reviews__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--yellow);
  color: var(--ink);
  border: var(--border-thick);
  padding: 28px 24px 20px;
  box-shadow: var(--shadow-brute);
  position: relative;
  transition: transform 0.2s ease;
}

.review-card:hover {
  transform: translate(-4px, -4px);
}

.review-card:nth-child(even) {
  background: var(--cream);
  transform: rotate(0.6deg);
}

.review-card:nth-child(even):hover {
  transform: rotate(0deg) translate(-4px, -4px);
}

.review-card__quote {
  font-size: 52px;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--tomato);
  line-height: 1;
  margin-bottom: 8px;
}

.review-card__text {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 20px;
}

.review-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  border-top: 2px solid var(--ink);
  padding-top: 10px;
}

.review-card__author {
  font-weight: 700;
}

.review-card__rating {
  color: var(--tomato);
  letter-spacing: 0.04em;
}

/* CONTACT + HOURS */
.contact {
  padding: var(--pad-section) clamp(16px, 4vw, 48px);
  background: var(--bottle);
  color: var(--cream);
}

.contact .section-label {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.contact__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact__block {
  background: var(--cream);
  color: var(--ink);
  border: var(--border-thick);
  box-shadow: var(--shadow-brute);
  padding: 32px 28px;
}

.contact__block--address {
  background: var(--yellow);
}

.contact__block--hours {
  background: var(--cream);
}

.contact__block--phone {
  background: var(--tomato);
  color: var(--yellow);
  transform: rotate(-1deg);
}

.contact__block--phone .section-label {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.contact__title {
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 0.95;
  margin: 0 0 16px;
}

.contact__body {
  font-size: 16px;
  line-height: 1.5;
}

.contact__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hours {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 15px;
}

.hours li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(17, 17, 17, 0.25);
  font-weight: 500;
}

.hours li:last-child {
  border-bottom: none;
}

.hours li span:first-child {
  font-weight: 700;
}

.hours--closed {
  color: var(--tomato);
}

.phone-huge {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1;
  margin: 8px 0 16px;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease;
}

.phone-huge:hover {
  transform: translate(-3px, -3px);
  text-shadow: 3px 3px 0 var(--ink);
}

/* FOOTER */
.footer {
  background: var(--ink);
  color: var(--yellow);
  padding: 28px clamp(16px, 4vw, 48px);
  border-top: var(--border);
}

.footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.footer__logo {
  background: var(--yellow);
  color: var(--ink);
  padding: 6px 8px;
  font-weight: 700;
}

.footer__meta {
  display: flex;
  gap: 10px;
  opacity: 0.8;
}

/* ---------- 4) COMPONENTS ---------- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.01em;
  border: var(--border);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  text-decoration: none;
  background: transparent;
  color: var(--ink);
  box-shadow: var(--shadow-brute-sm);
}

.btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 0 var(--ink);
}

.btn:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0 0 var(--ink);
}

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

.btn--primary:hover {
  box-shadow: 7px 7px 0 0 var(--tomato);
}

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

/* Stickers */
.sticker {
  position: fixed;
  z-index: 40;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 10px 14px;
  background: var(--tomato);
  color: var(--yellow);
  border: var(--border);
  pointer-events: none;
  text-transform: uppercase;
}

.sticker--1 {
  bottom: 90px;
  left: 24px;
  transform: rotate(-8deg);
  background: var(--bottle);
  color: var(--yellow);
}

.sticker--2 {
  top: 120px;
  left: 24px;
  transform: rotate(6deg);
  background: var(--tomato);
  color: var(--yellow);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__image {
    max-width: 480px;
  }
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .contact__block--phone {
    transform: none;
  }
  .menu__grid {
    grid-template-columns: 1fr;
  }
  .gallery__item:nth-child(1),
  .gallery__item:nth-child(2) {
    grid-column: span 12;
    aspect-ratio: 16 / 10;
  }
  .gallery__item:nth-child(3),
  .gallery__item:nth-child(4),
  .gallery__item:nth-child(5) {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .nav__links {
    gap: 8px;
    font-size: 13px;
  }
  .nav__links a:not(.nav__cta) {
    display: none;
  }
  .sticker {
    display: none;
  }
  .pillar {
    grid-template-columns: 1fr;
  }
  .gallery__item {
    grid-column: span 12 !important;
    aspect-ratio: 4 / 3 !important;
  }
  .hero__title {
    letter-spacing: -0.02em;
  }
  .hero__ctas .btn {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
  * {
    transition: none !important;
  }
}
