@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ====== RESET & GLOBAL ====== */
body {
  margin: 0;
  padding-top: 0px; /* sesuaikan tinggi header */
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #FFEFE5;
}

* {
  box-sizing: border-box; /* supaya padding masuk hitungan width */
}

a {
  text-decoration: none;
  transition: color 0.3s ease;
}

/* ====== HEADER ====== */
header {
  position: fixed;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}
.logo img {
  max-height: 100%;
  max-width: 220px; /* batasi agar tidak kepanjangan */
  object-fit: contain;
  transition: all 0.3s ease-in-out;
}
/* Tablet */
@media (max-width: 992px) {
  .logo {
    height: 40px; /* navbar lebih tipis */
  }
  .logo img {
    max-width: 180px;
  }
}

/* Handphone */
@media (max-width: 576px) {
  .logo {
    height: 20px; /* navbar lebih tipis */
  }
  .logo img {
    max-width: 140px;
  }
}
/* ====== NAVBAR DESKTOP ====== */
nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: 20px; /* jarak minimal logo ke menu HOME */
}

nav ul li {
  position: relative;
  margin: 0 8px; /* jarak antar menu */
  display: flex;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  padding: 8px 12px; /* bisa diperkecil lagi supaya lebih rapat */
  font-weight: 600;
  color: #333;
  position: relative;
  z-index: 1;
  flex: 1;
}

nav ul li .dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 30px;
  padding: 8px;
}

nav ul li .dropdown-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
  border: 1px solid #ccc;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 160px;
  z-index: 1000;
}

nav ul li .dropdown-menu li a {
  display: block;
  padding: 8px 12px;
}

nav ul li .dropdown-menu li a:hover {
  background: #eee;
}

nav ul li.open .dropdown-menu {
  display: block;
}

nav ul li a:hover {
  color: #FA680D;
}

nav ul li a.active {
  color: #fff;
}

nav ul li a.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FA680D;
  border-radius: 6px;
  z-index: -1;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* ====== HAMBURGER MENU (Mobile) ====== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #FA680D;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1600px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px; /* tinggi header */
    right: 20px;
    width: 200px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  nav ul li {
    margin: 10px 0;
  }

  nav ul.show {
    display: flex;
    animation: fadeIn 0.3s ease;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }
  .menu-toggle span {
    width: 20px;   /* lebih kecil */
    height: 2px;   /* lebih tipis */
  }

}
@media (max-width: 576px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px; /* tinggi header */
    right: 20px;
    width: 200px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  nav ul li {
    margin: 10px 0;
  }

  nav ul.show {
    display: flex;
    animation: fadeIn 0.3s ease;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .menu-toggle span {
    width: 18px;   /* lebih kecil lagi */
    height: 2px;
  }

}

/* ====== ANIMASI MENU MOBILE ====== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ====== GAMBAR BUS DEPAN  ====== */
.hero-image {
  width: 100%;
  text-align: center; /* supaya gambar tetap di tengah */
  overflow: hidden; /* biar tidak ada bagian keluar */
}

.hero-image img {
  max-width: 100%;  /* menyesuaikan lebar layar */
  height: auto;     /* biar proporsinya terjaga */
  display: block;   /* hilangkan jarak bawah default */
  margin: 0 auto;   /* pastikan gambar di tengah */
}


/* ====== ICON WHATSAPP CS  ====== */
.cs-card {
  display: flex;
  align-items: center;
  background: #25D366; /* hijau WhatsApp */
  padding: 12px 20px;
  border-radius: 50px;
  width: 100%;           /* isi penuh area parent */
  max-width: 385px;      /* batas maksimal biar nggak kepanjangan */ 
  margin: 25px 0 0;      /* rata kiri */
  color: white;
  font-family: "Poppins", sans-serif;
  animation: bounce 2s ease-in-out infinite;
}

.cs-avatar {
  position: relative;
  margin-right: 15px;
}

.cs-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid white;
}

.wa-icon {
  width: 30px;
  height: 30px;
  position: absolute;
  bottom: 0;
  right: -5px;
  background: white;
  color: #25D366;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-info {
  flex: 1;
  color: white;
}

.cs-number {
  margin: 0;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.cs-status {
  font-size: 12px;
  background: #61de8f;
  color: white;
  border-radius: 10px;
  padding: 2px 6px;
  margin-left: 6px;
  position: relative;
  font-weight: bold;
}

/* 🔹 indikator lingkaran kecil berkedip */
.cs-status::after {
  content: "";
  position: absolute;
  top: -5px;   /* posisi agak ke atas */
  right: -5px; /* pojok kanan */
  width: 10px;
  height: 10px;
  background-color: yellow;
  border-radius: 50%;
  animation: blink 3s infinite;
  box-shadow: 0 0 5px rgba(255, 255, 0, 0.7);
}

/* animasi kedip */
@keyframes blink {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0;
  }
}
.cs-btn {
  width: 150px;
  display: inline-block;
  margin-top: 5px;
  padding: 8px 14px;
  background: white;
  color: #25D366;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.3s;
  font-size: 0.80rem;
  position: relative;
  z-index: 1;
  animation: pulseWave 2s infinite; /* 🔹 aktifkan animasi */
}

