/* -------------------------------------------------------------------------- */
/* NIDRA SPA - LUXURY DESIGN SYSTEM & STYLES                                  */
/* -------------------------------------------------------------------------- */

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

:root {
  --bg-dark: #0F0F0F;
  --bg-card: #171717;
  --bg-card-hover: #1E1E1E;
  --color-gold: #C7A76C;
  --color-gold-light: #E5D2AC;
  --color-gold-dark: #9A7B42;
  --color-cream: #F7F5F0;
  --color-forest: #284139;
  --color-gray-muted: #BEBEBE;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Base resets & smooth scroll */
html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--color-cream);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0F0F0F;
}
::-webkit-scrollbar-thumb {
  background: #282828;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Typography Helpers */
.font-serif-heading {
  font-family: var(--font-heading);
}

.text-gold {
  color: var(--color-gold);
}

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

.text-cream {
  color: var(--color-cream);
}

.bg-gold {
  background-color: var(--color-gold);
}

.bg-forest {
  background-color: var(--color-forest);
}

.border-gold-subtle {
  border-color: rgba(199, 167, 108, 0.2);
}

.border-gold {
  border-color: var(--color-gold);
}

/* Luxury Glassmorphism */
.glass-panel {
  background: rgba(23, 23, 23, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(199, 167, 108, 0.15);
}

.glass-panel-hover {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel-hover:hover {
  background: rgba(30, 30, 30, 0.85);
  border-color: rgba(199, 167, 108, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 20px 0 rgba(199, 167, 108, 0.1);
}

.glass-nav {
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(199, 167, 108, 0.12);
}

/* Buttons & CTAs */
.btn-gold {
  background: linear-gradient(135deg, #C7A76C 0%, #B39154 100%);
  color: #0F0F0F;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #E5D2AC 0%, #C7A76C 100%);
  box-shadow: 0 0 25px rgba(199, 167, 108, 0.4);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  color: #0F0F0F;
  box-shadow: 0 0 20px rgba(199, 167, 108, 0.3);
  transform: translateY(-2px);
}

/* Text Shimmer Effect */
.gold-gradient-text {
  background: linear-gradient(135deg, #FFF6E5 0%, #C7A76C 50%, #8C6F35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: #0F0F0F;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

/* Hero Vignette Overlay */
.hero-vignette {
  background: radial-gradient(circle at center, rgba(15,15,15,0.4) 0%, rgba(15,15,15,0.85) 75%, rgba(15,15,15,0.98) 100%),
              linear-gradient(to bottom, rgba(15,15,15,0.6) 0%, transparent 40%, transparent 60%, rgba(15,15,15,1) 100%);
}

/* Scroll Progress Line */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #C7A76C, #E5D2AC);
  z-index: 10000;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* Custom Swiper Styles */
.swiper-pagination-bullet {
  background: rgba(247, 245, 240, 0.4) !important;
  opacity: 0.5 !important;
  transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
  background: var(--color-gold) !important;
  width: 28px !important;
  border-radius: 6px !important;
  opacity: 1 !important;
}

.swiper-button-next, .swiper-button-prev {
  color: var(--color-gold) !important;
  background: rgba(23, 23, 23, 0.7);
  width: 48px !important;
  height: 48px !important;
  border-radius: 50%;
  border: 1px solid rgba(199, 167, 108, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 18px !important;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  background: var(--color-gold);
  color: #0F0F0F !important;
  border-color: var(--color-gold);
}

/* Image Reveal Container */
.img-reveal-wrapper {
  overflow: hidden;
  position: relative;
}

.img-reveal-wrapper img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-reveal-wrapper:hover img {
  transform: scale(1.06);
}

/* Accordion Smooth Transitions */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), opacity 0.4s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  transition: max-height 0.5s ease-in-out, opacity 0.4s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-gold);
}

/* Masonry Filter Tabs */
.filter-btn {
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.filter-btn.active {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}
