
.navbar { 
  background: rgba(0,0,0,0.6); 
  padding: 1rem 0; 
  transition: 0.3s; 
}

/* Hero */
.hero-section {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/pantai.jpg') center/cover no-repeat;
  display: flex; 
  justify-content: center; 
  align-items: center;
  color: white;
  text-align: center;
}

/* Card Hover Umum */
.hover-card:hover { 
  transform: translateY(-5px); 
  transition: 0.3s; 
}

/* Villa Section (Sisi Depan) */
.villa-section { 
  background-color: #f8f9fa; 
}
.villa-info-box { 
  background: #fff; 
  padding: 18px; 
  border-radius: 15px; 
  box-shadow: 0 8px 20px rgba(0,0,0,0.06); 
  height: 100%; 
  transition: 0.3s; 
}
.villa-info-box:hover { 
  transform: translateY(-5px); 
}
.villa-info-box h5 { 
  font-weight: 700; 
  margin-bottom: 6px; 
}
.villa-info-box p { 
  font-size: 14px; 
  color: #666; 
}

/* Cafe Section (Sisi Depan) */
.cafe-section { 
  background-color: #f8f9fa; 
}
.cafe-box { 
  background: linear-gradient(135deg,#0dcaf0,#088ca6); 
  color: white; 
  padding: 40px; 
  border-radius: 25px; 
  box-shadow: 0 12px 30px rgba(13,202,240,0.25);
}
.cafe-box p { 
  color: #eefcff; 
}

/* Gallery Section */
.gallery-section { 
  background: #fff; 
}
.gallery-card { 
  overflow: hidden; 
  border-radius: 18px; 
  height: 260px; 
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.gallery-card img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: 0.4s;
}
.gallery-card:hover img { 
  transform: scale(1.08); 
}

/* Footer Section */
.footer-section { 
  background-color: #111827; 
  color: white;
}
.footer-section p { 
  color: #d1d5db; 
  font-size: 14px; 
}

/* Login Page */
.login-page { 
  background: linear-gradient(rgba(0,0,0,0.55),rgba(0,0,0,0.55)), url("images/pantai.jpg") center/cover no-repeat; 
  min-height: 100vh; 
  display: flex; 
  justify-content: center; 
  align-items: center;
}
.login-card { 
  width: 100%; 
  max-width: 420px; 
  background: white; 
  padding: 35px; 
  border-radius: 20px; 
  box-shadow: 0 15px 40px rgba(0,0,0,0.25); 
}


/* ==================================================================
   2. PENGATURAN SIDEBAR PANEL ADMIN & PEMILIK (PENCERAHAN TULISAN)
   ================================================================== */

.dashboard-page { 
  background-color: #f4f7fa; 
  min-height: 100vh; 
}

.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Kotak Sidebar Sisi Kiri */
.dashboard-sidebar {
  width: 260px;
  background-color: #1e293b;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  z-index: 100;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.05);
}

/* Judul Atas Sidebar */
.dashboard-sidebar h4,
.dashboard-sidebar .sidebar-brand h4 { 
  color: #ffffff !important;
  font-weight: 700;
}

.sidebar-brand {
  padding-bottom: 25px;
  border-bottom: 1px solid #334155;
  margin-bottom: 25px;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* PERBAIKAN: Mencerahkan tulisan teks menu yang sebelumnya gelap gulita */
.dashboard-sidebar a,
.dashboard-sidebar .sidebar-menu a,
.dashboard-sidebar button {
  color: #cbd5e1 !important; /* Warna teks diubah menjadi abu-abu terang benderang */
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  display: block;
  background: none;
  border: none;
  text-align: left;
  width: 100%;
  transition: all 0.2s ease;
}

/* Warna saat menu disentuh kursor atau berstatus Aktif */
.dashboard-sidebar a:hover, 
.dashboard-sidebar a.active,
.dashboard-sidebar .sidebar-menu a.active {
  background-color: #0dcaf0 !important;
  color: #ffffff !important; /* Teks menjadi putih bersih berkilau saat aktif */
}

.sidebar-footer {
  margin-top: auto;
}


/* ==================================================================
   3. AREA KONTEN UTAMA & KOTAK STATISTIK GRADASI (ADMIN / ATASAN)
   ================================================================== */

.dashboard-main {
  flex: 1;
  padding: 40px;
  margin-left: 260px; 
  background-color: #f8fafc;
}

.dashboard-stat {
  padding: 24px;
  border-radius: 16px;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.bg-stat-blue { background: linear-gradient(135deg, #0284c7, #0ea5e9); }
.bg-stat-green { background: linear-gradient(135deg, #16a34a, #22c55e); }
.bg-stat-orange { background: linear-gradient(135deg, #ea580c, #f97316); }
.bg-stat-purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }

.dashboard-stat h6 { 
  font-size: 0.85rem; 
  text-transform: uppercase; 
  letter-spacing: 0.5px; 
  opacity: 0.85; 
  margin-bottom: 10px;
}
.dashboard-stat h2 { 
  font-size: 2.5rem; 
  font-weight: 800; 
  margin: 0;
}
.dashboard-stat p { 
  font-size: 0.85rem; 
  opacity: 0.8; 
  margin-top: 5px; 
  margin-bottom: 0;
}

.dashboard-card { 
  background: #fff; 
  padding: 30px; 
  border-radius: 20px; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.04); 
  height: 100%; 
  border: 1px solid #f1f5f9;
}

.dashboard-card h5 { 
  font-weight: 700; 
  margin-bottom: 20px;
  color: #1e293b;
}

/* Mempercantik Input Group dan Kolom Isian Pengunjung */
.dashboard-card .form-control,
.dashboard-card .form-select {
  border: 1px solid #cbd5e1;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  color: #334155;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.dashboard-card .form-control:focus,
.dashboard-card .form-select:focus {
  border-color: #0dcaf0;
  box-shadow: 0 0 0 4px rgba(13, 202, 240, 0.12);
}

/* Mengatur kotak komponen ikon Bootstrap di sebelah kiri input field */
.dashboard-card .input-group-text {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  color: #64748b;
  border-top-left-radius: 12px !important;
  border-bottom-left-radius: 12px !important;
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
  padding: 0 16px;
}

/* Jika menggunakan input group text, radius input kanan disesuaikan */
.dashboard-card .input-group .form-control {
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

/* Mengubah Tombol Navigasi Menu Atas Pengunjung Jadi Kapsul Soft Bulat */
.dashboard-page .nav-tabs,
.dashboard-page .btn-group {
  border: none;
  gap: 10px;
}

.dashboard-page .nav-link,
.dashboard-page .btn-secondary {
  background-color: #e2e8f0 !important;
  color: #334155 !important;
  border: none !important;
  padding: 12px 24px !important;
  border-radius: 50px !important;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

/* Kondisi Aktif Menu Pengunjung */
.dashboard-page .nav-link.active,
.dashboard-page .btn-info {
  background: linear-gradient(135deg, #0dcaf0, #0284c7) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 6px 18px rgba(13, 202, 240, 0.35);
}

#fasilitas .row {
  display: flex;
  flex-wrap: wrap;
}

.facility-mini-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.facility-mini-card img {
  width: 100% !important;      
  height: 160px !important;     
  object-fit: cover !important; 
  object-position: center;
  display: block;
}

.facility-mini-card .card-body-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.facility-mini-card h6 {
  font-weight: 700;
  margin-top: 5px;
  margin-bottom: 5px;
  color: #1e293b;
}

.facility-mini-card p {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
}

.facility-mini-card .btn {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 0;
  border-radius: 8px;
}
.admin-content { display: none; }
.admin-content.active { display: block; }