/* === Landscape Section (Optimized for Mobile + CLS Fix) === */
.landscape {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh; /* Ensures full height on iOS Safari */
  background-color: #000;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate; /* Prevents z-index bleed from children */
}

/* === Background Video (Faded for Better Logo Visibility) === */
#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  filter: brightness(0.45) contrast(1.05); /* 💡 Faded effect */
  background-color: #000; /* Fallback for slow loads */
  aspect-ratio: 16 / 9;
}

/* === Accessibility & Performance: Reduce Motion & Hide Video on Mobile === */
@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  #background-video {
    display: none;
  }
}

/* === Overlay Logo === */
.overlay-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  max-width: 95vw;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
  cursor: default;
}

/* === Hover Animation === */
.overlay-logo:hover {
  opacity: 0.6;
  transform: translate(-50%, -50%) scale(1.05);
}

/* === Responsive Logo Size on Mobile === */
@media (max-width: 600px) {
  .overlay-logo {
    width: 180px;
  }
}

/* Indicatorul de scroll */
/* === Scroll Indicator (Text + Săgeată) === */
/* === Scroll Indicator (Săgeată doar) === */
.scroll-indicator {
  position: absolute;
  top: calc(50% + 140px); /* poziționat sub logo */
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  opacity: 0.85;
  pointer-events: none;
  animation: fadeIn 1s ease-in;
}

.arrow-down {
  width: 28px;
  height: 28px;
  animation: bounceArrow 2s infinite;
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(6px);
  }
  60% {
    transform: translateY(3px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 600px) {
  .scroll-indicator {
    top: calc(50% + 80px);
  }

  .arrow-down {
    width: 22px;
    height: 22px;
  }
}