/* =============================================
   Pluto Restaurant — Shared Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: #0B0B0F; color: #C8C3BA; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* === Custom Scrollbar === */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #0B0B0F; }
::-webkit-scrollbar-thumb { background: #2A2A3A; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #C9A871; }

/* === Typography === */
.font-display { font-family: 'Playfair Display', serif !important; }
.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #C9A871;
  font-weight: 500;
}

/* === Navigation === */
#navbar { transition: background 0.5s ease, border-color 0.5s ease, padding 0.5s ease; }
.nav-scrolled {
  background: rgba(11, 11, 15, 0.97) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid #232331 !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

/* Nav link hover underline */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #C9A871;
  transition: width 0.35s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* === Buttons === */
.btn-gold {
  display: inline-block;
  background: #C9A871;
  color: #0B0B0F;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  padding: 15px 36px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-gold:hover {
  background: #E5C98A;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 113, 0.25);
}

.btn-outline {
  display: inline-block;
  border: 1px solid #C9A871;
  color: #C9A871;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  padding: 15px 36px;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: #C9A871;
  color: #0B0B0F;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 113, 0.2);
}

/* === Gold Decorations === */
.gold-line::after {
  content: '';
  display: block;
  width: 52px;
  height: 2px;
  background: linear-gradient(to right, #C9A871, #E5C98A);
  margin-top: 22px;
}
.gold-line-center::after { margin-left: auto; margin-right: auto; }

.divider-gold {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 168, 113, 0.5), transparent);
}

/* === Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.from-left { transform: translateX(-28px); }
.fade-in.from-left.visible { transform: translateX(0); }
.fade-in.from-right { transform: translateX(28px); }
.fade-in.from-right.visible { transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }

/* Scroll bounce */
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
.scroll-bounce { animation: scrollBounce 2.2s ease-in-out infinite; }

/* Subtle float */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* === Hero === */
.hero-overlay {
  background: linear-gradient(
    108deg,
    rgba(11, 11, 15, 0.98) 0%,
    rgba(11, 11, 15, 0.92) 38%,
    rgba(11, 11, 15, 0.65) 62%,
    rgba(11, 11, 15, 0.3) 100%
  );
}
.hero-overlay-center {
  background: linear-gradient(to bottom, rgba(11,11,15,0.7) 0%, rgba(11,11,15,0.85) 100%);
}

