@font-face{font-family:'Cinzel';font-weight:400 900;font-style:normal;font-display:swap;src:url('fonts/Cinzel-Variable.woff2') format('woff2');}
@font-face{font-family:'Heebo';font-weight:400;font-style:normal;font-display:swap;src:url('fonts/Heebo-Regular.woff2') format('woff2');}
@font-face{font-family:'Heebo';font-weight:600;font-style:normal;font-display:swap;src:url('fonts/Heebo-SemiBold.woff2') format('woff2');}
@font-face{font-family:'Heebo';font-weight:700;font-style:normal;font-display:swap;src:url('fonts/Heebo-Bold.woff2') format('woff2');}

:root {
  --color-bg: #faf7f0;
  --color-dark: #1c1712;
  --color-gold: #b6862c;
  --color-gold-dark: #8f6a1f;
  --color-text: #2a2420;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Heebo', sans-serif;
  overflow-x: hidden;
}

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

.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-dark);
  overflow: hidden;
}

.hero-images {
  position: absolute;
  inset: 0;
  display: flex;
}

.hero-photo {
  flex: 1 1 50%;
  min-width: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,16,10,0.55) 0%, rgba(20,16,10,0.35) 45%, rgba(20,16,10,0.75) 100%);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 4rem);
  color: #fdf6e3;
  margin: 0;
  text-shadow: 0 3px 18px rgba(0,0,0,0.55);
  letter-spacing: 0.04em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #fdf6e3;
  margin: 0.75rem 0 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* ---------- About band ---------- */

.about-band {
  max-width: 1100px;
  margin: 3.5rem auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-photo {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.about-quote {
  flex: 1.3 1 0;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text);
  direction: ltr;
  letter-spacing: 0.02em;
  text-align: center;
  font-style: italic;
}

@media (max-width: 800px) {
  .about-band {
    flex-direction: column;
  }
}

/* ---------- Gallery ---------- */

.gallery-section {
  max-width: 1100px;
  margin: 0 auto 3.5rem;
  padding: 0 1.5rem;
}

.gallery-wrap {
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gallery {
  direction: ltr;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem;
  flex: 1 1 auto;
  scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(240px, 58.5vw);
  max-width: min(420px, 85vw);
  border-radius: 10px;
  overflow: hidden;
  background: #e7e0d2;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.gallery-slide img {
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
}

.gallery-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-gold);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-arrow:hover {
  background: var(--color-gold-dark);
  transform: scale(1.05);
}

/* ---------- Donate now CTA ---------- */

.donate-cta-wrap {
  text-align: center;
  margin: 0 0 4rem;
  padding: 0 1.5rem;
}

.donate-cta-btn {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--color-gold);
  color: #fff;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  border-radius: 999px;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(182,134,44,0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.donate-cta-btn:hover {
  background: var(--color-gold-dark);
  transform: translateY(-2px);
}

/* ---------- Leadership / at a glance / guidance ---------- */

.leadership-section {
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.leadership-columns {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

.glance-col,
.leaders-col {
  flex: 1 1 0;
  min-width: 0;
}

.leaders-col {
  margin-top: 9rem;
}

@media (max-width: 800px) {
  .leadership-columns {
    flex-direction: column;
  }

  .leaders-col {
    margin-top: 0;
  }
}

.section-heading {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  color: var(--color-dark);
  margin: 0 0 1rem;
}

.glance-block p,
.guidance-block p {
  line-height: 1.8;
  color: var(--color-text);
  direction: ltr;
  margin: 0 0 1.5rem;
}

.glance-photo {
  display: block;
  width: 65%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.guidance-block {
  margin-top: 3rem;
}

.guidance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.guidance-grid figure {
  min-width: 0;
  margin: 0;
}

.guidance-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.guidance-grid figcaption {
  font-size: 0.8rem;
  font-style: italic;
  text-align: center;
  color: #6b6255;
  margin-top: 0.4rem;
  line-height: 1.4;
}

.leaders-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--color-dark);
  margin: 0 0 1.5rem;
}

.leaders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.leader-card {
  min-width: 0;
  text-align: center;
}

.leader-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.leader-role {
  font-weight: 700;
  margin: 0;
  color: var(--color-gold-dark);
  font-size: 0.9rem;
}

.leader-name {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: var(--color-text);
}

.leaders-quote {
  font-style: italic;
  text-align: center;
  color: var(--color-text);
  border-top: 1px solid rgba(28,23,18,0.15);
  border-bottom: 1px solid rgba(28,23,18,0.15);
  padding: 1.25rem 0;
  margin: 0 0 1.5rem;
  line-height: 1.7;
  direction: ltr;
}

.shiurim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.shiurim-grid img {
  display: block;
  min-width: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.shiurim-caption {
  text-align: center;
  font-style: italic;
  font-size: 0.85rem;
  color: #6b6255;
  margin: 0.6rem 0 0;
}

/* ---------- Donate ---------- */

.donate {
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  background: #f1e9d8;
}

.donate-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.03em;
  margin: 0 0 1.75rem;
  color: var(--color-dark);
}

.donate-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  max-width: 1320px;
  margin: 0 auto;
}

