* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f5f6f8;
  color: #333;
}

a {
  text-decoration: none;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(135deg, rgba(58, 90, 64, 0.7), rgba(45, 106, 79, 0.7));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.4rem;
  color: #fff;
}

.navbar-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.navbar-menu a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-menu a:hover {
  color: #8ba888;
}

/* Burger button */
.burger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 1rem;
  }

  .navbar-menu {
    position: absolute;
    top: 65px;
    right: 1rem;
    width: 230px;
    background: rgba(58, 90, 64, 0.95);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow: hidden;

    transform: translateY(-15px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .navbar-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar-menu li:last-child {
    border-bottom: none;
  }

  .navbar-menu a {
    display: block;
    padding: 14px 18px;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    transition: background 0.3s ease;
  }

  .navbar-menu a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #f8f9fa;
  }

  .burger {
    display: block;
    color: #fff;
  }
}

/* Banner */
.banner {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("../image/banner.jpeg");
  background-position: center;
  background-size: cover;
  position: relative;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
}

.banner-content {
  text-align: center;
  z-index: 2;
  color: #fff;
  padding: 0 1rem;
}

.banner-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .banner {
    height: 70vh;
  }

  .banner-content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .btn-booking {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .banner {
    height: 80vh;
    padding: 0 10px;
  }

  .banner-content h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .btn-booking {
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
  }
}

/* Page Title */
.page-title {
  height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("../image/banner.jpeg");
  background-position: center;
  background-size: cover;
  position: relative;
  text-align: center;
  padding: 0 1rem;
  margin-top: 50px;
}

.page-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
}

.page-title-content {
  z-index: 2;
  color: #fff;
}

.page-title-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

/* responsive */

/* Tablet */
@media (max-width: 992px) {
  .page-title {
    height: 35vh;
  }

  .page-title-content h1 {
    font-size: 2rem;
  }
}

/* Mobile Landscape */
@media (max-width: 768px) {
  .page-title {
    height: 30vh;
  }

  .page-title-content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  .page-title {
    height: 25vh;
    padding: 0 10px;
  }

  .page-title-content h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }
}

/* Booking Button */
.btn-booking {
  background: linear-gradient(135deg, #3a5a40, #2d6a4f);
  color: #ffffff;
  padding: 0.9rem 2.4rem;
  border: none;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-booking::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 200%;
  height: 100%;
  background: url("https://www.transparenttextures.com/patterns/clouds.png");
  background-size: cover;
  opacity: 0.12;
  transition: left 2s linear;
}

.btn-booking:hover::before {
  left: 0;
}

.btn-booking:hover {
  background: linear-gradient(135deg, #2d6a4f, #3a5a40);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

/* Content */
.content {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}
/* ---- ALUR BOOKING SECTION ---- */
.alur-booking {
  margin-top: -120px;
  background: #fff;
  border-radius: 40px 40px 0 0;
  padding: 60px 20px;
  position: relative;
  z-index: 5;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
}

.alur-container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.alur-booking h2 {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 700;
}

.alur-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}

.alur-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.step-box {
  background: #f8f8ff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  transition: 0.3s;
}

.step-box:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 45px;
  height: 45px;
  background: #2d6a4f;
  color: white;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px auto;
}

.step-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step-box p {
  font-size: 14px;
  color: #555;
}

/* RESPONSIVE FIX */
@media (max-width: 768px) {
  .alur-booking {
    margin-top: -80px;
    border-radius: 30px 30px 0 0;
    padding: 45px 15px;
  }
}

.content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
  color: #2d6a4f;
}

.trail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.trail-item {
  border-radius: 16px;
  background-color: #fff;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.trail-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.trail-name {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  color: #2d2d2d;
  background: #f9f9f9;
  border-top: 1px solid #eee;
}

.trail-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.trail-name:hover {
  color: #006400;
}

/* Section Info */
.info-section {
  background: #f9f9f9;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2d6a4f;
  margin-bottom: 1rem;
  text-align: center;
}

.info-section ul {
  padding-left: 1.2rem;
}