/* Efek animasi wave */
@keyframes pulseWave {
  0% {
    box-shadow: 0 0 0 0 rgb(255, 255, 255);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.cs-btn:hover {
  background: #f1f1f1;
}

.edit-btn {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #fff;
  text-decoration: underline;
}

/* Efek animasi bounce */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}


/* =============================== FORM UBAH CS ============================== */
.ubah-cs-container {
  max-width: 500px;
  margin: 0px auto;
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ubah-cs-container h2 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #FA680D;
  text-align: center;
}

.ubah-cs-form .form-group {
  margin-bottom: 15px;
}

.ubah-cs-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.ubah-cs-form input,
.ubah-cs-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border 0.3s ease;
}

.ubah-cs-form input:focus,
.ubah-cs-form select:focus {
  border-color: #FA680D;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.btn-save {
  background: #25D366;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-save:hover {
  background: #1ebe57;
}

.btn-cancel {
  background: #ddd;
  color: #333;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-cancel:hover {
  background: #bbb;
}










/* ====== LOGIN STYLE ====== */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg,#6b0014, #FA680D);
  font-family: 'Poppins', sans-serif;
}

.login-box {
  background: #ffffff;
  padding: 40px 35px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  width: 350px;
  text-align: center;
}

.login-box h2 {
  margin-bottom: 25px;
  color: #e67e22;
  font-size: 22px;
  font-weight: 600;
}

@media (max-width: 900px) {

  .login-box {
    width: 300px;
    height: 330px;
    padding: 10px 30px;
  }
}

