:root {
  --bg-color: #000000;
  --surface-color: #0d0d0d;
  --text-color: #ffffff;
  --muted-text: #e6e6e6;
  --border-color: #222222;
  --line: #1c1c1c;
  --max-width: 1400px;
  --font-base: 18px;
  --radius-frame: 20px;
}

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

html {
  scroll-behavior: smooth;
  font-size: var(--font-base);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.75;
  overflow-x: hidden;
}

/* אלמנטים לקריאת גוגל ונגישות בלבד - מוסתרים לחלוטין מהעיצוב הויזואלי */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  height: 70px;
  overflow: visible;
}

.nav-container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
}

.logo-header {
  height: 112.5px;
  max-width: 575px;
  width: auto;
  display: block;
  object-fit: contain;
  transform: translateY(6px);
}

nav {
  display: flex;
  align-items: center;
  height: 100%;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, opacity 0.2s ease;
}

nav a:hover {
  opacity: 0.8;
}

.lang-switch {
  font-weight: 600;
  border: 1px solid #666;
  padding: 0.35rem 0.8rem;
  border-radius: 3px;
  color: #ffffff;
}

/* Fullscreen Video Hero */
.hero-fullwidth {
  position: relative;
  width: 100vw;
  height: 75vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
}

.hero-fullwidth video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Containers & Titles */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
}

section {
  border-bottom: 1px solid var(--border-color);
}

h2.section-title-center {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: -0.01em;
}

/* Productions Staggered Layout */
.featured-wrap {
  margin-bottom: 6rem;
}

.film-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background-color: #0d0d0d;
  border-radius: var(--radius-frame);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-frame);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 4;
}

.media-frame.scope-21-9 {
  aspect-ratio: 21 / 9;
}

.media-frame.cinema-16-9 {
  aspect-ratio: 16 / 9;
}

.media-frame.poster-4-5 {
  aspect-ratio: 4 / 5;
}

.media-frame.cropped-clean {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.media-frame.cropped-clean .film-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.media-frame.cropped-clean .film-hover-video {
  width: 100%;
  height: 145%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: top center;
}

.media-frame.contain-fit-square {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}

.media-frame.contain-fit-square .film-img,
.media-frame.contain-fit-square .film-hover-video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center center;
}

.film-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  display: block;
  position: relative;
  z-index: 1;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.film-hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.8s ease;
  z-index: 2;
}

.film-hover-video.scope-zoom-fill {
  transform: scale(1.34);
  transform-origin: center center;
}

.media-frame.show-still .film-hover-video {
  opacity: 0;
}

@keyframes continuousZoom {
  0% {
    transform: scale(1);
    filter: brightness(0.9);
  }
  100% {
    transform: scale(1.06);
    filter: brightness(1.04);
  }
}

.media-frame.show-still .film-img {
  animation: continuousZoom 3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.film-card:hover .media-frame {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.85), 0 0 30px rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
}

.film-card:hover .film-img:not(.animated-zoom),
.film-card:hover .film-hover-video:not(.scope-zoom-fill) {
  filter: brightness(1.05);
}

.film-info {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0 0.3rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.2rem;
}

.film-header-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.film-title-group h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  transition: opacity 0.3s ease;
}

.film-card:hover .film-title-group h3 {
  opacity: 0.85;
}

.film-details-reveal {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.4s ease, 
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.film-card:hover .film-details-reveal {
  max-height: 450px;
  opacity: 1;
  transform: translateY(0);
}

.film-meta-box {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.88rem;
  font-weight: 500;
  color: #dcdcdc;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 0.45rem 0.85rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.film-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02));
  margin: 0.2rem 0;
}

body[dir="rtl"] .film-divider {
  background: linear-gradient(to left, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02));
}

.film-synopsis-text {
  font-size: 0.95rem;
  color: #b0b0b0;
  line-height: 1.7;
}

.film-action-link {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid #333333;
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
  white-space: nowrap;
  font-weight: 600;
}

.film-card:hover .film-action-link {
  color: #000000;
  border-color: #ffffff;
  background-color: #ffffff;
}

.staggered-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem 6rem;
  align-items: start;
}

.col-left {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.col-right {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  margin-top: 8rem;
}

/* About Us */
.about-company-intro {
  max-width: 980px;
  margin: 0 auto 4rem auto;
  text-align: left;
}

body[dir="rtl"] .about-company-intro {
  text-align: right;
}

.about-company-intro p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #e0e0e0;
}

.spotlight-wrapper {
  max-width: 1050px;
  margin: 0 auto;
}

.spotlight-portraits {
  display: flex;
  justify-content: center;
  gap: 4.5rem;
  margin-bottom: 2rem;
}

