/* ============================================
   PELE AWAKENING — Retreat Website Styles
   ============================================ */

:root {
  --color-bg:        #0d0a08;
  --color-bg-warm:   #1a120d;
  --color-bg-card:   #1e1510;
  --color-surface:   #2a1d14;
  --color-cream:     #f5e6d3;
  --color-cream-dim: #c4a88a;
  --color-ember:     #e86830;
  --color-ember-deep:#c4451a;
  --color-gold:      #f0a830;
  --color-lava:      #ff4500;
  --color-peach:     #f2d0b0;
  --color-ocean:     #4a9ead;
  --font-display:    'Cinzel', serif;
  --font-body:       'Cormorant Garamond', serif;
  --font-ui:         'Inter', sans-serif;
  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:     cubic-bezier(0.65, 0, 0.35, 1);
}

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- Animations ---- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(13, 10, 8, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(232, 104, 48, 0.1);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-cream);
}
.nav-logo-icon {
  width: 28px;
  height: 28px;
  color: var(--color-ember);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--color-cream-dim);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-ember);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--color-cream); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 0.5rem 1.2rem !important;
  border: 1px solid var(--color-ember);
  border-radius: 2px;
  color: var(--color-ember) !important;
  transition: all 0.3s !important;
}
.nav-cta:hover {
  background: var(--color-ember);
  color: var(--color-bg) !important;
}
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--color-cream);
  transition: all 0.3s;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(232, 104, 48, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 50% 50%, rgba(26, 18, 13, 1) 0%, var(--color-bg) 100%);
}
.lava-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: lavaFloat 8s ease-in-out infinite;
}
.lava-glow-1 {
  width: 400px; height: 400px;
  background: rgba(232, 104, 48, 0.08);
  bottom: -10%; left: 20%;
  animation-delay: 0s;
}
.lava-glow-2 {
  width: 300px; height: 300px;
  background: rgba(240, 168, 48, 0.06);
  bottom: 5%; right: 15%;
  animation-delay: -3s;
}
.lava-glow-3 {
  width: 200px; height: 200px;
  background: rgba(255, 69, 0, 0.05);
  top: 30%; left: 50%;
  animation-delay: -5s;
}
@keyframes lavaFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.05); }
  66% { transform: translate(-15px, 10px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}
.hero-emblem {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.hero-image {
  width: clamp(180px, 28vw, 280px);
  height: auto;
  object-fit: contain;
}
.hero-title {
  margin-bottom: 1.5rem;
}
.hero-title-main {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-peach) 50%, var(--color-ember) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title-sub {
  display: block;
  font-family: var(--font-ui);
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-ember);
  margin-top: 0.8rem;
}
.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-cream-dim);
  line-height: 1.5;
  margin-bottom: 3rem;
}
.hero-scroll {
  margin-top: 1rem;
}
.scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-cream-dim);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
  animation: gentleBounce 2s ease-in-out infinite;
}
.scroll-indicator:hover { color: var(--color-ember); }
@keyframes gentleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--color-ember);
  border-radius: 50%;
  opacity: 0;
  animation: particleRise linear infinite;
}
@keyframes particleRise {
  0% { opacity: 0; transform: translateY(0) scale(1); }
  10% { opacity: 0.8; }
  90% { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-100vh) scale(0); }
}

/* ---- Core Narrative ---- */
.narrative {
  padding: 8rem 0;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-warm) 100%);
}
.section-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-ember);
  margin-bottom: 1.5rem;
}
.narrative-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-cream);
  margin-bottom: 2rem;
}
.narrative-divider {
  margin-bottom: 2.5rem;
  opacity: 0.6;
}
.narrative-text {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--color-cream-dim);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.9;
}
.narrative-text em {
  color: var(--color-ember);
  font-style: italic;
}
.narrative-quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--color-peach);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* ---- Section Heading (shared) ---- */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 3.5rem;
  color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.flame-icon { flex-shrink: 0; }

/* ---- 4-Day Journey ---- */
.journey {
  padding: 8rem 0;
  background: var(--color-bg-warm);
  position: relative;
}
.journey::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,104,48,0.2), transparent);
}
.journey-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--color-ember) 0%, rgba(232,104,48,0.1) 100%);
}
.journey-day {
  display: flex;
  gap: 2.5rem;
  padding: 2rem 0;
  position: relative;
}
.day-marker {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.day-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-ember);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ember);
  background: var(--color-bg-warm);
  transition: all 0.4s var(--ease-out);
}
.journey-day:hover .day-number {
  background: var(--color-ember);
  color: var(--color-bg);
  box-shadow: 0 0 30px rgba(232, 104, 48, 0.3);
}
.day-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-peach);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}
.day-content p {
  font-size: 1.1rem;
  color: var(--color-cream-dim);
  line-height: 1.8;
}

