:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --primary: #8b6b32;
  --primary-dark: #6f5528;
  --line: #e2e8f0;
  --radius: 1rem;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section-pad {
  padding: 5rem 0;
}

.bg-soft {
  background: #f1f5f9;
}

.kicker {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, #d4b26a, #8b6b32);
  color: #fff;
}

.brand strong {
  display: block;
  line-height: 1;
}

.brand small {
  display: block;
  color: #cbd5e1;
  margin-top: 0.2rem;
  font-size: 0.72rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.nav a:hover {
  color: #fff;
}

.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #a88444, #7a5f2f);
  color: #fff;
  font-weight: 600;
  padding: 0.82rem 1.1rem;
  border-radius: 0.7rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-sm {
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
}

.btn-ghost {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid color-mix(in srgb, var(--primary) 45%, #fff);
  box-shadow: none;
}

.btn-admin {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: grid;
  align-items: center;
  background-image: url("../images/home-hero.jpeg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.35));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  margin: 0 0 0.8rem;
  line-height: 1.07;
}

.hero p {
  color: #e2e8f0;
  line-height: 1.65;
}

.hero-cta {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.86rem;
  color: #cbd5e1;
}

.grid {
  display: grid;
  gap: 1.1rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body {
  padding: 1rem 1rem 1.1rem;
}

.card h3 {
  margin-top: 0;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.55;
}

.branch ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.branch,
.room {
  height: 100%;
}

.branch {
  display: flex;
  flex-direction: column;
}

.branch .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.branch .card-body .btn {
  align-self: flex-start;
  margin-top: auto;
}

.room {
  padding: 1rem;
}

.room-photo {
  width: 100%;
  height: 175px;
  border-radius: 0.7rem;
  object-fit: cover;
  margin-bottom: 0.85rem;
  background: #e2e8f0;
}

.price {
  color: var(--primary-dark);
}

.note {
  color: #64748b;
  font-size: 0.92rem;
  margin-top: 0.8rem;
}

.menu-controls {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  font-weight: 600;
}

.chip.active {
  background: #1e293b;
  border-color: #1e293b;
  color: #fff;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.menu-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.9rem;
}

.menu-item h4 {
  margin: 0;
  font-size: 1rem;
}

.menu-item .price {
  margin-top: 0.3rem;
  display: inline-block;
  font-weight: 700;
}

.menu-item .cat {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.amenity {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-grid img {
  border-radius: 0.8rem;
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.qr-card {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  text-align: center;
}

.qr-card img {
  width: min(220px, 72vw);
  aspect-ratio: 1;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.65rem;
}

.qr-card h3 {
  margin: 0;
}

.booking {
  background: #0b1220;
  color: #fff;
}

.booking .section-head h2,
.booking .kicker {
  color: #fff;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.booking-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--ink);
  padding: 0.72rem 0.78rem;
  outline: none;
}

.booking .booking-form label {
  color: #cbd5e1;
}

.booking .booking-form input,
.booking .booking-form select,
.booking .booking-form textarea {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.booking-form select option {
  color: #111827;
}

.booking-form .full {
  grid-column: 1 / -1;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.contact-grid .card {
  padding: 1rem;
}

.footer {
  background: #020617;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-wrap {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.muted {
  color: #64748b;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: 0.6rem;
  padding: 0.5rem;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.55s ease;
}

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

@media (max-width: 1000px) {
  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .cards-3,
  .contact-grid,
  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .menu-btn {
    display: block;
  }

  .nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.9rem 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.open {
    display: flex;
  }
}

@media (max-width: 520px) {
  .section-pad {
    padding: 3.7rem 0;
  }

  .hero-meta {
    gap: 0.65rem;
    flex-direction: column;
  }

  .menu-grid,
  .gallery-grid,
  .cards-4 {
    grid-template-columns: 1fr;
  }
}
