/* src/styles/global.css */

/* =========================================
   1. VARIABLES & BASE
   ========================================= */
:root {
  --bg-color: #141414;
  --text-main: #e2e8f0;
  --text-muted: #666666;
  --plyr-color-main: #e0e0e0;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: "Heebo", "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased;
  transition:
    background-color 0.5s ease,
    color 0.5s ease;
}

/* =========================================
   2. THEMES (DARK & LIGHT)
   ========================================= */
body.theme-dark {
  background-color: #141414;
  color: #e2e8f0;
}
body.theme-dark .brand,
body.theme-dark .role {
  color: #ffffff;
}
body.theme-dark .main-nav a {
  color: #888888;
}
body.theme-dark .main-nav a:hover,
body.theme-dark .main-nav a.active {
  color: #e2e8f0;
}

body.theme-light {
  background-color: #f9f9f9;
  color: #111111;
}
body.theme-light .brand,
body.theme-light .project-title-block h1,
body.theme-light .project-desc,
body.theme-light .credit-value {
  color: #111111;
}
body.theme-light .role,
body.theme-light .main-nav a,
body.theme-light .project-category,
body.theme-light .credit-label {
  color: #666666;
}
body.theme-light .main-nav a:hover,
body.theme-light .main-nav a.active {
  color: #111111;
}
body.theme-light .hamburger-icon span {
  background-color: #111111 !important;
}

/* =========================================
   3. HEADER, NAV & LOGO
   ========================================= */
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  font-family: "Poppins", sans-serif;
}

.main-nav {
  position: absolute;
  left: 40px;
  display: flex;
  gap: 30px;
}

.main-nav a,
.nav-cta {
  position: relative;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  padding-bottom: 4px;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.main-nav a:hover,
.main-nav a.active,
.nav-cta:hover {
  color: var(--text-main);
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-main);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main, #e2e8f0);
  text-decoration: none;
}

.site-logo {
  height: 32px;
  width: auto;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .site-logo {
    height: 42px;
  }
}

.brand {
  font-weight: 600;
  letter-spacing: 0.15em;
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.role {
  font-weight: 400;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-editorial {
  padding-top: 160px; /* מרווח גדול יותר מהתפריט העליון */
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1100px; /* קצת יותר רחב למראה סינמטי */
  margin: 0 auto 100px;
  padding-left: 20px;
  padding-right: 20px;
}

.hero-video-wrapper {
  position: relative;
  width: 100%;
}

.video-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(80px) saturate(180%);
  opacity: 0.6;
  transform: scale(1.02) translateY(5%);
  z-index: 0;
  pointer-events: none;
}

/* קופסת הווידאו הראשית - עם אפקט זכוכית עדין */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 8px; /* פינות טיפה עגולות למראה פרימיום */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 20px 50px rgba(0, 0, 0, 0.5); /* מסגרת שקופה כמעט לחלוטין (Glass) */
  z-index: 1;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-intro {
  margin-top: 20px;
  text-align: center;
  position: relative;
  z-index: 2; /* מוודא שהטקסט יושב מעל ההילה */
}

.hero-intro p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  max-width: 600px;
  line-height: 1.6;
}

/* =========================================
   5. PROJECTS GRID
   ========================================= */
.projects-header-wrapper {
  max-width: 1400px;
  margin: 160px auto 40px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.projects-header-wrapper h2 {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #e2e8f0;
  margin: 0;
  white-space: nowrap;
}

.projects-header-wrapper::before,
.projects-header-wrapper::after {
  content: "";
  flex-grow: 1;
  height: 1px;
}
.projects-header-wrapper::before {
  background: linear-gradient(to left, rgba(255, 255, 255, 0.4), transparent);
}
.projects-header-wrapper::after {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.4), transparent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 20px 40px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.item {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 16/9;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
}

.item:hover img {
  transform: scale(1.05);
}

.item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.9), transparent);
  color: #ffffff;
  padding: 30px 20px 20px;
  font-family: "Heebo", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: left;
  direction: ltr;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.item:hover .item-overlay {
  transform: translateY(0);
}

