/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-muted: #555555;
  --color-border: #e0e0e0;
  --color-accent: #1a1a1a;
  --nav-height: 140px;
  --font: 'Heebo', 'Arial', sans-serif;
}

html { font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  direction: rtl;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: #111111;
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s;
}

/* Transparent nav for homepage hero */
.site-header--transparent {
  background: transparent;
}
.site-header--scrolled {
  background: #111111 !important;
}

.nav-inner {
  width: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  direction: ltr; /* logo left, menu right regardless of RTL body */
}

/* TOKYO IS YOURS logo in nav */
.nav-logo-img {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img img {
  height: 72px;
  width: auto;
  display: block;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.nav-logo-img:hover img { opacity: 1; }

.nav-social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-inline-end: auto;
}

.nav-social a {
  display: flex;
  align-items: center;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.nav-social a:hover { opacity: 1; }

.nav-social img {
  width: 28px;
  height: 28px;
  display: block;
}

.nav-logo a {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  direction: rtl;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: #ffffff; }

/* ===== MAIN ===== */
main { min-height: 80vh; }
main:not(:has(.hero)) { padding-top: var(--nav-height); }

/* ===== HERO (homepage) ===== */
.hero {
  position: relative;
  width: 100%;
  height: 520px;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.hero-logo {
  position: relative;
  z-index: 1;
  max-width: min(1400px, 88vw);
  height: auto;
}

/* ===== FEATURE GRID (homepage) ===== */
/* 6-column grid: first 3 cards span 2 cols each (full row),
   last 2 cards span 2 cols each centered */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 48px 48px 0;
  max-width: 1300px;
  margin: 0 auto;
}
.feature-card {
  position: relative;
  display: block;
  grid-column: span 2;
  aspect-ratio: 5/4;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.feature-card:nth-child(4) { grid-column: 2 / span 2; }
.feature-card:nth-child(5) { grid-column: 4 / span 2; }
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  transition: background 0.3s;
}
.feature-card:hover::after {
  background: rgba(0,0,0,0.45);
}
.feature-card-label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: clamp(1.12rem, 1.75vw, 1.68rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 16px;
}

/* ===== QUOTE SECTION ===== */
.quote-section {
  padding: 72px 40px;
  background: #f8f8f8;
  text-align: center;
}
.site-quote {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  direction: ltr;
}
.site-quote::before {
  content: '\201C';
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  line-height: 1;
  color: #cccccc;
  font-family: Georgia, serif;
}
.site-quote p {
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 300;
  line-height: 1.7;
  color: #222222;
  font-style: italic;
  padding-top: 40px;
}
.site-quote cite {
  display: block;
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888888;
  font-style: normal;
}

/* ===== HOME BLOG SECTION ===== */
.home-blog {
  padding: 64px 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.home-section-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 32px;
  text-align: center;
}
.home-blog .blog-grid {
  margin-top: 0;
}
.home-blog .blog-card {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s, transform 0.3s;
}
.home-blog .blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}
.home-blog .blog-card > img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.home-blog .blog-card:hover > img {
  transform: scale(1.05);
}
.home-blog .blog-card-body {
  background: #fff;
  padding: 14px 12px 16px;
}
.home-blog .blog-card-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.btn-more {
  display: inline-block;
  padding: 10px 28px;
  border: 2px solid #111111;
  color: #111111;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.btn-more:hover {
  background: #111111;
  color: #ffffff;
}

/* ===== TESTIMONIALS CAROUSEL ===== */
.testimonials-section {
  background: #1a1a1a;
  padding: 0;
}
.testimonials-carousel {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-slide {
  display: none;
  width: 100%;
  padding: 72px 48px 80px;
}
.testimonial-slide.active { display: flex; justify-content: center; }
.testimonial-quote {
  max-width: 720px;
  text-align: center;
}
.testimonial-quote p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-quote cite {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-style: normal;
}
.testimonial-nav {
  position: absolute;
  bottom: 24px;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.t-prev, .t-next {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.2s;
}
.t-prev:hover, .t-next:hover { color: #ffffff; }
.t-dots { display: flex; gap: 8px; align-items: center; }
.t-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.2s;
}
.t-dot.active { background: #ffffff; }

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 72px 40px 80px;
  max-width: 680px;
  margin: 0 auto;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--color-text);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s;
  text-align: right;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #111111; }
.contact-form textarea { resize: vertical; }
.btn-submit {
  align-self: center;
  padding: 12px 40px;
  background: #111111;
  color: #ffffff;
  border: none;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-submit:hover { opacity: 0.75; }

/* ===== RECOMMENDATIONS PAGE ===== */
.rec-hero {
  width: 100%;
  height: 312px;
  overflow: hidden;
}
.rec-hero--tall {
  height: 520px;
}

.rec-hero--overlay {
  position: relative;
  display: flex;
  align-items: flex-end;
}
.rec-hero--overlay > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.rec-hero-text {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 48px 48px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
}
.rec-hero-text .rec-title {
  color: #ffffff;
  margin-bottom: 6px;
}
.rec-hero-text .rec-subtitle {
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}
.rec-hero-text .rec-desc {
  color: rgba(255,255,255,0.75);
  max-width: none;
  margin: 0;
}

.rec-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.rec-intro {
  text-align: center;
  padding: 48px 32px 32px;
}
.rec-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.rec-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  margin-bottom: 20px;
}
.rec-desc {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
}
.rec-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s, transform 0.3s;
}
.rec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}
.rec-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.rec-card:hover img {
  transform: scale(1.05);
}
.rec-card-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: #e8e8e8;
}
.rec-card-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  padding: 14px 8px 16px;
  line-height: 1.4;
  background: #fff;
}
.rec-card--soon { opacity: 1; cursor: default; }
.rec-card--soon:hover { transform: none; }

