/* ====================================================== */
/* אתר הנצחה לליאב שמר ז״ל - גיליון סגנונות                */
/* ====================================================== */

/* Reset בסיסי */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* משתני צבע, גופנים ומידות */
:root {
  --color-sea-deep: #0a2540;       /* כחול ים עמוק */
  --color-sea-mid:  #1a3a5c;       /* כחול ביניים */
  --color-sea-dark: #06192c;       /* כחול לילה */
  --color-off-white:#f8f6f1;       /* לבן שבור / חולי עדין */
  --color-text:     #2c2c2c;       /* אפור כהה לטקסט */
  --color-muted:    #6b6b6b;       /* אפור משני */
  --color-gold:     #b8915a;       /* זהב עתיק עדין */
  --color-olive:    #6b7a4a;       /* ירוק זית עדין */
  --color-line:     rgba(184, 145, 90, 0.4);

  --font-heading: 'Frank Ruhl Libre', 'David Libre', Georgia, serif;
  --font-body:    'Heebo', 'Assistant', system-ui, -apple-system, sans-serif;

  --nav-height: 72px;
  --max-width:  1100px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-off-white);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ====================================================== */
/* Navbar                                                 */
/* ====================================================== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(10, 37, 64, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
  background: rgba(10, 37, 64, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  border-bottom-color: rgba(184, 145, 90, 0.15);
}

.nav-container {
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* קישורי ניווט (צד ימין ב-RTL) */
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-gold);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* אזור זיכרון - צד שמאל */
.nav-memorial {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.nav-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-memorial-text {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* כפתור המבורגר - מוסתר בדסקטופ */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====================================================== */
/* Hero                                                   */
/* ====================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
  /* רקע fallback - אם הווידאו לא נטען נראה את המעבר הזה */
  background:
    radial-gradient(ellipse at center top, #1a3a5c 0%, #0a2540 70%, #06192c 100%);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-video-calm {
  opacity: 1;
  z-index: 1;
}

.hero-video-storm {
  opacity: 0; /* יקבל ערך דינמי דרך ה-JS לפי גלילה */
  z-index: 2;
  transition: opacity 0.25s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg,
      rgba(10, 37, 64, 0.45) 0%,
      rgba(10, 37, 64, 0.55) 60%,
      rgba(10, 37, 64, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  color: #fff;
}

.hero-pretitle {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin-bottom: 18px;
  font-weight: 400;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.hero-dates {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 56px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn {
  display: inline-block;
  min-width: 160px;
  padding: 16px 40px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 19px;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
  cursor: pointer;
}

.hero-btn:hover,
.hero-btn:focus-visible {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-sea-deep);
  transform: translateY(-2px);
  outline: none;
}

/* רמז גלילה */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.hero-scroll-hint span {
  display: block;
  width: 100%;
  height: 30%;
  background: #fff;
  animation: scrollHint 2.4s ease-in-out infinite;
}

@keyframes scrollHint {
  0%   { transform: translateY(-110%); }
  100% { transform: translateY(330%); }
}

/* ====================================================== */
/* Sections - בסיס משותף                                  */
/* ====================================================== */
.section {
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  text-align: center;
  color: var(--color-sea-deep);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  margin: 0 auto 50px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  margin: -30px auto 50px;
  max-width: 600px;
  font-size: 17px;
}

/* ====================================================== */
/* סיפור חייו                                             */
/* ====================================================== */
.section-story {
  background: var(--color-off-white);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}

.story-image {
  background: linear-gradient(180deg, var(--color-sea-mid), var(--color-sea-deep));
  aspect-ratio: 4 / 5;
  box-shadow: 0 14px 40px rgba(10, 37, 64, 0.2);
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-text p {
  margin-bottom: 18px;
  font-size: 17px;
  color: var(--color-text);
}

.story-text p:first-of-type {
  font-family: var(--font-heading);
  font-size: 21px;
  line-height: 1.6;
  color: var(--color-sea-deep);
  font-weight: 500;
}

/* ====================================================== */
/* תמונות וסרטונים                                        */
/* ====================================================== */
.section-media {
  background: #ffffff;
}

/* גלילה אינסופית אופקית */
.media-scroll {
  overflow: hidden;
  width: 100%;
  padding: 12px 0 24px;
  cursor: grab;
  /* הגלריה מנוהלת ע"י JS עם translateX גולמי (שמאל->ימין), אז מבודדים אותה
     ל-LTR כדי שסדר הפריטים בפלקס לא יתהפך בגלל ה-RTL של שאר הדף - בלי זה
     הגלילה יוצאת הפוכה ותקועה, ותמונות "נעלמות" בקצוות. */
  direction: ltr;
}

.media-scroll:active {
  cursor: grabbing;
}

.media-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 50s linear infinite;
}

.media-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* מצב "גלריה מלאה" - הרצועה נפרשת לגריד סטטי במקום גלילה אינסופית (מנוהל ע"י script.js) */
.media-scroll.is-grid {
  overflow: visible;
  cursor: default;
  padding-bottom: 0;
}

.media-track.is-grid {
  flex-wrap: wrap;
  justify-content: center;
  transform: none !important;
  animation: none !important;
}

.media-item {
  width: 280px;
  height: 280px;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-sea-mid), var(--color-sea-deep));
  cursor: pointer;
  position: relative;
  border-radius: 6px;
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.media-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.media-actions {
  text-align: center;
  margin-top: 30px;
}

.media-toggle {
  display: inline-block;
  padding: 12px 34px;
  border: 1px solid var(--color-gold);
  background: transparent;
  color: var(--color-sea-deep);
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.media-toggle:hover,
.media-toggle:focus-visible {
  background: var(--color-gold);
  color: #ffffff;
  transform: translateY(-2px);
  outline: none;
}

/* ====================================================== */
/* לייטבוקס                                              */
/* ====================================================== */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#lightbox.open {
  display: flex;
}

.lb-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: zoom-out;
}

.lb-img {
  position: relative;
  z-index: 1;
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  display: block;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
}

.lb-close {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lb-close:hover {
  background: rgba(255,255,255,0.3);
}

.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 42px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.lb-arrow:hover {
  background: rgba(255,255,255,0.3);
}

.lb-prev { right: 18px; }
.lb-next { left:  18px; }

/* ====================================================== */
/* תאריכים                                                */
/* ====================================================== */
.section-dates {
  background: var(--color-off-white);
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* גרסת שורה יחידה - כרטיסייה ממורכזת בודדת (למשל "התאריך הקרוב") */
.dates-grid--single {
  grid-template-columns: 1fr;
  max-width: 340px;
  margin: 0 auto;
}

.date-card {
  background: #ffffff;
  padding: 36px 20px;
  text-align: center;
  border: 1px solid rgba(184, 145, 90, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.date-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(10, 37, 64, 0.08);
  border-color: var(--color-gold);
}

/* כרטיסייה מודגשת - התאריך הקרוב ביותר */
.date-card--featured {
  border-color: var(--color-gold);
  background: linear-gradient(180deg, #ffffff, var(--color-off-white));
  box-shadow: 0 14px 36px rgba(10, 37, 64, 0.08);
}

.date-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.date-card h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  color: var(--color-sea-deep);
  margin-bottom: 18px;
  font-weight: 500;
}

.date-hebrew {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-gold);
  margin-bottom: 6px;
}

.date-greg {
  font-size: 14px;
  color: var(--color-muted);
}

/* ====================================================== */
/* סיפורים                                                */
/* ====================================================== */
.section-stories {
  background: #ffffff;
}

/* טופס כתיבת סיפור/זיכרון (Netlify Forms) */
.story-form {
  max-width: 640px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* מלכודת בוטים - מוסתרת ויזואלית בלבד, לא display:none, כדי שבוטים לא יזהו אותה */
.story-form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.story-form__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.story-form__row label {
  font-size: 14px;
  color: var(--color-sea-deep);
  font-weight: 500;
}

.story-form__optional {
  color: var(--color-muted);
  font-weight: 400;
  font-size: 13px;
}

.story-form input[type="text"],
.story-form textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-off-white);
  border: 1px solid var(--color-line);
  padding: 14px 16px;
  resize: vertical;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.story-form input[type="text"]:focus,
.story-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: #ffffff;
}

.story-form input[type="file"] {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-muted);
  background: var(--color-off-white);
  border: 1px solid var(--color-line);
  padding: 12px 14px;
}

.story-form__filehint {
  font-size: 13px;
  color: var(--color-muted);
  min-height: 1.2em;
}

.story-form__filehint--error {
  color: #a33b3b;
}

.story-form__submit {
  align-self: center;
  margin-top: 8px;
  min-width: 200px;
  padding: 15px 40px;
  border: 1px solid var(--color-sea-deep);
  background: var(--color-sea-deep);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 17px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.story-form__submit:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.story-form__note {
  text-align: center;
  color: var(--color-muted);
  font-size: 13px;
  margin-top: -6px;
}

/* הודעת תודה לאחר שליחת הטופס */
.story-thanks {
  max-width: 520px;
  margin: 0 auto 60px;
  text-align: center;
  padding: 50px 30px;
  border: 1px solid var(--color-line);
  background: var(--color-off-white);
}

.story-thanks h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-sea-deep);
  margin-bottom: 12px;
}

.story-thanks p {
  color: var(--color-muted);
}

.stories-list {
  display: grid;
  gap: 30px;
  max-width: 820px;
  margin: 0 auto;
}

.story-card {
  background: var(--color-off-white);
  padding: 36px 40px;
  border-right: 3px solid var(--color-gold);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(10, 37, 64, 0.06);
}

.story-text-content {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 16px;
}

.story-author {
  color: var(--color-muted);
  font-size: 15px;
  font-weight: 500;
}

.stories-cta {
  text-align: center;
  margin-top: 50px;
  color: var(--color-muted);
}

.stories-cta a {
  color: var(--color-gold);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.25s ease;
}

.stories-cta a:hover {
  color: var(--color-olive);
}

/* ====================================================== */
/* הנצחות                                                 */
/* ====================================================== */
.section-memorials {
  background: var(--color-sea-deep);
  color: var(--color-off-white);
}

.section-memorials .section-title {
  color: #ffffff;
}

.memorials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* גרסת כרטיסייה יחידה ממורכזת */
.memorials-grid--single {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}

.memorial-card {
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.memorial-card:hover {
  background: rgba(184, 145, 90, 0.08);
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

.memorial-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-gold);
  margin-bottom: 14px;
  font-weight: 500;
}

.memorial-card p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.85;
}

/* כפתור "לפרטים ותמונות מהאירוע" */
.memorial-toggle {
  display: inline-block;
  margin-top: 4px;
  padding: 12px 30px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.memorial-toggle:hover,
.memorial-toggle:focus-visible {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-sea-deep);
  outline: none;
}

/* תוכן שנחשף - הסיפור המלא + גלריה */
.memorial-details {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: right;
}

.memorial-details p {
  font-size: 15px;
  line-height: 1.75;
  opacity: 0.9;
  margin-bottom: 14px;
}

.memorial-details p:last-of-type {
  margin-bottom: 0;
}

.memorial-gallery {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.memorial-gallery__item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.memorial-gallery__item img,
.memorial-gallery__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ====================================================== */
/* Footer                                                 */
/* ====================================================== */
.footer {
  background: var(--color-sea-dark);
  color: var(--color-off-white);
  padding: 60px 0 36px;
  text-align: center;
}

.footer-text {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 8px;
}

.footer-meta {
  color: var(--color-gold);
  letter-spacing: 0.05em;
  margin-bottom: 30px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  opacity: 0.8;
}

.footer-nav a:hover {
  color: var(--color-gold);
}

/* ====================================================== */
/* Responsive                                             */
/* ====================================================== */

/* טאבלט / מובייל - תפריט המבורגר */
@media (max-width: 880px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 80vw;
    background: var(--color-sea-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.25);
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 18px;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-memorial-text {
    font-size: 13px;
  }

  .nav-logo {
    height: 32px;
  }
}

/* מובייל קטן */
@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-btn {
    width: 100%;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 50px;
  }

  .story-image {
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    width: 100%;
  }

  .media-item {
    width: 220px;
    height: 220px;
  }

  .dates-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .dates-grid--single {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

  .date-card {
    padding: 28px 16px;
  }

  .memorials-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .story-card {
    padding: 28px 24px;
  }
}

/* מובייל זעיר - מסתיר את הטקסט שליד הסמל כדי שיישאר מקום */
@media (max-width: 420px) {
  .nav-memorial-text {
    display: none;
  }
}

/* כיבוד העדפת תנועה מופחתת */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-scroll-hint {
    display: none;
  }
}
