/* ========================================
   BUMDes Sukses Bersama - Style CSS
   
   Design System:
   - Primary Color: #1f5b3a (Hijau)
   - Accent Color: #ff9500 (Orange)
   - Typography: Arial
   - Spacing: 8px base unit
   - Border Radius: 6px (small), 10-12px (medium), 20-25px (large)
   - Shadows: Layered (light: 0 2px 8px, medium: 0 3px 12px, dark: 0 8px 20px)
   - Transitions: 0.2-0.3s ease
   
   NAVBAR STANDARDIZATION:
   - All pages use same navbar structure: logo + brand + hamburger + menu
   - Logo: 40x40px, hover scale 1.08
   - Brand: Font weight 700, color hijau
   - Hamburger: Visible on mobile (768px and below)
   - Dropdown: Toggles with .active class, no inline onClick behavior
   - Mobile: Dropdown becomes flex-column, dropdown-menu static positioned
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

/* ---- VARIABEL WARNA ---- */
:root {
  --hijau: #1f5b3a;
  --hijau-tua: #17452c;
  --orange: #ff9500;
}

/* ---- UTILITY CLASSES ---- */
/* Button Styles - Used across all pages */
.btn {
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
}

.btn-primary {
  padding: 10px 22px;
  background: var(--hijau);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
}

.btn-primary:hover {
  background: var(--hijau-tua);
}

/* Card Styles - Consistent across products, pimpinan, units */
.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Typography Utilities */
.text-hijau {
  color: var(--hijau);
}
.text-orange {
  color: var(--orange);
}
.text-muted {
  color: #888;
}

.fw-bold {
  font-weight: bold;
}
.text-center {
  text-align: center;
}

/* Spacing Utilities */
.mb-8 {
  margin-bottom: 8px;
}
.mb-10 {
  margin-bottom: 10px;
}
.mb-12 {
  margin-bottom: 12px;
}
.mb-15 {
  margin-bottom: 15px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mt-15 {
  margin-top: 15px;
}

.gap-8 {
  gap: 8px;
}
.gap-10 {
  gap: 10px;
}

/* ---- LOADER ---- */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  border: 5px solid #eee;
  border-top: 5px solid var(--hijau);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* Standardized navbar with logo + brand + responsive menu */
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--hijau);
}

.logo-navbar {
  height: 40px;
  width: 40px;
  object-fit: contain;
  transition: transform 0.3s;
}

.logo-navbar:hover {
  transform: scale(1.08);
}

.nav-brand {
  color: var(--hijau);
  font-weight: 700;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-right a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-right a:hover {
  color: var(--hijau);
}

/* Active nav link */
.nav-link {
  position: relative;
}
.nav-link.active {
  color: var(--hijau) !important;
  font-weight: 700;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--hijau);
  border-radius: 2px;
}

/* Dropdown */
.dropdown {
  position: relative;
  color: #333;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  min-width: 180px;
  z-index: 1001;
  overflow: hidden;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: #f2f2f2;
  color: var(--hijau);
}

.dropdown.active .dropdown-menu {
  display: block;
}

/* Tombol masuk */
.btn-masuk {
  background: var(--hijau);
  color: white !important;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}

.btn-masuk:hover {
  background: var(--hijau-tua) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s;
}

.hamburger:hover {
  transform: scale(1.1);
}

/* ---- HERO ---- */
.hero {
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--hijau) 0%, #2d8b5a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-text {
  color: white;
  max-width: 700px;
  padding: 20px;
}

.hero-text h1 {
  font-size: 52px;
  margin: 10px 0;
}

.hero-kecil {
  font-size: 22px;
}

.hero-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;
  background: white;
  color: var(--hijau);
  border-radius: 25px;
  font-size: 16px;
  text-decoration: none;
  font-weight: bold;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.hero-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ---- SECTION JUDUL ---- */
.section-title {
  font-size: 28px;
  color: var(--hijau);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.section-title::before,
.section-title::after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 2px;
  background: #ccc;
  vertical-align: middle;
  margin: 0 12px;
}

/* ---- PIMPINAN ---- */
.pimpinan {
  padding: 50px 40px;
  text-align: center;
  background: #fff;
}

.pimpinan-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.card-pimpinan {
  width: 200px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  /* Base card styles applied */
}

.card-pimpinan:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.card-pimpinan img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-info {
  background: var(--hijau);
  color: white;
  padding: 12px;
}

.card-info h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.card-info p {
  font-size: 12px;
  opacity: 0.85;
}

/* ---- UNIT USAHA ---- */
.unit-usaha {
  padding: 50px 40px;
  background: #f5f5f5;
  text-align: center;
}

.unit-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.unit-card {
  width: 180px;
  min-height: 200px;
  background: white;
  border-radius: 12px;
  padding: 20px 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  text-decoration: none;
  color: #333;
}