/* ===== PAGE CONTENT ===== */
.page-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 32px 100px;
}

.page-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-desc {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-bottom: 0;
  line-height: 1.7;
}

.page-hero-img {
  margin-bottom: 52px;
  border-radius: 6px;
}

.page-hero-img img {
  width: 60%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.page-text {
  max-width: 720px;
}

.page-text p {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 2;
  margin-bottom: 24px;
}

.page-inline-img {
  display: block;
  width: 60%;
  height: auto;
  border-radius: 4px;
  margin: 28px 0;
}

.page-content img {
  max-width: 60%;
  height: auto;
}

.page-inline-imgs img {
  max-width: 100%;
  width: 100%;
}

.page-inline-imgs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 28px 0;
}

.page-inline-imgs img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.page-gallery {
  columns: 3 200px;
  column-gap: 14px;
  margin-top: 64px;
}

.page-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 14px;
  break-inside: avoid;
  cursor: zoom-in;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.page-gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

/* ===== TOUR SCROLL ANIMATIONS ===== */
.tour-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.tour-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== TOUR BACK LINK ===== */
.tour-back-link {
  display: inline-block;
  margin: 32px 40px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.tour-back-link:hover {
  text-decoration: underline;
}

/* ===== LIST PAGE (hotels, museums, etc.) ===== */
.list-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 32px 80px;
}

.list-page-header {
  border: 1px solid #e0e0e0;
  padding: 40px 48px;
  margin-bottom: 48px;
  text-align: center;
}

.list-page-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

.list-page-header p {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.list-entry {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid #e0e0e0;
  direction: ltr;
}

.list-entry-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.list-entry-body {
  direction: rtl;
}

.list-entry-num {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 6px;
}

.list-entry-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.list-entry-info {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.list-entry-info span {
  display: block;
}

.list-entry-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text);
}

