/* === HEADER STYLES === */

/* Import font Poppins dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600;800&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #0d0d0d; /* Background gelap */
  color: #f0f0f0;
}

header {
  background: linear-gradient(90deg, #0f0c29, #302b63, #24243e); /* Neon crypto style */
  padding: 40px 20px;
  text-align: center;
  border-bottom: 3px solid #00fff7; /* Neon border bawah */
  box-shadow: 0 0 15px #00fff7;
}

header h1 {
  font-size: 3em;
  font-weight: 800;
  color: #00fff7; /* Neon cyan */
  margin: 0;
  letter-spacing: 2px;
}

header p {
  font-size: 1em;
  font-weight: 300;
  color: #ccc;
  margin-top: 10px;
  letter-spacing: 1px;
}

/* === RESPONSIVE HEADER (Mobile) === */
@media (max-width: 600px) {
  header {
    padding: 30px 15px;
  }

  header h1 {
    font-size: 2em;
  }

  header p {
    font-size: 0.9em;
  }
}


/* === FOOTER STYLES === */
footer {
  background: linear-gradient(90deg, #0f0c29, #302b63, #24243e); /* sama seperti header */
  padding: 20px 10px;
  text-align: center;
  color: #ccc;
  font-size: 0.9em;
  border-top: 2px solid #00fff7;
  box-shadow: 0 0 10px #00fff7;
  margin-top: 50px;
}

@media (max-width: 600px) {
  footer {
    font-size: 0.8em;
    padding: 15px 8px;
  }
}


/* === CENTER / CONTENT BOX === */
.section-box {
  background: linear-gradient(135deg, #ffffff, #f0f0ff); /* Versi terang */
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,255,247,0.3);
  padding: 30px;
  margin: 30px auto;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.left-col {
  flex: 1 1 40%;
}
.right-col {
  flex: 1 1 55%;
}
.poster-img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,255,247,0.4);
}

.right-col h2 {
  font-size: 1.6em;
  font-weight: 700;
  color: #24243e;
  margin-bottom: 10px;
}
.right-col p {
  margin: 5px 0;
  color: #333;
}
.icon-row a {
  display: inline-block;
  margin-right: 15px;
  color: #00cfc8;
  text-decoration: none;
  font-weight: 500;
}
.icon-row a:hover {
  text-decoration: underline;
}

/* === FORM STYLE === */
/* === LABEL & FORM INPUT STYLES === */
form label {
  display: block;
  font-weight: 500;
  color: #222; /* 🔽 warna gelap */
  margin-bottom: 5px;
}

form select, form input {
  color: #222; /* 🔽 ubah input text jadi gelap */
  background-color: #fff;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

form select:focus, form input:focus {
  outline: none;
  border-color: #00cfc8;
  box-shadow: 0 0 8px rgba(0,207,200,0.4);
}

form button {
  padding: 12px 20px;
  border: none;
  background: #00cfc8;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(0,207,200,0.4);
}
form button:hover {
  background: #00fff7;
  box-shadow: 0 0 15px rgba(0,255,247,0.6);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .section-box {
    flex-direction: column;
  }
  .left-col, .right-col {
    flex: 100%;
  }
}

#total_harga {
  color: #111; /* 🔽 warna teks harga lebih gelap */
  font-weight: 600; /* 🔽 tebal */
  font-size: 1.1em;
}

form p strong {
  color: #111;      /* 🔽 warna teks gelap */
  font-weight: 600; /* tambahkan ketebalan */
}

.hobicon-desc {
  margin-top: 15px;
  font-size: 0.95em;
  color: #444; /* lebih gelap dan mudah dibaca */
  line-height: 1.6;
}

/* === SECTION 2 TICKET BOX === */
.ticket-options {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 40px auto;
  max-width: 1000px;
  padding: 0 15px;
}

.ticket-box {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.1);
  padding: 25px;
  transition: 0.3s;
  position: relative;
}

.ticket-box:hover {
  box-shadow: 0 0 20px rgba(0, 255, 247, 0.3);
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-header h3 {
  font-size: 1.3em;
  font-weight: 500;
  color: #111;
  margin: 0;
}

.status {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.8em;
  font-weight: bold;
  text-transform: uppercase;
}

.status.on-sale {
  background: #00a896;
  color: #fff;
  box-shadow: 0 0 8px rgba(0, 255, 200, 0.4);
}

.status.unavailable-label {
  background: #999;
  color: #fff;
}

.label-small {
  font-size: 0.8em;
  color: #555;
  margin-top: 15px;
  margin-bottom: 5px;
}

.price {
  font-size: 1.6em;
  color: #111;
  font-weight: 600;
  margin-bottom: 15px;
}

/* === TOMBOL PILIH === */
.choose-btn {
  background: #083d77;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(8, 61, 119, 0.4);
}

.choose-btn:hover {
  background: #0a58a1;
  box-shadow: 0 0 15px rgba(0, 136, 255, 0.5);
}

.choose-btn.disabled {
  background: #ccc;
  color: #777;
  cursor: not-allowed;
  box-shadow: none;
}

/* === FORM TICKET === */
.ticket-form {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
  background: #fafafa;
  padding: 20px;
  border-radius: 10px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.form-left,
.form-right {
  flex: 1 1 45%;
  min-width: 280px;
}

.ticket-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.95em;
  color: #333;
}

.ticket-form input,
.ticket-form select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
}

.ticket-form input:focus,
.ticket-form select:focus {
  outline: none;
  border-color: #00cfc8;
  box-shadow: 0 0 8px rgba(0, 207, 200, 0.4);
}

.total-price {
  font-weight: bold;
  font-size: 1em;
  color: #111;
}

/* === TOMBOL SUBMIT === */
.submit-btn {
  background: #00a896;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 255, 200, 0.3);
  transition: 0.3s;
}

.submit-btn:hover {
  background: #00fff7;
  box-shadow: 0 0 15px rgba(0, 255, 247, 0.5);
}

/* === UNAVAILABLE BOX STYLE === */
.ticket-box.unavailable {
  opacity: 0.6;
  pointer-events: none;
}

.ticket-box.unavailable .choose-btn {
  cursor: not-allowed;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .ticket-form {
    flex-direction: column;
  }

  .form-left, .form-right {
    flex: 100%;
  }

  .ticket-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .ticket-header h3 {
    font-size: 1.1em;
  }
}

.ticket-selection-form, #form_diri form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .form-left {
    flex: 1 1 40%;
    min-width: 250px;
  }
  .form-right {
    flex: 1 1 55%;
    min-width: 300px;
  }
  .form-right input, .form-right select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
  }
  .form-right button {
    background: #083d77;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
  }
  .form-right button:hover {
    background: #0a58a1;
  }
  .hidden { display: none !important; }
  
 .section-box {
  display: flex;
  flex-wrap: nowrap;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  margin: 30px auto;
  max-width: 900px;
  box-sizing: border-box;
  gap: 30px;
}

.col-left {
  flex: 0 0 33%;
  box-sizing: border-box;
  color: #000 !important;
}

.col-right {
  flex: 0 0 67%;
  box-sizing: border-box;
  max-width: 500px; /* batasi panjang maksimal form */
}

.col-right form {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.col-right form input,
.col-right form select,
.col-right form button {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
}

.col-right form select,
.col-right form input[type="number"] {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  box-sizing: border-box;
  margin-bottom: 15px;
}


@media (max-width: 768px) {
  .section-box {
    flex-direction: column;
  }

  .col-left,
  .col-right {
    flex: 1 1 100%;
  }
}

.col-right form {
  width: 100%;
}

