@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #8c6c44;
  --primary-rgb: 140, 108, 68;
  --secondary-color: #6e5434;
  --bg-dark: #faf9f6;
  --bg-panel: #ffffff;
  --accent-gold: #8c6c44;
  --text-white: #141414;
  --text-light: #2e2e2e;
  --text-muted: #6e6e6e;
  --border-glow: rgba(140, 108, 68, 0.05);
  --radius-lg: 8px;
  --radius-md: 4px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-subheading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Base resets and defaults */
html, body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}
a:hover {
  color: var(--primary-color);
}

p {
  color: var(--text-light) !important;
  font-weight: 300;
  line-height: 1.7;
}

.text-muted {
  color: var(--text-muted) !important;
}

/* Luxury Preloader (Removed) */
.loader-wrapper {
  display: none !important;
}
.loader-wrapper.hidden {
  display: none !important;
}
.loader-logo {
  width: 140px;
  height: 140px;
  margin-bottom: 2rem;
  position: relative;
  animation: logoPulse 2.5s infinite ease-in-out;
}
.loader-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  padding: 5px;
}
.loader-spinner {
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 107, 0, 0.1);
  border-top: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--accent-gold);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -90px;
  margin-left: -90px;
  animation: spin 1.5s linear infinite;
}
.loader-progress {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-top: 1rem;
}
.loader-progress span {
  color: var(--primary-color);
}
.loader-text {
  font-family: var(--font-subheading);
  font-style: italic;
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.2)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(255, 107, 0, 0.6)); }
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-white);
}

.subheading {
  font-family: var(--font-subheading);
  font-style: italic;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-white) 30%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-fire {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.2);
}

/* Custom Navigation */
.navbar-custom,
.site-header {
  width: 100% !important;
  max-width: 100% !important;
  left: 0;
  right: 0;
}
.navbar-custom {
  background: transparent;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
  border-bottom: 1px solid transparent;
}
.navbar-custom.scrolled {
  background: rgba(9, 9, 9, 0.85);
  backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 107, 0, 0.1);
}
.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.navbar-brand-custom img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
  background: var(--bg-dark);
}
.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--text-white);
  line-height: 1;
}
.brand-tagline {
  font-size: 0.65rem;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}
.nav-link-custom {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
}
.nav-link-custom::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 1rem;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
}
.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  width: calc(100% - 2rem);
}
.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--primary-color) !important;
}

/* Minimalist Card Styles */
.glass-card {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.glass-card::before {
  display: none;
}
.glass-card:hover {
  border-color: rgba(197, 168, 128, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Premium Buttons - Minimal Redesign */
.btn-premium {
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  font-size: 0.85rem;
}
.btn-premium-primary {
  background: var(--primary-color);
  color: var(--bg-dark) !important;
}
.btn-premium-primary:hover {
  background: var(--text-white);
  color: var(--bg-dark) !important;
  transform: translateY(-2px);
}
.btn-premium-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-premium-outline:hover {
  background: var(--text-white);
  color: var(--bg-dark);
  border-color: var(--text-white);
  transform: translateY(-2px);
}
.btn-premium-gold {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}
.btn-premium-gold:hover {
  background: var(--primary-color);
  color: var(--bg-dark) !important;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-dark);
  overflow: hidden;
  z-index: 1;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}
.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.05);
}
.hero-slide.active {
  opacity: 0.35;
  transform: scale(1);
  animation: zoomAnimation 8s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, var(--bg-dark) 90%),
              linear-gradient(to bottom, transparent 60%, var(--bg-dark) 100%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}
.hero-title {
  font-size: clamp(2.5rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}
.hero-tagline {
  font-family: var(--font-subheading);
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--accent-gold);
  margin-bottom: 2.5rem;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

@keyframes zoomAnimation {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.15) translate(1%, -1%); }
}