.login-box input[type="text"],
.login-box input[type="password"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.login-box input[type="text"]:focus,
.login-box input[type="password"]:focus {
  border-color: #FA680D;
  background: #ffffff;
  box-shadow: 0 0 5px #8c3905;
}

.login-box button {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  background: linear-gradient(#FA680D, #F23B03);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.login-box button:hover {
  background: #F23B03;
}

.login-box .register-link {
  margin-top: 18px;
  font-size: 13px;
}

.login-box .register-link a {
  color: #0073e6;
  text-decoration: none;
  font-weight: 500;
}

.login-box .register-link a:hover {
  text-decoration: underline;
}


/* ====== area halaman  ====== */
.area-layanan {
  padding: 40px;
  text-align: center;
}

.area-layanan h2 { margin-bottom: 30px; color: #e67e22; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 300px)); /* kolom max 300px */
  gap: 20px;
  justify-content: center; /* grid secara keseluruhan rata tengah */
  margin: 0 auto;          /* grid container rata tengah */
  padding: 0 20px;         /* ruang kiri kanan */
}


.card {
  max-width: 300px; /* biar proporsional, bukan % */
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 10px;
  text-align: center;
  margin: auto; /* agar posisi card center */
}

.card img {
  display: block;
  margin: 0 auto;        /* rata tengah */
  width: 100%;           /* ikut lebar card */
  aspect-ratio: 1 / 1;   /* selalu persegi */
  object-fit: cover;     /* crop agar isi pas */
  border-radius: 10px;   /* sudut melengkung */
}


.btn {
  display: block;
  margin: 15px auto 0;
  padding: 10px;
  background: #fa970d;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.btn:hover { background: #FA680D; }

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 50px 50px ;
  background: linear-gradient(#FA680D, #6b0014);
  color: white;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-text { max-width: 50%; }
.hero-text h1 { font-size: 28px; }

/* Responsif untuk layar kecil */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;   /* ubah jadi 1 kolom */
    text-align: center;
    padding: 100px 20px 40px;
  }

  .hero-text {
    max-width: 100%;
    margin-bottom: 30px;  /* beri jarak sebelum gambar */
  }

  .hero-image img {
    width: 90%;        /* gambar menyesuaikan layar */
    max-width: 650px;  /* tidak terlalu besar */
    margin: 0 auto;    /* tengah */
    display: block;
  }

  .cs-card {
    flex-direction: column;   /* ubah jadi 1 kolom */
    align-items: center; 
    margin: 20px auto;
  }

  .login-box {
    width: 300px;
  }
}

/* ====== TAMBAHAN: Overlay Coming Soon untuk Area Layanan ====== */
.image-wrapper {
  position: relative;
  width: 100%;
  height: auto;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Overlay transparan putih di atas gambar */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.overlay-text {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
}

/* Tombol Coming Soon yang nonaktif */
.btn-disabled {
  background: #ccc !important;
  color: #555 !important;
  cursor: not-allowed;
  pointer-events: none;
}

/* Animasi lembut saat overlay muncul */
.overlay {
  opacity: 1;
  transition: opacity 0.3s ease;
}


.btn-wa {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  border: 2px solid white;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.armada {
  padding: 40px;
  text-align: center;
}

.armada h2 { margin-bottom: 30px; }
.armada .card h3 { margin: 10px 0; }

.actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}


/* ====== BUTTON PESAN STYLE ====== */

.btn-balas {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-balas.email {
  background: #007bff;
  color: white;
}

.btn-balas.email:hover {
  background: #0056b3;
}

.btn-balas.whatsapp {
  background: #25D366;
  color: white;
}

.btn-balas.whatsapp:hover {
  background: #128C7E;
}

.back {
  margin-top: 30px;
}

.btn-balas.kembali {
  background: #6c757d;
  color: white;
}

.btn-balas.kembali:hover {
  background: #5a6268;
}

.btn-detail {
  padding: 6px 12px;
  background: #27ae60;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}

.btn-detail:hover {
  background: #219150;
}
.btn-hapus {
  padding: 6px 12px;
  background: red;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}

.btn-hapus:hover {
  background: darkred;
}


/* ====== PESAN MASUK ====== */
.inbox {
  padding: 20px;
  background: #fff8f5;
}

.inbox h1 {
  color: #e67e22;
  margin-bottom: 20px;
  padding-top: 80px;
  text-align: center;
}

.tabel-pesan {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.tabel-pesan th, .tabel-pesan td {
  border: 1px solid #eee;
  padding: 12px 15px;
  text-align: left;
}

.tabel-pesan th {
  background: #f39c12;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
}

.tabel-pesan tr:nth-child(even) {
  background: #fdf2e9;
}

.tabel-pesan tr:hover {
  background: #fdebd0;
  transition: 0.3s;
}

.status-box {
  padding: 4px 10px;
  border-radius: 6px;
  color: white;
  font-size: 12px;
  font-weight: bold;
}
.status-baru {
  background-color: green;
}
.status-dibaca {
  background-color: blue;
}
.status-dibalas {
  background-color: orange;
}


/* ====== RESPONSIVE DESIGN ====== */

/* Untuk layar maksimal 768px (tablet ke bawah) */
@media (max-width: 768px) {
  /* Judul */
  .inbox h1, 
  .pesan-wrapper h1,
  .pesan-detail h1 {
    font-size: 20px;
    padding-top: 60px;
  }

  /* Tabel pesan agar bisa digeser */
  .tabel-pesan {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tabel-pesan table {
    width: 100%;
    min-width: 600px; /* supaya tabel tetap rapi */
  }

  .tabel-pesan th, .tabel-pesan td {
    padding: 10px;
    font-size: 13px;
  }

  .btn-detail,
  .btn-hapus {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 10px; /* jarak vertikal antar tombol */
  }

  /* Khusus tombol hapus dibuat lebih kecil */
  .btn-hapus {
    font-size: 13px;
    padding: 5px 10px;
  }

  /* Kartu detail pesan */
  .pesan-card {
    padding: 20px;
    margin-top: 15px;
  }

  .pesan-card p {
    font-size: 14px;
  }

  .isi-pesan {
    padding: 12px;
    font-size: 14px;
  }

  /* Tombol aksi */
  .actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn-balas {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 15px;
  }
}

/* Untuk layar maksimal 480px (handphone kecil) */
@media (max-width: 480px) {
  .inbox h1, 
  .pesan-wrapper h1,
  .pesan-detail h1 {
    font-size: 18px;
    padding-top: 50px;
  }

  .tabel-pesan th, .tabel-pesan td {
    font-size: 12px;
    padding: 8px;
  }

  .btn-detail,
  .btn-hapus {
    font-size: 12px;
    padding: 5px 8px;
    margin-bottom: 8px;
  }

  .pesan-card {
    padding: 15px;
  }

  .pesan-card p,
  .isi-pesan {
    font-size: 13px;
  }

  .btn-detail {
    padding: 5px 10px;
    font-size: 12px;
  }
}



/* Halaman Detail Pesan */
.pesan-wrapper {
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.pesan-wrapper h1 {
  padding-top: 80px;
  font-size: 24px;
  font-weight: bold;
  color: #e67e22;
  margin-bottom: 25px;
}

.pesan-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: left;
}

.pesan-detail {
  padding: 50px 20px; /* tambah padding atas-bawah */
  background: #fff8f5;
  display: flex;
  justify-content: center;
}

.pesan-detail h1 {
  text-align: center;
  color: #e67e22;
  margin-bottom: 25px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pesan-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 700px;
  width: 100%;
  margin-top: 20px; /* jarak dari header */
}

.pesan-card p {
  font-size: 15px;
  margin: 10px 0;
  color: #333;
  line-height: 1.5;
}

.isi-pesan {
  margin-top: 15px;
  padding: 15px;
  background: #fdf2e9;
  border-left: 5px solid #f39c12;
  border-radius: 6px;
}

.isi-pesan p {
  margin: 5px 0 0;
  white-space: pre-line; /* agar enter di DB terbaca */
}

.actions {
  margin-top: 25px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-balas {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s;
}

.btn-balas.email {
  background: #3498db;
  color: #fff;
}
.btn-balas.email:hover {
  background: #2980b9;
}

.btn-balas.whatsapp {
  background: #27ae60;
  color: #fff;
}
.btn-balas.whatsapp:hover {
  background: #1e874b;
}

.btn-balas.kembali {
  margin-top: 20px;
  display: inline-block;
  background: #7f8c8d;
  color: #fff;
}
.btn-balas.kembali:hover {
  background: #616a6b;
}


/* ================ EDIT KONTAK ================*/

.btn-edit-maps, 
.btn-edit-kontak {
  display: inline-block;
  margin-top: 12px;          /* Space di atas tombol */
  padding: 10px 18px;        /* Ukuran tombol */
  border-radius: 6px;        /* Sudut melengkung */
  font-size: 14px;           /* Ukuran font */
  font-weight: 600;          /* Tebal teks */
  text-decoration: none;     /* Hilangkan underline */
  transition: all 0.3s ease; /* Animasi halus */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.btn-edit-maps {
  background: #FA680D;
  color: white;
}

.btn-edit-kontak {
  background: #FA680D;
  color: white;
}

/* Efek hover */
.btn-edit-maps:hover,
.btn-edit-kontak:hover {
  background: #b55011;  /* Warna lebih gelap saat hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Efek saat ditekan */
.btn-edit-maps:active,
.btn-edit-kontak:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* ================ EDIT MAPS ================*/
.edit-maps-page { 
  padding: 50px; 
}
.edit-maps-page h1 { 
  margin-top: 80px; 
}
#map { margin-top: 10px; }

.btn-simpan, .btn-batal {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn-simpan {
  background: #25D366;
  color: white;
  border: none;
}
.btn-simpan:hover { background: #1ebe5d; }
.btn-batal {
  background: #dc3545;
  color: white;
  margin-left: 8px;
}
.btn-batal:hover { background: #b52a37; }


/* ========== HALAMAN PROFIL ========== */
.hero-profile h1{
  margin-top: 80px ;
}
/* VISI MISI  */
.visi-misi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}
.visi-misi .card {
  background: #fff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.visi-misi .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.visi-misi h3 {
  color: #128C7E;
  margin-bottom: 10px;
  font-weight: 700;
}

/* ARMADA  */
.armada {
  margin-bottom: 60px;
}
.armada h2 {
  font-size: 2rem;
  color: #e67e22;
  margin-bottom: 20px;
  font-weight: 700;
}
.armada .card {
  max-width: 300px; /* biar proporsional, bukan % */
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 10px;
  text-align: center;
  margin: auto; /* agar posisi card center */
}
.armada .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.armada .card img {
  display: block;
  margin: 0 auto; /* gambar rata tengah */
  width: 100%;
  border-radius: 10px;
}
.armada .card h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #222;
  font-weight: 600;
}
.armada .card p {
  font-size: 0.95rem;
  color: #555;
}

/* KONTAK*/
.contact {
  text-align: center;
  padding: 40px 20px;
  background: #f9f9f9;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.contact h2 {
  font-size: 2rem;
  color: #e67e22;
  margin-bottom: 20px;
  font-weight: 700;
}
.contact p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #444;
}
.contact a {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 24px;
  background: #25D366;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.contact a:hover {
  background: #1ea958;
}

/* TOMBOL EDIT ADMIN  */
.btn-edit {
  display: inline-block;
  margin: 20px 0;
  padding: 10px 20px;
  margin-left: 20px;
  background: #FA680D;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.btn-edit:hover {
  background: #c94e08;
}

/* ========== HALAMAN EDIT PROFIL ========== */



section.edit-profil {
  padding-top: 10rem;   /* hanya form yang turun, header tetap nempel */
  max-width: 900px;
  margin: 0 auto 3rem; /* margin horizontal auto, margin bawah 3rem */
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.edit-profil h1 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 25px;
  color: #2c3e50;
}

.edit-profil label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 600;
  color: #444;
}

.edit-profil input[type="text"],
.edit-profil textarea,
.edit-profil input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  transition: border-color 0.3s ease;
  background: #fafafa;
}

.edit-profil input:focus,
.edit-profil textarea:focus {
  border-color: #3498db;
  outline: none;
  background: #fff;
}

.edit-profil textarea {
  resize: vertical;
}

/* Armada Section */
#armada-container {
  margin: 15px 0;
}

.armada-item {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  background: #fdfdfd;
}

.armada-item img {
  border-radius: 10px;
  border: 1px solid #ddd;
}

.btn-hapus {
  background: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-hapus:hover {
  background: #c0392b;
}

/* Buttons */
.btn-tambah,
.btn-simpan,
.btn-batal {
  display: inline-block;
  padding: 10px 18px;
  margin: 6px 4px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-tambah {
  background: #2ecc71;
  color: #fff;
  border: none;
}

.btn-tambah:hover {
  background: #27ae60;
}

.btn-simpan {
  background: #3498db;
  color: #fff;
  border: none;
}

.btn-simpan:hover {
  background: #2980b9;
}

.btn-batal {
  background: #bdc3c7;
  color: #2c3e50;
  border: none;
}

.btn-batal:hover {
  background: #95a5a6;
}


/* ================= HALAMAN EDIT KONTAK ===============================*/
.edit-kontak h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #e67e22;
  font-size: 26px;
  font-weight: 600;
}

.edit-kontak form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.edit-kontak form label {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 5px;
  color: #444;
}

.edit-kontak form input,
.edit-kontak form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.edit-kontak form input:focus,
.edit-kontak form textarea:focus {
  border-color: #fa680d;
  outline: none;
  box-shadow: 0 0 0 2px rgba(250, 104, 13, 0.2);
}

.edit-kontak form textarea {
  resize: vertical;
  min-height: 100px;
}

/* Tombol */
.edit-kontak form button {
  background: #fa680d;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.edit-kontak form button:hover {
  background: #e25900;
}

.edit-kontak form a {
  display: inline-block;
  text-align: center;
  margin-top: 8px;
  color: #fa680d;
  text-decoration: none;
  font-size: 14px;
}

.edit-kontak form a:hover {
  text-decoration: underline;
}



/* ================= VIDEO PROFIL ===============================*/
.video-profil {
  background: #fff;
  padding: 0; /* hapus padding supaya wave nempel */
  text-align: center;
  position: relative;
  width: 100%;
  height: 100vh; /* memenuhi tinggi layar */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profil-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* zoom/crop biar penuh */
  z-index: 1; /* video di paling bawah */
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.40); /* overlay gelap tipis */
  z-index: 2;
}

.wave {
  position: absolute;
  width: 100%;
  left: 0;
  z-index: 10;   /* kasih tinggi biar pasti kelihatan */
  pointer-events: none; /* jangan blok tombol */
}

.wave-fixed {
  width: 100%;
  height: 150px;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 150'%3E%3Cpath fill='%239c1010' d='M0,32L48,42.7C96,53,192,75,288,101.3C384,128,480,160,576,165.3C672,171,768,149,864,117.3C960,85,1056,43,1152,32C1248,21,1344,43,1392,53.3L1440,64L1440,0L0,0Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
  background-size: contain;
  z-index: 3;
  position: absolute;
  left: 0;
}
.wave-top { top: 0; transform: translateY(-1px); }
.wave-bottom { bottom: 0; transform: translateY(1px); }

.wave-bottom .copyright {
  position: absolute;
  bottom: 10px; /* jarak dari bawah */
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: white;
  z-index: 10;
  font-weight: 500;
  text-shadow: 0px 2px 6px rgba(0,0,0,0.5);
}

.wave svg {
  display: block;
  width: 100%;
  height: 150px;
}

.video-text {
  position: relative;
  z-index: 4;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.video-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.7);
}

/* Tombol transparan elegan */
.video-profil .btn-edit {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid white;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1); /* transparan */
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px); /* efek kaca */
}

.video-profil .btn-edit:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fa680d; /* aksen oranye */
  color: #fa680d;
}


/* ===================== TEXT DIATAS VIDEO =========================== */
.elegant-text {
  font-family: 'Montserrat', sans-serif; /* mirip gambar */
  font-size: 2.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  color: white;
}

@media (max-width: 768px) {
  .elegant-text {
    width: 100%;        /* gambar menyesuaikan layar */
    max-width: 800px;  /* tidak terlalu besar */
  }
  .video-text h2 {
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.7);
  }
}
/* Warna emas untuk highlight */
.gold {
  color: #FFD700;
}

/* Efek wipe */
.wipe-in {
  animation: wipeIn 1s forwards;
}
.wipe-out {
  animation: wipeOut 1s forwards;
}

@keyframes wipeIn {
  from { clip-path: inset(0 100% 0 0); opacity: 0; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}
@keyframes wipeOut {
  from { clip-path: inset(0 0 0 0); opacity: 1; }
  to { clip-path: inset(0 100% 0 0); opacity: 0; }
}

/* Efek fade */
.fade-in {
  animation: fadeIn 1s forwards;
}
.fade-out {
  animation: fadeOut 1s forwards;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}




/* ====================== EDIT VIDEO PROFIL ======================== */
.edit-video-profil {
  max-width: 600px;
  margin: 40px auto;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-family: 'Poppins', sans-serif;
}

.edit-video-profil h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #e67e22;
  font-weight: 600;
}

.edit-video-profil p {
  margin-bottom: 10px;
  color: #555;
  font-size: 15px;
}

.edit-video-profil video {
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.edit-video-profil label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #444;
}

.edit-video-profil input[type="file"] {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  background: #fafafa;
  transition: border 0.3s ease;
}

.edit-video-profil input[type="file"]:hover {
  border-color: #007bff;
}

.edit-video-profil button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.edit-video-profil button:hover {
  background: #0056b3;
}

.edit-video-profil a {
  display: inline-block;
  margin-left: 15px;
  color: #666;
  text-decoration: none;
  font-size: 15px;
}

.edit-video-profil a:hover {
  color: #000;
  text-decoration: underline;
}


/* ====================== EDIT WILAYAH SEWA ======================== */
.btn-edit-sewa {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #f39c12;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
}

.btn-edit-sewa:hover {
  background: #d68910;
}

.edit-wilayah, .tambah-wilayah, .tambah-armada{
  max-width: 600px;
  margin: 50px auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.edit-wilayah h2, .tambah-wilayah h2, .tambah-armada h2, .edit-armada h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #e67e22;
}

.edit-wilayah label, .tambah-wilayah label, .tambah-armada label, .edit-armada label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

.edit-wilayah input, 
.edit-wilayah select, 
.tambah-wilayah input[type="text"],
.tambah-wilayah input[type="file"],
.tambah-wilayah select,
.tambah-armada input[type="text"],
.tambah-armada input[type="file"],
.tambah-armada select,
.edit-armada input[type="text"],
.edit-armada input[type="file"],
.edit-armada select
{
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.tambah-armada .checkbox-group label, .edit-armada .checkbox-group label {
  font-size: 16px;     /* kecil */
  font-weight: 300;    /* tipis (gunakan 100–300 untuk extra tipis) */
  display: flex;       /* biar checkbox & teks sejajar rapi */
  align-items: center; /* rata tengah vertikal */
  gap: 5px;            /* jarak antara checkbox & teks */
  margin-bottom: -17px; 
}
.form-control {
  font-size: 16px;   /* medium */
  font-weight: 300;  /* tipis */
  font-family: 'Poppins', sans-serif;
}
.form-actions {
  display: flex;
  justify-content: flex-end; /* posisikan ke kanan */
  gap: 10px; /* jarak antar tombol */
  margin-top: 20px;
}

.form-actions-sewa .btn-simpan-sewa,
.form-actions-sewa .btn-kembali-sewa,
.form-actions-armada .btn-simpan-armada,
.form-actions-armada .btn-kembali-armada
{
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
}

.btn-simpan-sewa, .btn-simpan-armada {
  background-color: #28a745;
  color: white;
  border: none;
  font-size: 18px; /* ukuran font lebih besar */
  font-weight: 600; /* biar lebih tegas */
}

.btn-simpan-sewa:hover, .btn-simpan-sewa:hover {
  background-color: #218838;
}

.btn-kembali-sewa, .btn-kembali-armada {
  background-color: #6c757d;
  color: white;
}
.btn-kembali-sewa:hover, .btn-kembali-sewa:hover {
  background-color: #5a6268;
}
.btn-hapus-armada {
  background-color: #e63946; /* merah elegan */
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;

}

.btn-hapus-armada:hover {
  background-color: #b71c1c; /* merah lebih gelap saat hover */
  box-shadow: 0 6px 14px rgba(183, 28, 28, 0.6);
  transform: translateY(-2px);
}

/* Overlay gelap */
#flash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6); /* layar jadi gelap */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
}

/* Flash message hologram */
#flash-message {
  background: rgba(0, 255, 255, 0.2);
  color: #fff;
  font-weight: bold;
  font-size: 1.3rem;
  padding: 25px 50px;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(12px) brightness(1.4);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.9),
              0 0 80px rgba(0, 255, 255, 0.7),
              inset 0 0 20px rgba(0, 255, 255, 0.5);
  animation: hologramPulse 1.2s infinite alternate;
  z-index: 9999;
}