/* =========================================
   6. PROJECT PAGE (INNER)
   ========================================= */
.project-hero {
  padding-top: 140px;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.project-video-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  background: #111111;
  border-radius: 4px;
  overflow: hidden;
}

.project-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-details {
  direction: rtl;
  text-align: right;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.project-title-block {
  flex-grow: 1;
  max-width: 750px;
}

.project-title-block h1 {
  font-family: "Heebo", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 5px;
  color: var(--text-main);
}

.project-category {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 25px;
  font-weight: 500;
}

.project-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-main);
  font-weight: 300;
}

.project-credits {
  min-width: 280px;
  border-right: 1px solid #e5e5e5;
  padding-right: 35px;
}

.credit-item {
  margin-bottom: 25px;
}

.credit-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 700;
}

.credit-value {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.5;
}

.project-stills {
  max-width: 1400px;
  margin: 0 auto 100px;
  padding: 0 20px;
  column-count: 2;
  column-gap: 15px;
}

.project-stills img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
  border-radius: 4px;
  break-inside: avoid;
  opacity: 0;
  filter: blur(10px);
  transition:
    opacity 0.8s ease-in-out,
    filter 0.8s ease-in-out;
}

.project-stills img.loaded {
  opacity: 1;
  filter: blur(0px);
}

.back-button {
  display: inline-block;
  direction: rtl;
  text-align: right;
  margin-bottom: 20px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.back-button:hover {
  color: var(--text-main);
  transform: translateX(5px);
}

.youtube-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 8px;
  overflow: hidden;
  background-color: #000;
  margin-bottom: 2rem;
}

.youtube-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.youtube-container.vertical-video {
  max-width: 500px;
  margin: 0 auto 2rem auto;
  padding-bottom: 0;
  aspect-ratio: 9 / 16;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-social-clips {
  max-width: 1400px;
  margin: 0 auto 100px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

.vertical-clip-wrapper {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9/16;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.vertical-clip-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================================
   7. EXPERTISE SECTION (CLEAN & MINIMAL)
   ========================================= */
.expertise-section {
  max-width: 1400px;
  margin: 100px auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.expertise-content {
  max-width: 550px;
}

.expertise-content h2 {
  font-family: "Poppins", sans-serif;
  font-size: 3.2rem; /* גודל זהה ל-FAQ */
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em; /* צמצום הרווחים למראה בשרני יותר */
  color: var(--text-main);
  margin-bottom: 40px;
  text-transform: uppercase;
}

.skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.skills-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: transparent;
  border: none;
}

.skill-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #ffffff;
  margin-top: 4px;
}

.skill-icon svg {
  width: 100%;
  height: 100%;
}

.skill-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.skill-content strong {
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.expertise-slider-wrapper {
  display: flex;
  justify-content: center;
}

.comparison-slider {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9/16;
  overflow: hidden;
}

.comparison-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  border-radius: 0 !important;
}

.img-overlay {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  z-index: 2;
}

.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: #ffffff;
  z-index: 3;
  pointer-events: none;
  transform: translateX(-50%);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.slider-handle svg {
  width: 14px;
  height: 14px;
  color: #ffffff;
}

.slider-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 4;
  cursor: ew-resize;
  margin: 0;
}

.slider-labels {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.comparison-slider:hover .slider-labels {
  opacity: 1;
}

.slider-labels span {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 10px;
  border-radius: 4px;
}

/* =========================================
   8. ABOUT SECTION
   ========================================= */
.about-section {
  max-width: 1400px;
  margin: 120px auto;
  padding: 0 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
}

.about-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  z-index: 2;
  position: relative;
  filter: grayscale(20%);
  transition: filter 0.4s ease;
}

.about-image-wrapper:hover .about-portrait {
  filter: grayscale(0%);
}

.image-accent-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  z-index: 1;
  pointer-events: none;
}

.about-text-content {
  display: flex;
  flex-direction: column;
}

.about-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: #94a3b8; /* הבהרנו לקונטרסט טוב יותר */
  margin-bottom: 8px; /* צומצם */
}

