/* Shakti Fine Dining - Custom Typography & Enhancements */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary-dark: #06101e;
  --color-primary-navy: #0a192f;
  --color-primary-slate: #13233c;
  --color-gold: #c5a880;
  --color-gold-light: #e5c595;
  --color-gold-dark: #9e825a;
  --color-cream: #fdfbf7;
  --color-cream-soft: #f4efe6;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: clip;
}

body {
  background-color: var(--color-primary-dark);
  color: #f1f5f9;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.light-theme {
  background-color: #ffffff;
  color: #1e293b;
}

.font-serif-display {
  font-family: 'Playfair Display', serif;
}

.font-serif-cormorant {
  font-family: 'Cormorant Garamond', serif;
}

.font-sans-body {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Elegant gold gradient text */
.text-gold-gradient {
  background: linear-gradient(135deg, #f7e6ce 0%, #c5a880 50%, #9e825a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold-dark-gradient {
  background: linear-gradient(135deg, #b88a44 0%, #8c6527 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtle gold border */
.border-gold-subtle {
  border-color: rgba(197, 168, 128, 0.25);
}

.border-gold-glow {
  border-color: rgba(197, 168, 128, 0.5);
  box-shadow: 0 0 15px rgba(197, 168, 128, 0.15);
}

/* Glassmorphism panel */
.glass-panel-dark {
  background: rgba(10, 25, 47, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 168, 128, 0.15);
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 168, 128, 0.25);
  box-shadow: 0 10px 30px rgba(6, 16, 30, 0.06);
}

/* Gold Button Styles */
.btn-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #06101e;
  background: linear-gradient(135deg, #e5c595 0%, #c5a880 50%, #b8986c 100%);
  border: 1px solid rgba(229, 197, 149, 0.6);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(197, 168, 128, 0.25);
  cursor: pointer;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(197, 168, 128, 0.4);
  background: linear-gradient(135deg, #f7e6ce 0%, #d4af37 50%, #c5a880 100%);
}

.btn-gold-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5c595;
  background: transparent;
  border: 1px solid rgba(197, 168, 128, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-gold-outline:hover {
  background: rgba(197, 168, 128, 0.1);
  border-color: #e5c595;
  color: #fff;
  transform: translateY(-2px);
}

.btn-gold-light {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #06101e;
  background: linear-gradient(135deg, #e8cfab 0%, #c5a880 100%);
  border: 1px solid #b89464;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(184, 148, 100, 0.2);
  cursor: pointer;
}

.btn-gold-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 148, 100, 0.35);
  background: linear-gradient(135deg, #f2dec4 0%, #d4af37 100%);
}

.btn-gold-light-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8c6527;
  background: transparent;
  border: 1.5px solid #c5a880;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-gold-light-outline:hover {
  background: #c5a880;
  color: #06101e;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.25);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #06101e;
}
.light-theme::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #1e3557;
  border-radius: 4px;
}
.light-theme::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c5a880;
}

/* Hero Carousel animations */
.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.04);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* Image zoom effect in Masonry */
.masonry-img-wrapper {
  overflow: hidden;
  position: relative;
}

.masonry-img-wrapper img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.masonry-img-wrapper:hover img {
  transform: scale(1.06);
}

/* Category filter buttons */
.filter-btn {
  transition: all 0.3s ease;
  position: relative;
}

.filter-btn.active {
  background-color: #c5a880;
  color: #06101e;
  border-color: #c5a880;
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.light-theme .filter-btn {
  border-color: #e2e8f0;
  color: #475569;
  background-color: #ffffff;
}

.light-theme .filter-btn:hover {
  border-color: #c5a880;
  color: #06101e;
}

.light-theme .filter-btn.active {
  background-color: #06101e;
  color: #ffffff;
  border-color: #06101e;
  box-shadow: 0 4px 15px rgba(6, 16, 30, 0.25);
}

/* Dish card transition */
.dish-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, opacity 0.4s ease;
}

.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(197, 168, 128, 0.12);
}

.light-theme .dish-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.light-theme .dish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(6, 16, 30, 0.08), 0 0 15px rgba(197, 168, 128, 0.2);
  border-color: rgba(197, 168, 128, 0.5);
}

/* Version switcher badge */
.theme-switch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

/* ==========================================================================
   Home Page 3: Menu Signature Edition (Indigo & Alabaster Two-Tone Motif)
   ========================================================================== */
:root {
  --color-shakti-indigo: #0e2038;
  --color-shakti-indigo-dark: #091527;
  --color-shakti-indigo-accent: #173359;
  --color-shakti-gold: #c5a880;
  --color-shakti-gold-accent: #dfc28e;
  --color-shakti-alabaster: #f8fafc;
  --color-shakti-cream: #f4efe6;
}

.bg-shakti-indigo {
  background-color: var(--color-shakti-indigo);
}

.bg-shakti-indigo-dark {
  background-color: var(--color-shakti-indigo-dark);
}

/* Authentic textured deep indigo motif from restaurant menu */
.menu-indigo-texture {
  background: radial-gradient(circle at 50% 0%, #162f52 0%, #0d1e34 70%, #081423 100%);
  position: relative;
}

.menu-indigo-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

/* Two-Tone Dish Card: Upper Indigo & Lower Alabaster */
.menu-two-tone-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px -5px rgba(10, 24, 45, 0.08), 0 0 0 1px rgba(14, 32, 56, 0.06);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.menu-two-tone-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(10, 24, 45, 0.18), 0 0 0 1px rgba(197, 168, 128, 0.4);
}

