/* Lakhbanglemaker.in - Premium Royal Rajasthani Theme */
:root {
  --gold: #C9A227;
  --gold-light: #E8D48B;
  --maroon: #6B1D3A;
  --maroon-dark: #4A0F28;
  --cream: #FBF7F0;
  --beige: #F5EDE0;
  --royal-beige: #E8DCC8;
  --text-dark: #2C1810;
  --text-muted: #5C4A3D;
  --shadow: 0 4px 24px rgba(107, 29, 58, 0.12);
  --shadow-lg: 0 12px 40px rgba(107, 29, 58, 0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--maroon-dark);
}
a { color: var(--maroon); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

/* Pattern overlay */
.pattern-bg {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A227' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Navbar */
.navbar-luxury {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  padding: 0.75rem 0;
  min-height: 64px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease;
}
.navbar-luxury.scrolled {
  box-shadow: var(--shadow-lg);
}
.navbar-luxury .navbar-brand {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-weight: 700;
  color: var(--gold-light) !important;
  max-width: 220px;
  line-height: 1.2;
  white-space: normal;
}
.navbar-luxury .navbar-phones {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-light);
  opacity: 0.95;
}
@media (min-width: 992px) {
  .navbar-luxury .navbar-brand {
    max-width: none;
    white-space: nowrap;
    font-size: 1.2rem;
  }
}
@media (min-width: 1200px) {
  .navbar-luxury .navbar-brand { font-size: 1.3rem; }
}
.navbar-luxury .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
}
.navbar-luxury .nav-link:hover { color: var(--gold-light) !important; }
.navbar-luxury .btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--maroon-dark);
  border: none;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
}

/* Hero */
.hero-section {
  min-height: 85vh;
  background: linear-gradient(135deg, rgba(74,15,40,0.95) 0%, rgba(107,29,58,0.9) 40%, rgba(201,162,39,0.25) 70%, rgba(74,15,40,0.95) 100%),
    url('../images/placeholder.svg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--cream));
}
.hero-content { position: relative; z-index: 2; padding: 4rem 0; }
.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--gold-light);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
}
.hero-section .lead {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.95);
  max-width: 700px;
}
.btn-royal {
  background: linear-gradient(135deg, var(--gold) 0%, #D4AF37 100%);
  color: var(--maroon-dark);
  border: none;
  padding: 0.85rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-royal:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--maroon-dark);
}
.btn-outline-royal {
  border: 2px solid var(--gold-light);
  color: var(--gold-light);
  background: transparent;
  padding: 0.85rem 2rem;
  font-weight: 600;
  border-radius: 50px;
}
.btn-outline-royal:hover {
  background: var(--gold-light);
  color: var(--maroon-dark);
}

/* Section styling */
.section-padding { padding: 5rem 0; }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--maroon));
  margin: 1rem auto 2rem;
  border-radius: 2px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Cards */
.card-luxury {
  background: #fff;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.card-luxury:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-luxury .card-img-top {
  height: 220px;
  object-fit: cover;
}
.card-luxury .card-body { padding: 1.5rem; }
.card-luxury .card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--maroon);
}

/* Feature boxes */
.feature-box {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform var(--transition);
}
.feature-box:hover { transform: translateY(-4px); }
.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.75rem;
}

/* Gallery */
.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform var(--transition);
}
.gallery-grid img:hover { transform: scale(1.03); }

/* Testimonials */
.testimonial-card {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}
.testimonial-card .stars { color: var(--gold); }

/* FAQ */
.accordion-luxury .accordion-item {
  border: none;
  margin-bottom: 0.75rem;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.accordion-luxury .accordion-button {
  font-weight: 600;
  color: var(--maroon);
  background: #fff;
}
.accordion-luxury .accordion-button:not(.collapsed) {
  background: var(--beige);
  color: var(--maroon-dark);
  box-shadow: none;
}

/* Forms */
.form-luxury .form-control,
.form-luxury .form-select {
  border: 2px solid var(--royal-beige);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}
.form-luxury .form-control:focus,
.form-luxury .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.25);
}

