/* =========================
   GLOBAL FIX (NO LEFT DRIFT)
========================= */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  touch-action: pan-y;
}

/* =========================
   GLASS UI
========================= */
.glass-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 32px;
}

/* =========================
   NAV PILLS (USED BY NAVBAR)
========================= */
.nav-pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-pill:hover,
.nav-pill.active {
  border-color: #d4af37;
  box-shadow: 0 0 12px rgba(212,175,55,0.7);
  color: #d4af37;
}

/* =========================
   GALLERY (HORIZONTAL SCROLL)
========================= */
.gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.gallery-img {
  height: 180px;
  width: 260px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-img:hover {
    transform: scale(1.06);
  }
}

/* =========================
   SCROLLBAR (GALLERY ONLY)
========================= */
.gallery-track::-webkit-scrollbar {
  height: 6px;
}
.gallery-track::-webkit-scrollbar-thumb {
  background: rgba(212,175,55,0.6);
  border-radius: 10px;
}

/* =========================
   MOBILE REFINEMENT
========================= */
@media (max-width: 768px) {

  .glass-box {
    padding: 20px;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.25;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.05rem;
  }

  p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .nav-pill {
    font-size: 13px;
    padding: 7px 16px;
  }

}