/* === Cards === */
.menu-card {
  border: 1px solid #232331;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, #C9A871, #E5C98A);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.menu-card:hover {
  border-color: rgba(201, 168, 113, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}
.menu-card:hover::before { transform: scaleX(1); }

/* === Menu Item Rows === */
.item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(35, 35, 49, 0.8);
  transition: padding-left 0.3s ease;
}
.item-row:last-child { border-bottom: none; }
.item-row:hover { padding-left: 6px; }
.item-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: #F0EBE0;
  margin-bottom: 6px;
}
.item-sub {
  font-size: 0.78rem;
  font-style: italic;
  color: #C9A871;
  margin-bottom: 4px;
}
.item-desc { font-size: 0.82rem; color: #75758A; line-height: 1.55; }
.item-price {
  color: #C9A871;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
}
.item-price-small { font-size: 0.78rem; color: #75758A; }

/* === Tabs === */
.tabs-container {
  position: sticky;
  top: 60px;
  z-index: 40;
  background: #111117;
  border-bottom: 1px solid #232331;
}
.tab-scroll { overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
.tab-scroll::-webkit-scrollbar { display: none; }
.tab-list { display: flex; min-width: max-content; }

.tab-btn {
  position: relative;
  padding: 16px 22px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: #75758A;
  cursor: pointer;
  transition: color 0.3s ease;
  border: none;
  background: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C9A871;
  transition: width 0.3s ease;
}
.tab-btn:hover { color: #C8C3BA; }
.tab-btn:hover::after { width: 100%; }
.tab-btn.active { color: #C9A871; }
.tab-btn.active::after { width: 100%; }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeTab 0.35s ease; }
@keyframes fadeTab { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* === Gallery === */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #18181F;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 15, 0.45);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-zoom-icon {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(201, 168, 113, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C9A871;
  transform: scale(0.7);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-zoom-icon { transform: scale(1); }

/* === Lightbox === */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 8, 0.97);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#lightbox.open { display: flex; }
#lightbox-img {
  max-width: min(90vw, 900px);
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid rgba(201, 168, 113, 0.2);
}
#lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(201, 168, 113, 0.6);
  text-transform: uppercase;
}
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(201, 168, 113, 0.1);
  border: 1px solid rgba(201, 168, 113, 0.3);
  color: #C9A871;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lb-btn:hover { background: rgba(201, 168, 113, 0.25); }
#lb-prev { left: max(20px, 2vw); }
#lb-next { right: max(20px, 2vw); }
#lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #C8C3BA;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  transition: color 0.3s;
  padding: 8px;
}
#lb-close:hover { color: #C9A871; }

/* === Pattern texture === */
.dot-pattern {
  background-image: radial-gradient(rgba(201, 168, 113, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* === Platter cards === */
.platter-card {
  border: 1px solid #232331;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.platter-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, #C9A871, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.platter-card:hover { border-color: rgba(201,168,113,0.4); transform: translateY(-3px); }
.platter-card:hover::after { transform: scaleX(1); }

/* === Page hero === */
.page-hero {
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}

/* === Spirits table === */
.spirits-table { width: 100%; border-collapse: collapse; }
.spirits-table th {
  text-align: left;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C9A871;
  padding: 12px 0;
  border-bottom: 1px solid #232331;
  font-weight: 500;
}
.spirits-table th:not(:first-child) { text-align: right; }
.spirits-table td {
  padding: 14px 0;
  border-bottom: 1px solid rgba(35, 35, 49, 0.5);
  font-size: 0.88rem;
  color: #C8C3BA;
  vertical-align: top;
}
.spirits-table td:not(:first-child) { text-align: right; color: #C9A871; font-weight: 600; }
.spirits-table tr:last-child td { border-bottom: none; }
.spirits-table tr:hover td { background: rgba(201, 168, 113, 0.02); }
.spirits-table td:first-child { color: #F0EBE0; }

/* === Footer === */
footer { background: #0D0D12; }

/* === About values === */
.value-card {
  padding: 36px 28px;
  border: 1px solid #232331;
  position: relative;
  transition: border-color 0.4s, transform 0.4s;
}
.value-card:hover { border-color: rgba(201,168,113,0.4); transform: translateY(-4px); }
.value-num {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(201, 168, 113, 0.12);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
  user-select: none;
}

/* === Menu hub cards === */
.hub-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 40px;
  transition: transform 0.5s ease;
}
.hub-card:hover { transform: scale(1.01); }
.hub-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,11,15,0.95) 0%, rgba(11,11,15,0.6) 50%, rgba(11,11,15,0.2) 100%);
  transition: background 0.5s ease;
}
.hub-card:hover .hub-card-overlay {
  background: linear-gradient(to top, rgba(11,11,15,0.98) 0%, rgba(11,11,15,0.75) 50%, rgba(11,11,15,0.35) 100%);
}

/* === Price range display === */
.price-range { color: #C9A871; font-weight: 600; font-size: 0.88rem; white-space: nowrap; flex-shrink: 0; }
.price-label { font-size: 0.6rem; color: #75758A; letter-spacing: 0.1em; text-transform: uppercase; display: block; }

/* === Extra toppings grid === */
.toppings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.topping-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #75758A;
  padding: 6px 0;
  border-bottom: 1px solid rgba(35,35,49,0.5);
}
.topping-item span:last-child { color: #C9A871; font-weight: 500; }

/* === Responsive === */
@media (max-width: 768px) {
  .hub-card { min-height: 360px; padding: 32px 28px; }
  #lb-prev { left: 10px; }
  #lb-next { right: 10px; }
  .lb-btn { width: 40px; height: 40px; }
}