/* Footer */
.footer-luxury {
  background: linear-gradient(180deg, var(--maroon-dark) 0%, #2C0F1A 100%);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 2rem;
}
.footer-luxury h5 {
  color: var(--gold-light);
  font-family: var(--font-display);
  margin-bottom: 1.25rem;
}
.footer-luxury a {
  color: rgba(255,255,255,0.75);
  display: block;
  padding: 0.25rem 0;
}
.footer-luxury a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Floating buttons */
.float-whatsapp {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 1050;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition);
}
.float-whatsapp:hover {
  transform: scale(1.1);
  color: #fff;
}
.float-call {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
  width: 56px;
  height: 56px;
  background: var(--maroon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.float-call:hover { color: #fff; transform: scale(1.1); }

/* Breadcrumb */
.breadcrumb-luxury {
  background: var(--beige);
  padding: 1rem 0;
  margin-bottom: 0;
}
.breadcrumb-luxury .breadcrumb-item a { color: var(--maroon); }

/* Content pages */
.content-page { padding: 3rem 0 5rem; }
.content-page h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 1.5rem; }
.content-page h2 { font-size: 1.75rem; margin-top: 2.5rem; margin-bottom: 1rem; color: var(--maroon); }
.content-page h3 { font-size: 1.35rem; margin-top: 2rem; margin-bottom: 0.75rem; }
.content-page p { margin-bottom: 1.25rem; text-align: justify; }
.cta-box {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: #fff;
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  margin: 3rem 0;
}
.cta-box h3 { color: var(--gold-light); }
.cta-box .btn-royal { margin: 0.5rem; }

/* Stall directory */
.stall-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border-left: 4px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}
.stall-card:hover {
  box-shadow: var(--shadow-lg);
  border-left-color: var(--gold);
}
.stall-directory-filters {
  background: var(--beige);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  position: sticky;
  top: 70px;
  z-index: 10;
}

/* Animations — opacity only to prevent layout shake */
.fade-in {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.fade-in.visible {
  opacity: 1;
}
/* Video grids: no scroll animation (hundreds of embeds) */
.video-gallery-grid .fade-in,
.video-gallery-grid .fade-in.visible {
  opacity: 1;
  transition: none;
}

/* Instagram / Reviews */
.review-slider-inner {
  min-height: 140px;
  position: relative;
}
.review-slider .review-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  margin: 0.5rem;
}
.review-slider-inner .review-item {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
}
.review-slider-inner .review-item.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}
.instagram-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

/* Comparison table */
.compare-table th {
  background: var(--maroon);
  color: var(--gold-light);
}
.compare-table td { vertical-align: middle; }

/* Client logos */
.client-logos img {
  height: 50px;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.8;
  transition: all var(--transition);
}
.client-logos img:hover {
  filter: none;
  opacity: 1;
}

/* Popup */
.inquiry-popup {
  position: fixed;
  bottom: 160px;
  right: 20px;
  background: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  z-index: 1040;
  display: none;
  border: 2px solid var(--gold);
}
.inquiry-popup.show {
  display: block;
  animation: popupFade 0.35s ease;
}
@keyframes popupFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; }
  .card-luxury:hover,
  .feature-box:hover,
  .btn-royal:hover { transform: none; }
}

/* Lazy load placeholder */
img[loading="lazy"] { background: var(--beige); }

/* Video gallery */
.video-gallery-grid .video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: var(--maroon-dark);
}
.video-gallery-grid .video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
}
.video-gallery-grid .video-card {
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
  height: 100%;
}
.video-gallery-grid .video-card h3 {
  font-size: 1.1rem;
  margin: 1rem 0 0;
  color: var(--maroon);
}
.video-gallery-grid .video-card .badge-short {
  background: var(--maroon);
  color: var(--gold-light);
  font-size: 0.7rem;
  margin-left: 0.5rem;
}
.video-gallery-grid .video-card h3 {
  font-size: 1rem;
  line-height: 1.4;
}
.pagination .page-link {
  color: var(--maroon);
}
.pagination .page-link:hover {
  background: var(--beige);
  color: var(--maroon-dark);
}

@media (max-width: 991px) {
  .hero-section { min-height: 70vh; }
  .section-padding { padding: 3rem 0; }
  .float-whatsapp, .float-call { width: 50px; height: 50px; font-size: 1.4rem; }
}
