/* חן קלימי | קריינות — עיצוב האתר */
:root {
  --navy: #0B0F24;
  --accent: #ACBDFF;
  --white: #FFFFFF;
  --grey: #6B6B6B;
  --font: "Google Sans", "Noto Sans Hebrew", Arial, Helvetica, sans-serif;
  --header-h: 100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
/* no text/image selection on the site (form fields stay usable) */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea { -webkit-user-select: text; user-select: text; }
img { -webkit-user-drag: none; }
img { display: block; max-width: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--navy);
  transition: background-color .35s ease, backdrop-filter .35s ease, -webkit-backdrop-filter .35s ease;
  display: flex; align-items: center; justify-content: space-between;
  /* keep logo and menu aligned with the centered gallery on wide screens */
  padding: 0 max(0px, calc((100% - 1470px) / 2));
}
.brand {
  display: flex; align-items: center; gap: 11px;
  padding-right: 0;
  margin-right: -2px;
}
.brand img { width: 52px; height: 52px; }   /* solid accent color (no gradient) */
.brand-text { font-size: 40px; line-height: 52px; white-space: nowrap; }
.brand-text .name { color: var(--accent); font-weight: 700; }
.brand-text .title { color: var(--white); font-weight: 500; }

.main-nav { display: flex; align-items: center; height: 41px; margin-left: 15px; }
.main-nav a {
  display: block;
  font-size: 17px;
  line-height: 41px;
  letter-spacing: .05em;   /* as on Wix */
  padding: 0 20px;
  color: var(--white);
  position: relative;
  transition: color .2s;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a.active { color: var(--accent); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent); /* Wix: border-bottom 2px #ACBDFF */
}

