/* Base navbar style - no blur by default */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-top:2.5rem;
  padding-right: 6.5rem;
  padding-bottom: 2.5rem;
  transition: all 0.6s ease;
}

/* efek blur yang muncul hanya waktu discroll (lewat fungsi js) */
 .navbar.scrolled {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-list {
  display: flex;
  justify-content: right;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-list li {
  margin: 0;
}

.hamburger {
  display: none;
}

.logo-content{
    display:none;
}

.nav-link {
  display: block;
  padding: 3px 8px;
  text-decoration: none;
  color: #1e3a8a;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.5px;
  border-radius: 10px;
  border: none;
  background: transparent;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  background-color: #1e3a8a;
  color: white;
}

.nav-link.daftar-btn {
  background-color: #ef4444;
  color: white;
  border-radius: 10px;
  margin-left: 10px;
}

.nav-link.daftar-btn:hover {
  background-color: #dc2626;
}

.hero-buttons {
    position: absolute;
    bottom: 22%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 2vw;
    border-radius: 1vw;
}

.hero-btn {
    padding: clamp(0.5rem, 1vw + 0.5rem, 1.2rem) clamp(1rem, 2vw + 1rem, 2.5rem);
    font-size: clamp(14px, 1.5vw, 20px);
    font-family: 'Gotham', 'Montserrat', 'Arial', sans-serif;
    font-weight: 400;
    border: none;
    border-radius: 0.5vw;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-blue {
  background-color: #1e3a8a;
}

.btn-blue:hover {
  background-color: #12265c;
}

.btn-red {
  background-color: #ef4444;
}

.btn-red:hover {
  background-color: #c92222;
}

#home {
  background-image: url("src/Home_2.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  aspect-ratio: 1920 / 1080;
  position: relative;
}

#daftar {
  background-image: url("src/Daftar.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  aspect-ratio: 1920 / 1000;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#kontak {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1920 / 1080;
  background-image: url("src/Contact.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
}

.info-image {
  width: 100%;
  height: auto;
  display: block;
}

.info-image-mobile{
    display:none;
}

    .daftar-title {
        display: none;
    }

.daftar-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 15rem 4rem;
  margin: auto;
  max-width: 1200px;
  box-sizing: border-box;
}

.daftar-item {
  flex: 1 0.5 500px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.daftar-item img:first-child {
width: 100%;
  margin-bottom: 8px;
}

.alur-image {
  width: 100%;
  height: auto;
  display: block;
}

.alur-image-mobile {
  display: none;
}

.syarat-image {
  width: 100%;
  height: auto;
  display: block;
}

.syarat-image-mobile {
  display: none;
}

.hadiah-image {
  width: 100%;
  height: auto;
  display: block;
}

.hadiah-image-mobile {
  display: none;
}


/* Contact Box Centered */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top:5%;
}

/* WhatsApp Icon */
.contact-image {
  width: 100px;
  height: auto;
}

.contact-info h3 {
  font-size: 60px;
  font-weight: 700;
  margin: 0;
  color: white;
}

.contact-info p {
  font-size: 32px;
  font-weight: 600;
  margin: 0;
  color: white;
}

.contact-chat {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.contact-chat h3 {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  color: white;
}

.contact-chat .chat-link {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-chat .chat-text {
  font-size: 24px;
  font-weight: 600;
  color: #1e3a8a;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 12px;
  background-color: white;
  display: inline-block;
}

/* Form Page */
#form {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1920 / 1080;
  background-image: url("src/dekstop-form.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
}

.form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 2rem 25rem;
  padding: 2rem;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 50px;;
}

.form-title{
  font-size: 36px;
  margin:0 0 1rem;
  color: #1e3a8a;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 15px;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: black;
}

#participantForms {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  color: black;
}

.form-group .register-btn {
  background-color: #1e3a8a;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 20px;
}

/* Responsive untuk mobile*/
@media (max-width: 768px) {
    /* Home Page */
#home {
  background-image: url("src/mobile/page-home_2.png");
  background-size: cover;
  aspect-ratio: 1920 / 1080;
  height:100vh;
  max-height:100vh;
}

/* Navbar */
    .navbar {
        padding: 0;
        position: fixed;
    }

  .hamburger {
    display: block;
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    padding: 0 0.5rem;
    color: #1e3a8a;
    z-index: 1100;
    background-color: white;
    border-radius: 15px;
    border: #12265c 1px solid;

  }
  .nav-list {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    right: 0;
    width: 100%;
    height:100vh;
    padding: 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-list.show {
    display: flex;
    gap:10px;
    z-index: 1099;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
  }

  .nav-link {
    text-align: center;
    width:100vw;
    padding: 10px;
    font-size: 18px;
  }

  .nav-link.daftar-btn {
    margin:0px;
    background-color: transparent;
    color: #ef4444;
  }

    .nav-link.daftar-btn:hover {
    color: #fff;
  }

  .hero-buttons {
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 6px;
    bottom:20%;
  }

  .hero-btn {
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 20px;
    width: 100%;
    max-width: 200px;
  }

  /* Info Page */
  .info-image-mobile {
        display: block;
        width: 100%;
        height: auto;
  }

  .info-image {
    display: none;
  }

    /* Daftar Page */
  #daftar{
    background-image: none;
    background-size: cover;
    aspect-ratio: 1920 / 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

    .daftar-title {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0 1rem;
    }
    
    .daftar-text {
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 1rem;
    }
    .daftar-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 3rem;
        margin: auto;
        max-width: 1200px;
        box-sizing: border-box;
    }

    .daftar-item {
        flex: 1 1 300px;
        max-width: 500px;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* margin-bottom: 1rem; */
    }

    /* Alur PAge */
    .alur-image-mobile {
        display: block;
        width: 100%;
        height: auto;
    }
    .alur-image {
        display: none;
    }

    /* Syarat Page */
    .syarat-image-mobile {
        display: block;
        width: 100%;
        height: auto;
    }
    .syarat-image {
        display: none;
    }

    /* Hadiah Page */
    .hadiah-image-mobile {
        display: block;
        width: 100%;
        height: auto;
    }
    .hadiah-image {
        display: none;
    }

    /* Contact Page */
#kontak {
    background-image: url("src/mobile/page-contact.jpg");
    background-size:contain;
    aspect-ratio: 815/1232;
  }

  .contact {
    margin-top: 20%;
  }

  .contact-image {
    width: 40px;
  }

  .contact-info h3 {
    font-size: 30px;
  }

  .contact-info p {
    font-size: 18px;
  }

  .contact-chat {
    margin-top: 0px;
  }

  .contact-chat h3 {
    font-size: 18px;
  }

  .contact-chat .chat-link {
  width: 80%;
  gap: 3px;
}

.contact-chat .chat-text {
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  background-color: white;
  display: inline-block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  color: #1e3a8a;
}

/* Form Page */
  #form {
  background-image: url("src/mobile/mobile-form.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: unset;
  padding: 2rem 1rem;
}

.form-container {
  margin: 0;
  padding: 1.5rem;
  width: 100%;
  border-radius: 30px;
}

.form-title {
  font-size: 24px;
  text-align: center;
  margin-bottom: 0.5rem;
}

.form-group label {
  font-size: 14px;
  margin-bottom: 0.25rem;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.radio-label {
  font-size: 14px;
}

.form-group .register-btn {
  width: 100%;
  font-size: 16px;
  padding: 12px;
  border-radius: 10px;
}

  .image-wrapper-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 0.5em;
}
