:root {
  --primary: #0fb600;
  --bg: #010101;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: #fff;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: rgba(1, 1, 1, 0.8);
  border-bottom: 1px solid var(--primary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}
.navbar .navbar-logo {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.navbar .navbar-nav a {
  color: #fff;
  display: inline-block;
  font-size: 1.3rem;
  margin: 0 1rem;
}
.navbar .navbar-nav a:hover {
  color: var(--primary);
}
.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1 rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}
.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
  transition: all 0.3s;
}

.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  flex-direction: column;
}

.menu li {
  margin: 10px 0;
}

.menu a {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.menu a:hover {
  color: #00bcd4;
}
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/bg.png");
  background-repeat: no repeat;
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(1, 1, 3, 1) 8%,
    rgba(255, 255, 255, 0) 50%
  );
}

.hero .content {
  padding: 1rem 7%;
  max-width: 100rem;
}

.hero .content h1 {
  font-size: 5em;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  line-height: 1.2;
  mix-blend-mode: difference;
}

.hero .content p {
  font-size: 1.6rem;
  margin-top: 1rem;
  line-height: 1.4;
  font-weight: 100;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  mix-blend-mode: difference;
}
.deskrip h3 {
  text-align: center;
  color: #2db634;
  margin-bottom: 20px;
  font-size: 30px;
}
.deskrip p {
  text-align: center;
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 20px;
}

.section-playlist-yt {
  padding: 20px;
  text-align: center;
}
video-container-yt {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 15px;
  padding: 10px 0;
}

.video-container-yt iframe {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 500px;
  height: 400px;
  border: none;
  border-radius: 10px;
}

.h2keunggulan h2 {
  text-align: center;
  color: #2db634;
  margin-bottom: 20px;
  font-size: 50px;
}
.main-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  padding: 20px;
  background-color: #000000;
}
.section {
  text-align: center;
  padding: 20px;
  background: rgb(0, 0, 0);
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 30%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

.section-icon img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}
.section-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}
.section-description {
  font-size: 14px;
  color: #ffffff;
}
.list-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.list-item {
  flex: 1 1 calc(25% - 20px); /* Responsive layout: 4 items per row */
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(244, 242, 242, 0.1);
  max-width: 300px;
}

.list-content {
  padding: 15px;
}
.list-title {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #2db634;
}
.list-content p {
  font-size: 1rem;
}
.list-description {
  color: #ffffff;
}
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 250px;
  text-align: center;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: auto;
}

.card h3 {
  color: #000000;
  align-items: center;
  padding: 10px;
  font-size: 20px;
}
.surat {
  padding: 50px;
  margin: 0 10px;
}
.surat h4,
p {
  font-size: 2rem;
}
.container-button {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}
.container-button .aurora {
  flex: 1 1 300px;
  max-width: 300px;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: #000000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.container-button .aurora button {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
}
.container-button .aurora button:hover {
  background-color: #f60000;
}
.container-button .aurora .description {
  font-size: 14px;
  color: #ffffff;
  font-weight: bold;
  margin-top: 10px;
}
.container-button .serenity {
  flex: 1 1 300px;
  max-width: 300px;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: #000000;
  box-shadow: 0 4px rgb(0, 0, 0) rgba(0, 0, 0, 0.1);
}
.container-button .serenity button {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #8400ff;
  color: white;
}
.container-button .serenity button:hover {
  background-color: #f60000;
}
.container-button .serenity .description {
  font-size: 14px;
  color: #ffffff;
  font-weight: bold;
  margin-top: 10px;
}
.container-button .alpine {
  flex: 1 1 300px;
  max-width: 300px;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: #000000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.container-button .alpine button {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #009e03;
  color: white;
}
.container-button .alpine button:hover {
  background-color: #f60000;
}
.container-button .alpine .description {
  font-size: 14px;
  color: #ffffff;
  font-weight: bold;
  margin-top: 10px;
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border: 2px solid #007bff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.popup img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}
.popup-close {
  margin-top: 10px;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #dc3545;
  color: white;
}
.popup-close:hover {
  background-color: #a71d2a;
}

.i-frame {
  width: 100%;
  height: 150vh;
  margin: 0;
  display: flex;
  flex-direction: row;
}

.i-frame iframe {
  flex: 1;
  border: none;
}

.include-item {
  max-width: 100%;
  margin-top: 30px;
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.include-item h3 {
  font-size: 40px;
  color: #2e7d32;
}

.card-include {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 800px;
  text-align: center;
  overflow: hidden;
}
.onair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 40px 20px;
  background-color: var(--bg);
}
.onair .air-on {
  background: white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.onair .air-on .sit-count {
  background: var(--bg);
  color: white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  margin: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.onair .air-on .sit-count h2 {
  color: rgb(255, 255, 255);
}
.onair .air-on .sit-count {
  color: yellow;
}
iframe {
  width: 100%;
  height: 90vh;
}
footer {
  background-color: var(--primary);
  text-align: center;
  padding: 1rem 0 3rem;
  margin-top: 3rem;
}
footer .social {
  padding: 1rem 0;
}
footer .social a {
  color: #fff;
  margin: 1rem;
}
footer .links {
  margin-bottom: 1rem;
}
footer .social a:hover,
footer .links a:hover {
  color: var(--bg);
}
footer .links a {
  color: #fff;
  padding: 0.7rem 1rem;
}
footer .credit {
  font-size: 0.8rem;
}
footer .credit a {
  color: var(--bg);
  font-weight: 700;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 1200px) {
  .hero .content h1 {
    font-size: 4em;
  }
  .card-include {
    width: 100%;
    padding: 1rem;
  }
}

@media (max-width: 992px) {
  .section {
    width: 45%;
  }

  .list-item {
    flex: 1 1 calc(50% - 20px);
  }

  .video-container-yt iframe {
    width: 100%;
    height: auto;
  }

  .navbar .navbar-nav {
    display: none;
    flex-direction: column;
    background: rgba(1, 1, 1, 0.9);
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
  }

  .navbar .navbar-nav.show {
    display: flex;
  }

  .navbar .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero .content h1 {
    font-size: 3em;
  }

  .hero .content p {
    font-size: 1.2em;
  }
  .h2keunggulan h2 {
    font-size: 2rem;
  }

  .section {
    width: 100%;
  }

  .list-item {
    flex: 1 1 100%;
  }

  .container-button .aurora,
  .container-button .serenity,
  .container-button .alpine {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .card {
    width: 90%;
  }

  .include-item {
    padding: 1rem;
  }

  .include-item h3 {
    font-size: 2rem;
  }

  .i-frame {
    flex-direction: column;
    height: auto;
  }

  .onair {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero .content h1 {
    font-size: 2em;
  }

  .hero .content p {
    font-size: 1rem;
  }

  .deskrip h3 {
    font-size: 16px;
  }

  .deskrip p {
    font-size: 16px;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .section-description {
    font-size: 0.9rem;
  }

  .navbar {
    padding: 1rem 5%;
  }

  .popup {
    width: 90%;
  }
}