/* Header after scrolling: slightly transparent + blurred */
.site-header.scrolled {
  background: rgba(11, 15, 36, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.scrolled { background: rgba(11, 15, 36, .94); }
}

/* ---------- Works gallery ---------- */
.works { padding-top: 100px; overflow: hidden; scroll-margin-top: var(--header-h); }
/* gallery pages (12 works per page), switched in place */
.gallery {
  transition: opacity .38s cubic-bezier(.4, 0, .2, 1), transform .38s cubic-bezier(.4, 0, .2, 1),
              height .6s cubic-bezier(.22, .61, .36, 1);
}
.gallery.fading { opacity: 0; transform: translateY(8px); }
.gallery-item.enter { animation: workIn .6s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes workIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery, .gallery-item.enter { transition: none; animation: none; }
}
.pager {
  display: flex; justify-content: center; align-items: center; gap: 6px;
  padding: 34px 16px 30px;
}
.pager[hidden], .gallery-item[hidden] { display: none; }
.pager button {
  background: none; border: 0; cursor: pointer;
  font: 400 17px/41px var(--font);
  color: var(--white);
  padding: 0 16px;
  position: relative;
  transition: color .2s;
}
.pager button:hover { color: var(--accent); }
.pager button.active { color: var(--accent); cursor: default; }
.pager button.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent);
}
.pager button:disabled:not(.active) { opacity: .3; cursor: default; color: var(--white); }
.pager .pg-arrow { font-size: 20px; padding: 0 12px; }
.pager button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* dashed separator under the gallery (as on Wix) */
.works-divider {
  width: min(1458px, calc(100% - 32px));
  margin: 0 auto;
  height: 5px;
  border-top: 1px dashed var(--white);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  /* Same as the Wix gallery: fixed 1458px block (two 724px items + 10px gap), centered */
  width: min(1458px, calc(100% - 32px));
  margin: 0 auto;
  direction: ltr;           /* same item order as the original (item 1 top-left) */
}
.gallery-item {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  border: 0; padding: 0;
  display: block;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* ---------- Clients ---------- */
.clients { height: 279px; display: flex; align-items: center; }
/* one fixed row of 5 logos (left to right), same light filter as on Wix */
.logo-strip {
  display: flex; align-items: center; justify-content: space-between;
  width: min(1100px, calc(100% - 64px)); margin: 0 auto; padding: 20px 0;
  direction: ltr;
  -webkit-user-select: none; user-select: none;
}
.logo-strip img {
  flex: none; height: 66px; width: auto; max-width: 185px; object-fit: contain;
  pointer-events: none; filter: brightness(0) invert(1);   /* every logo in pure white */
}
.logo-strip img.netflix { height: 43px; }
.logo-strip img.paramount { height: 76px; }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 592px;
  scroll-margin-top: var(--header-h);
}
.about-text {
  background: var(--accent);
  color: var(--navy);
  padding: 93px 0 60px;
}
/* text block positioned like on Wix: 565px wide, right edge 244.5px right of the panel's center */
.about-inner {
  width: 565px;
  max-width: calc(100% - 48px);
  margin-right: max(24px, calc(50% - 244.5px));
}
.about-text h2 {
  font-size: 73px;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 6px;
}
.about-text p {
  font-size: 25px;
  font-weight: 400;
  line-height: 35px;
}
.about-text p strong { font-weight: 700; }
.about-text p + p { margin-top: 35px; }
/* "get a quote" button under the about text */
.btn-quote {
  display: inline-block;
  margin-top: 32px;
  background: var(--navy); color: var(--accent);
  font-size: 19px; font-weight: 500; letter-spacing: .03em;
  padding: 13px 34px;
  border: 1px solid var(--navy);
  transition: background .25s ease, color .25s ease;
}
.btn-quote:hover, .btn-quote:focus-visible { background: transparent; color: var(--navy); }
.btn-quote:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.about-photo {
  background: var(--white);
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact strip / footer ---------- */
.contact-strip {
  position: relative;
  min-height: 155px;
  display: flex; align-items: center; justify-content: center;
  gap: 140px;
  padding: 40px 20px 44px;
}
.contact-link {
  display: flex; align-items: center; gap: 8px;
  color: var(--accent);
  font-size: 23px;
  direction: ltr;
}
.contact-link:hover { text-decoration: underline; }
.contact-link img, .contact-link svg { width: 37px; height: 37px; flex: none; }
.contact-link svg { width: 35px; height: 24px; }
.wa-float { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(11, 15, 36, .96);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox video {
  max-width: 88vw; max-height: 86vh;
  background: #000;
}
.lb-btn {
  position: absolute;
  background: none; border: 0; cursor: pointer;
  color: var(--white);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  opacity: .85;
}
.lb-btn:hover { opacity: 1; }
.lb-close { top: 16px; right: 16px; }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-title {
  position: absolute; bottom: 18px; left: 0; right: 0;
  text-align: center; font-size: 14px; color: rgba(255,255,255,.7);
  direction: ltr;
}

/* ---------- Contact page ---------- */
.contact-page {
  min-height: calc(100vh - var(--header-h));
  padding: 30px 20px 80px;
  text-align: center;
}
.contact-page h1 {
  font-size: 60px; font-weight: 700; line-height: 1.3;
}
.contact-page .contact-row {
  display: flex; justify-content: center; gap: 40px;
  margin: 34px 0 76px;   /* more breathing room: title ↔ details ↔ form */
}
.contact-page .contact-link { font-size: 18px; }
.contact-page .contact-link svg,
.contact-page .contact-link img { width: 26px; height: 26px; }
.contact-form {
  max-width: 480px; margin: 0 auto;
  text-align: right;
}
.field { margin-bottom: 34px; }
.field label {
  display: block;
  font-size: 13px; color: var(--white);
  margin-bottom: 6px; opacity: .85;
}
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--white);
  color: var(--white);
  font: 16px/1.5 var(--font);
  padding: 6px 2px;
  outline: none;
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field textarea { min-height: 90px; }
/* required fields + validation messages */
.field .req { color: var(--accent); }
.field-error { display: block; min-height: 18px; margin-top: 6px; font-size: 13px; color: #FF9B9B; }
.field.invalid input, .field.invalid textarea { border-bottom-color: #FF9B9B; }
.btn:disabled { opacity: .6; cursor: default; }
.btn {
  display: block; margin: 10px auto 0;
  background: var(--accent); color: var(--navy);
  border: 0; cursor: pointer;
  font: 500 15px var(--font);
  padding: 10px 46px;
  transition: background .2s;
}
.btn:hover { background: var(--white); }
.form-note { margin-top: 18px; font-size: 13px; color: var(--accent); min-height: 1em; text-align: center; }

/* ---------- 404 page ---------- */
.notfound {
  min-height: calc(100vh - var(--header-h) - 40px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px 80px; gap: 14px;
}
.notfound .nf-code { font-size: 120px; font-weight: 700; line-height: 1; color: var(--accent); }
.notfound h1 { font-size: 40px; font-weight: 700; }
.notfound p { font-size: 18px; color: rgba(255,255,255,.75); }
.notfound .btn { margin-top: 16px; display: inline-block; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .brand-text { font-size: 30px; }
  .brand img { width: 42px; height: 42px; }
  .main-nav a { padding: 0 12px; font-size: 16px; }
  .about-text { padding: 60px 0; }
  .about-text h2 { font-size: 56px; }
  .about-text p { font-size: 21px; line-height: 31px; }
  .contact-strip { gap: 60px; }
}

@media (max-width: 760px) {
  /* Mobile layout modeled on the Wix mobile version (sizes scale with screen width like on Wix) */
  :root { --header-h: 0px; }
  .site-header {
    position: relative;               /* header scrolls away on mobile */
    height: auto;
    flex-direction: column; justify-content: center; gap: 4px;
    padding: 3vw 16px 4vw;
  }
  .site-header.scrolled { background: var(--navy); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .brand { margin: 0; flex-direction: column; gap: 1vw; }
  .brand img { width: 15.6vw; height: 15.6vw; max-width: 64px; max-height: 64px; }
  .brand-text { font-size: 7.5vw; line-height: 1.3; }
  .main-nav { margin: 0; height: auto; }
  .main-nav a { padding: 0 10px; font-size: 15px; line-height: 34px; white-space: nowrap; }
  .home .main-nav { display: none; }   /* no menu on the mobile home page */

  .works { padding-top: 3vw; }
  .gallery { grid-template-columns: 1fr; width: 87.5%; margin: 0 auto; gap: 8px; }
  .pager { padding: 26px 16px 8px; }
  .works-divider { width: 87.5%; margin-top: 32px; }

  .clients { height: auto; padding: 12vw 0 16vw; }
  .logo-strip { width: 87.5%; padding: 10px 0; }
  .logo-strip img, .logo-strip img.paramount { height: 9.5vw; max-width: 15vw; }
  .logo-strip img.netflix { height: 5vw; }

  .about { grid-template-columns: 1fr; min-height: 0; }
  .about-photo { order: -1; aspect-ratio: 320 / 200; max-height: none; }
  .about-text { padding: 7vw 0 8vw; }
  .about-inner { margin: 0 6vw; max-width: none; width: auto; }
  .about-text h2 { font-size: 10.3vw; margin-bottom: 2px; }
  .about-text p { font-size: 5vw; line-height: 1.4; }
  .about-text p + p { margin-top: 1.4em; }
  .about-text p br { display: none; }
  .btn-quote { display: none; }   /* no quote button on mobile */

  .contact-strip { gap: 6vw; padding: 9vw 16px 22vw; flex-wrap: wrap; min-height: 0; }   /* bottom room for the floating WhatsApp button */
  .contact-link span { display: none; }   /* icons only, like Wix mobile */
  .contact-link img { width: 9.4vw; height: 9.4vw; max-width: 40px; max-height: 40px; }
  .contact-link svg { width: 8.8vw; height: 6vw; max-width: 38px; max-height: 26px; }

  .contact-page h1 { font-size: 42px; }
  .contact-page .contact-row { flex-direction: column; align-items: center; gap: 12px; }
  .contact-page .contact-link span { display: inline; }
  .lightbox video { max-width: 100vw; }

  /* floating WhatsApp button (Wix mobile "quick action") */
  .wa-float {
    display: flex; position: fixed; left: 16px; bottom: 16px; z-index: 60;
    width: 52px; height: 52px; border-radius: 50%;
    background: #000; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.35);
  }
  .wa-float img { width: 28px; height: 28px; }
  .lightbox.open ~ .wa-float { display: none; }
}

/* ---------- Blueberry consent banner (a playful take on cookie banners) ---------- */
.berry-bar {
  position: fixed; z-index: 90; left: 50%; bottom: 20px;
  width: min(880px, calc(100% - 32px));
  display: flex; align-items: center; gap: 20px;
  padding: 18px 22px;
  background: #141a3a; color: #fff;
  border: 1px solid rgba(172,189,255,.28); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  transform: translate(-50%, calc(100% + 40px)); opacity: 0;
  transition: transform .7s cubic-bezier(.16,1,.3,1), opacity .5s ease;
}
.berry-bar.show { transform: translate(-50%, 0); opacity: 1; }
.berry-bar[hidden] { display: none; }
.berry-ico { flex: none; width: 52px; height: 52px; }
.berry-text { flex: 1; min-width: 0; }
.berry-text strong { display: block; font-size: 17px; font-weight: 700; color: var(--accent); }
.berry-text p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.78); margin-top: 3px; }
.berry-btns { flex: none; display: flex; gap: 10px; }
.berry-btns button {
  font: 500 15px var(--font); cursor: pointer; border-radius: 999px; padding: 10px 20px;
  transition: background .2s, color .2s, border-color .2s;
}
.berry-ok { background: var(--accent); color: var(--navy); border: 1px solid var(--accent); }
.berry-ok:hover { background: #fff; border-color: #fff; }
.berry-no { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.berry-no:hover { border-color: #fff; }
.berry-btns button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 760px) {
  .berry-bar { flex-wrap: wrap; gap: 12px 14px; bottom: 12px; padding: 16px; width: calc(100% - 24px); }
  .berry-ico { width: 42px; height: 42px; }
  .berry-text strong { font-size: 16px; }
  .berry-text p { font-size: 13px; }
  .berry-btns { flex-basis: 100%; }
  .berry-btns button { flex: 1; padding: 11px 10px; font-size: 14px; }
  body.berry-open .wa-float { display: none; }
}
  
