/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #333;
}

/* Sections hero
--------------------------------*/

.section-hero {
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 20px;
}

.section-hero::before {
  content: '';
  position: absolute;
  display: block;
  width: 60px;
  height: 5px;
  background: #df2a6b ;
  bottom: 0;
  left: calc(50% - 25px);
}

.section-hero h2 {
  font-size: 36px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-hero p {
  text-align: center;
  padding: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #9195a2;
}

.section-with-bg {
  background-color: #f6f7fd;
}

/*--------------------------------------------------------------
# hero
--------------------------------------------------------------*/

#hero {
  height: 90px;
  padding: 25px 0;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  transition: all 0.5s;
  z-index: 997;
}

#hero.hero-scrolled,
#hero.hero-fixed {
  background: rgba(6, 12, 34, 0.98);
  height: 70px;
  padding: 15px 0;
  transition: all 0.5s;
}

#hero #logo h1 {
  font-size: 36px;
  margin: 0;
  padding: 6px 0;
  line-height: 1;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#hero #logo h1 span {
  color: #df2a6b ;
}

#hero #logo h1 a,
#hero #logo h1 a:hover {
  color: #fff;
}

#hero #logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
}

@media (max-width: 991px) {

  /* Atur container jadi kolom */
  #hero .container {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Logo di tengah */
  #hero #logo {
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
  }

  /* Menu berubah vertikal */
  #nav-menu-container {
    width: 100%;
  }

  #nav-menu-container ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  #nav-menu-container ul li a {
    padding: 10px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  #nav-menu-container ul li.buy-tickets a {
    width: auto;
    padding: 10px 20px;
    margin-top: 8px;
  }
}

/* Tambahan: tampilan sangat kecil */
@media (max-width: 576px) {
  #hero #logo img {
    max-height: 30px;
  }

  #nav-menu-container ul li a {
    font-size: 14px;
    padding: 8px 0;
  }
}

/* === Logo Container === */
#logo.pull-left {
  display: flex;
  align-items: center;
  gap: 10px; /* Jarak antar logo */
  flex-wrap: wrap; /* Agar kalau sempit bisa turun ke bawah */
}

#logo.pull-left img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

/* === Responsif untuk mobile === */
@media (max-width: 768px) {
  #logo.pull-left {
    justify-content: center; /* Logo ke tengah di layar kecil */
    gap: 8px;
  }

  #logo.pull-left img {
    height: 35px; /* Kecilkan sedikit agar muat di mobile */
  }

  #mobile-nav-toggle {
    position: absolute;
    right: 15px;
    top: 25px;
    font-size: 28px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
  }
}

/* === Tambahan opsional untuk layar sangat kecil (misal 400px ke bawah) === */
@media (max-width: 400px) {
  #logo.pull-left img {
    height: 30px;
  }
}

