:root {
  --forest-950: #0d1c12;
  --forest-900: #132418;
  --forest-800: #1b3324;
  --forest-700: #244530;
  --forest-600: #2f5a3c;
  --forest-500: #3d7a4a;
  --forest-400: #5a9a66;
  --gold-500: #e4c04a;
  --gold-600: #c9a227;
  --gold-100: #f8efc8;
  --cream: #f6f3ea;
  --cream-dark: #efe8d6;
  --ink: #1a211c;
  --muted: #5c675f;
  --line: rgba(27, 51, 36, 0.12);
  --card: #fffdf8;
  --shadow: 0 12px 40px rgba(19, 36, 24, 0.12);
  --radius: 18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", "Inter", sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: var(--ink) !important;
  font-weight: 400 !important;
  background: var(--cream);
}

h1, h2, h3, h4, .section-title, .bannerHeading .display-1 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.02em;
}

/* Top bar */
.site-topbar {
  background: linear-gradient(90deg, var(--forest-900), var(--forest-700)) !important;
  border-bottom: 3px solid var(--gold-500);
}
.site-topbar a {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  opacity: 0.92;
}
.site-topbar a:hover { opacity: 1; }
.site-topbar svg { vertical-align: -2px; }

/* Navigation */
.customNav {
  background: #fffdf8 !important;
  border: 0 !important;
  box-shadow: 0 8px 24px rgba(19, 36, 24, 0.08);
}
.customNav .navbar-brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  background: #fff;
}
.customNav .navbar-brand .fw-bold {
  color: var(--forest-800);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
}
.customNav .navbar-brand .small { color: var(--muted); }
.borderDarkGreen { border-color: rgba(36, 69, 48, 0.18) !important; }
.customNav a.nav-link.navTopLeft {
  color: var(--forest-800) !important;
  font-weight: 600;
  height: auto;
  min-height: 64px;
  border-bottom: 3px solid transparent;
  padding: 0 4px !important;
  gap: 6px;
}
.customNav a.nav-link.navTopLeft img {
  filter: saturate(0.8);
}
.customNav a.nav-link.navTopLeft:hover,
.customNav a.nav-link.navTopLeft.active {
  color: var(--forest-600) !important;
  border-color: var(--gold-500);
}

/* Hero */
#carouselExampleInterval {
  isolation: isolate;
}
#carouselExampleInterval .carousel-inner { position: relative; }
#carouselExampleInterval .mainBannerImg {
  height: 620px;
  filter: saturate(1.05) contrast(1.05);
}
#carouselExampleInterval::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13, 28, 18, 0.72) 0%, rgba(13, 28, 18, 0.28) 58%, rgba(13, 28, 18, 0.55) 100%),
    linear-gradient(180deg, rgba(13, 28, 18, 0.15) 0%, rgba(13, 28, 18, 0.45) 100%);
}
#carouselExampleInterval .carousel-control-prev,
#carouselExampleInterval .carousel-control-next { z-index: 4; width: 56px; }
#carouselExampleInterval .bannerHeading {
  z-index: 3;
  top: 52% !important;
}
.bannerHeading .display-1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.05;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  max-width: 14ch;
}
.hero-kicker {
  display: inline-block;
  color: var(--gold-500);
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.yelloBtn {
  background: var(--gold-500) !important;
  color: var(--forest-900) !important;
  border-radius: 999px !important;
  padding: 12px 26px;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.28);
}
.yelloBtn:hover { background: var(--gold-600) !important; }
.bannerLightBtn {
  border-radius: 999px !important;
  padding: 11px 24px;
  backdrop-filter: blur(6px);
}
.noticBoard {
  max-width: 100%;
  background: rgba(255, 253, 248, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.noticBoard .fs-2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem !important;
}
.noticBoard a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.noticBoard a:hover { color: var(--gold-100); }

/* Sections */
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--forest-800);
  position: relative;
  display: inline-block;
}
.section-title:after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 99px;
  background: var(--gold-500);
}
.about-panel {
  background:
    linear-gradient(135deg, rgba(19, 36, 24, 0.92), rgba(36, 69, 48, 0.88)),
    url("../images/banner/banner_morning.jpg") center/cover !important;
  border: 0 !important;
  overflow: hidden;
  position: relative;
}
.about-panel h3 { font-family: "Fraunces", Georgia, serif; }
.about-stat {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.about-stat span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 10px 14px;
  min-width: 110px;
}
.about-stat b {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  color: var(--gold-500);
}

#services { background: #eef3ea !important; }
.ourPlaces {
  display: block;
  background: var(--card);
  border-radius: 20px;
  padding: 12px 12px 22px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ourPlaces:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(19, 36, 24, 0.16);
  color: var(--forest-800);
}
.ourPlaces h6 {
  margin-top: 4px;
  font-family: "Fraunces", Georgia, serif;
  text-transform: none;
  font-size: 1.05rem;
}
.ourPlaces .btnsm {
  border-radius: 999px;
  background: rgba(61, 122, 74, 0.1);
  border-color: var(--forest-500);
  color: var(--forest-700);
  padding: 6px 16px;
}
.ourPlaces .imagHover,
.ourPlaces .ratio { border-radius: 14px; overflow: hidden; }
.ourPlaces img { object-fit: cover; }

