/* ==========================================================================
   SIMPLY NIRVANA SPA - BASE STYLES & VARIABLES
   ========================================================================== */

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

:root {
  /* Vibrant & Deep Color Palette */
  --color-burgundy: #4a0f1d;
  --color-wine: #9e2a46;
  --color-gold: #e2c070;
  --color-gold-hover: #fce3a2;
  --color-gold-dark: #c19c45;
  --color-champagne: #faeed7;
  --color-cream: #ffffff;
  --color-charcoal: #0e0d0d;
  --color-charcoal-light: #181717;
  
  /* Enhanced Premium Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-dark: rgba(14, 13, 13, 0.6);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-border-gold: rgba(226, 192, 112, 0.5);
  --glass-shadow: 0 10px 40px 0 rgba(226, 192, 112, 0.1); /* Warm ambient glow instead of cool blue */
  --glass-shadow-dark: 0 20px 50px 0 rgba(0, 0, 0, 0.8); /* Deep cinematic shadow */
  --glass-blur: blur(16px);
  --glass-blur-heavy: blur(24px);
  
  /* Typography */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* Layout */
  --container-width: 1280px;
  --section-padding: 100px 0;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-charcoal);
  background-image: url('https://images.unsplash.com/photo-1600334089648-b0d9d3028eb2?q=80&w=2000&auto=format&fit=crop'); /* Spa stones and water */
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--color-cream);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#three-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Global Background Overlay for Pages */
.page-bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(84, 22, 36, 0.4) 0%, rgba(28, 26, 26, 0.95) 100%);
  z-index: -2;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

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

.text-center {
  text-align: center;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-champagne);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 4rem;
  display: block;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px; /* Offset for navbar */
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-champagne);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.hero-title .word {
    background: linear-gradient(135deg, var(--color-gold) 0%, #fff 50%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--color-cream);
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(206, 177, 117, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(206, 177, 117, 0.6);
}

/* About Hero Custom Sizing */
.about-hero-title {
    justify-content: center;
    font-size: 6rem;
    line-height: 1;
    flex-direction: column;
    gap: 0;
}

.about-prefix {
    font-weight: 300;
    font-style: italic;
    color: #fff;
    text-shadow: none;
    font-size: 4rem;
    opacity: 0.9;
    transform: translateY(20px);
}

.about-main {
    font-size: 7rem;
    letter-spacing: -2px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    opacity: 0.8;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--color-gold);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

.scroll-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* ==========================================================================
   COMPONENTS - GLASSMORPHISM
   ========================================================================== */

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow-dark);
}

.glass-panel-dark {
  background: var(--glass-bg-dark);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow-dark);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-charcoal);
  border: 2px solid var(--color-gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-gold);
  box-shadow: 0 0 20px rgba(206, 177, 117, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
}

.btn-outline:hover {
  background: var(--color-gold);
  color: var(--color-charcoal);
  box-shadow: 0 0 20px rgba(206, 177, 117, 0.4);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  padding: 24px 0;
  z-index: 1000;
  transition: var(--transition-smooth);
  box-sizing: border-box;
}

.navbar.scrolled {
  padding: 16px 0;
  background: rgba(28, 26, 26, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: var(--font-heading);
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
}

.nav-logo {
  height: 56px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 16px rgba(0, 0, 0, 0.55));
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
  opacity: 0.95;
}

.navbar.scrolled .nav-logo {
  transform: scale(0.96) translateY(-1px);
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.7));
  opacity: 0.9;
}

.nav-brand:hover .nav-logo {
  transform: scale(1.03) translateY(-0.5px);
  filter: drop-shadow(0 0 22px rgba(226, 192, 112, 0.45));
  opacity: 1;
}

.footer-logo {
  max-height: 120px;
  width: auto;
  display: block;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 22px rgba(0, 0, 0, 0.75));
}

.nav-brand .title {
  margin-left: 14px;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-line-primary {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--color-gold), #ffffff, var(--color-gold-dark));
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brandShimmer 5s linear infinite;
}

.brand-line-secondary {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(250, 238, 215, 0.8);
  margin-top: 2px;
}

@keyframes brandShimmer {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--color-gold);
  background: transparent;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background-color: #151313;
  padding: 80px 0 24px 0;
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-gold);
  margin-bottom: 8px;
  line-height: 1;
}

.footer-brand .desc {
  color: rgba(247, 238, 223, 0.7);
  font-size: 0.95rem;
  max-width: 300px;
  margin-top: 16px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-champagne);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: rgba(247, 238, 223, 0.7);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-link:hover {
  color: var(--color-gold);
  transform: translateX(5px);
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: var(--color-gold);
  color: var(--color-charcoal);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(206, 177, 117, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: rgba(247, 238, 223, 0.5);
  font-size: 0.9rem;
}

/* ==========================================================================
   WIDGETS (WhatsApp & BackToTop)
   ========================================================================== */

.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--glass-bg-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-gold);
  color: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 100;
  transition: var(--transition-smooth);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--color-gold);
  color: var(--color-charcoal);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(206, 177, 117, 0.4);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Global)
   ========================================================================== */

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(28, 26, 26, 0.95);
    backdrop-filter: var(--glass-blur-heavy);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: var(--transition-smooth);
    border-left: 1px solid var(--glass-border);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .mobile-nav-toggle {
    display: block;
    z-index: 1001;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  /* Global Hero Responsiveness */
  .hero-title {
    font-size: 3.5rem !important;
    justify-content: center;
    text-align: center;
  }
  .hero-title .word {
    font-size: inherit !important;
  }
  .hero-subtitle {
    font-size: 1.1rem !important;
    text-align: center;
    padding: 0 15px;
  }
  .hero-content {
    align-items: center;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  
  /* About Page Hero Adjustments */
  .premium-badge {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    margin-top: 30px;
    transform: scale(0.8);
    animation: none !important; /* Disable float animation on mobile to save performance/space */
  }
  
  .about-hero-title {
    font-size: 4rem !important;
  }
  .about-prefix {
    font-size: 2.2rem !important;
    transform: translateY(10px) !important;
  }
  .about-main {
    font-size: 3.5rem !important;
    letter-spacing: -1px !important;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }
  
  .nav-brand .title {
    font-size: 1.4rem;
    letter-spacing: 1px;
  }
  
  .nav-brand .subtitle {
    font-size: 0.6rem;
    letter-spacing: 0.5px;
  }
  
  .footer-brand .title {
    font-size: 1.8rem;
  }
  
  .footer-brand div {
    font-size: 0.7rem !important;
    letter-spacing: 1px !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero-title {
    font-size: 2.5rem !important;
  }
  
  /* Hide decorative side lines on very small screens to fit text */
  .hero-content > div[style*="gap: 15px"] span[style*="width: 40px"] {
    display: none !important;
  }
  
  .about-hero-title {
    font-size: 3rem !important;
  }
  .about-prefix {
    font-size: 1.8rem !important;
    transform: translateY(5px) !important;
  }
  .about-main {
    font-size: 2.5rem !important;
  }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
