:root {
  --black: #2d1b4e;
  --near-black: #241b38;
  --white: #faf7f2;
  --gray-bg: #f3eee6;
  --gray-text: #6b5b7d;
  --blue: #5b2d8c;
  --blue-hover: #6b3da0;
  --gold: #d4af37;
  --gold-hover: #c19a2e;
}

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

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

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--white);
  background: linear-gradient(180deg, var(--black) 0%, var(--blue) 50%, #4c1d95 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; }

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

a { color: inherit; }

.eyebrow {
  font-size: 0.85rem;
  color: #c4b5fd;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-sub {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  font-size: 1.05rem;
  margin-top: 0.8rem;
}

.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }

/* ===== REVEAL ANIMATION SYSTEM ===== */
.reveal {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal[data-reveal="fade-up"] { transform: translateY(28px); }
.reveal[data-reveal="fade-right"] { transform: translateX(-28px); }
.reveal[data-reveal="fade-left"] { transform: translateX(28px); }
.reveal[data-reveal="zoom"] { transform: scale(0.94); }

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, html { transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== BUTTONS ===== */
.btn {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 14px 28px;
  border-radius: 980px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(212,175,55,0.4);
}

.btn-link { color: #ffffff; padding: 14px 28px; border: 2px solid rgba(255,255,255,0.4); border-radius: 980px; }
.btn-link:hover { background: rgba(255,255,255,0.1); border-color: var(--gold); transform: translateY(-3px); }

/* ===== NAV ===== */
#navbar2 {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 60px;
  background: rgba(45,27,78,0.9);
  backdrop-filter: saturate(180%) blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: height 0.3s ease, background 0.3s ease;
}

#navbar2.scrolled { height: 52px; background: rgba(45,27,78,0.97); }

.logo { font-size: 1.05rem; font-weight: 600; letter-spacing: 1.5px; color: #ffffff; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.logo .accent { color: var(--gold); font-weight: 400; }

.nav-links { display: flex; align-items: center; list-style: none; gap: 2rem; }

.nav-links a {
  position: relative;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 400;
  padding-bottom: 4px;
  font-family: 'Lato', sans-serif;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--black) !important;
  padding: 8px 18px;
  border-radius: 980px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.nav-cta:hover { background: var(--gold-hover); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(212,175,55,0.4); }

.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 1.3rem; cursor: pointer; z-index: 1001; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { color: #fff; text-decoration: none; font-size: 1.3rem; font-family: 'Playfair Display', serif; }
.mobile-menu .mobile-book { background: var(--gold); color: var(--black); padding: 12px 32px; border-radius: 980px; font-family: 'Lato', sans-serif; font-weight: 600; font-size: 1rem; }

/* ===== HERO ===== */
.hero2 {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 100px 5% 60px;
}

.hero2-bg-wrap { position: absolute; inset: 0; overflow: hidden; }

.hero2-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 38%;
  transform: scale(1.08);
  transform-origin: center;
  will-change: transform;
}

.hero2-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45,27,78,0.85) 0%, rgba(45,27,78,0.55) 40%, rgba(45,27,78,0.6) 100%);
}

.hero2-content { position: relative; z-index: 2; max-width: 720px; }

.hero2 h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.hero2 h1 em { color: var(--gold); font-style: italic; font-weight: 500; }

.hero2-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.92);
  max-width: 520px;
  margin: 0 auto 4.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero2-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 3rem; }

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollCue 1.8s ease infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 20px; }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue span { animation: none; } }

/* ===== PHILOSOPHY ===== */
.philosophy { padding: 100px 6% 90px; text-align: center; }
.philosophy h2 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); line-height: 1.15; margin-bottom: 1.5rem; }
.philosophy-body { max-width: 640px; margin: 0 auto 1.2rem; color: rgba(255,255,255,0.8); font-size: 1.1rem; }

.philosophy-bridge {
  max-width: 640px;
  margin: 1.8rem auto 0;
  color: var(--gold);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
}

/* ===== SERVICES ===== */
.services2 { padding: 90px 5% 100px; }
.services2 .section-header h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }

.services2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service2-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease;
}
.service2-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.07); }

.service2-media { border-radius: 14px; overflow: hidden; margin-bottom: 1.2rem; aspect-ratio: 4/3; }
.service2-media img { width: 100%; height: 100%; object-fit: cover; }

.service2-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: #ffffff; }
.service2-card p { color: rgba(255,255,255,0.72); font-size: 0.95rem; margin-bottom: 1rem; }