.about-text-content h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-main);
  margin-bottom: 18px; /* צומצם משמעותית כדי למנוע חלל ריק במובייל */
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 15px; /* צומצם המרווח בין הפסקאות */
  margin-bottom: 35px;
}

.about-paragraphs p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cbd5e1; /* אפור-כסוף בהיר לקריאות מקסימלית על רקע שחור */
  font-weight: 300;
}

.about-role-stamp {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #ffffff;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15); /* קו מעט יותר בולט */
  display: inline-block;
  max-width: max-content;
}

/* =========================================
   9. FAQ SECTION
   ========================================= */
.faq-section {
  max-width: 1400px;
  margin: 150px auto;
  padding: 0 40px;
}

.faq-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: flex-start;
}

.faq-header h2 {
  font-family: "Poppins", sans-serif;
  font-size: 3.2rem;
  line-height: 1.1;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.faq-header .text-muted {
  color: var(--text-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 35px 0;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.15rem;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #ffffff;
}

.faq-number {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-right: 40px;
  font-family: monospace;
  opacity: 0.7;
}

.faq-text {
  flex: 1;
  font-weight: 400;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-muted);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  padding-bottom: 35px;
  padding-left: 65px;
  padding-right: 40px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  margin: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #ffffff;
}

/* =========================================
   10. UI ELEMENTS & FOOTER
   ========================================= */
.premium-title {
  font-family: "Poppins", sans-serif;
  font-size: 3.2rem;
  line-height: 1.1;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.premium-title .text-muted {
  color: var(--text-muted);
}

.section-divider {
  width: 100%;
  max-width: 1400px;
  height: 1px;
  margin: 80px auto;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 12px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  width: max-content;
}

.status-dot-wrapper {
  position: relative;
  width: 10px;
  height: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #4ade80;
  border-radius: 50%;
  z-index: 2;
}

.status-dot-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #4ade80;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.4;
  animation: pulseGlow 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.availability-text {
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #e2e8f0;
  letter-spacing: 0.02em;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  70% {
    transform: scale(2.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.site-footer {
  margin-top: 60px;
  padding: 40px 20px;
  border-top: 1px solid #eaeaea;
  border-image: linear-gradient(to right, transparent, #eaeaea, transparent) 1;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-brand span {
  font-weight: 500;
  color: var(--text-main);
}

.footer-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.footer-links a {
  color: var(--text-muted);
  display: flex;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.footer-links svg {
  width: 22px;
  height: 22px;
}

.footer-links a:hover {
  color: var(--text-main);
  transform: translateY(-3px);
}

/* =========================================
   11. CONTACT MODAL & FORM
   ========================================= */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: 90%;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 45px 40px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  color: #111;
  text-align: right;
  direction: rtl;
}

.contact-modal.active .modal-content {
  transform: translate(-50%, -50%) scale(1);
}

.close-modal {
  position: absolute;
  top: 25px;
  left: 25px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  color: #000;
  background: rgba(0, 0, 0, 0.08);
  transform: rotate(90deg);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.modal-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.modal-title-wrap h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  color: #111;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.modal-title-wrap span {
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  color: #777;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.modal-content h2 {
  font-family: "Heebo", sans-serif;
  font-size: 2rem;
  color: #111;
  margin-bottom: 5px;
  font-weight: 700;
}
.modal-content p {
  font-family: "Heebo", sans-serif;
  color: #666;
  font-size: 1rem;
  margin-bottom: 40px;
}

.cinematic-form .input-group {
  position: relative;
  margin-bottom: 35px;
}

.cinematic-form input,
.cinematic-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  color: #111;
  font-size: 1.05rem;
  padding: 10px 0;
  font-family: inherit;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  direction: rtl;
  text-align: right;
  border-radius: 0;
}

.cinematic-form input:focus,
.cinematic-form textarea:focus {
  outline: none;
  border-bottom: 1px solid #111;
}

.cinematic-form textarea {
  resize: none;
  overflow-y: hidden;
}

.cinematic-form label {
  position: absolute;
  right: 0;
  left: 0;
  top: 10px;
  color: #777;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  direction: rtl;
}

.en-label {
  font-family: "Poppins", sans-serif;
  font-size: 0.65rem;
  color: #999;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.cinematic-form input:focus ~ label,
.cinematic-form input:not(:placeholder-shown) ~ label,
.cinematic-form textarea:focus ~ label,
.cinematic-form textarea:not(:placeholder-shown) ~ label {
  top: -22px;
  font-size: 0.85rem;
  color: #111;
}

.cinematic-form input:focus ~ label .en-label,
.cinematic-form input:not(:placeholder-shown) ~ label .en-label,
.cinematic-form textarea:focus ~ label .en-label,
.cinematic-form textarea:not(:placeholder-shown) ~ label .en-label {
  font-size: 0.6rem;
  color: #888;
}

.submit-btn {
  background: #111;
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.submit-btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.submit-btn.full-width {
  width: 100%;
  margin-top: 15px;
}

.success-message {
  text-align: center;
  padding: 20px 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.success-message.active {
  display: flex;
  animation: fadeInSuccess 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: #111;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.success-message h3 {
  font-family: "Heebo", sans-serif;
  font-size: 1.8rem;
  color: #111;
  margin-bottom: 10px;
  font-weight: 700;
}

.success-message p {
  font-family: "Heebo", sans-serif;
  color: #666;
  margin-bottom: 35px;
  font-size: 1.05rem;
}

.close-success-btn {
  width: auto;
  min-width: 200px;
}

@keyframes fadeInSuccess {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   12. ACCESSIBILITY & ANIMATIONS
   ========================================= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--text-main);
  outline-offset: 4px;
}

.video-control-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.3s ease,
    background 0.3s ease,
    transform 0.2s ease;
  opacity: 0.8;
  z-index: 5;
}

.video-control-btn svg {
  width: 20px;
  height: 20px;
}

.video-control-btn:hover,
.video-control-btn:focus-visible {
  opacity: 1;
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.05);
}

::view-transition-old(root) {
  animation: none !important;
  z-index: 1 !important;
}

::view-transition-new(root) {
  animation: slide-up 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
  z-index: 9999 !important;
}

@keyframes slide-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
/* =========================================
   SCROLL REVEAL ANIMATIONS (SMOOTH & SOFT)
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(25px); /* תנועה עדינה יותר במקום 40 */
  /* מפריד בין השקיפות לתנועה לקבלת תחושה של ease-in-out יוקרתי */
  transition:
    opacity 0.9s ease-out,
    transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* =========================================
   STAGGERED WORD REVEAL (אנימציית מילים)
   ========================================= */
.stagger-text .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  /* תנועה חלקה וסינמטית לכל מילה */
  transition:
    opacity 0.8s ease-out,
    transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.stagger-text.active .word {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   13. MOBILE LAYOUT & RESPONSIVE QUERIES
   ========================================= */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 10px;
  position: absolute;
  right: 15px;
  z-index: 100;
}

.hamburger-icon {
  width: 24px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-btn.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active .hamburger-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-overlay {
  position: absolute;
  top: 80px;
  left: 20px;
  right: 20px;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  padding: 25px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.mobile-link {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-main);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 5px 0;
}

.mobile-link:hover {
  color: #888;
}
.close-mobile-menu {
  display: none;
}

/* -----------------------------------------
   TABLET & MOBILE (max-width: 1024px/900px)
   ----------------------------------------- */
@media (max-width: 1024px) {
  .faq-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .faq-header h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
  .about-text-content h2 {
    font-size: 1.8rem;
  }

  .expertise-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
    padding: 0 20px !important;
    margin: 60px auto !important;
  }
  .expertise-content {
    order: 1 !important;
    width: 100% !important;
    max-width: none !important;
    text-align: left !important; /* שונה מ-right ל-left */
  }
  .expertise-content h2 {
    font-size: 2.2rem !important;
    margin-bottom: 25px !important;
  }
  .expertise-slider-wrapper {
    order: 2 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }
  .comparison-slider {
    max-width: 320px !important;
  }
  .slider-handle {
    position: relative !important;
  }
  .slider-handle::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 56px !important;
    height: 56px !important;
    cursor: pointer !important;
  }
}

/* -----------------------------------------
   MOBILE ONLY (max-width: 768px)
   ----------------------------------------- */
@media screen and (max-width: 768px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .top-bar {
    position: relative !important;
    width: 100%;
    padding: 15px 20px 5px 20px !important;
    box-sizing: border-box;
    justify-content: center !important;
  }
  .top-bar .main-nav {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex !important;
  }

  .brand {
    font-size: 0.95rem !important;
    color: var(--text-muted) !important;
    letter-spacing: 0.1em !important;
  }
  .role {
    font-size: 0.55rem !important;
    letter-spacing: 0.2em !important;
  }

  .hero-editorial {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    padding-top: 10px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 30px !important;
  }
  .hero-editorial .video-frame {
    width: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .projects-header-wrapper {
    width: 100%;
    box-sizing: border-box;
    margin: 60px auto 30px !important;
    padding: 0 20px !important;
    gap: 14px;
  }
  .projects-header-wrapper h2 {
    font-size: 1.25rem !important;
    letter-spacing: 0.1em !important;
    text-align: center;
  }

  .grid {
    width: 100%;
    box-sizing: border-box;
    grid-template-columns: 1fr !important;
    gap: 18px;
    padding: 10px 16px 40px !important;
  }
  .item {
    width: 100%;
    border-radius: 12px !important;
    overflow: hidden !important;
    aspect-ratio: 16 / 9 !important;
  }
  .item .item-overlay {
    transform: translateY(0) !important;
    background: linear-gradient(
      to top,
      rgba(17, 17, 17, 0.512) 60%,
      transparent
    );
    padding: 20px 16px 16px !important;
    font-size: 0.95rem !important;
  }
  .item:hover img {
    transform: none !important;
  }

  .project-stills {
    column-count: 1;
  }

  .about-section {
    margin: 90px auto !important;
  }
  .about-text-content {
    text-align: center;
    align-items: center;
  }
  .about-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
  }
  .about-paragraphs {
    text-align: center;
  }
  .about-paragraphs p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .about-role-stamp {
    font-size: 0.65rem;
    text-align: center;
  }

  .faq-section {
    margin: 90px auto !important;
  }
  .faq-header {
    text-align: left !important; /* שונה מ-right ל-left */
  }
  .faq-header h2 {
    font-size: 2.2rem !important;
    line-height: 1.15;
  }
  .premium-title {
    font-size: 2.5rem;
  }
  .section-divider {
    width: 85%;
    margin: 50px auto;
  }
}

@media (max-width: 600px) {
  .faq-question {
    padding: 25px 0;
    font-size: 1rem;
  }
  .faq-number {
    margin-right: 20px;
  }
  .faq-answer p {
    padding-left: 45px;
    padding-bottom: 25px;
  }
}
/* =========================================
   FLOATING CONTACT BUTTON
   ========================================= */
.floating-contact-btn {
  position: fixed;
  bottom: 20px; /* הורדנו מ-40 ל-20 */
  left: 50%;
  transform: translateX(-50%);
  /* ... שאר הקוד נשאר אותו דבר ... */

  width: 65px;
  height: 65px;
  background-color: var(--text-main);
  color: var(--bg-color);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease;

  padding: 0 !important;
  margin: 0 !important;
  line-height: 0;
}

body.theme-light .floating-contact-btn {
  background-color: #111111;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.floating-contact-btn svg {
  width: 26px;
  height: 26px;
  margin: auto;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* שומר על המרכוז גם כשמרחפים מעליו (Hover) ומרימים אותו קצת */
.floating-contact-btn:hover {
  transform: translate(-50%, -8px);
  background-color: #ffffff;
}

.theme-light .floating-contact-btn:hover {
  background-color: #333333;
}

.floating-contact-btn:hover svg {
  transform: scale(1.1);
}

@media screen and (max-width: 768px) {
  .floating-contact-btn {
    bottom: 5px; /* הורדנו מ-25 ל-15 */
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 55px;
  }
  .floating-contact-btn svg {
    width: 22px;
    height: 22px;
  }
}