.unit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.unit-card .icon {
  font-size: 40px;
  margin-bottom: 1px;
}

.unit-icon {
  width: 145px;
  height: 105px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}
.unit-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.unit-card p {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

/* ---- VISI MISI ---- */
.visi-misi {
  padding: 60px 40px;
  background: linear-gradient(135deg, var(--hijau) 0%, var(--hijau-tua) 100%);
  color: white;
}

.visi-misi-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.visi-box,
.misi-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.visi-box h3,
.misi-box h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.visi-box p {
  font-size: 15px;
  line-height: 1.8;
  font-style: italic;
}

.misi-box ul {
  list-style: none;
}

.misi-box li {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.misi-box li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffc107;
  font-weight: bold;
  font-size: 16px;
}

/* ---- KONTAK ---- */
.kontak {
  padding: 50px 40px;
  background: white;
}

.kontak-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 30px;
}

.kontak-kiri h2 {
  color: var(--hijau);
  font-size: 26px;
  margin-bottom: 15px;
}

.kontak-kiri p {
  margin: 8px 0;
  color: #555;
  font-size: 15px;
}

.kontak-kanan {
  display: flex;
  gap: 20px;
}

.sosmed-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #555;
  font-size: 12px;
  transition: transform 0.2s;
}

.sosmed-link:hover {
  transform: scale(1.1);
  color: var(--hijau);
}

.sosmed-link .sosmed-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* SVG sosmed icons */
.sosmed-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.2s;
}
.sosmed-wa {
  background: #25d366;
  color: white;
}
.sosmed-ig {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  color: white;
}
.sosmed-maps {
  background: #ea4335;
  color: white;
}
.sosmed-link:hover .sosmed-icon {
  transform: scale(1.1);
}

/* Login banner reservasi */
.login-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #e8f4ec;
  border: 1px solid #c3dece;
  border-left: 4px solid var(--hijau);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.login-banner svg {
  color: var(--hijau);
  flex-shrink: 0;
}
.login-banner div {
  flex: 1;
}
.login-banner strong {
  color: var(--hijau);
  display: block;
  margin-bottom: 4px;
}
.login-banner p {
  color: #555;
  font-size: 13px;
  margin: 0;
}

/* ---- FOOTER ---- */
footer {
  background: var(--hijau);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* ---- HALAMAN PRODUK ---- */
.page-wrapper {
  min-height: 100vh;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
}

.page-header {
  text-align: center;
  margin-bottom: 30px;
}

.page-header h1 {
  font-size: 2.2rem;
  color: var(--hijau);
  margin-bottom: 8px;
}

.page-header p {
  color: #666;
  font-size: 1rem;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 7px 16px;
  border: 2px solid var(--hijau);
  background: white;
  color: var(--hijau);
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--hijau);
  color: white;
}

.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.produk-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  /* Base card component - same as .card class */
}

.produk-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.produk-card-body {
  padding: 18px;
}

.produk-badge {
  background: var(--orange);
  color: white;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 8px;
}

.produk-card h3 {
  color: var(--hijau);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.produk-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.produk-footer-card {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 10px;
  /* Single element display - only price shown */
}

/* ---- TYPOGRAPHY & COMMON ELEMENTS ---- */

/* Form Submit Button - unified style */
.btn-submit {
  width: 100%;
  padding: 12px;
  background: var(--hijau);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: 600;
}

.btn-submit:hover {
  background: var(--hijau-tua);
}

/* ---- HALAMAN RESERVASI ---- */
.box-putih {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  margin: 0 auto;
}

.reservasi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.form-reservasi label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #444;
  font-size: 14px;
}

.form-reservasi input,
.form-reservasi select,
.form-reservasi textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 14px;
  transition: border 0.3s;
}

.form-reservasi input:focus,
.form-reservasi select:focus {
  outline: none;
  border-color: var(--hijau);
}

.info-panel {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  border-left: 4px solid var(--orange);
}

.info-panel h3 {
  color: var(--hijau);
  margin-bottom: 12px;
}

.booking-item {
  background: white;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 10px;
  border-left: 3px solid var(--orange);
  font-size: 14px;
}

.booking-item .tgl {
  color: #888;
  font-size: 12px;
}

.booking-item .layanan {
  color: var(--hijau);
  font-weight: bold;
  margin: 4px 0;
}

