body {
  overflow-x: hidden;
}

@media (min-width: 1024px) {
  html {
    font-size: 80%;
  }
}

.nav-link {
  position: relative;
  font-size: 1.25rem;
  font-weight: 600;
  transition: color .2s ease;
}
.nav-link:hover {
  color: #F2CF8E;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 0;
  height: 1px;
  background: #D8A85D;
  transform: translateX(-50%);
  transition: width .2s ease;
}
.nav-link:hover::after {
  width: 22px;
}
.mobile-link {
  display: block;
  padding: 12px 14px;
  color: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 9px;
}
.hero-feature h3 {
  color: #fff;
  font-weight: 600;
}
.hero-feature p {
  color: rgba(255,255,255,.62);
  font-size: 12px;
  margin-top: 2px;
}
.section-shell {
  position: relative;
  padding: 76px 0;
}
.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #D8A85D;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .35em;
  font-size: 12px;
}
.section-kicker::before,
.section-kicker::after {
  content: "✧";
  letter-spacing: 0;
}
.section-title {
  margin-top: 16px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.035em;
  color: white;
  font-size: clamp(2.65rem, 4.6vw, 4.8rem);
}
.about-card {
  min-height: 160px;
  border: 1px solid rgba(216,168,93,.22);
  border-radius: 20px;
  background: rgba(0,0,0,.24);
  padding: 18px;
}
.about-icon {
  width: 28px;
  height: 28px;
  color: #F2CF8E;
}
.about-card h3 {
  margin-top: 16px;
  color: white;
  font-weight: 600;
  line-height: 1.25;
}
.about-card p {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.62);
  line-height: 1.55;
}
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 700;
  transition: all .25s ease;
}
.btn-primary {
  background: #F2CF8E;
  color: #1D1308;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #F7E8CC;
}
.btn-secondary {
  color: #F7E8CC;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.18);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(216,168,93,.7);
  color: #F2CF8E;
}
.scene-button {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  height: 82px;
  border: 1px solid rgba(216,168,93,.20);
  background: rgba(0,0,0,.25);
  transition: all .2s ease;
}
.scene-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  transition: all .2s ease;
}
.scene-button span {
  position: absolute;
  inset: auto 10px 10px 10px;
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 2px 12px #000;
}
.scene-button:hover,
.scene-button.active {
  border-color: rgba(242,207,142,.9);
  box-shadow: 0 0 0 1px rgba(242,207,142,.25), 0 18px 38px rgba(0,0,0,.24);
}
.scene-button:hover img,
.scene-button.active img {
  opacity: .88;
  transform: scale(1.05);
}
.menu-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  border-radius: 22px;
  border: 1px solid rgba(216,168,93,.25);
  background:
    radial-gradient(circle at 30% 20%, rgba(216,168,93,.22), transparent 30%),
    linear-gradient(135deg, rgba(58,45,26,.9), rgba(11,9,6,.95));
}
.menu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: url('../panorama/main-hall.png');
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.menu-card:nth-child(2)::before { background-image: url('../panorama/lounge.png'); }
.menu-card:nth-child(3)::before { background-image: url('../panorama/barista-counter.png'); }
.menu-card:nth-child(4)::before { background-image: url('../panorama/rice-field-deck.png'); }
.menu-card:hover::before {
  transform: scale(1.08);
}
.facility-card {
  border-left: 1px solid rgba(216,168,93,.23);
  padding-left: 18px;
}
.facility-card h4 {
  margin-top: 15px;
  font-weight: 700;
  color: white;
}
.facility-card p {
  margin-top: 8px;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  line-height: 1.6;
}
.gallery-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(216,168,93,.22);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.gallery-card:hover img {
  transform: scale(1.06);
}
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72), transparent 55%);
}
.gallery-card span {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  color: white;
}
.location-card {
  border: 1px solid rgba(216,168,93,.22);
  border-radius: 20px;
  background: rgba(0,0,0,.24);
  padding: 18px;
}
.location-card h3 {
  margin-top: 13px;
  font-weight: 700;
  color: white;
}
.location-card p {
  margin-top: 10px;
  color: rgba(255,255,255,.66);
  font-size: 14px;
  line-height: 1.7;
}
.location-img {
  height: 140px;
  width: 100%;
  object-fit: cover;
  border: 1px solid rgba(216,168,93,.22);
  border-radius: 22px;
}
.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: min(380px, calc(100vw - 32px));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(11, 16, 10, .84);
  padding: 11px 12px 11px 15px;
  color: #F7E8CC;
  box-shadow: 0 16px 45px rgba(0,0,0,.32);
  backdrop-filter: blur(16px);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.floating-wa:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 211, 102, .65);
  background: rgba(10, 24, 13, .92);
}
.floating-wa-text {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}
.floating-wa-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .28);
}
.floating-wa-icon svg {
  width: 29px;
  height: 29px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.floating-wa-tour {
  bottom: 108px;
  z-index: 6;
}

/* Pannellum refinements */
.pnlm-container {
  background: #050403;
  font-family: "Inter", sans-serif;
}
.pnlm-title-box,
.pnlm-author-box {
  display: none !important;
}
.pnlm-controls-container {
  filter: sepia(.25);
}
.custom-hotspot {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #F2CF8E;
  border: 3px solid rgba(255,255,255,.72);
  box-shadow: 0 12px 36px rgba(0,0,0,.45);
  position: relative;
}
.custom-hotspot::before {
  content: "➜";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #1D1308;
  font-weight: 900;
  font-size: 20px;
}
.pnlm-tooltip span {
  background: rgba(0,0,0,.78) !important;
  border: 1px solid rgba(242,207,142,.35);
  border-radius: 999px;
  padding: 8px 12px !important;
  color: #F7E8CC !important;
}

/* Full-screen virtual tour page */
.tour-page {
  height: 100vh;
  overflow: hidden;
}
.tour-shell {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background: #050403;
}
.tour-panorama {
  height: 100%;
  width: 100%;
}
.tour-page .pnlm-controls-container {
  top: 96px;
}
.tour-page .pnlm-hotspot-base {
  z-index: 3 !important;
}
.tour-shell::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55), transparent 24%, transparent 68%, rgba(0,0,0,.66)),
    linear-gradient(90deg, rgba(0,0,0,.44), transparent 34%, transparent 72%, rgba(0,0,0,.18));
  z-index: 2;
}
.tour-topbar,
.tour-guide {
  position: absolute;
  left: 24px;
  right: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tour-topbar {
  top: 24px;
}
.tour-back-btn,
.tour-scene-badge,
.tour-guide,
.tour-scene-btn {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(5,4,3,.56);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
}
.tour-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 16px;
  color: #F7E8CC;
  font-weight: 700;
  transition: all .2s ease;
}
.tour-back-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(242,207,142,.55);
  color: #F2CF8E;
}
.tour-scene-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  padding: 12px 16px;
  color: #fff;
  font-weight: 700;
}
.tour-guide {
  bottom: 24px;
  border-radius: 22px;
  padding: 16px;
}
.tour-guide-kicker {
  color: #F2CF8E;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.tour-guide h1 {
  margin-top: 4px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: .96;
  color: #fff;
}
.tour-guide-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.tour-scene-btn {
  border-radius: 999px;
  padding: 10px 13px;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 800;
  transition: all .2s ease;
}
.tour-scene-btn:hover,
.tour-scene-btn.active {
  border-color: rgba(242,207,142,.78);
  background: rgba(242,207,142,.92);
  color: #1D1308;
}
.tour-hotspot-wrap {
  cursor: pointer;
}
.tour-hotspot {
  width: 0;
  height: 0;
}
.tour-hotspot-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #F2CF8E;
  border: 3px solid rgba(255,255,255,.78);
  box-shadow: 0 12px 32px rgba(0,0,0,.42);
  transform: translate(-50%, -50%);
}
.tour-hotspot-dot::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  border: 1px solid rgba(242,207,142,.75);
  animation: tourPulse 1.8s ease-out infinite;
}
.tour-hotspot-dot::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: inherit;
  background: #1D1308;
}
.tour-hotspot-label {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: max-content;
  max-width: 220px;
  transform: translateX(-50%) translateY(8px);
  border: 1px solid rgba(242,207,142,.42);
  border-radius: 999px;
  background: rgba(5,4,3,.78);
  padding: 8px 12px;
  color: #F7E8CC;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: all .18s ease;
  white-space: nowrap;
  backdrop-filter: blur(14px);
}
.tour-hotspot:hover .tour-hotspot-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@keyframes tourPulse {
  0% {
    opacity: .8;
    transform: scale(.72);
  }
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

@media (max-width: 768px) {
  .section-shell {
    padding: 72px 0;
  }
  .tour-topbar,
  .tour-guide {
    left: 12px;
    right: 12px;
  }
  .tour-topbar {
    top: 12px;
  }
  .tour-guide {
    bottom: 12px;
    align-items: flex-start;
    flex-direction: column;
  }
  .tour-guide-actions {
    justify-content: flex-start;
  }
  .tour-back-btn,
  .tour-scene-badge {
    padding: 10px 12px;
  }
  .tour-scene-badge {
    max-width: 42vw;
  }
  .floating-wa {
    right: 12px;
    bottom: 12px;
    width: min(330px, calc(100vw - 24px));
    height: auto;
    padding: 9px 10px 9px 12px;
    border-radius: 16px;
  }
  .floating-wa-text {
    font-size: 11.5px;
  }
  .floating-wa-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
  .floating-wa-icon svg {
    width: 26px;
    height: 26px;
  }
  .floating-wa-tour {
    bottom: 138px;
  }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .hero-feature-panel {
    display: none !important;
  }
}
