/* ========================
   Only Video Section
   ======================== */

.only-video-header-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-15);
  align-items: center;
  margin-bottom: var(--space-20);
}

/* Hero Media */
.only-video-section .hero-media {
  width: 100%;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--bs-primary-800);
}

.only-video-section .hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

.video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  background-color: var(--bs-black);
}

.revit-viewer-container {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.revit-viewer-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  background-color: var(--bs-black);
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

/* X-Small devices (portrait phones, less than 576px) - Default/Base Styles */
.only-video-header-section {
  margin-bottom: var(--space-12);
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .only-video-header-section {
    margin-bottom: var(--space-14);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .only-video-header-section {
    margin-bottom: var(--space-16);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .only-video-header-section {
    margin-bottom: var(--space-20);
  }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Inherits from 992px and up */
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  /* Inherits from 1200px and up */
}

/* XXX-Large devices (1600px and up) */
@media (min-width: 1600px) {
  /* Inherits from 1400px and up */
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .only-video-section .hero-media {
    transition: none;
  }
}