@media (max-width: 680px) {
  .hide-on-mobile { display: none; }
  .feature-grid .feature-card:nth-child(1) { order: 2; } /* ספר */
  .feature-grid .feature-card:nth-child(2) { order: 1; } /* אודות */
  .feature-grid .feature-card:nth-child(3) { order: 4; } /* סיורים מודרכים */
  .feature-grid .feature-card:nth-child(4) { order: 5; } /* מקומות מומלצים */
  .feature-grid .feature-card:nth-child(5) { order: 3; } /* מסלולים */
  .list-entry {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .list-page { padding: 40px 20px 60px; }
  .list-page-header { padding: 28px 24px; }
  .page-inline-imgs--last-pair {
    grid-template-columns: 1fr;
  }
  .page-content .page-inline-img {
    width: 100%;
    max-width: 100%;
  }
}

/* ===== BLOG INDEX ===== */
.blog-index-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px 80px;
}

.blog-index-header {
  border-bottom: 2px solid #111;
  padding-bottom: 18px;
  margin-bottom: 56px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.blog-index-header h1 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.blog-index-header span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  text-transform: uppercase;
}

/* Featured post */
.blog-featured {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  margin-bottom: 60px;
  min-height: 280px;
  border: 1px solid #bbb;
  overflow: hidden;
  direction: ltr;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s;
}
.blog-featured:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
.blog-featured:hover .blog-featured-img img {
  transform: scale(1.03);
}
.blog-featured-img {
  overflow: hidden;
  position: relative;
}
.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.blog-featured-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #faf9f7;
  direction: rtl;
  border-right: none;
}
.blog-featured-cat {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 20px;
  font-weight: 600;
}
.blog-featured-body h2 {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
  color: #111;
}
.blog-featured-body p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin-bottom: 20px;
}
.blog-featured-date {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  display: block;
  margin-bottom: 8px;
}
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #111;
  border-bottom: 1px solid #111;
  padding-bottom: 2px;
  transition: opacity 0.2s;
  margin-top: 8px;
  align-self: flex-start;
}
.blog-read-more:hover { opacity: 0.55; }

/* Divider line */
.blog-section-rule {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0 0 48px;
}
.blog-section-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 600;
  margin-bottom: 36px;
  display: block;
}

/* 3-col grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
}

.blog-card-img {
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 4/3;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-cat {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-card-body h2 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #111;
}

.blog-date {
  font-size: 0.7rem;
  color: #aaa;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.blog-card-body p {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.65;
  flex: 1;
}

/* Ruled card (alternate style) */
.blog-card--ruled {
  border-top: 1px solid var(--color-border);
  padding-top: 28px;
}

/* ===== BLOG POST ===== */
.post-wrap {
  padding-top: var(--nav-height);
}

/* Full-bleed hero */
.post-hero-full {
  display: block;
  max-width: 360px;
  height: auto;
  margin: 0 auto 32px;
  border-radius: 4px;
}

.post-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 40px 120px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 44px;
  transition: color 0.2s;
  direction: rtl;
}
.back-link:hover { color: var(--color-text); }
.back-link-bottom { margin-top: 32px; direction: ltr; }
.back-link-bottom a { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted); transition: color 0.2s; }
.back-link-bottom a:hover { color: var(--color-text); }

.post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.post-meta-cat {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: #111;
  background: #f0ede8;
  padding: 4px 10px;
  border-radius: 2px;
}
.post-meta-date {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
}

.post-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  padding-bottom: 28px;
  border-bottom: 1px solid #e8e4de;
}

/* Legacy post-date (for posts without post-meta) */
.post-date {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 36px;
  display: block;
}

/* Legacy hero image (for posts using old structure) */
.post-hero {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  margin-bottom: 48px;
  display: block;
}

/* Drop cap on first paragraph (Hebrew RTL — floats right) */
/* No drop caps */
.post-body > p.post-opening-quote::first-letter {
  all: unset;
}

/* Opening quote style (LTR, e.g. English movie quotes) */
.post-opening-quote {
  direction: ltr;
  font-style: italic;
  color: var(--color-muted);
  font-size: 1rem;
  border-right: none;
  padding: 0;
  margin-bottom: 32px;
}

.post-body p {
  font-size: 1.1rem;
  line-height: 2;
  margin-bottom: 32px;
  color: #1a1a1a;
}