.info-section li {
  margin-bottom: 0.6rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.info-section.warning {
  background: #fff3cd;
  border: 1px solid #ffeeba;
}

.info-section.warning h2 {
  color: #b45309;
}

/* Responsiveness */
@media (max-width: 768px) {
  .info-section {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  .info-section h2 {
    font-size: 1.3rem;
  }

  .info-section li {
    font-size: 0.95rem;
  }
}

/* detail jalur */

.detail-card {
  display: flex;
  flex-direction: row;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 20px auto;
  max-width: 1100px;
  padding: 20px;
}

.detail-img {
  width: 40%;
  max-width: 400px;
  border-radius: 10px;
  object-fit: cover;
}

.detail-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.detail-card-body h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.detail-card-body p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.detail-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.detail-buttons .btn {
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #198754;
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: #157347;
}

.btn-secondary {
  background: #6c757d;
  color: #fff;
  border: none;
}

.btn-batal {
  background: #ff0000;
  color: #fff;
  border: none;
}

.btn-batal:hover {
  background: #ff0000;
}

.btn-konfirmasi {
  background: #3591d5;
  color: #fff;
  border: none;
}

.btn-konfirmasi:hover {
  background: #3788c4;
}

.btn-secondary:hover {
  background: #5c636a;
}

/* ========================
   Responsive
   ======================== */
@media (max-width: 992px) {
  .detail-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .detail-img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .detail-card-body {
    width: 100%;
    margin-top: 15px;
  }

  .detail-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 576px) {
  .detail-card {
    padding: 15px;
  }

  .detail-card-body h2 {
    font-size: 22px;
  }

  .detail-card-body p {
    font-size: 14px;
  }

  .detail-buttons .btn {
    width: 100%;
    text-align: center;
  }
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #3a5a40, #2d6a4f);
  color: #fff;
  margin-top: 3rem;
}

.footer small {
  font-size: 0.9rem;
}
/* form card */
.form-card {
  border: 1px solid #ddd;
  width: 100%;
  max-width: 400px;
  background-color: #fff;
  border-radius: 10px;
  margin: 3rem auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.form-card-header {
  background: linear-gradient(135deg, #3a5a40, #2d6a4f);
  color: white;
  text-align: center;
  padding: 1rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.form-card-body {
  padding: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-group input {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
  border-color: #2d6a4f;
  box-shadow: 0 0 6px rgba(45, 106, 79, 0.3);
  outline: none;
}

.btn-submit {
  background: linear-gradient(135deg, #3a5a40, #2d6a4f);
  color: #fff;
  border: none;
  padding: 0.9rem;
  width: 100%;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #2d6a4f, #3a5a40);
  transform: translateY(-2px);
}

.btn-submit:active {
  transform: translateY(0);
}

/* form login */

.form-footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.form-footer a {
  color: #2d6a4f;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.form-footer a:hover {
  color: #1b4332;
}

/* jadwal pendakian */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 14px;
}

.table th,
.table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
}

.table thead {
  background: #198754;
  color: #fff;
}

.table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

/* Tombol */
.btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #198754;
  color: #fff;
}

.btn-primary:hover {
  background: #145c32;
  color: #fff;
}

/* Table Style */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 14px;
}

.table th,
.table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
}

.table thead {
  background: #198754;
  color: #fff;
}

.table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

/* Tombol */
.btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #198754;
  color: #fff;
}

.btn-primary:hover {
  background: #145c32;
  color: #fff;
}

/* Responsif */
@media (max-width: 768px) {
  .table thead {
    display: none;
  }

  .table,
  .table tbody,
  .table tr,
  .table td {
    display: block;
    width: 100%;
  }

  .table tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
  }

  .table td {
    text-align: left;
    padding: 8px 10px;
    position: relative;
  }

  .table td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
    color: #555;
  }

  .btn {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }
}

/* Tombol Kembali */
.btn-back {
  display: inline-block;
  padding: 10px 20px;
  text-align: center;
  margin-top: 15px;
  background: #6c757d;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background: #5a6268;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.btn-back:active {
  transform: scale(0.96);
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
  .btn-back {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 16px;
  }
}

