@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  color: #181818;
  background: #e7e7e7;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Montserrat", sans-serif !important;
}
button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #f5bc37;
  outline-offset: 4px;
}
.page {
  max-width: 520px;
  margin: auto;
  background: #fff;
  container-type: inline-size;
  overflow: hidden;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
.hero,
.experience {
  line-height: 0;
}
.intro {
  background: #f5f5f5;

  margin: 0;
  padding: 4.2cqw 5.2cqw;
  text-align: center;
  font-size: 10px;
  font-size: clamp(11px, 2.3cqw, 14px);
  line-height: 1.4;
}
.schedule {
  padding: 0 3.9cqw 4cqw;
  background: #f5f5f5;
}
.event {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: url("assets/event-1.png");
  background-repeat: no-repeat;
  background-size: contain;
  color: white;
  margin: 0 0 3cqw;
  padding: 3cqw 7.2cqw 2.6cqw;
  min-height: 27.9cqw;
}

.event-10-okt {
  background-image: url("assets/event-2.png") !important;
}
.event:last-child {
  margin-bottom: 0;
}
.event-main {
  background-image: url("assets/event-main.png");
  min-height: 40cqw;
}
.event p {
  opacity: 0;
  margin: 0;
  font-size: clamp(12px, 2.85cqw, 15px);
  line-height: 1.22;
}
.event .date {
  opacity: 0;
  font-size: 4.65cqw;
  font-weight: 700;
  line-height: 1.05;
}
.event h1,
.event h2 {
  opacity: 0;
  font-size: 5cqw;
  line-height: 1.02;
  letter-spacing: -0.14cqw;
  margin: 0.6cqw 0 1cqw;
  font-weight: 800;
}
.event-main h2 {
  font-size: 6cqw;
}
.event .location {
  margin-top: 1.5cqw;
  font-size: 10px;
  display: flex;
  gap: 1.3cqw;
  align-items: center;
}
.pin {
  opacity: 0;
  display: inline-block;
  position: relative;
  width: 2.3cqw;
  height: 3.1cqw;
  background: currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  flex: none;
  align-self: center;
}
.pin:after {
  content: "";
  position: absolute;
  width: 1.1cqw;
  height: 1.1cqw;
  background: white;
  border-radius: 50%;
  left: 0.65cqw;
  top: 0.55cqw;
}

.pin-start-finish {
  display: inline-block;
  background-image: url("assets/pin-start-finish.png");
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  width: 8cqw;
  height: 8cqw;
  align-self: center;
}
/* .checks {
  position: absolute;
  right: 1.5cqw;
  bottom: 7.5cqw;
  width: 3.5cqw;
  height: 3.5cqw;
  background: #fff;
  transform: skew(-12deg);
  box-shadow:
    -3.5cqw 3.5cqw #f5f5f5,
    0 7cqw #fff,
    -7cqw 7cqw #fff;
} */
.ride {
  text-align: center;
  padding: 2.3cqw 4.2cqw 2.7cqw;
}
.ribbon {
  display: table;
  position: relative;
  margin: 0 auto 2.5cqw;
  color: #fff;
  width: 200px;
  text-align: center;
  /* background-color: blue; */
  background-image: url("assets/bg-ribbon.png");
  background-repeat: no-repeat;
  background-size: contain;
  padding: 1.4cqw 9cqw 1.4cqw 2.8cqw;
  font-size: 4.4cqw;
  font-weight: 900;
  /* line-height: 1.05; */
  font-style: italic;
}
#ride-tittle {
  /* background-color: white; */
}
#ride-title img {
  text-align: center;
  width: 85%;
  margin-top: -1px;
  /* background-color: gray; */
}

#why-title {
  /* background-color: white; */
}
#why-title img {
  text-align: center;
  width: 100%;
  margin-top: -1px;
}

