/* ========================
   GLOBAL STYLE
   ======================== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;
}

/* ========================
   NAVBAR STYLE
   ======================== */

/* Warna emas */
:root {
  --gold-color: #d4af37;
}

/* Navbar Custom Background */
.navbar-custom {
  background-color: #f8f9fa !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15); /* Lebih gelap dan tebal */
  z-index: 1030; /* pastikan di atas elemen lain */
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,1)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* Teks link navbar */
.navbar-custom .nav-link {
  padding-bottom: 10px;
  margin-right: 10px;
  color: var(--gold-color) !important; /* warna emas */
  font-weight: 500;
  transition: color 0.3s, border-color 0.3s;
}

/* Hover dan aktif pada link */
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active,
.navbar-custom .nav-link:focus {
  color: #f7dc6f !important; /* emas terang saat hover */
  border-bottom: 2px solid #f7dc6f;
}

/* Spasi antar menu */
.navbar-nav {
  gap: 8px;
}

.navbar-nav .nav-item {
  margin-left: 5px;
}

/* Logo Teks "Matakresna" jadi hitam */
.navbar-custom .navbar-brand span {
  color: #b88917 !important;  /* warna hitam */
  font-weight: bold;
}

/* ========================
   CAROUSEL / BANNER STYLE
   ======================== */
.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ========================
   LOGIN PAGE STYLE
   ======================== */
body.login-page {
  background-color: #f8f9fa;
}

.login-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f9fa;
}

.login-card {
  max-width: 400px;
  padding: 30px;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

/* ========================
   BUTTON UMUM
   ======================== */
.btn-login,
.btn-selengkapnya,
.btn-reservasi {
  background-color: #b88917;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: 500;
  border-radius: 8px;
  transition: 0.3s;
}

.btn-login:hover,
.btn-selengkapnya:hover,
.btn-reservasi:hover {
  background-color: #a47713;
}

/* ========================
   STEP ORDER STYLE
   ======================== */
.step-section {
  background-color: #f8f9fa;
}

.step-box {
  background-color: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.step-box:hover {
  transform: translateY(-5px);
}

.step-circle {
  width: 50px;
  height: 50px;
  background-color: #b88917;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  font-weight: bold;
  font-size: 18px;
}

.step-last {
  transform: translateY(-15px);
}

/* ========================
   LAYANAN STYLE
   ======================== */
.layanan-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  overflow: hidden;
}

.layanan-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.layanan-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}

/* ========================
   FOOTER STYLE
   ======================== */
footer {
  background-color: #f8f9fa;
  color: #343a40;
}

.footer-link {
  color: #343a40;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s, border-bottom 0.3s;
}

.footer-link:hover {
  color: #a47713;
  border-bottom: 2px solid #a47713;
}

footer i {
  margin-right: 5px;
}

footer p {
  margin-bottom: 10px;
}

/* ========================
   ABOUT PAGE STYLE
   ======================== */
.about-section,
.why-us-section,
.contact-section {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.about-section {
  background-color: #f8f9fa;
  color: #212529;
}

.about-section h2 {
  color: #a47713;
}

.why-us-section {
  background-color: #f8f9fa;
}

.why-us-section h3 {
  color: #b88917;
}

.why-us-section h5,
.why-us-section i {
  color: #212529;
}

.contact-section {
  background-color: #f8f9fa;
  color: #212529;
}

.contact-section h3 {
  color: #a47713;
}

.contact-section a.btn {
  border-color: #b88917;
  color: #b88917;
  transition: all 0.3s ease-in-out;
}

.contact-section a.btn:hover {
  background-color: #a47713;
  border-color: #a47713;
  color: white;
}

/* ========================
   RESERVASI FORM STYLE
   ======================== */
.login-container {
  padding: 20px;
}

.login-card {
  width: 100%;
  max-width: 500px;
  padding: 30px;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

.input-group input {
  border-radius: 8px 0 0 8px;
  border-right: none;
  border: 1px solid #ccc;
  padding: 10px;
}

.input-group .btn {
  border-radius: 0 8px 8px 0;
  background-color: #b88917;
  border-color: #b88917;
  color: #fff;
}

.input-group .btn:hover {
  background-color: #a37413;
  border-color: #a37413;
}

.card {
  margin-top: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
}

.card-body p {
  margin-bottom: 8px;
  font-size: 15px;
}

.alert {
  border-radius: 8px;
  font-size: 14px;
}

/* Tombol umum */
.btn-primary {
  background-color: #b88917;
  border-color: #b88917;
  color: #fff;
}

.btn-primary:hover {
  background-color: #a37413;
  border-color: #a37413;
}

/* Tombol khusus atur ulang */
.btn-warning {
  background-color: #b88917 !important;
  border-color: #b88917 !important;
  color: #fff !important;
  border-radius: 8px;
}

.btn-warning:hover {
  background-color: #a37413 !important;
  border-color: #a37413 !important;
}

/* Gambar bukti pembayaran */
img.img-fluid {
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  max-width: 100%;
}

/* ========================
   KATEGORI HALAMAN SPESIFIK
   ======================== */
.wisuda-intro,
.sport-intro,
.profil-intro,
.foodshot-intro {
  background-color: #f8f9fa;
}

.wisuda-intro h2,
.sport-intro h2,
.profil-intro h2,
.foodshot-intro h2 {
  color: #a47713;
}

.wisuda-harga h4,
.sport-harga h4,
.profil-harga h4,
.foodshot-harga h4 {
  color: #b88917;
}

.wisuda-harga p,
.sport-harga p,
.profil-harga p,
.foodshot-harga p {
  color: #343a40;
}

.wisuda-portfolio h3,
.sport-portfolio h3,
.profil-portfolio h3,
.foodshot-portfolio h3 {
  color: #a47713;
}

.wisuda-portfolio img,
.sport-portfolio img,
.profil-portfolio img,
.foodshot-portfolio img {
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .wisuda-portfolio img,
  .sport-portfolio img,
  .profil-portfolio img,
  .foodshot-portfolio img {
    height: 200px;
  }
}

/* ========================
   CEK STATUS PAGE STYLE
   ======================== */
.cek-status-section {
  padding: 40px 20px;
  background-color: #f8f9fa;
}

.cek-status-section h2 {
  text-align: center;
  color: #b88917;
  margin-bottom: 30px;
  font-weight: bold;
}

.card-cek-status {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
  margin-bottom: 20px;
}

.card-cek-status p {
  margin: 6px 0;
  font-size: 15px;
  color: #333;
}

.card-cek-status .highlight {
  font-weight: 600;
  color: #b88917;
}

.status-sukses {
  color: green;
  font-weight: bold;
}

.status-menunggu {
  color: #ff9900;
  font-weight: bold;
}

.status-gagal {
  color: red;
  font-weight: bold;
}

.catatan-admin {
  background-color: #fff8e1;
  border-left: 4px solid #b88917;
  padding: 12px;
  border-radius: 8px;
  margin-top: 15px;
}

.bukti-pembayaran {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-top: 10px;
}

.btn-login, .btn-register {
  background-color: #d4af37;
  color: #000;
  font-weight: 600;
  border: none;
  padding: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-login:hover, .btn-register:hover {
  background-color: #c9a233; /* Warna emas lebih gelap saat hover */
  color: #000; /* Pastikan tetap hitam */
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.step-card {
  width: 150px;
  border-radius: 16px;
  background-color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.step-circle {
  width: 50px;
  height: 50px;
  background-color: #d4af37; /* emas cerah */
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-gold {
  color: #a47713;
}
