/* Jungle Bhookh - Taj Luxury Aesthetic Theme */
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cinzel:wght@600;700;800;900&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  --taj-gold: #a88038;
  --taj-gold-light: #c59f52;
  --taj-gold-dark: #8e6827;
  --taj-bg-ivory: #fcfbf9;
  --taj-bg-cream: #f7f5f0;
  --taj-border: #e8e2d8;
  --taj-text-dark: #222222;
  --taj-text-muted: #666666;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #333333;
  background-color: #fcfbf9;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Taj Classical Roman Luxury Serifs matching Taj screenshot */
.font-luxury-title,
.font-serif-title {
  font-family: 'Cormorant Garamond', 'Cinzel', serif;
}

.font-cinzel {
  font-family: 'Cinzel', serif;
}

.font-script {
  font-family: 'Alex Brush', cursive;
}

/* Header Transparent & Sticky States */
#siteHeader {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. Default State (Top of page): Transparent over hero background */
#siteHeader.header-transparent #mainNav {
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.75) 0%, rgba(10, 8, 6, 0.25) 60%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
#siteHeader.header-transparent .site-nav-link {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  font-weight: 600;
}
#siteHeader.header-transparent .site-nav-link:hover {
  color: #c59f52;
}
#siteHeader.header-transparent #mobileMenuBtn {
  color: #ffffff;
}

/* 2. Scrolled State: Sticky solid white Taj navbar */
#siteHeader.header-scrolled #mainNav {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e8e2d8;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
/* User requested: "our font ki hedar kah font thode dark kar denah" */
#siteHeader.header-scrolled .site-nav-link {
  color: #5c4015; /* Rich dark antique gold tone matching Taj screenshot 1 */
  font-weight: 600;
  text-shadow: none;
}
#siteHeader.header-scrolled .site-nav-link:hover {
  color: #1a1714;
}
#siteHeader.header-scrolled #mobileMenuBtn {
  color: #222222;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f7f5f0;
}
::-webkit-scrollbar-thumb {
  background: #a88038;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8e6827;
}

/* Taj Solid Gold Button (Matching "BOOK A STAY" in screenshot) */
.btn-taj-gold {
  background-color: #a88038;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-taj-gold:hover {
  background-color: #916c2c;
  box-shadow: 0 4px 18px rgba(168, 128, 56, 0.35);
  transform: translateY(-1px);
}

/* Taj Outline Gold Button */
.btn-taj-outline {
  border: 1px solid #a88038;
  color: #a88038;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-taj-outline:hover {
  background-color: #a88038;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(168, 128, 56, 0.25);
}

/* Hairline Luxury Divider Rule */
.hairline-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #a88038 50%, transparent 100%);
  opacity: 0.4;
}

/* Hero Vignette & Shading - Clean Edge-to-Edge Cinematic Contrast */
.hero-overlay {
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.55) 0%, rgba(10, 8, 6, 0.25) 35%, rgba(10, 8, 6, 0.3) 65%, rgba(10, 8, 6, 0.6) 100%);
  pointer-events: none;
}

/* Crisp Direct Text Shadows - Crystal Clear Readability Without Any Blur Box */
.hero-title-text {
  color: #ffffff;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 6px 20px rgba(0, 0, 0, 0.85),
    0 12px 40px rgba(0, 0, 0, 0.75);
}

.hero-gold-glow {
  color: #f7d28b;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 6px 20px rgba(0, 0, 0, 0.85),
    0 12px 40px rgba(0, 0, 0, 0.75);
}

.hero-script-text {
  color: #f5cf80;
  text-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 4px 16px rgba(0, 0, 0, 0.85);
}

.hero-tagline-text {
  color: #f7f5f0;
  text-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 4px 16px rgba(0, 0, 0, 0.85);
}

/* Hero Background Slide Ken Burns & Crossfade - Crisp 1:1 Rendering */
.hero-slide {
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}
.hero-slide img {
  transition: transform 8s ease-out;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  filter: contrast(1.03) brightness(1.02);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}
.hero-slide.active img {
  transform: scale(1.02);
}

/* Taj Luxury Card styling */
.taj-card {
  background-color: #ffffff;
  border: 1px solid #e8e2d8;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.taj-card:hover {
  border-color: #c59f52;
  box-shadow: 0 12px 32px rgba(168, 128, 56, 0.12);
  transform: translateY(-3px);
}