.menu-two-tone-card .card-head {
  background: linear-gradient(135deg, #0e2038 0%, #152d4e 100%);
  position: relative;
}

/* Menu Scan Thumbnail item */
.menu-scan-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(10, 24, 45, 0.12);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid rgba(197, 168, 128, 0.2);
}

.menu-scan-thumb:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 45px rgba(10, 24, 45, 0.22);
  border-color: rgba(197, 168, 128, 0.7);
}

/* Lightbox Modal */
.menu-lightbox-active {
  overflow: hidden !important;
}

/* Badge for Breakfast hours */
.breakfast-badge {
  background: linear-gradient(135deg, #dfc28e 0%, #c5a880 100%);
  color: #091527;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(197, 168, 128, 0.35);
}

/* Radial Shakti Flower Icon spinning subtly on hover */
.shakti-flower-spin {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.group:hover .shakti-flower-spin {
  transform: rotate(45deg);
}

/* ==========================================================================
   3D FLIPBOOK SECTION STYLES
   ========================================================================== */
.flipbook-stage {
  position: relative;
  background: radial-gradient(circle at 50% 45%, #132745 0%, #091527 65%, #050d18 100%);
  perspective: 2500px;
}

.flipbook-stage::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  max-width: 90vw;
  height: 550px;
  background: radial-gradient(ellipse at center, rgba(197, 168, 128, 0.12) 0%, rgba(197, 168, 128, 0.03) 50%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.flipbook-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
  max-height: 80vh;
  margin: 0 auto;
  user-select: none;
}

.flipbook-book {
  position: relative;
  margin: 0 auto;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 40px rgba(197, 168, 128, 0.08);
  border-radius: 6px;
  transition: box-shadow 0.5s ease;
}

/* Page styles */
.flipbook-page {
  background-color: #0b182b;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}

.flipbook-page-content {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #091527;
}

.flipbook-page-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* Spine Shadow Overlay when book is open in spread */
.flipbook-page-spine-left {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 35px;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.12) 60%, transparent 100%);
  pointer-events: none;
  z-index: 5;
}

.flipbook-page-spine-right {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 35px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.12) 60%, transparent 100%);
  pointer-events: none;
  z-index: 5;
}

/* Hardcover gold edging */
.flipbook-page[data-density="hard"] {
  border: 1px solid rgba(197, 168, 128, 0.4);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Flipbook Toolbar */
.flipbook-toolbar {
  background: rgba(14, 32, 56, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 168, 128, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(197, 168, 128, 0.08);
}

.flipbook-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 168, 128, 0.2);
  color: #f8fafc;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.flipbook-btn:hover {
  background: rgba(197, 168, 128, 0.2);
  border-color: rgba(197, 168, 128, 0.6);
  color: #dfc28e;
  transform: translateY(-1px);
}

.flipbook-btn:active {
  transform: translateY(0);
}

.flipbook-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Category Quick Jump Pills */
.flipbook-cat-tab {
  white-space: nowrap;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #cbd5e1;
  background: rgba(14, 32, 56, 0.7);
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-radius: 9999px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.flipbook-cat-tab:hover {
  color: #dfc28e;
  border-color: rgba(197, 168, 128, 0.5);
  background: rgba(197, 168, 128, 0.1);
}

.flipbook-cat-tab.active {
  background: linear-gradient(135deg, #c5a880 0%, #a88a60 100%);
  color: #091527;
  font-weight: 600;
  border-color: #dfc28e;
  box-shadow: 0 2px 10px rgba(197, 168, 128, 0.3);
}

/* Filmstrip Scrubber */
.flipbook-filmstrip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.75rem 0.5rem;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(197, 168, 128, 0.4) transparent;
}

.flipbook-filmstrip::-webkit-scrollbar {
  height: 5px;
}

.flipbook-filmstrip::-webkit-scrollbar-track {
  background: transparent;
}

.flipbook-filmstrip::-webkit-scrollbar-thumb {
  background: rgba(197, 168, 128, 0.35);
  border-radius: 4px;
}

.flipbook-thumb-item {
  flex-shrink: 0;
  width: 60px;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid rgba(197, 168, 128, 0.2);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  background: #091527;
}

.flipbook-thumb-item:hover {
  border-color: rgba(197, 168, 128, 0.7);
  transform: translateY(-3px) scale(1.05);
}

.flipbook-thumb-item.active {
  border-color: #dfc28e;
  box-shadow: 0 0 12px rgba(223, 194, 142, 0.5);
  transform: translateY(-2px) scale(1.04);
}

.flipbook-thumb-item.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid #dfc28e;
  pointer-events: none;
  border-radius: 4px;
}

/* Fullscreen Mode enhancements */
:fullscreen .flipbook-stage,
:-webkit-full-screen .flipbook-stage {
  padding-top: 2rem;
  padding-bottom: 2rem;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

:fullscreen .flipbook-wrapper,
:-webkit-full-screen .flipbook-wrapper {
  max-height: 82vh;
}

