/* ========================================
   AN NHIÊN HOMESTAY — Video Tour Section
   PC: 2 videos side by side
   Mobile: 1 video + "Xem tất cả" button
   ======================================== */

.video-tour {
  padding-block: var(--space-3xl);
  background: var(--color-brown-dark);
  position: relative;
  overflow: hidden;
}

.video-tour::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 50%,
    rgba(92, 122, 92, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.video-tour .section-header__label {
  color: var(--color-green-light);
}

.video-tour .section-header__title {
  color: var(--color-cream-light);
}

.video-tour .section-header__subtitle {
  color: var(--color-brown-light);
}

.video-tour .section-header__divider {
  background: var(--color-brown);
}

/* ── Video Grid: 2 side by side on PC ── */
.video-tour__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Video Container ── */
.video-tour__player {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  aspect-ratio: 9 / 16;
  max-height: 70vh;
}

.video-tour__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--color-black);
}

/* ── Play Button Overlay ── */
.video-tour__play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 23, 18, 0.3);
  cursor: pointer;
  transition: background var(--duration-normal) var(--ease-smooth);
}

.video-tour__play-overlay:hover {
  background: rgba(28, 23, 18, 0.15);
}

.video-tour__play-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-tour__play-btn {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  font-size: 2rem;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.video-tour__play-overlay:hover .video-tour__play-btn {
  transform: scale(1.1);
  background: rgba(92, 122, 92, 0.5);
  border-color: var(--color-green-light);
}

.video-tour__play-label {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-small);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}

/* ── View All Button (mobile only) ── */
.video-tour__view-all {
  display: none;
  justify-content: center;
  margin-top: var(--space-lg);
}

.video-tour__view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-cream);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.video-tour__view-all-btn:hover {
  background: var(--color-green);
  border-color: var(--color-green);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .video-tour {
    padding-block: var(--space-2xl);
  }

  /* Single column on mobile, centered */
  .video-tour__grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }

  /* Hide extra videos on mobile */
  .video-tour__player--extra {
    display: none;
  }

  /* Show when expanded */
  .video-tour__grid.expanded .video-tour__player--extra {
    display: block;
    animation: videoFadeIn 0.5s ease-out both;
  }

  @keyframes videoFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Show view all button */
  .video-tour__view-all {
    display: flex;
  }

  /* Hide view all when expanded */
  .video-tour__view-all.hidden {
    display: none;
  }

  .video-tour__player {
    border-radius: var(--radius-md);
    max-height: 60vh;
  }

  .video-tour__play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}