/* Efek hologram berdenyut */
@keyframes hologramPulse {
  from {
    text-shadow: 0 0 10px cyan, 0 0 20px aqua, 0 0 30px #00ffff;
    transform: scale(1);
  }
  to {
    text-shadow: 0 0 20px cyan, 0 0 40px aqua, 0 0 60px #00ffff;
    transform: scale(1.05);
  }
}


@media (max-width: 768px) {

  .edit-wilayah, .tambah-wilayah, .tambah-armada  {
    max-width: 85%;
    padding: 8px;
  }
  .edit-wilayah form, .form-actions-sewa, .tambah-wilayah label, .tambah-armada label  {
    width: 300px;
    padding: 10px 30px;
    font-size: small;
  }
  .edit-wilayah h2, .tambah-wilayah h2, .tambah-armada h2 {
    font-size: medium;
  }

  .form-actions-sewa, .form-actions-armada {
    display: flex;
    flex-direction: column; /* tombol ditumpuk ke bawah */
    gap: 10px;              /* jarak antar tombol */
    margin-top: 15px;       /* jarak atas dari konten sebelumnya */
  }

  .form-actions-sewa .btn-simpan-sewa,
  .form-actions-sewa .btn-kembali-sewa,
  .form-actions-armada .btn-simpan-armada,
  .form-actions-armada .btn-kembali-armada {
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: small;
    font-weight: 500;
  }

  .btn-simpan-sewa, .btn-simpan-armada {
    background-color: #28a745;
    color: white;
    border: none;
  }

  .btn-kembali-sewa, .btn-kembali-armada {
    background-color: #6c757d;
    color: white;
    border: none;
  }


}