/* Pullquote */
.post-body blockquote,
.post-pullquote {
  border-right: 3px solid #111;
  padding: 8px 24px 8px 0;
  margin: 40px 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
  font-style: italic;
}

.post-body strong {
  font-weight: 700;
  color: #111;
}

/* Section rule inside posts */
.post-body hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 44px 0;
}

/* ===== SHOP PAGE ===== */
.shop-hero {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 0;
  min-height: 520px;
  direction: ltr;
}
.shop-hero-text {
  background: #f7f5f2;
  padding: 64px 56px;
  direction: rtl;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.shop-hero-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 16px;
}
.shop-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
}
.shop-hero-subtitle {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 24px;
  font-weight: 500;
}
.shop-hero-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 36px;
  max-width: 480px;
}
.shop-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.shop-hero-img {
  position: relative;
  overflow: hidden;
}
.shop-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(0.8);
  transform-origin: center center;
  display: block;
}
.story-img img {
  transform: scale(0.7);
  transform-origin: center center;
}
.shop-section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 72px 32px 80px;
}
.shop-section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

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

.product-card {
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.product-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.product-card-body p { font-size: 0.9rem; color: var(--color-muted); margin-bottom: 20px; flex: 1; line-height: 1.6; }
.product-price { font-size: 1.2rem; font-weight: 800; margin-bottom: 16px; }
.product-price-small { font-size: 0.8rem; color: var(--color-muted); font-weight: 400; margin-right: 4px; }
.product-card-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }

.btn-buy {
  display: block;
  padding: 13px 24px;
  background: #111111;
  color: #ffffff;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-buy:hover { opacity: 0.75; color: #ffffff; }
.btn-buy-outline {
  display: block;
  padding: 13px 24px;
  background: transparent;
  color: #111111;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid #111111;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.btn-buy-outline:hover { background: #111111; color: #ffffff; }

.shop-desc-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px 80px;
}
.shop-desc-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 28px;
}
.shop-desc-section p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 20px;
}
.shop-preview-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  justify-content: center;
}
.shop-preview-grid img {
  height: 220px;
  width: auto;
  object-fit: contain;
  border: 1px solid var(--color-border);
}

.gumroad-note {
  background: #f7f5f2;
  border: 1px solid var(--color-border);
  padding: 20px 24px;
  margin-top: 48px;
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 24px 32px;
  text-align: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ===== MOBILE NAV TOGGLE ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; min-height: auto; }
  .blog-featured-img { height: 240px; }
  .blog-featured-body { padding: 28px 24px; }
  .blog-index-wrap { padding: 90px 24px 60px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .rec-grid { grid-template-columns: repeat(2, 1fr); padding: 32px 24px 60px; }
  .shop-hero { grid-template-columns: 1fr; }
  .shop-hero-img { min-height: 320px; }
}

@media (max-width: 680px) {
  .product-grid { grid-template-columns: 1fr; }
  .shop-desc-section { padding: 0 20px 60px; }
}

@media (max-width: 600px) {
  :root { --nav-height: 64px; }
  main:not(:has(.hero)) { padding-top: 64px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: #111111;
    padding: 24px;
    gap: 20px;
    z-index: 99;
  }
  .nav-toggle { display: flex; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-index-wrap { padding: 80px 16px 48px; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { height: 220px; }
  .blog-featured-body { padding: 24px 20px; }
  .page-content, .post-content, .shop-section { padding: 40px 20px 60px; }
  .page-hero-img img { width: 100%; }

  /* Feature grid: stack all cards 1 per row on mobile */
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card,
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) { grid-column: 1; }
  .home-blog { padding: 40px 20px; }
  .quote-section { padding: 48px 24px; }
  .rec-grid { grid-template-columns: repeat(2, 1fr); padding: 24px 16px 48px; gap: 16px; }
  .rec-hero,
  .rec-hero--tall { height: 192px !important; }
  .rec-hero--overlay { align-items: flex-end !important; }
  .rec-hero-text { padding: 0 20px 16px !important; }
  .nav-logo-img img { height: 44px; }
  .site-header { --nav-height: 64px; height: 64px; }
}
