:root {
  --bg: #0b0b10;
  --bg-soft: #101018;
  --panel: #17171f;
  --panel-2: #1d1d28;
  --border: #2a2a38;
  --border-gold: #4a3b16;
  --gold: #d4af37;
  --gold-2: #f5d67b;
  --gold-3: #a8852a;
  --text: #eae7de;
  --muted: #9a97a6;
  --font-serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { overflow-x: clip; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(1100px 480px at 50% -140px, rgba(212, 175, 55, 0.10), transparent 65%),
    radial-gradient(900px 420px at 90% 0%, rgba(212, 175, 55, 0.05), transparent 60%),
    var(--bg);
  line-height: 1.55;
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 72px 20px 44px;
}

.kicker {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 500;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .tagline {
  margin: 14px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Filter tabs ---------- */

.filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px 16px 34px;
}

.filter-btn {
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.filter-btn span {
  display: inline-block;
  min-width: 22px;
  margin-left: 7px;
  padding: 0 6px;
  font-size: 12px;
  line-height: 19px;
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--muted);
}

.filter-btn:hover { border-color: var(--border-gold); }

.filter-btn.active {
  color: #1a1406;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-color: var(--gold);
  font-weight: 600;
}

.filter-btn.active span { background: rgba(0, 0, 0, 0.16); color: #1a1406; }

/* ---------- Cards ---------- */

main { max-width: 1200px; margin: 0 auto; padding: 0 20px 60px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.hotel-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.hotel-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.card-link { display: block; text-decoration: none; color: inherit; }

.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hotel-card:hover .card-media img { transform: scale(1.06); }

.card-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(8, 8, 12, 0.72);
  color: var(--gold-2);
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(4px);
}

.card-body { padding: 14px 16px 16px; }

.card-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }

.card-name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.card-loc {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--gold);
}

/* ---------- Badges ---------- */

.badge,
.star,
.count {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border);
}

.badge {
  color: var(--gold-2);
  border-color: var(--border-gold);
  background: rgba(212, 175, 55, 0.08);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}

.star { color: var(--muted); }

.count { color: var(--muted); }

/* ---------- Galleries ---------- */

#galleries { margin-top: 64px; }

.hotel {
  margin: 0 0 52px;
  animation: fadeUp 0.4s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hotel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.hotel-title h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hotel-loc {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.hotel-old {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.hotel-badges { display: flex; flex-wrap: wrap; gap: 8px; }

.map-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: var(--panel-2);
  margin-bottom: 18px;
}

.map-frame {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  filter: grayscale(12%) contrast(1.02);
}

.map-link {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  text-decoration: none;
  color: #1a1406;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.map-link:hover { filter: brightness(1.06); }

@media (max-width: 640px) {
  .map-frame { height: 200px; }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.g-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel-2);
  transition: border-color 0.2s ease;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.g-item:hover {
  border-color: var(--border-gold);
}

.g-item:hover img { transform: scale(1.05); }

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 26px 20px 40px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.home-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.home-link:hover { color: var(--gold-2); }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 10, 0.94);
  backdrop-filter: blur(6px);
}

.lb-stage {
  margin: 0;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lb-img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-gold);
  object-fit: contain;
}

#lb-caption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--gold-2);
  letter-spacing: 0.03em;
}

.lb-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 34px;
  line-height: 1;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.85;
}

.lb-close:hover { opacity: 1; color: var(--gold-2); }

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text);
  background: rgba(23, 23, 31, 0.75);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s, background 0.2s;
}

.lb-nav:hover { opacity: 1; background: var(--panel-2); }

.lb-prev { left: 20px; }
.lb-next { right: 20px; }

@media (max-width: 640px) {
  .lb-nav { width: 42px; height: 42px; font-size: 18px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .hero { padding-top: 48px; }
}

/* ---------- Top bar / nav ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 11, 16, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: 1.3rem;
}

.brand-name {
  white-space: nowrap;
}

.brand-logo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
}

.brand-name span { color: var(--gold); }

/* Toggle button: always visible, opens the pop-up menu */

.top-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--border-gold);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 50px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.top-nav-toggle:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.top-nav-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.top-nav-bars span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-nav-toggle.open .top-nav-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.top-nav-toggle.open .top-nav-bars span:nth-child(2) { opacity: 0; }
.top-nav-toggle.open .top-nav-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Pop-up menu: slides in from the right on every screen size */

.top-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 96px 24px 40px;
  background: var(--bg-soft);
  border-left: 1px solid var(--border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s;
  z-index: 999;
  overflow-y: auto;
}

.top-nav.open {
  transform: translateX(0);
  visibility: visible;
}

.top-nav a {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 12px 14px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.top-nav a:hover {
  background: var(--panel);
  color: var(--gold-2);
}

.top-nav .top-nav-cta {
  margin-top: 8px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1406;
  padding: 12px 14px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
}

.top-nav .top-nav-cta:hover {
  background: var(--gold-2);
  color: #1a1406;
}

/* Medium screens: slim the bar down */
@media (max-width: 1100px) {
  .topbar-inner { padding: 12px 18px; }
  .brand { font-size: 1.15rem; gap: 10px; }
  .brand-logo { width: 46px; height: 46px; }
}

/* Small phones: shrink the brand so nothing overflows */
@media (max-width: 400px) {
  .topbar-inner { padding: 10px 14px; gap: 8px; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand-logo { width: 40px; height: 40px; }
  .top-nav-toggle { padding: 8px 12px; }
  .top-nav-toggle-label { display: none; }
}