/* ===== NAV MENU BASE ===== */
.nav-menu,
.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-menu ul {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  z-index: 99;
}
.nav-menu li {
  position: relative;
  white-space: nowrap;
}
.nav-menu > li {
  float: left;
}
.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul {
  display: block;
}
.nav-menu ul ul {
  top: 0;
  left: 100%;
}
.nav-menu ul li {
  min-width: 180px;
}
/* ===== NAV MENU ARROWS ===== */
.sf-arrows .sf-with-ul {
  padding-right: 30px;
}
.sf-arrows .sf-with-ul:after {
  content: "\f107";
  position: absolute;
  right: 15px;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
}
.sf-arrows ul .sf-with-ul:after {
  content: "\f105";
}
/* ===== NAV CONTAINER ===== */
.container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.4);
}
#logo {
  float: left;
  position: relative;
  z-index: 1001;
}
#logo img {
  max-height: 40px;
}
#nav-menu-container {
  float: right;
  margin: 0;
  position: relative;
  z-index: 1000;
}
/* ===== NAV MENU LINK STYLING ===== */
.nav-menu a {
  padding: 8px;
  text-decoration: none;
  display: inline-block;
  color: rgba(202, 206, 221, 0.8);
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 14px;
  outline: none;
  position: relative;
}
.nav-menu .menu-active a,
.nav-menu a:hover {
  color: #fff;
}
.nav-menu > li {
  margin-left: 8px;
}
.nav-menu > li > a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #f82249;
  visibility: hidden;
  transition: all 0.3s ease-in-out 0s;
}
.nav-menu a:hover:before,
.nav-menu li:hover > a:before,
.nav-menu .menu-active > a:before {
  visibility: visible;
  width: 100%;
}
.nav-menu li.buy-tickets a {
  color: #fff;
  background: #f82249;
  padding: 7px 22px;
  border-radius: 50px;
  border: 2px solid #f82249;
  transition: all ease-in-out 0.3s;
  font-weight: 500;
  margin-left: 8px;
  margin-top: 2px;
  line-height: 1;
  font-size: 13px;
}
.nav-menu li.buy-tickets a:hover {
  background: none;
}
.nav-menu li.buy-tickets:hover a:before,
.nav-menu li.buy-tickets.menu-active a:before {
  visibility: hidden;
}
.nav-menu ul {
  margin: 4px 0 0 0;
  padding: 10px;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  background: #fff;
  border-radius: 3px;
}
.nav-menu ul li {
  transition: 0.3s;
}
.nav-menu ul li a {
  padding: 10px;
  color: #060c22;
  transition: 0.3s;
  display: block;
  font-size: 13px;
  text-transform: none;
  border-radius: 3px;
}
.nav-menu ul li:hover > a {
  background: #f82249;
  color: #fff;
}
.nav-menu ul ul {
  margin: 0;
}
/* Aturan Navigasi Mobile */
#mobile-nav-toggle {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
  margin: 15px 15px 0 0;
  border: 0;
  background: none;
  font-size: 24px;
  display: none;
  transition: all 0.s;
  outline: none;
  cursor: pointer;
}
#mobile-nav-toggle i {
  color: #fff;
}
#mobile-nav {
  position: fixed;
  top: 0;
  padding-top: 18px;
  bottom: 0;
  z-index: 998;
  background: rgba(6, 12, 34, 0.9);
  left: -260px;
  width: 260px;
  overflow-y: auto;
  transition: 0.4s;
}
#mobile-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
#mobile-nav ul li {
  position: relative;
}
#mobile-nav ul li a {
  color: #fff;
  font-size: 17px;
  overflow: hidden;
  padding: 10px 22px 10px 15px;
  position: relative;
  text-decoration: none;
  width: 100%;
  display: block;
  outline: none;
}
#mobile-nav ul li a:hover {
  color: #f82249;
}
#mobile-nav ul li li {
  padding-left: 30px;
}
#mobile-nav ul .menu-has-children i {
  position: absolute;
  right: 0;
  z-index: 99;
  padding: 15px;
  cursor: pointer;
  color: #fff;
}
#mobile-nav ul .menu-has-children i.fa-chevron-up {
  color: #f82249;
}
#mobile-nav ul .menu-item-active {
  color: #f82249;
}
#mobile-body-overly {
  width: 100%;
  height: 100%;
  z-index: 997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(6, 12, 34, 0.8);
  display: none;
}
body.mobile-nav-active {
  overflow: hidden;
}
body.mobile-nav-active #mobile-nav {
  left: 0;
}
body.mobile-nav-active #mobile-nav-toggle {
  color: #fff;
}
/* Hero Section */
.hero {
  background: url("bob.png") no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}
.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 10px;
}
.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.btn-glass {
  display: inline-block;
  padding: 12px 40px;
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.137);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: 0.3s ease;
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
/* Peraturan */
.rules {
  padding: 60px 10%;
  background: #fff;
}
.rules-container {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
}
.rules-img img {
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.rules-text h2 {
  margin-bottom: 20px;
}
.rules-text ol {
  margin-bottom: 20px;
  padding-left: 20px;
}
.rules-text button {
  background: #5a6d7c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}
.rules-text button:hover {
  background: #445563;
}
/* Jadwal */
.schedule {
  padding: 60px 10%;
  text-align: center;
}
.schedule h2 {
  margin-bottom: 10px;
}
.schedule-box {
  background: #222;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: #fff;
}
#countdown {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: 20px;
}
.countdown-item span {
  font-size: 2.5rem;
  font-weight: bold;
  display: block;
}
.countdown-item p {
  font-size: 0.9rem;
  margin-top: 5px;
  text-transform: uppercase;
  font-weight: 500;
}
/* Contact */
.contact {
  background: #2e4a66;
  color: white;
  padding: 50px 10%;
  text-align: center;
}
.contact h2 {
  margin-bottom: 30px;
  text-decoration: underline;
}
.contact-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  justify-content: space-around;
  font-size: 1rem;
}
/* Media Query untuk Tampilan Mobile */
@media (max-width: 991px) {
  .container {
    background: rgba(6, 12, 34, 0.98);
    height: 70px;
    padding: 15px 0;
    transition: all 0.5s;
    position: fixed;
  }
  #nav-menu-container {
    display: none;
  }
  #mobile-nav-toggle {
    display: inline;
  }
  /* Aturan tambahan untuk tata letak konten */
  .rules-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .rules-img {
    margin-top: 80px;
  }
  .rules-text {
    padding: 0 10px;
  }
}
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .btn-glass {
    padding: 10px 30px;
    font-size: 1rem;
  }
  #countdown {
    gap: 10px;
  }
  .countdown-item span {
    font-size: 1.5rem;
  }
  .countdown-item p {
    font-size: 0.7rem;
  }
}

#mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 2000; /* lebih tinggi dari container */
}