.form-pendaki {
  max-width: 600px;
  margin: 0 auto;
  padding: 15px;
}

.card {
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  background: #fff;
}

.card-header {
  background: #1e6d4c;
  color: #fff;
  padding: 10px;
  border-radius: 10px 10px 0 0;
  font-weight: bold;
}

.card-body {
  padding: 15px;
}

.form-group {
  margin-bottom: 12px;
}

.form-label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  font-weight: 600;
}

input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.btn-add {
  background: #3182ce;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-add:hover {
  background: #2b6cb0;
}

.btn-remove {
  grid-column: span 2;
  background: #e53e3e;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

.btn-remove:hover {
  background: #c53030;
}

/* responsive */
@media (max-width: 768px) {
  .form-pendaki {
    padding: 10px;
  }

  .anggota-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }

  .btn-add {
    font-size: 13px;
    padding: 5px 10px;
  }
}

/* ====== Checkout Page ====== */
.checkout-container {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 15px;
}

/* Card */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  overflow: hidden;
}

.card-header {
  background: #2f5d50; /* hijau tua */
  color: #fff;
  padding: 12px 16px;
  font-weight: bold;
  font-size: 16px;
}

.card-body {
  padding: 16px;
}

/* Ringkasan Booking */
.card-body p {
  margin: 6px 0;
  font-size: 15px;
  color: #333;
}

.card-body h3 {
  margin-top: 15px;
  font-size: 18px;
  color: #2f5d50;
}

/* ===== Table Pendaki ===== */
.table-pendaki-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-pendaki {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
}

.table-pendaki th,
.table-pendaki td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
  white-space: nowrap;
}

.table-pendaki th {
  background-color: #2f6f4e;
  color: #fff;
  font-weight: bold;
}

/* ===== Mobile Version ===== */
@media (max-width: 768px) {
  .table-pendaki,
  .table-pendaki thead,
  .table-pendaki tbody,
  .table-pendaki th,
  .table-pendaki td,
  .table-pendaki tr {
    display: block;
    width: 100%;
  }

  .table-pendaki thead {
    display: none; /* sembunyikan header */
  }

  .table-pendaki tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }

  .table-pendaki td {
    border: none;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    padding: 6px 8px;
    font-size: 14px;
  }

  .table-pendaki td:last-child {
    border-bottom: none;
  }

  .table-pendaki td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #333;
    flex-basis: 40%;
    text-align: left;
  }
}

/* Form pembayaran */
.card-body label {
  display: block;
  margin: 8px 0;
  font-size: 14px;
  color: #444;
  cursor: pointer;
}

/* Responsif */
@media (max-width: 600px) {
  .checkout-container {
    padding: 0 10px;
  }
  .card-body p {
    font-size: 14px;
  }
  .table-pendaki th,
  .table-pendaki td {
    font-size: 13px;
    padding: 8px;
  }
}

.table-detail {
  width: 100%;
  border-collapse: collapse;
}

.table-detail tr {
  border-bottom: 1px solid #eee;
}

.table-detail td {
  padding: 10px 8px;
  font-size: 0.95rem;
}

.table-detail td:first-child {
  font-weight: 600;
  color: #444;
  width: 40%;
}

.table-detail td:last-child {
  text-align: right;
}

/* Responsive mode */
@media (max-width: 600px) {
  .table-detail td {
    display: block;
    text-align: left !important;
    width: 100%;
  }
  .table-detail tr {
    display: block;
    margin-bottom: 12px;
  }
  .table-detail td:first-child {
    margin-bottom: 4px;
  }
}

.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 600;
  border-radius: 0.25rem;
  color: #fff;
}

.badge-warning {
  background-color: #f1c40f;
}
.badge-orange {
  background-color: #e67e22;
}
.badge-success {
  background-color: #28a745;
}
.badge-info {
  background-color: #17a2b8;
}
.badge-primary {
  background-color: #007bff;
}
.badge-secondary {
  background-color: #6c757d;
}
.badge-danger {
  background-color: #dc3545;
}
.badge-light {
  background-color: #adb5bd;
  color: #000;
}