.donate-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.donate-col-ils {
  flex: 1 1 220px;
  max-width: 260px;
}

.donate-col-usd {
  flex: 2.4 1 560px;
  max-width: 760px;
}

.donate-col-tax {
  flex: 1 1 220px;
  max-width: 260px;
  direction: ltr;
}

.donate-col-caption {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
  color: var(--color-dark);
  direction: ltr;
}

.donate-divider {
  width: 1px;
  align-self: stretch;
  min-height: 140px;
  background: rgba(28,23,18,0.18);
}

@media (max-width: 680px) {
  .donate-divider {
    display: none;
  }
}

.donate-btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--color-gold);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(182,134,44,0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.donate-btn:hover {
  background: var(--color-gold-dark);
  transform: translateY(-2px);
}

.donate-btn--image {
  padding: 0;
  line-height: 0;
  background: none;
  box-shadow: none;
  border-radius: 14px;
  overflow: hidden;
}

.donate-btn--image:hover {
  background: none;
}

.donate-btn--image img {
  display: block;
  width: 110px;
  height: auto;
}

.donate-btn--cardknox {
  background: #fff;
  padding: 0.7rem 1.4rem;
  box-shadow: 0 4px 14px rgba(28,23,18,0.18);
}

.donate-btn--cardknox:hover {
  background: #fff;
  transform: translateY(-2px);
}

.donate-btn--cardknox img {
  width: 190px;
  height: auto;
}

.donate-btn--paypal {
  background: #fff;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(28,23,18,0.18);
}

.donate-btn--paypal:hover {
  background: #fff;
  transform: translateY(-2px);
}

.donate-btn--paypal img {
  display: block;
  width: 24px;
  height: 24px;
}

.donate-btn--zelle {
  background: #6d1ed4;
  padding: 0.5rem 0.9rem;
  box-shadow: 0 4px 14px rgba(28,23,18,0.18);
  border: none;
  cursor: pointer;
}

.donate-btn--zelle:hover {
  background: #5a19ad;
}

.donate-btn--zelle img {
  display: block;
  width: 56px;
  height: auto;
}

.donate-btn--ojc {
  background: #fff;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 14px rgba(28,23,18,0.18);
}

.donate-btn--ojc:hover {
  background: #fff;
  transform: translateY(-2px);
}

.donate-btn--ojc img {
  display: block;
  height: 24px;
  width: auto;
}

.donate-btn--link:hover {
  transform: translateY(-2px);
}

.donate-btn--link img {
  display: block;
  height: 34px;
  width: auto;
}

.donate-usd-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.donate-usd-links .donate-btn:not(.donate-btn--image) {
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
}

.donate-qr-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.donate-qr-image {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.donate-qr-brand {
  display: block;
  width: 100px;
  height: auto;
}

.donate-zelle {
  border: none;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  overflow: visible;
}

.donate-zelle::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  margin-bottom: 6px;
  background: var(--color-dark);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  white-space: pre-line;
  text-align: center;
  line-height: 1.5;
  direction: ltr;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
}

.donate-zelle.copied::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.contact-info {
  max-width: 420px;
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(28,23,18,0.15);
  text-align: center;
  direction: ltr;
}

.contact-heading {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--color-dark);
  margin: 0 0 1rem;
}

.contact-tax {
  background: rgba(182,134,44,0.1);
  border: 1px solid rgba(182,134,44,0.3);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
}

.contact-tax p {
  margin: 0.15rem 0;
  font-size: 0.95rem;
  color: var(--color-text);
}

.contact-tax p:first-child {
  font-weight: 700;
  color: var(--color-gold-dark);
}

.contact-row {
  margin: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--color-text);
}

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: #7a7168;
}

@media (max-width: 520px) {
  .gallery-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
}
