/* ==========================================================================
   LINGAYAT MANE OOTA - Premium Luxury Design System
   Footer, Desktop Floating WhatsApp Button & Mobile Menu Drawer Styles
   ========================================================================== */

:root {
  --color-bg: #080808;
  --color-card: #141414;
  --color-gold: #D7B46A;
  --color-gold-light: #F4E4BC;
  --color-cream: #F8F4EA;
  --color-leaf: #5E7F4B;
  --color-brown: #7A5632;
  --color-text-main: #FFFFFF;
  --color-text-sub: #CFCFCF;
  
  --font-heading: 'Marcellus', 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) var(--color-bg);
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(215, 180, 106, 0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Typography Utility Classes */
.font-heading {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.text-gold {
  color: var(--color-gold);
}

.text-gold-light {
  color: var(--color-gold-light);
}

.text-cream {
  color: var(--color-cream);
}

.text-sub {
  color: var(--color-text-sub);
}

/* --------------------------------------------------------------------------
   2. Canvas Background & Mouse Spotlight
   -------------------------------------------------------------------------- */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

#spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(
    700px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(215, 180, 106, 0.09),
    transparent 80%
  );
  transition: opacity 0.3s ease;
}

/* --------------------------------------------------------------------------
   3. Custom Cursor
   -------------------------------------------------------------------------- */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--color-gold);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(215, 180, 106, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), border-color 0.3s;
}

body.hovering-clickable .custom-cursor-dot {
  width: 12px;
  height: 12px;
  background-color: #FFFFFF;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

body.hovering-clickable .custom-cursor-ring {
  width: 58px;
  height: 58px;
  border-color: var(--color-gold);
  background-color: rgba(215, 180, 106, 0.06);
}

@media (max-width: 1024px) {
  .custom-cursor-dot, .custom-cursor-ring {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   4. High-Contrast Luxury Fixed Navigation Bar
   -------------------------------------------------------------------------- */
#nav-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  max-width: 1240px;
  z-index: 99999;
  opacity: 1 !important;
  visibility: visible !important;
}

.nav-glass-container {
  background: rgba(14, 14, 14, 0.94) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(215, 180, 106, 0.4) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9), 0 0 25px rgba(215, 180, 106, 0.2) !important;
  border-radius: 100px !important;
  padding: 10px 24px !important;
}

.nav-link {
  color: #F8F4EA !important;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #D7B46A !important;
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.app-logo-img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: contrast(1.1) brightness(1.05);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   5. Mobile Navigation Drawer (Ultra-Premium Fixed Overlay)
   -------------------------------------------------------------------------- */
#mobile-menu-overlay {
  position: fixed;
  top: 5rem;
  left: 1rem;
  right: 1rem;
  z-index: 999999;
  background: rgba(12, 12, 12, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(215, 180, 106, 0.4);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(215, 180, 106, 0.25);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out-expo);
}

#mobile-menu-overlay.hidden {
  display: none !important;
}

.mobile-nav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(215, 180, 106, 0.15);
  border-radius: 16px;
  color: #F8F4EA;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.mobile-nav-card:hover, .mobile-nav-card:active {
  background: rgba(215, 180, 106, 0.12);
  border-color: rgba(215, 180, 106, 0.5);
  color: #D7B46A;
  transform: translateX(4px);
}

@media (min-width: 768px) {
  #mobile-menu-overlay {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   6. Glassmorphism & Round Hero Plate Hover Overlays Fix
   -------------------------------------------------------------------------- */
.hero-tilt-plate {
  border-radius: 50% !important;
  overflow: hidden !important;
}

.hero-tilt-plate .js-tilt-glare,
.hero-tilt-plate .js-tilt-glare-inner,
.hero-tilt-plate img {
  border-radius: 50% !important;
  overflow: hidden !important;
}

.glass-card {
  background: rgba(20, 20, 20, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(215, 180, 106, 0.2);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-card.popular-card {
  overflow: visible !important;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(215, 180, 106, 0.15),
    transparent
  );
  transition: left 0.8s ease;
  pointer-events: none;
}

.glass-card:hover::before {
  left: 100%;
}

.glass-card:hover {
  border-color: rgba(215, 180, 106, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(215, 180, 106, 0.2);
}

/* Gold Gradient Text */
.text-gradient-gold {
  background: linear-gradient(135deg, #F8F4EA 0%, #D7B46A 50%, #B89248 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-gold {
  background: linear-gradient(135deg, #D7B46A 0%, #B89248 100%);
}

/* --------------------------------------------------------------------------
   7. Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn-gold-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #080808;
  background: linear-gradient(135deg, #D7B46A 0%, #C49F53 100%);
  border-radius: 50px;
  overflow: hidden;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(215, 180, 106, 0.25);
  transition: all 0.4s var(--ease-out-expo);
  z-index: 10;
}

.btn-gold-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #FFF5D0 0%, #D7B46A 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.btn-gold-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(215, 180, 106, 0.4);
  color: #000;
}

.btn-gold-primary:hover::after {
  opacity: 1;
}

.btn-glass-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-cream);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(215, 180, 106, 0.3);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  z-index: 10;
}

.btn-glass-secondary:hover {
  background: rgba(215, 180, 106, 0.12);
  border-color: var(--color-gold);
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(215, 180, 106, 0.2);
}

/* --------------------------------------------------------------------------
   8. Dynamic Steam Animation
   -------------------------------------------------------------------------- */
.steam-container {
  position: absolute;
  top: 15%;
  left: 25%;
  width: 50%;
  height: 40%;
  pointer-events: none;
  z-index: 12;
  opacity: 0.6;
}

.steam-particle {
  position: absolute;
  bottom: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  filter: blur(12px);
  animation: floatSteam 4s infinite ease-out;
}

@keyframes floatSteam {
  0% {
    transform: translateY(0) scale(0.5) rotate(0deg);
    opacity: 0;
  }
  30% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-140px) scale(2.2) rotate(25deg);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   9. Preloader Screen & Mobile Bar
   -------------------------------------------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  background-color: #050505;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 5vw, 2.2rem);
  letter-spacing: min(0.12em, 2vw);
  background: linear-gradient(135deg, #F8F4EA 0%, #D7B46A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  max-width: 90vw;
  line-height: 1.3;
  animation: pulseGold 2s infinite ease-in-out;
}

@keyframes pulseGold {
  0%, 100% { opacity: 0.7; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.02); }
}

.loader-bar-bg {
  width: min(220px, 75vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--color-gold);
  transition: width 0.2s ease;
}

.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(12, 12, 12, 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(215, 180, 106, 0.25);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .mobile-bottom-bar {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   10. Floating Desktop WhatsApp Order Button (Right Bottom)
   -------------------------------------------------------------------------- */
#floating-whatsapp-btn {
  position: fixed;
  right: 2rem;
  bottom: 2.5rem;
  z-index: 99999;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4), 0 0 25px rgba(18, 140, 126, 0.3);
  backdrop-filter: blur(10px);
}

@media (max-width: 1023px) {
  #floating-whatsapp-btn {
    display: none !important;
  }
}