.customTabs.nav-tabs .nav-link {
  border: 0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--forest-800) !important;
  margin: 0 6px 10px 0;
  box-shadow: 0 2px 8px rgba(19, 36, 24, 0.06);
}
.customTabs.nav-tabs .nav-link.active {
  background: var(--forest-800) !important;
  color: #fff !important;
}
.tab-content {
  background: var(--card);
  border: 0 !important;
  border-radius: 20px !important;
  box-shadow: var(--shadow);
}

/* Forms & inner pages */
.form-control, .form-select {
  border-radius: 12px !important;
  border-color: #d7ddd6;
  padding: 0.65rem 0.9rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--forest-500);
  box-shadow: 0 0 0 0.2rem rgba(61, 122, 74, 0.15);
}
.btn-success {
  background: var(--forest-600) !important;
  border-color: var(--forest-600) !important;
  border-radius: 999px;
}
.btn-success:hover { background: var(--forest-800) !important; }

/* Login & inner pages */
.login-note li { margin-bottom: 10px; }
.innerPageCarousel { border-bottom: 4px solid var(--gold-500); }
.innerPageCarousel img { object-fit: cover; max-height: 360px; }
.innerleftSec iframe { max-width: 100%; border-radius: 16px; }
.bg-gray.bg-light { background: var(--cream) !important; }
.innerleftSec, .container .display-6 { color: var(--forest-800); }
.shadow-sm.border.rounded-3 { border-radius: 20px !important; box-shadow: var(--shadow) !important; }

/* Dashboard */
.dash-wrap { padding: 28px 0 56px; }
.dash-hero {
  background:
    linear-gradient(120deg, rgba(19, 36, 24, 0.92), rgba(47, 90, 60, 0.82)),
    url("../images/banner/tiger_sitabani.JPG") center/cover;
  color: #fff;
  border-radius: 24px;
  padding: 28px 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.dash-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 6px;
}
.dash-hero p { margin: 0; opacity: 0.85; }
.dash-role {
  background: var(--gold-500);
  color: var(--forest-900);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 8px 14px;
}
.dash-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  height: 100%;
  box-shadow: 0 8px 24px rgba(19, 36, 24, 0.06);
  transition: transform .2s ease;
}
.dash-card:hover { transform: translateY(-3px); }
.dash-card a { color: inherit; text-decoration: none; }
.dash-card .label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dash-card .value {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.2rem;
  color: var(--forest-800);
  line-height: 1.1;
  margin-top: 8px;
}
.dash-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: var(--gold-100);
  color: var(--forest-700);
}
.dash-panel {
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin-top: 24px;
}
.dash-panel h5,
.dash-panel h2 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--forest-800);
}
.dash-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  align-items: end;
}
.dash-filters .field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dash-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 14px;
  margin-top: 16px;
}
.dash-table th {
  background: var(--forest-800);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 12px 14px;
  border: 0;
}
.dash-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  vertical-align: middle;
}
.dash-table tr:last-child td { border-bottom: 0; }
.dash-table caption,
.dash-table .table-title,
.dash-table tr.section-row th {
  background: var(--cream-dark);
  color: var(--forest-800);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
  text-align: left;
}
.badge-ok, .badge-wait {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-ok { background: #d9f3de; color: #1b5e2a; }
.badge-wait { background: #fff1cc; color: #7a5b00; }
.btn-ghost {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--forest-800);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}
.btn-ghost.warn { background: var(--gold-600); color: #fff !important; }
.empty-state {
  text-align: center;
  padding: 40px 16px;
  color: var(--muted);
}
.gate-toggle {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
}
.gate-toggle input { display: none; }
.gate-toggle-ui {
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #c5cdc6;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background .2s ease;
}
.gate-toggle-ui:after {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform .2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.gate-toggle input:checked + .gate-toggle-ui { background: var(--forest-600); }
.gate-toggle input:checked + .gate-toggle-ui:after { transform: translateX(20px); }
.gate-price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px 14px;
}

/* Footer */
.site-footer {
  background: var(--forest-950);
  color: #d7e2d8;
  padding: 42px 0 18px;
  margin-top: 20px;
}
.site-footer a { color: #f3ead0; text-decoration: none; }
.site-footer a:hover { color: var(--gold-500); }
.site-footer h6 {
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  margin-bottom: 12px;
}
.site-footer .brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  object-fit: cover;
}
.backToTop {
  background: var(--gold-500);
  color: var(--forest-900);
  border-radius: 12px 12px 0 0;
}

@media (max-width: 767px) {
  .bannerHeading {
    display: block !important;
    top: auto !important;
    bottom: 18px;
    transform: none !important;
    left: 0 !important;
  }
  .bannerHeading .display-1 { font-size: 1.7rem; max-width: none; }
  .noticBoard { display: none; }
  #carouselExampleInterval .mainBannerImg { height: 420px; }
  .customNav a.nav-link.navTopLeft {
    min-height: auto;
    border-radius: 10px;
  }
  .dash-hero { padding: 22px; }
}