.portrait-btn {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  width: 290px;
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 0.85;
}

.portrait-btn:hover,
.portrait-btn.active {
  opacity: 1;
  transform: translateY(-5px);
}

.portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-frame);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65);
  background-color: #0d0d0d;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.portrait-btn:hover .portrait-frame,
.portrait-btn.active .portrait-frame {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 255, 255, 0.05);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-frame);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 2;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  display: block;
}

.portrait-btn:hover .portrait-frame img,
.portrait-btn.active .portrait-frame img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.portrait-label {
  margin-top: 1.2rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.2rem;
  transition: border-color 0.3s ease;
}

.portrait-btn:hover .portrait-label,
.portrait-btn.active .portrait-label {
  border-bottom-color: #ffffff;
}

.spotlight-content-panel {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

.spotlight-pane {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-frame);
  padding: 2.2rem 2.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.spotlight-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.spotlight-bio {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #e0e0e0;
  margin-bottom: 1.5rem;
}

.spotlight-works {
  font-size: 0.95rem;
  color: #b0b0b0;
  line-height: 1.8;
}

.spotlight-works strong {
  color: #ffffff;
}

/* Contact Us - צמצום מהודק לחלוטין */
#contact.container {
  padding-top: 5rem;
  padding-bottom: 0 !important;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  justify-content: center;
}

.contact-block {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-block h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-block p {
  color: #d8d8d8;
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact-block a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-block a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.contact-img-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-frame);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  background-color: #0d0d0d;
}

.contact-img-container::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-frame);
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 2;
}

.contact-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  will-change: transform;
}

@keyframes contactSlowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.12);
  }
}

.contact-img-container.is-visible .contact-img {
  animation: contactSlowZoom 18s ease-in-out infinite alternate;
}

.contact-logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin-top: 0.5rem;
  margin-bottom: -15px;
}

.logo-bottom {
  height: 160px;
  max-width: 850px;
  width: auto;
  display: block;
  object-fit: contain;
}

footer {
  text-align: center;
  padding: 0.4rem 1.5rem 1.2rem 1.5rem;
  color: #cccccc;
  font-size: 0.92rem;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  text-decoration: underline;
}

/* Accessibility Menu */
.accessibility-trigger {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #0056f6;
  border: 2px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 0;
}

body[dir="rtl"] .accessibility-trigger {
  right: auto;
  left: 25px;
}

.accessibility-trigger svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.accessibility-panel {
  position: fixed;
  bottom: 85px;
  right: 25px;
  width: 290px;
  background-color: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 9999;
}

body[dir="rtl"] .accessibility-panel {
  right: auto;
  left: 25px;
}

.accessibility-panel.active {
  display: flex;
}

.acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 0.6rem;
  margin-bottom: 0.4rem;
}

.acc-header h3 {
  font-size: 1.05rem;
  color: #fff;
}

.acc-close {
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.3rem;
  cursor: pointer;
}

.acc-btn {
  background-color: #262626;
  color: #ffffff;
  border: 1px solid #404040;
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.2s ease;
}

.acc-btn:hover {
  background-color: #333333;
  border-color: #666666;
}

body.acc-high-contrast {
  --bg-color: #000000 !important;
  --text-color: #ffff00 !important;
  --muted-text: #ffffff !important;
}

body.acc-high-contrast a,
body.acc-high-contrast .film-action-link {
  background-color: #ffff00 !important;
  color: #000000 !important;
}

body.acc-underline-links a {
  text-decoration: underline !important;
}

body.acc-readable-font {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  :root {
    --radius-frame: 14px;
  }

  header {
    height: auto;
    padding: 0.8rem 0;
  }

  .film-details-reveal {
    max-height: none;
    opacity: 1;
    transform: none;
  }

  .featured-wrap {
    margin-bottom: 3.5rem;
  }

  .media-frame.scope-21-9 {
    aspect-ratio: 16 / 9;
  }

  .staggered-columns {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

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

  .spotlight-portraits {
    gap: 1.5rem;
  }

  .portrait-btn {
    width: 140px;
    opacity: 1;
  }

  .portrait-label {
    font-size: 0.95rem;
  }

  .spotlight-pane {
    padding: 1.4rem;
  }

  .contact-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nav-container {
    flex-direction: column;
    gap: 1.2rem;
  }

  .logo-header {
    height: 70px;
    max-width: 320px;
    transform: none;
  }

  .logo-bottom {
    height: 100px;
    max-width: 300px;
    margin-bottom: -10px;
  }

  .hero-fullwidth {
    height: 55vh;
  }
}