/* Custom 3D Cards */
.card-3d-wrap {
  perspective: 1000px;
}
.card-3d {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 107, 0, 0.1);
  transition: var(--transition-smooth);
  transform-style: preserve-3d;
  background: var(--bg-panel);
}
.card-3d:hover {
  transform: translateY(-4px) !important;
  border-color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.card-3d-img-container {
  height: 250px;
  overflow: hidden;
  position: relative;
}
.card-3d-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-3d:hover .card-3d-img-container img {
  transform: scale(1.05);
}
.card-3d-body {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Custom Badges - Minimal */
.badge-custom {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3em 0.6rem;
  border-radius: 3px;
}
.badge-veg {
  background: transparent;
  color: #2ECC71;
  border: 1px solid rgba(46, 204, 113, 0.4);
}
.badge-spicy {
  background: transparent;
  color: #E74C3C;
  border: 1px solid rgba(231, 76, 60, 0.4);
}
.badge-popular {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid rgba(197, 168, 128, 0.4);
}

/* Steam Animation */
.steam-container {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.card-3d:hover .steam-container {
  opacity: 0.45;
}
.steam-particle {
  position: absolute;
  bottom: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  animation: riseSteam 2.5s infinite linear;
}
@keyframes riseSteam {
  0% { transform: translateY(0) scale(1) translateX(0); opacity: 0; }
  25% { opacity: 0.6; }
  50% { transform: translateY(-40px) scale(2) translateX(-5px); opacity: 0.3; }
  100% { transform: translateY(-90px) scale(3.5) translateX(10px); opacity: 0; }
}

/* Menu Page Styles - Minimal */
.menu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  position: sticky;
  top: 90px;
  z-index: 99;
  background: rgba(250, 249, 246, 0.95) !important; /* Soft light background */
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.08) !important; /* Soft dark border */
  padding: 0.8rem 1.5rem;
  margin-bottom: 3rem;
  margin-top: -1.5rem;
}
.menu-filter-btn {
  background: transparent;
  color: var(--text-light) !important; /* Force visible dark grey text */
  border: 1px solid rgba(0, 0, 0, 0.15) !important; /* Visible border */
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
}
.menu-filter-btn.active, .menu-filter-btn:hover {
  background: var(--primary-color) !important;
  color: #ffffff !important; /* High contrast white text on gold background */
  border-color: var(--primary-color) !important;
  box-shadow: none;
}

/* Contact Floating Elements */
.sticky-contact-bar {
  position: fixed;
  right: 1.8rem;
  bottom: 2.2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.sticky-contact-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white) !important;
  font-size: 1.4rem;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: rgba(18, 18, 18, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.sticky-contact-btn:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

/* WhatsApp Pulse Styling */
.sticky-contact-btn.whatsapp-btn {
  background: #25D366;
  border-color: #25D366;
}
.sticky-contact-btn.whatsapp-btn:hover {
  background: #20BA5A;
}
.whatsapp-pulse {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
  pointer-events: none;
  z-index: -1;
}

/* Instagram Styling */
.sticky-contact-btn.instagram-btn {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
}
.sticky-contact-btn.instagram-btn:hover {
  filter: brightness(1.15);
}

/* Call Button */
.sticky-contact-btn.call-btn {
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.sticky-contact-btn.call-btn:hover {
  background: var(--secondary-color);
}

/* Order Online Sticky Button Styling */
.sticky-contact-btn.order-btn {
  background: linear-gradient(135deg, #FF6B00, #C8102E);
  border-color: #FF6B00;
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.4);
}
.sticky-contact-btn.order-btn:hover {
  background: linear-gradient(135deg, #FF8533, #E60000);
  box-shadow: 0 15px 35px rgba(255, 107, 0, 0.6);
}
.order-pulse {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  animation: pulse-orange 2s infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes pulse-orange {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 107, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
  }
}

/* Tooltips */
.sticky-contact-btn .contact-tooltip {
  position: absolute;
  right: 75px;
  background: rgba(10, 10, 10, 0.95);
  color: var(--text-white);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 107, 0, 0.25);
  pointer-events: none;
}
.sticky-contact-btn:hover .contact-tooltip {
  opacity: 1;
  visibility: visible;
  right: 70px;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); transform: scale(0.98); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); transform: scale(1.03); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); transform: scale(0.98); }
}

/* Luxury Form Elements */
.luxury-input-group {
  position: relative;
  margin-bottom: 1.5rem;
}
.luxury-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 107, 0, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: var(--text-white);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}
.luxury-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
}
.luxury-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

/* Interactive Map and Footer */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 107, 0, 0.2);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  position: relative;
}
.map-iframe {
  width: 100%;
  height: 450px;
  border: 0;
  filter: grayscale(0.9) invert(0.92) contrast(1.1);
  transition: filter 0.5s ease;
}
.map-container:hover .map-iframe {
  filter: grayscale(0.2) invert(0.9) contrast(1.05);
}

