/* Section 2a - Video Section */

#section-2a {
  width: 100%;
  background-color: var(--tertiary-col);
}

.sec2a-con {
  margin: 0 auto;
}

.sec2a-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sec2a-video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Play Button Overlay */
.sec2a-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.sec2a-play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.sec2a-play-btn {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.sec2a-play-overlay:hover .sec2a-play-btn {
  transform: scale(1.1);
}

/* Enquire Button Overlay */
.sec2a-enquire-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sec2a-enquire-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.sec2a-enquire-btn {
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary-col);
  background: var(--primary-col);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sec2a-enquire-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  background: linear-gradient(135deg, #d63031, #ff6b35);
}

.sec2a-enquire-btn:active {
  transform: translateY(0);
}

/* Desktop Breakpoint - 1200px and above */
@media (max-width: 1200px) {
  #section-2a {
    padding: 60px 0;
  }

  .sec2a-con {
    max-width: 1100px;
    padding: 0 40px;
  }

  .sec2a-video-wrapper {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  .sec2a-video {
    aspect-ratio: 16 / 9;
  }

  .sec2a-play-btn {
    width: 100px;
    height: 100px;
  }

  .sec2a-enquire-btn {
    padding: 16px 50px;
    font-size: 18px;
  }
}

/* Tablet Breakpoint - 900px to 1199px */
@media (min-width: 900px) and (max-width: 1199px) {
  #section-2a {
    padding: 50px 0;
  }

  .sec2a-con {
    max-width: 900px;
    padding: 0 30px;
  }

  .sec2a-video-wrapper {
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  }

  .sec2a-video {
    aspect-ratio: 16 / 9;
  }

  .sec2a-play-btn {
    width: 90px;
    height: 90px;
  }

  .sec2a-enquire-btn {
    padding: 15px 45px;
    font-size: 16px;
  }
}

/* Large Mobile Breakpoint - 520px to 899px */
@media (min-width: 520px) and (max-width: 899px) {
  #section-2a {
    padding: 40px 0;
  }

  .sec2a-con {
    max-width: 100%;
    padding: 0 20px;
  }

  .sec2a-video-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .sec2a-video {
    aspect-ratio: 16 / 9;
  }

  .sec2a-play-btn {
    width: 75px;
    height: 75px;
  }

  .sec2a-enquire-btn {
    padding: 12px 35px;
    font-size: 14px;
  }
}

/* Small Mobile Breakpoint - Below 520px */
@media (max-width: 519px) {
  #section-2a {
    padding: 30px 0;
  }

  .sec2a-con {
    max-width: 100%;
    padding: 0 15px;
  }

  .sec2a-video-wrapper {
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .sec2a-video {
    aspect-ratio: 16 / 9;
  }

  .sec2a-play-btn {
    width: 65px;
    height: 65px;
  }

  .sec2a-enquire-btn {
    padding: 11px 30px;
    font-size: 13px;
  }
}

/* Extra Small Mobile Breakpoint - 375px and below */
@media (max-width: 375px) {
  #section-2a {
    padding: 25px 0;
  }

  .sec2a-con {
    max-width: 100%;
    padding: 0 12px;
  }

  .sec2a-video-wrapper {
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }

  .sec2a-video {
    aspect-ratio: 16 / 9;
  }

  .sec2a-play-btn {
    width: 55px;
    height: 55px;
  }

  .sec2a-enquire-btn {
    padding: 10px 25px;
    font-size: 12px;
  }
}

/* Video Controls Styling for Better Mobile Experience */
.sec2a-video::-webkit-media-controls {
  display: flex;
}

.sec2a-video::cue {
  background-image: linear-gradient(to bottom, dimgrey, lightgrey);
  color: white;
}