.alert {
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ---- ADMIN PAGES ---- */
.admin-body {
  background: #f5f5f5;
  min-height: 100vh;
}

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

.sidebar {
  width: 240px;
  background: var(--hijau);
  color: white;
  padding: 25px 15px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}

.sidebar h2 {
  font-size: 16px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar a {
  display: block;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 5px;
  transition: all 0.2s;
}

.sidebar a:hover,
.sidebar a.active {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.sidebar .logout-link {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  color: #ffcccc;
}

.sidebar .logout-link:hover {
  background: rgba(255, 0, 0, 0.2);
  color: #ff6666;
}

.main-content {
  margin-left: 240px;
  padding: 25px;
  flex: 1;
}

.top-bar {
  background: white;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar h1 {
  font-size: 1.4rem;
  color: var(--hijau);
}

.top-bar span {
  color: #888;
  font-size: 14px;
}

/* Stat cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 25px;
}

.stat-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--hijau);
  text-align: center;
}

.stat-card.orange {
  border-left-color: var(--orange);
}

.stat-card .angka {
  font-size: 2rem;
  font-weight: bold;
  color: var(--hijau);
}

.stat-card.orange .angka {
  color: var(--orange);
}

.stat-card .label {
  color: #888;
  font-size: 13px;
  margin-top: 5px;
}

.stat-icon {
  font-size: 32px;
  margin-bottom: 10px;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon svg {
  color: var(--hijau);
}
.stat-card.orange .stat-icon svg {
  color: var(--orange);
}

/* Table */
.table-box {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow-x: auto;
}

.table-box h2 {
  color: var(--hijau);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th {
  background: var(--hijau);
  color: white;
  padding: 10px 12px;
  text-align: left;
}

td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
}

tr:hover td {
  background: #f9f9f9;
}

.badge {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
}

.badge-pending {
  background: #fff3cd;
  color: #856404;
}
.badge-confirmed {
  background: #d4edda;
  color: #155724;
}
.badge-cancelled {
  background: #f8d7da;
  color: #721c24;
}
.badge-aktif {
  background: #d4edda;
  color: #155724;
}
.badge-nonaktif {
  background: #f8d7da;
  color: #721c24;
}

.btn-sm {
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}

.btn-sm:hover {
  opacity: 0.8;
}
.btn-hijau {
  background: var(--hijau);
  color: white;
}
.btn-orange {
  background: var(--orange);
  color: white;
}
.btn-merah {
  background: #dc3545;
  color: white;
}

/* Form admin */
.form-box {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  max-width: 600px;
  margin-bottom: 20px;
}

.form-box h2 {
  color: var(--hijau);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

/* Image preview in forms */
.form-preview {
  margin-bottom: 8px;
}

.form-preview img {
  border-radius: 6px;
  border: 1px solid #ddd;
}

.form-preview small {
  display: block;
  color: #888;
  margin-top: 4px;
  font-size: 12px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--hijau);
}

/* Small admin buttons */
.btn-sm {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}

.btn-sm:hover {
  opacity: 0.8;
}
.btn-hijau {
  background: var(--hijau);
  color: white;
}
.btn-orange {
  background: var(--orange);
  color: white;
}
.btn-merah {
  background: #dc3545;
  color: white;
}

/* Button size variations */
.btn-sm.lg {
  padding: 10px 18px;
}
.btn-sm.md {
  padding: 8px 16px;
}
.btn-sm.sm {
  padding: 7px 14px;
}

/* LOGIN ADMIN */
.login-page {
  background: linear-gradient(135deg, var(--hijau), var(--hijau-tua));
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-box {
  background: white;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 380px;
}

.login-box h1 {
  color: var(--hijau);
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 5px;
}

.login-icon {
  text-align: center;
  margin-bottom: 15px;
}

.login-icon svg {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  display: block;
}

.login-box p {
  text-align: center;
  color: #888;
  margin-bottom: 25px;
  font-size: 14px;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delay for multiple elements */
.reveal:nth-child(1) {
  transition-delay: 0s;
}
.reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal:nth-child(3) {
  transition-delay: 0.2s;
}
.reveal:nth-child(4) {
  transition-delay: 0.3s;
}
.reveal:nth-child(n + 5) {
  transition-delay: 0.4s;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 20px;
    flex-wrap: wrap;
  }

  .nav-left {
    gap: 6px;
    font-size: 14px;
  }

  .logo-navbar {
    height: 35px;
    width: 35px;
  }

  .nav-right {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    gap: 12px;
  }

  .nav-right.open {
    display: flex;
  }

  .nav-right a {
    font-size: 13px;
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    background: #f9f9f9;
    margin-top: 6px;
  }

  .dropdown.active .dropdown-menu {
    display: flex;
    flex-direction: column;
  }

  .hamburger {
    display: block;
  }

  .hero {
    height: 80vh;
  }
  .hero-text h1 {
    font-size: 32px;
  }
  .hero-kecil {
    font-size: 16px;
  }

  .pimpinan,
  .unit-usaha,
  .kontak {
    padding: 30px 20px;
  }

  .visi-misi {
    padding: 40px 20px;
  }
  .visi-misi-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .visi-box,
  .misi-box {
    padding: 20px;
  }

  .reservasi-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
}