.site-footer {
  background: #050505;
  border-top: 1px solid rgba(255, 107, 0, 0.1);
  padding: 6rem 0 2rem 0;
}
.footer-logo {
  max-width: 110px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
  margin-bottom: 1.5rem;
  background: var(--bg-dark);
}
.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}
.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background-color: var(--primary-color);
}
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links-list a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-links-list a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}
.footer-info-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Custom Masonry Lightbox */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10500;
  background: rgba(5, 5, 5, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.lightbox-modal.show {
  display: flex;
  opacity: 1;
}
.lightbox-content {
  position: relative;
  max-width: 85vw;
  max-height: 80vh;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 50px rgba(0,0,0,0.8);
}
.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: 0;
  color: var(--text-white);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.lightbox-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  color: var(--text-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  backdrop-filter: blur(5px);
}
.lightbox-nav:hover {
  background: var(--primary-color);
}
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

/* Custom cursor */
.custom-cursor {
  width: 25px;
  height: 25px;
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 11000;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  mix-blend-mode: difference;
}
.custom-cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 11001;
  transform: translate(-50%, -50%);
}
.custom-cursor.hovered {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 107, 0, 0.15);
  border-color: var(--accent-gold);
}

/* Animations reveals */
.reveal-text {
  overflow: hidden;
  position: relative;
}

/* Mobile Responsiveness for Sticky Contact Bar */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(9, 9, 9, 0.95);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 107, 0, 0.15);
    padding: 1.5rem;
    margin-top: 1rem;
  }
  .navbar-collapse .nav-link-custom {
    color: #ffffff !important;
  }
  .navbar-collapse .nav-link-custom:hover,
  .navbar-collapse .nav-link-custom.active {
    color: var(--primary-color) !important;
  }
  .menu-filters {
    top: 75px;
    padding: 0.75rem 1rem;
    border-radius: 20px;
  }
}

@media (max-width: 767.98px) {
  .sticky-contact-bar {
    right: 1.2rem;
    bottom: 1.5rem;
    gap: 0.8rem;
  }
  .sticky-contact-btn {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }
  .sticky-contact-btn .contact-tooltip {
    display: none; /* Hide tooltips on mobile/tablet to avoid screen clutter */
  }
  .lightbox-content {
    max-width: 95vw;
  }
  .lightbox-prev { left: 10px; top: auto; bottom: -60px; }
  .lightbox-next { right: 10px; top: auto; bottom: -60px; }
  .lightbox-close { top: -45px; right: 10px; }
}

/* Instagram Live Feed Hover Effects */
.insta-image-container img {
  transition: transform 0.5s ease;
}
.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
}
.instagram-post-card:hover .insta-overlay {
  opacity: 1;
}
.instagram-post-card:hover img {
  transform: scale(1.1);
}

/* Feature Icons in core principles */
.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--primary-color) !important;
  transition: var(--transition-smooth);
}
.card-3d:hover .feature-icon {
  background: var(--primary-color);
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
}

/* Instagram Horizontal Slider Styles */
.insta-slider-viewport {
  overflow: hidden;
  width: 100%;
}
.insta-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 20px;
}
.insta-slide {
  flex: 0 0 calc((100% - 40px) / 3);
  box-sizing: border-box;
}
@media (max-width: 991px) {
  .insta-slide {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}
@media (max-width: 575px) {
  .insta-slide {
    flex: 0 0 100%;
  }
}

.insta-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 50%;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
  backdrop-filter: blur(5px);
}
.insta-slider-nav:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
}
.insta-slider-nav.prev {
  left: 0;
}
.insta-slider-nav.next {
  right: 0;
}

/* Card Heading Visibility Fix */
.card-3d h1,
.card-3d h2,
.card-3d h3,
.card-3d h4,
.card-3d h5,
.card-3d h6 {
  color: var(--text-light) !important;
}

/* ==========================================================================
   3D Flipbook Modal & Book Layout Style Block
   ========================================================================== */