/* ---- Six Pillars ---- */
.pillars {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--color-bg-warm) 0%, var(--color-bg) 100%);
  position: relative;
}
.pillars::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,104,48,0.2), transparent);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pillar-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(232, 104, 48, 0.08);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(232, 104, 48, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.pillar-card:hover {
  border-color: rgba(232, 104, 48, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.pillar-card:hover::before { opacity: 1; }
.pillar-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cream-dim);
  transition: color 0.3s, transform 0.4s var(--ease-out);
}
.pillar-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--ease-out);
}
.pillar-card:hover .pillar-icon img { transform: scale(1.1); }
.pillar-card:hover .pillar-icon { color: var(--color-ember); }
.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-cream);
  margin-bottom: 0.8rem;
}
.pillar-card p {
  font-size: 1rem;
  color: var(--color-cream-dim);
  line-height: 1.7;
}

/* ---- Heritage ---- */
.heritage {
  padding: 6rem 0;
  background: var(--color-bg);
  text-align: center;
  position: relative;
}
.heritage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,104,48,0.2), transparent);
}
.heritage-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.heritage-chinese, .heritage-english {
  flex: 1;
  min-width: 280px;
}
.heritage-chinese { text-align: right; }
.heritage-english { text-align: left; }
.heritage-zh {
  font-size: 1rem;
  color: var(--color-cream-dim);
  margin-bottom: 0.5rem;
}
.heritage-zh-large {
  font-size: 1.3rem;
  color: var(--color-peach);
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.heritage-zh-accent {
  font-size: 1.8rem;
  color: var(--color-ember);
  font-weight: 600;
}
.heritage-honor {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-cream-dim);
  margin-bottom: 0.4rem;
}
.heritage-desc {
  font-size: 1.05rem;
  color: var(--color-cream-dim);
  margin-bottom: 0.6rem;
}
.heritage-quote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-ember);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.heritage-divider {
  flex-shrink: 0;
}
.heritage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--color-cream-dim);
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(232, 104, 48, 0.15);
  border-radius: 4px;
}

/* ---- Reserve / CTA ---- */
.reserve {
  padding: 8rem 0;
  text-align: center;
  background: var(--color-bg-warm);
  position: relative;
  overflow: hidden;
}
.reserve::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,104,48,0.2), transparent);
}
.reserve-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 104, 48, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.reserve-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: 1.2rem;
  position: relative;
}
.reserve-text {
  font-size: 1.2rem;
  color: var(--color-cream-dim);
  margin-bottom: 3rem;
  line-height: 1.8;
  position: relative;
}
.reserve-details {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  position: relative;
}
.reserve-detail {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.detail-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-ember);
}
.detail-value {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--color-cream);
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--color-ember) 0%, var(--color-ember-deep) 100%);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-ember) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}
.cta-button:hover::before { opacity: 1; }
.cta-button span, .cta-button svg { position: relative; z-index: 1; }
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(232, 104, 48, 0.3);
}
.reserve-note {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--color-cream-dim);
  margin-top: 1.5rem;
  opacity: 0.6;
  position: relative;
}

/* ---- Footer ---- */
.footer {
  padding: 3rem 0 2rem;
  background: var(--color-bg);
  border-top: 1px solid rgba(232, 104, 48, 0.08);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.footer-links {
  display: flex;
  gap: 2rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-links a {
  color: var(--color-cream-dim);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--color-ember); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--color-cream-dim);
  opacity: 0.5;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-tagline {
  font-style: italic;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: rgba(13, 10, 8, 0.98);
    backdrop-filter: blur(20px);
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s var(--ease-out);
    border-left: 1px solid rgba(232, 104, 48, 0.1);
  }
  .nav-links.open { right: 0; }
  .nav-cta { text-align: center; }

  .hero-mandala { width: 120px; height: 120px; }

  .heritage-content { flex-direction: column; gap: 2rem; }
  .heritage-chinese, .heritage-english { text-align: center; }
  .heritage-divider { transform: rotate(90deg); }
  .heritage-divider svg { width: 80px; height: 2px; }

  .timeline-line { left: 28px; }

  .reserve-details { gap: 1.5rem; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .pillar-card { padding: 2rem 1.5rem; }
  .journey-day { gap: 1.5rem; }
}