/* Gallery Hover */
.gallery-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #e8e2d8;
  background-color: #ffffff;
}
.gallery-card img {
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
.gallery-card:hover img {
  transform: scale(1.08);
}
.gallery-card .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 20, 0.75) 0%, rgba(20, 20, 20, 0.1) 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* Modals */
#lightboxModal.active {
  display: flex !important;
}

/* Fallback button class mappings for backward compatibility */
.btn-gold-solid {
  background-color: #a88038;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-gold-solid:hover {
  background-color: #916c2c;
  box-shadow: 0 4px 18px rgba(168, 128, 56, 0.35);
}

/* ==========================================================================
   HOTEL MANSI - LUXURY SMOOTH ANIMATIONS & SCROLL REVEALS
   ========================================================================== */

/* 1. Header Navigation Link Underline Effect */
.site-nav-link {
  position: relative;
  padding-bottom: 4px;
}
.site-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #c59f52;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* 2. Hero Load-in Keyframes & Classes */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(35px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes starGlow {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px rgba(168, 128, 56, 0.3));
  }
  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(197, 159, 82, 0.8));
    color: #c59f52;
  }
}

.hero-animate-1 { animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
.hero-animate-2 { animation: heroFadeUp 1.0s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
.hero-animate-3 { animation: heroZoomIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both; }
.hero-animate-4 { animation: heroFadeUp 1.0s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both; }
.hero-animate-5 { animation: heroFadeUp 1.0s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both; }

/* 3. Floating Badges Animation */
.floating-badge-float {
  animation: floatBadge 4.5s ease-in-out infinite;
  will-change: transform;
}

/* 4. Taj Gold Button Shine Sweep */
.btn-taj-gold {
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-taj-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
}
.btn-taj-gold:hover::before {
  left: 150%;
}
.btn-taj-gold:active {
  transform: scale(0.97);
}

.btn-taj-outline {
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-taj-outline:active {
  transform: scale(0.97);
}

/* 5. Highlight Items Hover Sliding */
.highlight-item {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}
.highlight-item:hover {
  transform: translateX(6px);
  color: #a88038;
}
.highlight-item:hover span {
  color: #c59f52;
}

/* 6. Corner Decorative Borders Smooth Expansion */
.corner-accent {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease;
}
.group:hover .corner-accent-tl {
  transform: translate(-5px, -5px);
  border-color: #a88038;
}
.group:hover .corner-accent-br {
  transform: translate(5px, 5px);
  border-color: #a88038;
}
.group:hover .corner-accent-tr {
  transform: translate(5px, -5px);
  border-color: #a88038;
}
.group:hover .corner-accent-bl {
  transform: translate(-5px, 5px);
  border-color: #a88038;
}

/* 7. Testimonials Stars Twinkle */
.stars-container i {
  display: inline-block;
  transition: all 0.3s ease;
}
.stars-container:hover i:nth-child(1) { animation: starGlow 1.2s ease infinite 0.1s; }
.stars-container:hover i:nth-child(2) { animation: starGlow 1.2s ease infinite 0.2s; }
.stars-container:hover i:nth-child(3) { animation: starGlow 1.2s ease infinite 0.3s; }
.stars-container:hover i:nth-child(4) { animation: starGlow 1.2s ease infinite 0.4s; }
.stars-container:hover i:nth-child(5) { animation: starGlow 1.2s ease infinite 0.5s; }

/* 8. Contact & Map Row Icon Bounce */
.contact-row {
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.contact-row:hover .contact-icon {
  transform: scale(1.22) translateY(-2px);
  color: #c59f52;
}
.contact-icon {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

/* 9. Scroll Reveal System Base States & Smooth Transition */
[data-animate] {
  opacity: 0;
  will-change: transform, opacity;
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-duration: 0.85s;
}

[data-animate="fade-up"] {
  transform: translateY(40px);
}

[data-animate="fade-down"] {
  transform: translateY(-35px);
}

[data-animate="fade-right"] {
  transform: translateX(-50px);
}

[data-animate="fade-left"] {
  transform: translateX(50px);
}

[data-animate="zoom-in"] {
  transform: scale(0.92);
}

/* Active State Triggered by IntersectionObserver */
[data-animate].animated-in {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Stagger Delay Utility */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="250"] { transition-delay: 0.25s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="350"] { transition-delay: 0.35s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="450"] { transition-delay: 0.45s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* 10. Gallery Card Hover Lift */
.gallery-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(168, 128, 56, 0.16);
  border-color: #c59f52;
}
