@charset "UTF-8";

/* =====================================
   BANNER SECTION STYLES – PRODUCTION
   ===================================== */

/* ---------------------------
   Banner Container
---------------------------- */
.banner {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* Overlay for readability (under content) */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

/* Background image / poster */
.banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Video or iframe background */
.banner video,
.banner iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* ---------------------------
   Banner Content Card
---------------------------- */
.banner-content {
  position: absolute;
  bottom: 180px;
  left: 175px;
  background: #fff;
  padding: 35px 45px;
  border-radius: 20px;
  max-width: 480px;
  text-align: left;
  z-index: 30;
  animation: fadeInUp 1.2s ease-in-out;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* depth */
}

/* Headline */
.banner-content h1 {
  font-size: clamp(22px, 2.2vw + 1rem, 34px);
  font-weight: 700;
  color: #ff6600;
  margin: 0 0 15px 0;
  line-height: 1.25;
}

/* Description text */
.banner-content p {
  font-size: clamp(14px, 1.2vw + 0.2rem, 16px);
  color: #333;
  margin: 0 0 24px 0;
  line-height: 1.6;
}

/* ---------------------------
   Button Group
---------------------------- */
.banner-content .btn-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 25px;
  margin-top: 20px;
  position: relative;
  z-index: 31;
}

/* Base button styles */
.banner-content .btn-primary,
.banner-content .btn-outline {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 35px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  min-width: 160px;
  line-height: 1;
  box-sizing: border-box;
  transition: all 0.25s ease;
  will-change: background, color, border-color, transform;
  -webkit-font-smoothing: antialiased;
}

/* Hover motion lift */
.banner-content .btn-primary:hover,
.banner-content .btn-outline:hover {
  transform: translateY(-2px);
}

/* Primary (orange) button */
.banner-content .btn-primary {
  background: #ff6600;
  border: 2px solid #ff6600;
  color: #fff;
}

.banner-content .btn-primary:hover {
  background: #fff;
  color: #ff6600;
  border-color: #ff6600;
}

/* Outline (teal) button */
.banner-content .btn-outline {
  background: transparent;
  border: 2px solid #40bfc1;
  color: #000;
  box-shadow: none;
}

.banner-content .btn-outline:hover {
  background: #40bfc1;
  color: #fff;
  border-color: #40bfc1;
}

/* ---------------------------
   Animations
---------------------------- */
@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ---------------------------
   Responsive Adjustments
---------------------------- */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
  .banner-content {
    bottom: 120px;
    left: 60px;
    padding: 25px 35px;
    max-width: 420px;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .banner-content {
    bottom: 40px;
    left: 20px;
    right: 20px;
    max-width: calc(100% - 40px);
    padding: 24px;
  }

  /* Stack buttons vertically */
  .banner-content .btn-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .banner-content .btn-primary,
  .banner-content .btn-outline {
    width: 100%;
    min-width: 0;
    font-size: 15px;
    padding: 12px 26px;
    border-radius: 30px;
  }

  .banner-content .btn-outline {
    border-width: 1.8px;
  }
}

/* Small Phones (≤480px) */
@media (max-width: 480px) {
  .banner-content {
    padding: 20px;
  }

  .banner-content .btn-primary,
  .banner-content .btn-outline {
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 28px;
  }

  .banner-content .btn-outline {
    border-width: 1.5px;
  }
}

/* ===============================
   SOUND BUTTON (VIDEO CONTROL)
=============================== */
.banner-sound-btn {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 50;

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;

  font-size: 18px;
  cursor: pointer;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition: all 0.3s ease;
}

/* Hover effect */
.banner-sound-btn:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.05);
}

/* Active (sound ON) */
.banner-sound-btn.active {
  background: #ff6600;
  color: #fff;
}


/* ===============================
   SOUND BUTTON – TOP RIGHT
=============================== */
.banner-sound-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 50;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  cursor: pointer;

  font-size: 18px;
  color: #fff;

  transition: all 0.3s ease;
}

/* Hover */
.banner-sound-btn:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: scale(1.05);
}

/* Icon visibility control */
.banner-sound-btn .icon-sound {
  display: none;
}

.banner-sound-btn.active .icon-muted {
  display: none;
}

.banner-sound-btn.active .icon-sound {
  display: inline;
}


/* ===============================
   SOUND BUTTON – WAVE ANIMATION
=============================== */
.banner-sound-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 50;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: #fff;

  font-size: 18px;
  transition: all 0.3s ease;
}

/* Hover */
.banner-sound-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}

/* ===============================
   WAVE EFFECT (WHEN MUTED)
=============================== */
.banner-sound-btn::before,
.banner-sound-btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  z-index: -1;
  opacity: 0;
}

/* Animate only when muted */
.banner-sound-btn:not(.active)::before {
  animation: soundWave 1.8s infinite;
}

.banner-sound-btn:not(.active)::after {
  animation: soundWave 1.8s infinite 0.6s;
}
.banner-sound-btn:not(.active) {
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.banner-sound-btn.user-interacted::before,
.banner-sound-btn.user-interacted::after {
  animation: none;
}
/* Wave animation */
@keyframes soundWave {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  80% {
    transform: scale(2);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}