/* ====================== DETAIL ARMADA  ======================== */

.detail-armada h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  color: #222;
  font-weight: 600;
}

.detail-armada img {
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  max-width: 85%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.detail-armada ul,.detail-armada form{
  list-style: none;
  padding: 0;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
}

.detail-armada li {
  padding: 12px 18px;
  width: 100%;
  margin: 0 auto;       
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
  font-size: 15px;
}

.detail-armada li:nth-child(even) {
  background: #f0f4f8; /* warna strip beda */
}

.detail-armada li:hover {
  background: #e9f3ff;
  border-left: 4px solid #3498db;
}

.detail-armada li b {
  color: #222;
  font-weight: 600;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-armada li b::before {
  content: "➤"; /* bisa diganti ikon lain */
  font-size: 12px;
  color: #3498db;
}

/* Wrapper tombol */
.detail-armada .btn-wrapper {
  margin-top: 20px;
  display: flex;
  justify-content: center; /* tombol sejajar tengah */
  gap: 15px;               /* jarak antar tombol */
}

/* Tombol default */
.btn-edit-armada, .btn-kembali-armada {
  background: #3498db;
  color: white;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s;
  min-width: 120px;
  text-align: center;
}

/* Hover efek */
.btn-edit-armada:hover { background: #217dbb;   box-shadow: 0 6px 14px #16527b; transform: translateY(-2px); }
.btn-kembali-armada { background: #e67e22; }
.btn-kembali-armada:hover { background: #b1611b; box-shadow: 0 6px 14px #764012; transform: translateY(-2px);  }

/* Responsif */
@media (max-width: 768px) {
  .detail-armada h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #222;
    font-weight: 600;
  }

  .detail-armada img {
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    max-width: 85%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  .detail-armada ul,.detail-armada form{
    list-style: none;
    padding: 0;
    max-width: 85%;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
  }

  .detail-armada li {
    padding: 12px 18px;
    width: 100%;
    margin: 0 auto;       
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    font-size: 15px;
  }

  .detail-armada li:nth-child(even) {
    background: #f0f4f8; /* warna strip beda */
  }

  .detail-armada li:hover {
    background: #e9f3ff;
    border-left: 4px solid #3498db;
  }

  .detail-armada li b {
    color: #222;
    font-weight: 600;
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .detail-armada li b::before {
    content: "➤"; /* bisa diganti ikon lain */
    font-size: smaller;
    color: #3498db;
  }

  .detail-armada .btn-wrapper {
    flex-direction: column;  /* vertikal */
    align-items: center;
    gap: 10px;
  }

  .btn-edit-armada,
  .btn-kembali-armada {
    width: auto; /* biar tidak full width */
  }
}






/* edit form */
.edit-armada {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.tambah-wilayah input:focus,
.tambah-wilayah select:focus {
  border-color: #007bff;
  outline: none;
}

.edit-armada .btn-wrapper {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

.btn-save-armada, .btn-cancel-armada, .btn-kembali-sewa {
  flex: 1;
  margin: 0 5px;
  padding: 10px;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-save-armada {
  background: #27ae60;
  color: white;
  border: none;
}

.btn-save-armada:hover {
  background: #1e874b;
}

.btn-cancel-armada {
  background: #e74c3c;
  color: white;
}

.btn-cancel-armada:hover {
  background: #c0392b;
}




/* ====================================== Form pencarian + tombol tambah =================================*/
.header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 950px; /* samakan dengan container card */
  margin: 0 auto 20px auto;
  padding: 0 10px;
  flex-wrap:inherit; /* supaya kalau sempit bisa turun ke bawah */
  gap: 10px;
}

.search-box form {
  display: flex;
  gap: 8px;
}

.search-box input[type="text"] {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}
.search-box input[type="number"] {
  display: flex;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}
.search-box button {
  padding: 8px 14px;
  background-color: #FA680D;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
}

.search-box button:hover {
  background-color: #e25c0b;
}

.add-button .btn-tambah {
  background-color: #217dbb;
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.add-button .btn-tambah:hover {
  background-color: #217dbb;
}


/* 📱 Tablet */
@media (max-width: 768px) {
  .header-actions {
    flex-direction: column;  /* jadi susun ke bawah */
    align-items: center;    /* biar full width */
    text-align: center;
  }

  .search-box form {
    width: 100%;
  }

  .search-box input[type="text"] {
    flex: 1;
    min-width: 0;
  }

  .add-button {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .add-button .btn-tambah  {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 500;
    align-items: center;
  }
}

/* 📱 Handphone kecil */
@media (max-width: 480px) {
  .search-box form {
    flex-direction: column;
    gap: 8px;
  }

  .search-box button {
    width: 100%;
  }
}

/* ======================================= DENAH HALAMAN SEWA ===================================*/

.denah {
  background-color: #FF8A42; /* orange */
  padding: 30px;
  margin-top: 40px;
  text-align: center;
}
.denah h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

/* wrapper untuk tombol agar selalu center */
.btn-wrapper {
  text-align: center;
  margin-bottom: 15px;
}

.toggle-btn {
  background-color: #fff;
  border: none;
  color: #ff9800;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
}

.card-denah {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  display: block; /* fix agar toggle berfungsi 1 klik */
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  margin-top: 20px;
  max-width: 900px;
}

.denah-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

.denah-image {
  flex: 1 1 300px;
  text-align: center;
  position: relative;
  display: inline-block;
}

.denah-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  display: block;
  max-width: 100%;
  height: auto;
  cursor: pointer;
}
/* Overlay gelap transparan */
.download-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}
/* Tombol bulat unduh */
.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 30px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.download-btn:hover {
  transform: scale(1.1);
}

.download-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Pesan teks setelah unduh */
.download-btn.downloaded {
  width: auto;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 16px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  box-shadow: none;
}
.seat-box {
  background: #FF8A42;
  color: #fff;
  font-weight: bold;
  padding: 8px;
  margin: 10px auto 0;
  border-radius: 6px;
  width: 70%;
  text-align: center;
  font-size: 18px;
}

.denah-info {
  flex: 1 1 300px;
  text-align: justify;
  font-size: 16px;
  line-height: 1.5;
  color: #545454;
}

/* Responsif */
@media (max-width: 768px) {
  .denah h2 {
    font-size: 20px;
  }
  .toggle-btn {
    font-size: 14px;
    padding: 8px 16px;
    font-weight: bold;
  }
  .denah-content {
    flex-direction: column;
  }
  .denah-info {
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    margin-top: -10px;
  }
  .seat-box {
    font-weight: bold;
    padding: 8px;
    width: 60%;
    font-size: 13px;
  }
}

/* ======================================= FOOTER ===================================*/
.site-footer {
  background: #E34514; /* warna merah gradasi */
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 60px;
  flex-wrap: wrap;
}

.footer-left,
.footer-middle,
.footer-right {
  flex: 1;
  min-width: 250px;
}

.footer-left h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: bold;
}

.footer-left p {
  margin: 5px 0;
  font-size: 14px;
}

.footer-middle h4,
.footer-right h4 {
  font-size: 18px;
  margin-bottom: 15px;
}

.social-btn,
.contact-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease;
}

.social-btn i,
.contact-btn i {
  margin-right: 6px;
}

.social-btn:hover,
.contact-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.certified {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.certified img {
  max-height: 40px;
  background: #fff;
  border-radius: 6px;
  padding: 4px 6px;
}

.footer-bottom {
  background: #821816;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-size: 13px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    padding: 30px 20px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .footer-links {
    margin-top: 10px;
  }
  .social-btn,
  .contact-btn {
    width: 100%;
    text-align: center;
  }
}