/* Custom Styling for Vedic Serenity Celestial Astrologer Theme */
/* Integrated from stitch_project_genesis(1).zip */

/* Clean Vedic Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: #fed7aa;
  border-radius: 9999px;
  border: 2px solid #ffffff;
}

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

.dark ::-webkit-scrollbar-track {
  background: #1c1917;
}

.dark ::-webkit-scrollbar-thumb {
  background: #78350f;
  border: 2px solid #1c1917;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* Kundli Chart SVG Styles (Sacred Vermilion, Saffron & Temple Gold) */
.kundli-svg-line {
  stroke: #b91c1c;
  stroke-width: 1.6;
  fill: none;
}

.dark .kundli-svg-line {
  stroke: #f87171;
  stroke-width: 1.6;
}

.kundli-house-text {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 800;
  fill: #b91c1c;
}

.dark .kundli-house-text {
  fill: #fed7aa;
}

.kundli-planet-text {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  fill: #1c1917;
}

.dark .kundli-planet-text {
  fill: #ffedd5;
}

/* Scroll Entrance Animations */
.reveal-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-element.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

/* Radiant Light Orange Spiritual Glow & Badges */
.saffron-glow {
  box-shadow: 0 0 35px -5px rgba(249, 115, 22, 0.2);
}

.saffron-card {
  background: #FFFDF9;
  border: 1px solid #FED7AA;
  box-shadow: 0 4px 20px -2px rgba(249, 115, 22, 0.05);
}

.saffron-card:hover {
  border-color: #FB923C;
  box-shadow: 0 8px 30px -4px rgba(249, 115, 22, 0.12);
}

/* Hide scrollbar for clean tab carousels */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ==========================================================================
   GLOBAL TYPOGRAPHY ENHANCEMENT: DARK GREY / BLACK FONT & INCREASED SIZES
   ========================================================================== */
body {
  color: #1C1917;
  font-size: 16.5px;
  line-height: 1.65;
}

/* Base font size scaling */
.text-xs {
  font-size: 0.85rem !important; /* ~13.6px */
  line-height: 1.35rem !important;
}

.text-sm {
  font-size: 0.975rem !important; /* ~15.6px */
  line-height: 1.55rem !important;
}

.text-base {
  font-size: 1.075rem !important; /* ~17.2px */
  line-height: 1.7rem !important;
}

.text-lg {
  font-size: 1.22rem !important;
  line-height: 1.8rem !important;
}

.text-xl {
  font-size: 1.35rem !important;
  line-height: 1.85rem !important;
}

/* Transform washed-out grey text to high-contrast dark grey / black in daylight sections */
:not(.text-white):not([class*="bg-black"]):not([class*="bg-[#1"]) > .text-slate-400,
:not(.text-white):not([class*="bg-black"]):not([class*="bg-[#1"]) > .text-stone-400,
:not(.text-white):not([class*="bg-black"]):not([class*="bg-[#1"]) > .text-gray-400 {
  color: #44403C !important;
}

:not(.text-white):not([class*="bg-black"]):not([class*="bg-[#1"]) > .text-slate-500,
:not(.text-white):not([class*="bg-black"]):not([class*="bg-[#1"]) > .text-stone-500,
:not(.text-white):not([class*="bg-black"]):not([class*="bg-[#1"]) > .text-gray-500 {
  color: #292524 !important;
}

:not(.text-white):not([class*="bg-black"]):not([class*="bg-[#1"]) > .text-slate-600,
:not(.text-white):not([class*="bg-black"]):not([class*="bg-[#1"]) > .text-stone-600,
:not(.text-white):not([class*="bg-black"]):not([class*="bg-[#1"]) > .text-gray-600,
:not(.text-white):not([class*="bg-black"]):not([class*="bg-[#1"]) > .text-orange-900\/70,
:not(.text-white):not([class*="bg-black"]):not([class*="bg-[#1"]) > .text-orange-800\/70,
:not(.text-white):not([class*="bg-black"]):not([class*="bg-[#1"]) > .text-orange-900\/80 {
  color: #1C1917 !important;
}

/* ==========================================================================
   GLOBAL INTERACTIVE BOX HOVER HIGHLIGHT & BACKGROUND FILL
   Applied to all rectangular & square cards across the entire website
   ========================================================================== */

.vedic-box,
.card-hover,
.bento-card,
.service-card,
.horoscope-card,
.testimonial-card,
.remedy-card,
.article-card,
.article-item,
.faq-card,
.chakra-card,
.pillar-card,
.info-card,
.sched-box {
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform, box-shadow, background-color, border-color;
}

.vedic-box:hover,
.card-hover:hover,
.bento-card:hover,
.service-card:hover,
.horoscope-card:hover,
.testimonial-card:hover,
.remedy-card:hover,
.article-card:hover,
.article-item:hover,
.faq-card:hover,
.chakra-card:hover,
.pillar-card:hover,
.info-card:hover,
.sched-box:hover {
  transform: translateY(-5px) !important;
  border-color: #EA580C !important;
  background-color: #FFF4E5 !important;
  box-shadow: 0 18px 36px -4px rgba(234, 88, 12, 0.18), 0 6px 14px rgba(185, 28, 28, 0.08) !important;
}

/* Dark Section Boxes Hover Highlight & Fill */
.dark-box-hover {
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dark-box-hover:hover {
  transform: translateY(-4px) !important;
  border-color: #F59E0B !important;
  background-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 16px 35px rgba(245, 158, 11, 0.25) !important;
}

/* Subtle Pulsing Aura on Active Selection */
.active-glow {
  box-shadow: 0 0 25px 2px rgba(234, 88, 12, 0.25);
}

/* ==========================================================================
   STYLISH HEADER NAVIGATION & CARD DROPDOWN MENUS
   ========================================================================== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  max-width: 330px;
  padding-top: 8px;
  z-index: 60;
}

.nav-dropdown-menu-right {
  left: auto !important;
  right: 0 !important;
}

.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu,
.nav-dropdown.group:hover > .nav-dropdown-menu {
  display: block;
}

.nav-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
}

/* Active Top-Level Header Pill */
.nav-active-pill {
  background-color: #FFF4E5 !important;
  color: #B91C1C !important;
  border-color: #EA580C !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.14) !important;
  position: relative;
}

.nav-active-pill::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  background: linear-gradient(90deg, #B91C1C, #EA580C);
  border-radius: 9999px;
  box-shadow: 0 0 8px rgba(234, 88, 12, 0.6);
}

/* Active Dropdown Sub-Item */
.dropdown-item-active {
  background-color: #FFF4E5 !important;
  border-color: #EA580C !important;
}

.dropdown-item-active h4 {
  color: #B91C1C !important;
  font-weight: 800 !important;
}

/* ========================================================
   BILINGUAL TRANSLATION (EN / HI) STYLING & GOOGLE WIDGET CLEANUP
   ======================================================== */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

body {
  top: 0px !important;
  position: static !important;
}

.skiptranslate:not(.lang-pill-container) {
  display: none !important;
}

#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   STICKY HEADER ENFORCEMENT & OVERFLOW CLIP
   ========================================================================== */
html, body {
  overflow-x: clip !important;
}

#siteHeader,
header.sticky {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}


