/* Serena Hotels — Menu Gallery */

:root {
  --gold:       #b8955a;
  --gold-light: #d4af78;
  --bg:         #100d08;
  --header-h:   58px;
  --footer-h:   48px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  background: var(--bg);
  font-family: 'Josefin Sans', arial, sans-serif;
  font-weight: 300;
  overflow: hidden;
}

/* ── Header ────────────────────────────────────────── */

#nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 13, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 149, 90, 0.32);
}

.header-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.restaurant-name {
  font-size: clamp(12px, 3.2vw, 17px);
  letter-spacing: clamp(2px, 1vw, 6px);
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
}

.header-divider {
  display: block;
  width: 36px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(184, 149, 90, 0.55), transparent);
}

.hotel-name {
  font-size: clamp(8px, 1.8vw, 10px);
  letter-spacing: clamp(1.5px, 0.7vw, 3.5px);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
}

/* ── Fullscreen button (inside header) ─────────────── */

#fs-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  background: transparent;
  border: 1px solid rgba(184, 149, 90, 0.22);
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.45;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}

#fs-btn:hover { opacity: 1; }

#fs-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
}

/* ── Gallery ───────────────────────────────────────── */

#gallery {
  position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: var(--footer-h);
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active { opacity: 1; }

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* ── Navigation buttons ────────────────────────────── */

.nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 80px;
  background: rgba(16, 13, 8, 0.52);
  border: 1px solid rgba(184, 149, 90, 0.30);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.82;
  transition: opacity 0.22s, background 0.22s;
}

.nav-btn:hover { opacity: 1; background: rgba(184, 149, 90, 0.18); }
.nav-btn.prev  { left: 0;  border-radius: 0 6px 6px 0; }
.nav-btn.next  { right: 0; border-radius: 6px 0 0 6px; }

.chevron {
  display: block;
  width: 13px;
  height: 13px;
  border: solid var(--gold);
  border-width: 2px 2px 0 0;
}

.nav-btn.prev .chevron { transform: rotate(-135deg); margin-right: -4px; }
.nav-btn.next .chevron { transform: rotate(45deg);   margin-left:  -4px; }

/* ── Footer ────────────────────────────────────────── */

#nav-footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--footer-h);
  z-index: 6;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(16, 13, 8, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(184, 149, 90, 0.26);
}

#page-counter {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(212, 175, 120, 0.70);
  white-space: nowrap;
}

#page-dots {
  display: flex;
  gap: 9px;
  max-width: 60vw;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(184, 149, 90, 0.28);
  border: 1px solid rgba(184, 149, 90, 0.45);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  flex-shrink: 0;
}

.dot.active {
  background: var(--gold);
  border-color: var(--gold-light);
  transform: scale(1.35);
}

.dot:hover { background: rgba(184, 149, 90, 0.65); }

/* ── Swipe hint ────────────────────────────────────── */

#swipe-hint {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 7;
  color: #fff;
  font-size: 15px;
  letter-spacing: 1px;
  text-align: center;
  background: rgba(0, 0, 0, 0.55);
  padding: 14px 24px;
  border-radius: 10px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#swipe-hint.show { opacity: 1; }