/* ============================================
   We Shall Return — landing page styles
   Shared by index.html (EN) and ar.html (AR)
   Brand fonts & colors from the B'Tselem theme:
   #003350 (deep blue) / #aa4632 (rust) / #fff
   ============================================ */

/* Font files are loaded straight from the betselem8 theme — not copied. */

@font-face {
  font-family: 'Btslm';
  src: url('/themes/custom/betselem8/fonts/BTSLM.woff') format('woff'),
       url('/themes/custom/betselem8/fonts/BTSLM.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Noto Naskh Arabic';
  src: url('/themes/custom/betselem8/fonts/NotoNaskhArabic-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Noto Naskh Arabic';
  src: url('/themes/custom/betselem8/fonts/NotoNaskhArabic-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Almoni tzar aaa';
  src: url('/themes/custom/betselem8/fonts/almoni-tzar-aaa-400.woff') format('woff'),
       url('/themes/custom/betselem8/fonts/almoni-tzar-aaa-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Almoni tzar aaa';
  src: url('/themes/custom/betselem8/fonts/almoni-tzar-aaa-700.woff') format('woff'),
       url('/themes/custom/betselem8/fonts/almoni-tzar-aaa-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

:root {
  --blue: #003350;
  --blue-deep: #002034;
  --rust: #aa4632;
  --rust-bright: #c9553d;
  --link: #f2a48f;
  --gray: #979797;
  --ink: #1e1e1e;
  --text: #ffffff;
  --text-dim: #b8c7d1;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-border: rgba(255, 255, 255, 0.16);
  --font-heading: acumin-pro-condensed, "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: acumin-pro-condensed, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(180deg, var(--blue-deep) 0%, var(--blue) 55%, #1d4258 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

html[lang="ar"] body {
  font-family: "Noto Naskh Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

html[lang="he"] body {
  font-family: "Almoni tzar aaa", "Segoe UI", Tahoma, Arial, sans-serif;
}

.lang-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* ---------- B'Tselem logo (Btslm icon font, glyph U+E905) ---------- */

.logo-icon {
  font-family: Btslm, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 84px;
  line-height: 1;
  color: var(--text);
  speak: never;
}

/* ---------- Header ---------- */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--text);
}

.brand span {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

[dir="rtl"] .brand span {
  letter-spacing: 0.02em;
}

.lang-switch,
.lang-switch:visited {
  display: inline-block;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s, border-color 0.2s;
}

.lang-switch:hover {
  background: var(--panel);
  border-color: var(--rust-bright);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 3rem;
  align-items: center;
  padding: 3rem 0 4rem;
}

.hero .poster {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  display: block;
}

.kicker {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.kicker strong {
  color: var(--rust-bright);
  font-weight: 600;
}

.credo {
  margin-top: 0.9rem;
  font-size: 1.05rem;
  color: var(--text-dim);
}

.credo strong {
  color: var(--text);
  font-weight: 600;
}

[dir="rtl"] .kicker {
  letter-spacing: 0.06em;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--text);
}

[dir="rtl"] .hero h1 {
  letter-spacing: 0;
}

.hero h1 .accent {
  display: block;
  color: var(--rust-bright);
  font-size: 0.55em;
  margin-top: 0.4rem;
  letter-spacing: 0.02em;
}

.tagline {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 34rem;
}

.tagline strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Festival badge ---------- */

.festival {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  border-radius: 10px;
  padding: 0.9rem 1.3rem;
}

.festival .lion {
  height: 40px;
  width: auto;
  display: block;
}

.festival p {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

[dir="rtl"] .festival p {
  letter-spacing: 0.02em;
}

.festival p strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
}

/* ---------- Co-producer logos ---------- */

.logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem 3.5rem;
  padding: 2.2rem 0;
}

.logos .logo-icon {
  font-size: 64px;
}

.logos-label {
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin-inline-start: -2.2rem;
}

[dir="rtl"] .logos-label {
  letter-spacing: 0.03em;
}

.logos .nowhere {
  height: 46px;
  width: auto;
  display: block;
}

/* ---------- Sections ---------- */

section {
  padding: 3rem 0;
  border-top: 1px solid var(--panel-border);
}

section h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
  color: var(--rust-bright);
}

[dir="rtl"] section h2 {
  letter-spacing: 0.02em;
}

.about p {
  max-width: 46rem;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.about a,
.about a:visited {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--link);
  transition: color 0.2s;
}

.about a:hover {
  color: var(--link);
}

.about .intro {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.55;
}

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

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

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
}

.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transition: transform 0.3s ease;
}

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

/* ---------- Press ---------- */

.press p {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.press a,
.press a:visited {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--link);
  transition: color 0.2s;
}

.press a:hover {
  color: var(--link);
}

/* ---------- Screenings ---------- */

.screening-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
}

.screening-list li {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.screening-list strong {
  font-size: 1.2rem;
}

.screening-date {
  color: var(--rust-bright);
  font-weight: 600;
}

.screening-list span:not(.screening-date) {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.prev-films ul {
  list-style: none;
}

.prev-films li {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: var(--text-dim);
}

/* ---------- Credits ---------- */

.credits dl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem 2.5rem;
}

.credits dt {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
}

[dir="rtl"] .credits dt {
  letter-spacing: 0.04em;
}

.credits dd {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.8;
}

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

footer {
  border-top: 1px solid var(--panel-border);
  padding: 2.5rem 0 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-brand .logo-icon {
  font-size: 44px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-dim);
  max-width: 30rem;
}

footer .partners {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

[dir="rtl"] footer .partners {
  letter-spacing: 0.02em;
}

/* ---------- Responsive ---------- */

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 1.5rem;
  }

  .hero .poster {
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-text {
    text-align: center;
  }

  .tagline {
    margin-left: auto;
    margin-right: auto;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
  }
}
