@charset "utf-8";

/* CSS Document */
.banner {
  position: relative;
  width: 100%;
  height: 120vh;
  overflow: hidden;
}

.banner-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease-in-out;
}

.banner-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* DARKNESS OVERLAY */
  z-index: 1;
}

.banner-slide.active {
  opacity: 1;
}

.banner-content {
  position: absolute;
  top: 30%;
  left: 10%;
  color: #fff;
  max-width: 900px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 2;
  /* ABOVE OVERLAY */

  /* prevent clicks on hidden content */
  pointer-events: none;
}

.banner-content.active {
  opacity: 1;
  pointer-events: auto;
  /* clickable only when active */
}

.banner-content h1 {
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 0px;
  font-family: "Just Another Hand", cursive;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.35);
  color: var(--primary-color)
}

.banner-content p {
  font-size: 50px;
  margin-bottom: 0px;
  font-family: "Barlow Condensed", sans-serif;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.35);
  line-height: 50px;
  margin-top: 0px
}

.btn {
  position: relative;
  display: inline-block;
  padding: 15px 30px;
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-size: 24px;
  border: 1px solid var(--primary-color);
  margin-top: 10px;
  overflow: hidden;
  z-index: 1;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Background overlay */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ff5c23;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
  border-radius: 30px;
  color: #ffffff
}

.btn:hover::before {
  transform: scaleX(1);
  color: #ffffff
}

.btn:hover {
  color: #ffffff
}

/* Banner arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #fff;
  background: rgba(0, 0, 0, 0.0);
  border-radius: 50%;
  ;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  transition: 0.3s;
  border: 1px solid #ffffff;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-weight: 400
}

.nav-arrow:hover {
  background: var(--primary-color);
}

.arrow-left {
  left: 20px;
}

.arrow-right {
  right: 20px;
}

/* Dots */
.dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: #ff7846;
}

/* Responsive tweaks */
@media(max-width:992px) {
  .banner-content h1 {
    font-size: 40px;
  }

  .banner-content p {
    font-size: 18px;
  }

  .btn {
    padding: 10px 25px;
  }
}

@media(max-width:768px) {
  .banner-content {
    text-align: center;
    bottom: 30%;
  }

  .nav-arrow {
    display: none
  }

  .banner-content {
    bottom: 15%;
    left: 5%;
    max-width: 90%;
  }

  .banner-content h1 {
    font-size: 32px;
  }

  .banner-content p {
    font-size: 16px;
  }

  .nav-arrow {
    font-size: 26px;
    padding: 8px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .horizontal-scroll-container {
    padding: 20px 5%;
  }

  .content-card {
    width: 300px;
  }

  .banner {
    height: 450px
  }
}

@media(max-width:480px) {
  .banner-content {
    text-align: center;
    bottom: 30%;
  }

  .nav-arrow {
    display: none
  }

  .banner-content h1 {
    font-size: 26px;
    text-align: center
  }

  .banner-content p {
    font-size: 14px;
    text-align: center;
    line-height: 22px
  }

  .btn {
    padding: 8px 20px;
    font-size: 14px;
  }
}