.service-link { color: var(--gold); text-decoration: none; font-weight: 700; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; }
.service-link:hover { color: var(--gold-hover); text-decoration: underline; }

/* ===== RITUALS ===== */
.rituals2 { padding: 100px 6%; background: rgba(0,0,0,0.15); }

.rituals2-grid { max-width: 760px; margin: 0 auto; }

.ritual2-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.ritual2-row:last-child { border-bottom: none; }

.ritual2-num { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--gold); flex-shrink: 0; width: 44px; }
.ritual2-row h4 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.ritual2-row p { color: rgba(255,255,255,0.75); font-size: 0.98rem; }

.rituals2-footnote { max-width: 700px; margin: 3rem auto 0; text-align: center; color: rgba(255,255,255,0.65); }
.rituals2-footnote a { color: var(--gold); font-weight: 700; text-decoration: none; }
.rituals2-footnote a:hover { text-decoration: underline; }

.services2-footnote { max-width: 640px; margin: 3rem auto 0; text-align: center; color: rgba(255,255,255,0.65); }
.services2-footnote a { color: var(--gold); font-weight: 700; text-decoration: none; }
.services2-footnote a:hover { text-decoration: underline; }

/* ===== GALLERY ===== */
.gallery2 { padding: 100px 5%; }

.gallery2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.gallery2-item { border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; }
.gallery2-item.span-2 { grid-column: span 2; }
.gallery2-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery2-item:hover img { transform: scale(1.06); }

/* ===== REVIEWS ===== */
.reviews2 { padding: 100px 5%; }

.reviews2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.3rem;
  max-width: 1150px;
  margin: 0 auto;
}
.review2-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 1.8rem; }
.review2-card .stars { color: var(--gold); margin-bottom: 0.8rem; letter-spacing: 2px; }
.review2-card p { color: rgba(255,255,255,0.88); font-size: 0.98rem; margin-bottom: 1rem; }
.review2-author { color: #c4b5fd !important; font-size: 0.85rem; font-weight: 600; }

/* ===== LOCATION ===== */
.location2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.location2-info { padding: 90px 6%; display: flex; flex-direction: column; justify-content: center; }
.location2-info h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.6rem; }

.location2-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
.location2-details h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: #c4b5fd; margin-bottom: 0.4rem; }
.location2-details p { font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.location2-details a { text-decoration: none; }
.location2-details a:hover { color: var(--gold); }

.location2-map { min-height: 400px; }
.location2-map iframe { display: block; }

/* ===== CTA ===== */
.cta2 { padding: 110px 6%; text-align: center; background: linear-gradient(135deg, var(--blue) 0%, var(--black) 100%); }
.cta2 h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 0.6rem; color: #ffffff; }
.cta2 p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.05rem; }

/* ===== FOOTER ===== */
footer { background: var(--black); padding: 60px 5% 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1200px; margin: 0 auto 2rem; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 1rem; font-family: 'Lato', sans-serif; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.footer-col ul li a { text-decoration: none; color: rgba(255,255,255,0.7); }
.footer-col ul li a:hover { color: var(--gold); text-decoration: underline; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); font-size: 0.75rem; }

/* ===== IMAGE PLACEHOLDER ===== */
.img-missing {
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.06), rgba(255,255,255,0.06) 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.img-missing img { display: none; }
.img-placeholder-label { display: none; font-family: monospace; font-size: 0.75rem; color: rgba(255,255,255,0.6); background: rgba(0,0,0,0.3); padding: 4px 10px; border-radius: 6px; }
.img-missing .img-placeholder-label { display: block; }

/* ===== RESPONSIVE (mobile-first breakpoints) ===== */
@media (max-width: 1024px) {
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.7rem; }
  .services2-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .location2 { grid-template-columns: 1fr; }
  .location2-map { min-height: 320px; }
}

@media (max-width: 640px) {
  .services2-grid { grid-template-columns: 1fr; }
  .gallery2-grid { grid-template-columns: 1fr 1fr; }
  .gallery2-item.span-2 { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .location2-details { grid-template-columns: 1fr; }
  .ritual2-row { gap: 1rem; }
  .hero2 { padding: 90px 6% 70px; }
}

@media (max-width: 420px) {
  .gallery2-grid { grid-template-columns: 1fr; }
  .gallery2-item.span-2 { grid-column: span 1; }
  .hero2-btns { flex-direction: column; width: 100%; }
  .hero2-btns .btn { width: 100%; text-align: center; }
}