.section-copy {
  font-size: clamp(11px, 2.4cqw, 14px);
  line-height: 1.35;
  margin: 0 0 3.2cqw;
}
.route-point {
  width: 75%;
  margin: 0 auto 2cqw;
  display: flex;
  text-align: left;
  gap: 0cqw;
  align-items: center;
  font-size: clamp(12px, 2.9cqw, 15px);
  line-height: 1.25;
}
.route-point a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.route-point > div {
  flex: 1;
}
.route-point strong {
  display: block;
  font-size: inherit;
}
.route-point div > span {
  display: block;
  background: linear-gradient(90deg, #bb2635, #260203);
  color: white;
  font-size: clamp(10px, 2.2cqw, 12px);
  padding: 0.5cqw 2cqw;
  border-radius: 5px;
}
.route-title {
  color: #d9141d;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(11px, 3.1cqw, 16px);
  margin: 4cqw 0 2.7cqw;
}
.map-button {
  display: block;
  border: 0;
  padding: 0;
  background: none;
  width: 59%;
  margin: auto;
  border-radius: 2cqw;
  overflow: hidden;
  /* transition: transform 0.15s; */
}
.map-button:hover {
  transform: scale(1.025);
}
.why {
  background: #f4f4f4;
  padding: 3.2cqw 8.8cqw 3.4cqw;
}
.why .ribbon {
  font-size: 5.9cqw;
}
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4cqw 6cqw;
}
.benefits article {
  background: white;
  border-radius: 0.8cqw;
  padding: 2cqw 3.1cqw;
  width: 100%;
  min-height: 19cqw;
}
.benefits h3 {
  color: #bc2733;
  /* font-family: Georgia, serif; */
  font-weight: 700;
  font-size: 3cqw;
  line-height: 1.02;
  margin: 0 0 1.3cqw;
}
.benefits p {
  font-size: clamp(10px, 2.2cqw, 12px);
  line-height: 1.15;
  margin: 0;
  font-size: 9.5px;
}
.prizes {
  background: #fff;
  padding-top: 20px;
  padding-bottom: 50px;
}
.registration {
  background: #f5f5f5;
  padding: 0 0 4.5cqw;
  text-align: center;
}
.registration > p {
  margin: 2.5cqw 5cqw;
  font-size: clamp(11px, 2.6cqw, 14px);
  line-height: 1.35;
}
.registration strong {
  color: #c91821;
}
.register-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.8cqw;
  font-size: clamp(10px, 2.4cqw, 13px);
  font-weight: 700;
}
#register-button {
  border: 0;
  color: white;
  background: linear-gradient(100deg, #bb2938, #2d0306);
  font-weight: 700;
  padding: 1.6cqw 2.5cqw;
  font-size: clamp(12px, 2.8cqw, 16px);
  min-height: 36px;
}
.button.btn-panduan {
  border: 0;
  color: white;
  background: linear-gradient(100deg, #bb2938, #2d0306);
  font-weight: 700;
  padding: 1.6cqw 2.5cqw;
  font-size: clamp(12px, 2.8cqw, 16px);
  min-height: 36px;
  text-decoration: none;
  border-radius: 7px;
}
.faq {
  background: linear-gradient(100deg, #bb2633 0%, #850f18 54%, #2b0305 100%);
  color: white;
  padding: 3.8cqw 6.3cqw 4cqw;
}
.faq h2 {
  font-style: italic;
  text-align: center;
  font-size: 6.3cqw;
  margin: 0 0 5cqw;
  font-weight: 900;
}
.faq details {
  margin: 0 0 3.8cqw;
  font-size: clamp(12px, 2.65cqw, 14px);
  line-height: 1.35;
}
.faq details:last-child {
  margin-bottom: 0;
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq details p {
  margin: 0.65cqw 0 0;
  text-align: justify;
}
.faq details:not([open]) summary {
  opacity: 0.85;
}
footer {
  background: #000;
}
dialog {
  width: min(90vw, 440px);
  border: 0;
  border-radius: 12px;
  padding: 32px 24px;
  color: #222;
  box-shadow: 0 20px 80px #0005;
}
dialog::backdrop {
  background: #180304bb;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 23px;
  margin: 12px 0;
}
dialog p {
  line-height: 1.5;
  font-size: 15px;
}

/* Container Modal Dialog */
#registration-dialog {
  border: none;
  border-radius: 12px;
  padding: 24px;
  max-width: 550px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
  text-align: left;
}

/* Form Group & Labels */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: bold;
  color: #222;
}

.required {
  color: #bc242c;
  font-weight: bold;
}

.field-note {
  display: block;
  font-size: 12px;
  font-weight: normal;
  color: #666;
  font-style: italic;
  margin-top: 2px;
}

/* Style Inputs & Selects */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group input[type="tel"] {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  width: 100%;
}

.form-group input:focus {
  outline: none;
  border-color: #bc242c;
  box-shadow: 0 0 0 2px rgba(188, 36, 44, 0.15);
}

/* Radio Button Layouts */
.radio-group {
  display: flex;
  gap: 16px;
  align-items: center;
}

.radio-group.vertical {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.radio-group.grid-sizes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: normal;
  cursor: pointer;
}

.input-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.input-inline input[type="text"] {
  flex: 1;
  padding: 6px 10px;
}

.mt-2 {
  margin-top: 8px;
}

/* Submit Button Gradient */
.btn-submit {
  background: linear-gradient(to right, #bc242c, #000000);
  color: #ffffff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.btn-submit:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

/* Styling Select Dropdown */
.form-group select {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  width: 100%;
  background-color: #fff;
  cursor: pointer;
}

.form-group select:focus {
  outline: none;
  border-color: #bc242c;
  box-shadow: 0 0 0 2px rgba(188, 36, 44, 0.15);
}

/* Input Teks 'Yang lain' Dynamic */
.input-lainnya {
  margin-top: 8px;
  transition: all 0.3s ease;
}

/* Utility Class untuk Menyembunyikan Elemen */
.hidden {
  display: none !important;
}

.close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: none;
  font-size: 30px;
  line-height: 1;
  width: 40px;
  height: 40px;
}
.eyebrow {
  color: #b11f2b;
  font-weight: 700;
  font-size: 11px !important;
  letter-spacing: 0.6px;
}
.notice {
  background: #f6edef;
  padding: 12px;
  border-left: 3px solid #b51f2a;
}
.dialog-done {
  background: #ae1d2b;
  color: white;
  border: 0;
  padding: 12px 16px;
  border-radius: 5px;
  font-weight: bold;
}
#map-dialog img {
  width: 100%;
  image-rendering: auto;
}
body.modal-open {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media (max-width: 320px) {
  .event {
    padding-left: 5cqw;
  }
  .benefits {
    gap: 4cqw 8cqw;
  }
  .why {
    padding-inline: 7cqw;
  }
  .faq {
    padding-inline: 5cqw;
  }
}

.swal2-container {
  z-index: 999999 !important;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
