/* Rangbhumi Interior - Black Header/Footer & Clean White Sections Theme */

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

:root {
  --color-black: #000000;
  --color-noir-900: #0a0a0a;
  --color-noir-800: #171717;
  --color-white: #ffffff;
  --color-neutral-50: #fafafa;
  --color-neutral-100: #f5f5f5;
  --color-neutral-200: #e5e5e5;
  --color-neutral-300: #d4d4d4;
  --color-neutral-700: #404040;
  --color-neutral-900: #171717;
}

html {
  font-size: 15px;
  /* Base 15px */
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #ffffff;
  color: #171717;
}

body {
  font-size: 15px;
  line-height: 1.65;
  background-color: #ffffff;
  color: #171717;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Base typography standardizing readable content to 15px */
p,
input,
select,
textarea,
button,
label,
li {
  font-size: 15px;
}

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

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

/* Custom Monochrome Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #000000;
}

/* Container Width 1420px for Header & Footer */
.container-1420 {
  max-width: 1520px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  .container-1420 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Fallback full-width 5% margin */
.full-width-5-margin {
  width: 92% !important;
  margin-left: 5% !important;
  margin-right: 5% !important;
  max-width: none !important;
}

/* Responsive Desktop Header Nav - 100% guaranteed visibility on desktop views */
@media (min-width: 1024px) {
  #mainDesktopNav {
    display: flex !important;
  }

  .desktop-cta-container {
    display: flex !important;
  }
}

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

/* Desktop Dropdown Menus - Smooth fade/slide with zero flicker and hover bridge */
.desktop-dropdown-wrapper {
  position: absolute;
  top: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.22s ease;
  z-index: 100;
}

/* Invisible hover bridge spanning between parent button and child dropdown card */
.desktop-dropdown-wrapper::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 18px;
  background: transparent;
}

@media (min-width: 1024px) {

  .nav-item-dropdown:hover>.desktop-dropdown-wrapper,
  .nav-item-dropdown.is-open>.desktop-dropdown-wrapper,
  .desktop-dropdown-wrapper:hover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
}

/* Rotate parent chevron when hovered or open */
.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
  color: #000000 !important;
}

/* Highlight parent button text when dropdown is open */
.nav-item-dropdown.is-open>button {
  color: #000000 !important;
}

/* Keep underline visible on parent while its dropdown is open */
.nav-item-dropdown:hover>.nav-link-creative::after,
.nav-item-dropdown.is-open>.nav-link-creative::after {
  width: 70%;
}

/* ================= SIMPLE WHITE DROPDOWN MENU ================= */
.nav-dropdown-card {
  position: relative;
}

/* Small pointer arrow on top of dropdown card */
.nav-dropdown-card::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-left: 1px solid #e5e5e5;
  border-top: 1px solid #e5e5e5;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 3px 0 0 0;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-dropdown-item:hover {
  background-color: #f5f5f5;
  transform: translateX(3px);
}

.nav-dropdown-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: #f5f5f5;
  border: 1px solid #e5e5e5;
  color: #000000;
  transition: all 0.2s ease;
}

.nav-dropdown-item:hover .nav-dropdown-icon {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
}

/* "View All" item - inverted style */
.nav-dropdown-item-cta {
  font-weight: 700;
}

.nav-dropdown-item-cta .nav-dropdown-icon {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
}

/* Glassmorphism for Black Header */
.glass-nav-black {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Light Glassmorphism for Section Cards */
.glass-panel-light {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Gradients */
.text-dark-gradient {
  background: linear-gradient(180deg, #000000 0%, #2b2b2b 60%, #4a4a4a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-white-gradient {
  background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================= CREATIVE & COLORFUL HEADER/FOOTER ACCENTS ================= */
@keyframes flowGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.rainbow-ribbon {
  background: linear-gradient(90deg, #f59e0b, #ec4899, #8b5cf6, #3b82f6, #06b6d4, #10b981, #f59e0b);
  background-size: 300% 300%;
  animation: flowGradient 8s ease infinite;
}

.rangbhumi-logo-gradient {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 35%, #8b5cf6 70%, #06b6d4 100%);
  background-size: 200% 200%;
  animation: flowGradient 6s ease infinite;
}

.text-gradient-creative {
  background: linear-gradient(90deg, #ffffff 0%, #fde68a 35%, #fbcfe8 70%, #bae6fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-gradient-creative {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #8b5cf6 100%);
  background-size: 200% 200%;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px -4px rgba(239, 68, 68, 0.35);
}

.btn-gradient-creative:hover {
  background-position: 100% 100%;
  box-shadow: 0 12px 30px -2px rgba(139, 92, 246, 0.45);
  transform: translateY(-1px) scale(1.02);
}

/* Nav links with animated black underline on hover */
.nav-link-creative {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link-creative::after {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #000000;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
  border-radius: 9999px;
}

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

/* Footer ambient colorful aura blooms */
.footer-ambient-aura {
  position: relative;
  overflow: hidden;
  background-color: #060606;
}

.footer-ambient-aura::before {
  content: '';
  position: absolute;
  top: -15%;
  left: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0) 70%);
  pointer-events: none;
  filter: blur(40px);
}

.footer-ambient-aura::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.13) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(50px);
}

/* Subtle Architectural Grid Pattern for White Canvas */
.bg-light-grid {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

/* Footer Menu Link Styling ensuring clean single-line inline presentation & generous line-height */
footer ul li {
  font-size: 13px !important;
  line-height: 2 !important;
}

footer ul li a {
  white-space: nowrap !important;
  line-height: 2 !important;
}

/* Animated footer arrow icons */
.footer-menu-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.28s ease, filter 0.28s ease;
  will-change: transform;
}

li:hover .footer-menu-arrow,
a:hover .footer-menu-arrow {
  transform: translateX(5px);
  filter: drop-shadow(0 0 6px currentColor);
}

/* Image Zoom */
.image-zoom-container {
  overflow: hidden;
}

.image-zoom-container img {
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-zoom-container:hover img {
  transform: scale(1.06);
}

/* ================= HERO SWIPER FULL-WIDTH FADE-IN / FADE-OUT SLIDER ================= */
.hero-swiper {
  position: relative;
  width: 100%;
  height: 82vh;
  min-height: 480px;
  max-height: 880px;
  overflow: hidden;
}

.hero-swiper .swiper-slide {
  width: 100% !important;
  height: 100% !important;
  position: relative;
  overflow: hidden;
  background-color: #0a0a0a;
}

.hero-swiper .swiper-slide .hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Subtle, majestic zoom while slide is active */
.hero-swiper .swiper-slide-active .hero-slide-img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .hero-swiper {
    height: 60vh;
    min-height: 340px;
  }
}

@media (max-width: 480px) {
  .hero-swiper {
    height: 52vh;
    min-height: 280px;
  }
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  opacity: 0.65;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  margin: 0 5px !important;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  background-color: #ffffff !important;
  opacity: 1 !important;
  width: 32px !important;
  border-radius: 9999px !important;
}

/* Responsive enhancements for mobile viewports */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (max-width: 640px) {
  html, body {
    overflow-x: hidden !important;
  }
}