.flipbook-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.flipbook-modal.show {
  display: flex;
}
.flipbook-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(10px);
}
.flipbook-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.flipbook-close {
  position: absolute;
  top: -45px;
  right: 10px;
  background: none;
  border: none;
  color: #F5F5F5;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}
.flipbook-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.flipbook-wrapper-outer {
  width: 100%;
  height: calc(var(--book-height, 533px) * var(--book-scale, 1));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  margin: 1.5rem 0;
  transition: height 0.3s ease;
}
.flipbook-wrapper {
  width: var(--book-width, 400px);
  height: var(--book-height, 533px);
  position: relative;
  perspective: 1800px;
  transform: scale(var(--book-scale, 1));
  transform-origin: center center;
  transition: transform 0.3s ease;
}
.book {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}
.page {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
  cursor: pointer;
}
.page .front,
.page .back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  border-radius: 6px;
  overflow: hidden;
}
.page .front {
  background: #121212;
  z-index: 2;
  transform: rotateY(0deg);
}
.page .back {
  background: #121212;
  transform: rotateY(180deg);
}

.book-cover-content {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1f1f1f 0%, #0d0d0d 100%);
  border: 4px solid #b89047;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}
.book-cover-content.closing {
  border-color: var(--primary-color);
}

.page.flipped {
  transform: rotateY(-180deg);
}

.flipbook-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.flipbook-controls .btn-premium-outline {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}
.flipbook-controls .btn-premium-outline:hover {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: var(--primary-color) !important;
}

/* ==========================================================================
   Minimalist Light Mode Styling Overrides
   ========================================================================== */

/* Overrides for hardcoded dark background sections in HTML */
section.py-5[style*="background"],
section[style*="background-color: #090909"],
section[style*="background-color: #0e0e0e"],
section[style*="background: #0e0e0e"],
section[style*="background: linear-gradient"],
footer[style*="background"] {
  background: var(--bg-dark) !important;
  background-color: var(--bg-dark) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Force light color variables for standard typography */
body, p, span, li, a {
  color: var(--text-light);
}

h1, h2, h3, h4, h5, h6, .brand-title {
  color: var(--text-white) !important;
}

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

.text-white {
  color: var(--text-white) !important;
}

/* Lightbox controls must remain white on dark modal overlay */
.lightbox-modal .lightbox-close,
.lightbox-modal .lightbox-nav {
  color: #ffffff !important;
}

.text-muted, .footer-info-text {
  color: var(--text-muted) !important;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-white) 40%, var(--primary-color) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.subheading {
  color: var(--primary-color) !important;
}

/* Overlay transitions for background image sections */
.bg-black.bg-opacity-75,
.bg-black.bg-opacity-70,
.bg-black.bg-opacity-80,
.bg-black.bg-opacity-95,
section[style*="background"] .bg-black {
  background-color: rgba(250, 249, 246, 0.85) !important;
}

section[style*="background"] .text-white,
section[style*="background"] .text-light,
section[style*="background"] h1,
section[style*="background"] h2,
section[style*="background"] h3,
section[style*="background"] h4,
section[style*="background"] h5,
section[style*="background"] h6 {
  color: var(--text-white) !important;
}

section[style*="background"] p,
section[style*="background"] span {
  color: var(--text-light) !important;
}

/* Navbar compatibility */
.navbar-custom {
  background: rgba(250, 249, 246, 0.95) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding: 0.8rem 0 !important;
}

.navbar-custom.scrolled {
  background: rgba(250, 249, 246, 0.95) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.nav-link-custom {
  color: var(--text-light) !important;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--primary-color) !important;
}

.brand-title {
  color: var(--text-white) !important;
}

.navbar-toggler {
  color: var(--text-white) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Hero Section Overlay Mask */
.hero-overlay {
  background: rgba(250, 249, 246, 0.8) !important;
}

/* Luxury Input Field Overrides */
.luxury-input {
  background: var(--bg-panel) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: var(--text-white) !important;
}

.luxury-input:focus {
  background: var(--bg-panel) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 10px rgba(140, 108, 68, 0.15) !important;
}

.luxury-label {
  color: var(--text-muted) !important;
}

/* Footer redesign for light mode */
.site-footer {
  background: #f4f3ef !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  padding: 6rem 0 2rem 0;
}

.site-footer h4,
.site-footer p,
.site-footer a,
.site-footer span,
.site-footer li,
.site-footer .footer-links-list a,
.site-footer .footer-info-text {
  color: var(--text-light) !important;
}

.site-footer h4 {
  color: var(--text-white) !important;
}

.site-footer .footer-links-list a:hover {
  color: var(--primary-color) !important;
}

.site-footer border-top.border-secondary {
  border-color: rgba(0, 0, 0, 0.06) !important;
}

/* Maps Grayscale */
.map-iframe {
  filter: grayscale(0.9) contrast(1.05) !important;
}

.map-container:hover .map-iframe {
  filter: grayscale(0.2) contrast(1) !important;
}

/* Dynamic form success/error modal */
div[style*="position: fixed"][style*="inset: 0"] {
  background: rgba(250, 249, 246, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  webkit-backdrop-filter: blur(10px) !important;
}

/* Sticky Floating Contact Bar Tooltips */
.sticky-contact-btn {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: var(--text-white) !important;
}

.sticky-contact-btn.call-btn {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
}

.sticky-contact-btn.whatsapp-btn {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #ffffff !important;
}

.sticky-contact-btn .contact-tooltip {
  background: #ffffff !important;
  color: var(--text-white) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* ==========================================================================
   Hero Section Image Visibility & Legibility Rules
   ========================================================================== */

/* Home Page Slider - Increase photo opacity */
.hero-slide.active {
  opacity: 0.85 !important;
}

/* Home Page Hero Overlay - Light mask overlay for legibility of dark text */
.hero-overlay {
  background: rgba(250, 249, 246, 0.45) !important;
}

/* Inner Page Hero Sections - Remove background images & apply solid sand-cream background */
section.py-5.d-flex.align-items-center[style*="margin-top: 80px"] {
  background-image: none !important;
  background: #f4f3ef !important; /* Premium sand-cream color */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

section.py-5.d-flex.align-items-center[style*="margin-top: 80px"] h1,
section.py-5.d-flex.align-items-center[style*="margin-top: 80px"] h2,
section.py-5.d-flex.align-items-center[style*="margin-top: 80px"] h3,
section.py-5.d-flex.align-items-center[style*="margin-top: 80px"] p,
section.py-5.d-flex.align-items-center[style*="margin-top: 80px"] span,
section.py-5.d-flex.align-items-center[style*="margin-top: 80px"] a.btn-premium-outline,
section.py-5.d-flex.align-items-center[style*="margin-top: 80px"] .subheading {
  color: #141414 !important; /* Ensure highly visible dark text, no white text */
}

/* ==========================================================================
   Minimalist Split Hero Section Layout Styles
   ========================================================================== */

.hero-section-minimal {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-color: var(--bg-dark);
  overflow: hidden;
  margin-top: 80px; /* offset navbar */
}

.hero-section-minimal .bg-dark-override {
  background-image: linear-gradient(rgba(250, 249, 246, 0.90), rgba(250, 249, 246, 0.90)), url('../images/hero-light-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-slider-column {
  overflow: hidden;
  position: relative;
}

.hero-slider-column .hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 1 !important; /* Bring to foreground */
}

.hero-slider-column .hero-slide.active {
  opacity: 1 !important; /* Fully visible on the right split section */
}

.hero-slider-overlay-minimal {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(250, 249, 246, 0.1) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2 !important; /* Sit on top of the slide images */
}

@media (max-width: 991.98px) {
  .hero-section-minimal {
    margin-top: 70px;
  }
  .hero-section-minimal .min-vh-100 {
    min-height: auto !important;
  }
  .hero-section-minimal .bg-dark-override {
    padding: 5rem 2rem 4rem 2rem !important;
  }
  .hero-slider-column {
    min-height: 380px !important;
    height: 380px;
  }
  .hero-slider-overlay-minimal {
    background: linear-gradient(to bottom, rgba(250, 249, 246, 0.1) 0%, transparent 100%);
  }
}

/* Global Overrides for Bootstrap Warning helper utility classes to match gold theme */
.text-warning {
  color: var(--primary-color) !important;
}
.hover-text-warning:hover {
  color: var(--primary-color) !important;
}

/* Ensure high contrast and text visibility inside the dark flipbook cover */
.book-cover-content h2,
.book-cover-content h3 {
  color: #ffffff !important;
  background: linear-gradient(135deg, #ffffff 40%, var(--primary-color) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.book-cover-content p,
.book-cover-content span {
  color: rgba(255, 255, 255, 0.85) !important;
}

.book-cover-content .text-muted {
  color: rgba(255, 255, 255, 0.5) !important;
}

.book-cover-content .text-warning {
  color: var(--primary-color) !important;
}

