/* ============================================================
   HOME.CSS — Home page: Hero, Sections, Indian Motifs & Animations
   ============================================================ */

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-cream);
}

@media (min-width: 1024px) {
  .hero { min-height: 85vh; }
}

.hero-inner {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: var(--space-2xl);
  position: relative;
  z-index: 2;
  padding: var(--space-2xl) 0;
}

@media (min-width: 1024px) {
  .hero-inner {
    flex-direction: row;
    gap: var(--space-3xl);
    padding: var(--space-3xl) 0;
  }
}

/* Hero Text */
.hero-text {
  text-align: center;
  flex: 1;
}

@media (min-width: 1024px) {
  .hero-text { text-align: left; }
}

.hero-supertext {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-sage);
  margin-bottom: var(--space-md);
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: var(--leading-tight);
  margin-bottom: var(--space-lg);
  color: var(--color-charcoal);
}

@media (min-width: 1024px) {
  .hero-heading { font-size: var(--text-4xl); }
}

@media (min-width: 1280px) {
  .hero-heading { font-size: var(--text-5xl); }
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-brown-soft);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-xl);
  max-width: 540px;
}

@media (min-width: 1024px) {
  .hero-sub { margin-bottom: var(--space-2xl); }
}

@media (max-width: 1023px) {
  .hero-sub { margin-left: auto; margin-right: auto; }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero-ctas { justify-content: flex-start; }
}

/* Hero Image */
.hero-image {
  position: relative;
  flex-shrink: 0;
}

.hero-image-frame {
  width: 240px;
  height: 300px;
  border-radius: var(--radius-xl);
  border: 3px solid var(--color-sage-light);
  background: linear-gradient(135deg, var(--color-sage-light) 0%, var(--color-cream) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero-image-frame {
    width: 380px;
    height: 470px;
  }
}

.hero-image-placeholder {
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  color: var(--color-sage-dark);
  text-align: center;
  padding: var(--space-xl);
  font-style: italic;
}

/* Real hero photo */
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* (rangoli corner ornament removed — replaced by hero mandala) */

/* ==================== BACKGROUND DECORATIVE MOTIFS ==================== */

/* Large paisley watermark on hero */
.hero-paisley {
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 320px;
  height: 400px;
  color: var(--color-sage);
  opacity: 0.12;
  z-index: 0;
  animation: floatSlow 10s ease-in-out infinite;
}

@media (min-width: 1024px) {
  .hero-paisley {
    width: 500px;
    height: 620px;
    bottom: -60px;
    right: 0;
    opacity: 0.14;
  }
}

/* Floating lotus petals around hero — LARGE & VISIBLE */
.floating-motif {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.floating-lotus-1 {
  top: 12%;
  left: 3%;
  width: 70px;
  height: 70px;
  color: var(--color-sage);
  opacity: 0.5;
  animation: floatLotus1 6s ease-in-out infinite;
}

@media (min-width: 1024px) {
  .floating-lotus-1 {
    width: 90px;
    height: 90px;
    left: 5%;
  }
}

.floating-lotus-2 {
  top: 55%;
  right: 4%;
  width: 60px;
  height: 60px;
  color: var(--color-terracotta);
  opacity: 0.4;
  animation: floatLotus2 7s ease-in-out infinite 1s;
}

@media (min-width: 1024px) {
  .floating-lotus-2 {
    width: 80px;
    height: 80px;
    right: 6%;
  }
}

.floating-lotus-3 {
  bottom: 12%;
  left: 8%;
  width: 50px;
  height: 50px;
  color: var(--color-gold-soft);
  opacity: 0.45;
  animation: floatLotus3 5.5s ease-in-out infinite 2s;
}

@media (min-width: 1024px) {
  .floating-lotus-3 {
    width: 65px;
    height: 65px;
    left: 15%;
  }
}

/* Floating dots — bigger & brighter */
.floating-dot-1 {
  top: 28%;
  right: 12%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-sage);
  opacity: 0.35;
  animation: floatDot 4s ease-in-out infinite;
}

.floating-dot-2 {
  top: 68%;
  left: 18%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-terracotta);
  opacity: 0.3;
  animation: floatDot 5s ease-in-out infinite 1.5s;
}

.floating-dot-3 {
  top: 22%;
  left: 38%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-gold-soft);
  opacity: 0.4;
  animation: floatDot 6s ease-in-out infinite 3s;
}

/* ==================== FLOATING KEYFRAMES ==================== */
@keyframes floatGentle {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(4px, -8px) rotate(3deg); }
  50%      { transform: translate(0, -14px) rotate(0deg); }
  75%      { transform: translate(-4px, -8px) rotate(-3deg); }
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(8px, -18px) rotate(2deg); }
  66%      { transform: translate(-6px, -10px) rotate(-1.5deg); }
}

@keyframes floatLotus1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(10px, -16px) rotate(5deg); }
  50%      { transform: translate(4px, -24px) rotate(0deg); }
  75%      { transform: translate(-6px, -12px) rotate(-4deg); }
}

@keyframes floatLotus2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(-12px, -20px) rotate(-6deg); }
  66%      { transform: translate(6px, -10px) rotate(3deg); }
}

@keyframes floatLotus3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  30%      { transform: translate(8px, -14px) rotate(4deg); }
  60%      { transform: translate(-5px, -22px) rotate(-3deg); }
  85%      { transform: translate(-8px, -6px) rotate(-1deg); }
}

@keyframes floatDot {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-20px) scale(1.3); }
}

/* ==================== DAILY WISDOM CAROUSEL ==================== */
.daily-wisdom {
  background: linear-gradient(135deg, rgba(122, 158, 126, 0.10) 0%, rgba(196, 112, 75, 0.06) 50%, rgba(212, 168, 83, 0.06) 100%);
  border-top: 2px solid rgba(122, 158, 126, 0.18);
  border-bottom: 2px solid rgba(122, 158, 126, 0.18);
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

/* Decorative corner rangoli on the section */
.daily-wisdom::before,
.daily-wisdom::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1.5px solid var(--color-sage-light);
  border-radius: 50%;
  opacity: 0.12;
}
.daily-wisdom::before {
  top: -40px;
  left: -40px;
  box-shadow: 20px 20px 0 -1px transparent, 20px 20px 0 0 var(--color-sage-light);
}
.daily-wisdom::after {
  bottom: -40px;
  right: -40px;
  box-shadow: -20px -20px 0 -1px transparent, -20px -20px 0 0 var(--color-sage-light);
}

.daily-wisdom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
  position: relative;
}

/* ---- Animated Diya ---- */
.daily-wisdom-diya {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  margin-bottom: var(--space-sm);
}

.daily-wisdom-diya svg {
  width: 100%;
  height: 100%;
  color: var(--color-terracotta);
  position: relative;
  z-index: 2;
}

/* Flame flicker */
.diya-flame {
  animation: flameFlicker 1.2s ease-in-out infinite alternate;
  transform-origin: center bottom;
}

@keyframes flameFlicker {
  0%   { transform: scaleY(1) scaleX(1) rotate(0deg); opacity: 0.9; }
  25%  { transform: scaleY(1.1) scaleX(0.95) rotate(-2deg); opacity: 1; }
  50%  { transform: scaleY(0.95) scaleX(1.05) rotate(1deg); opacity: 0.85; }
  75%  { transform: scaleY(1.08) scaleX(0.97) rotate(-1deg); opacity: 1; }
  100% { transform: scaleY(1) scaleX(1) rotate(0deg); opacity: 0.9; }
}

/* Glow rings behind the diya */
.diya-glow-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.diya-glow-ring-1 {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(196,112,75,0.25) 0%, transparent 70%);
  animation: diyaPulse1 2.5s ease-in-out infinite;
}

.diya-glow-ring-2 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(212,168,83,0.15) 0%, transparent 70%);
  animation: diyaPulse2 3.5s ease-in-out infinite 0.5s;
}

.diya-glow-ring-3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(196,112,75,0.08) 0%, transparent 70%);
  animation: diyaPulse3 4s ease-in-out infinite 1s;
}

@keyframes diyaPulse1 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50%      { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}
@keyframes diyaPulse2 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50%      { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}
@keyframes diyaPulse3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
  50%      { transform: translate(-50%, -50%) scale(1.12); opacity: 0.6; }
}

/* ---- Section label ---- */
.daily-wisdom-label {
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-sage-dark);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ---- Carousel viewport ---- */
.wisdom-carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  min-height: 120px;
}

.wisdom-carousel-track {
  position: relative;
  overflow: hidden;
}

.wisdom-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--space-md);
  animation: wisdomFadeIn 600ms ease both;
}

.wisdom-slide.active {
  display: flex;
}

@keyframes wisdomFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wisdom-slide-number {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-sage);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
}

.wisdom-slide-quote {
  font-family: var(--font-accent);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-charcoal);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
  max-width: 700px;
}

@media (min-width: 1024px) {
  .wisdom-slide-quote { font-size: var(--text-3xl); }
}

.wisdom-slide-source {
  font-size: var(--text-sm);
  color: var(--color-brown-soft);
  font-weight: 500;
  margin-bottom: 0;
}

/* ---- Carousel Navigation Arrows ---- */
.wisdom-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-warm-white);
  color: var(--color-sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: 1px solid var(--color-border);
  transition: all 250ms ease;
  z-index: 5;
}

.wisdom-carousel-nav:hover {
  background: var(--color-sage);
  color: #fff;
  border-color: var(--color-sage);
  transform: translateY(-50%) scale(1.08);
}

.wisdom-carousel-prev { left: -8px; }
.wisdom-carousel-next { right: -8px; }

@media (min-width: 1024px) {
  .wisdom-carousel-prev { left: -56px; }
  .wisdom-carousel-next { right: -56px; }
}

.wisdom-carousel-nav svg {
  width: 20px;
  height: 20px;
}

/* ---- Dot Indicators ---- */
.wisdom-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-lg);
}

.wisdom-dot {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-sage-light);
  background: transparent;
  color: var(--color-brown-soft);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 300ms ease;
  padding: 0;
}

.wisdom-dot:hover {
  border-color: var(--color-sage);
  color: var(--color-sage);
}

.wisdom-dot.active {
  background: var(--color-sage);
  border-color: var(--color-sage);
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 0 0 3px rgba(122, 158, 126, 0.2);
}

/* ---- Progress Bar ---- */
.wisdom-progress {
  width: 100%;
  max-width: 400px;
  height: 3px;
  background: var(--color-border);
  border-radius: 2px;
  margin: var(--space-md) auto 0;
  overflow: hidden;
}

.wisdom-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-sage), var(--color-sage-dark));
  border-radius: 2px;
  width: 0%;
  transition: none;
}

.wisdom-progress-bar.animating {
  transition: width 15s linear;
  width: 100%;
}

/* ---- CTA Link ---- */
.daily-wisdom-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-sage-dark);
  font-size: var(--text-base);
  font-weight: 600;
  margin-top: var(--space-lg);
  padding: var(--space-sm) var(--space-lg);
  border: 1.5px solid var(--color-sage-light);
  border-radius: var(--radius-2xl);
  transition: all 250ms ease;
}

.daily-wisdom-link:hover {
  background: var(--color-sage);
  color: #fff;
  border-color: var(--color-sage);
  transform: translateY(-2px);
}

/* ==================== "WHAT I HELP WITH" SECTION ==================== */
.help-section {
  text-align: center;
}

.help-cards {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

@media (min-width: 640px) {
  .help-cards { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .help-cards { grid-template-columns: 1fr 1fr 1fr; }
}

.help-cards .card {
  text-align: left;
}

/* ==================== FEATURED WISDOM SECTION ==================== */
.wisdom-preview {
  position: relative;
}

.wisdom-preview-grid {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

@media (min-width: 640px) {
  .wisdom-preview-grid { grid-template-columns: 1fr 1fr; }
}

.wisdom-preview-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* Horizontal scroll on small mobile */
@media (max-width: 639px) {
  .wisdom-preview-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-md);
    padding-bottom: var(--space-lg);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE/Edge */
  }

  .wisdom-preview-grid::-webkit-scrollbar {
    display: none;                  /* Chrome/Safari */
  }

  .wisdom-preview-grid .wisdom-card {
    min-width: calc(85vw - var(--space-xl));
    max-width: calc(85vw - var(--space-xl));
    flex-shrink: 0;
    scroll-snap-align: center;
  }
}

/* Scroll indicator dots for mobile wisdom cards */
.wisdom-scroll-dots {
  display: none;
}

@media (max-width: 639px) {
  .wisdom-scroll-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-md);
  }

  .wisdom-scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--color-sage-light);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 300ms ease;
    opacity: 0.4;
  }

  .wisdom-scroll-dot.active {
    background: var(--color-sage);
    opacity: 1;
    transform: scale(1.3);
  }

}

/* (swipeHintFade removed — replaced by dot indicators) */

/* ==================== TRUST & CREDENTIALS STRIP ==================== */
.trust-strip {
  background: var(--color-charcoal);
  position: relative;
  overflow: hidden;
}

/* Subtle gradient shimmer across the strip */
.trust-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(122,158,126,0.08) 0%,
    rgba(212,168,83,0.06) 50%,
    rgba(196,112,75,0.05) 100%
  );
  pointer-events: none;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .trust-grid { grid-template-columns: 1fr 1fr 1fr 1fr 1fr; }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xl) var(--space-md);
  position: relative;
}

/* Vertical divider lines between items */
.trust-item + .trust-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

/* Hide vertical dividers on mobile grid (every other item start of row) */
@media (max-width: 767px) {
  .trust-item:nth-child(odd)::before { display: none; }
}

.trust-item-icon {
  width: 56px;
  height: 56px;
  color: var(--color-sage-light);
  margin-bottom: var(--space-xs);
  transition: transform 400ms ease;
}

.trust-item:hover .trust-item-icon {
  transform: scale(1.15) rotate(3deg);
}

.trust-item-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 2px;
}

@media (min-width: 1024px) {
  .trust-item-number { font-size: var(--text-4xl); }
}

.trust-item-text {
  font-size: var(--text-base);
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
}

@media (min-width: 1024px) {
  .trust-item-text { font-size: var(--text-lg); }
}

/* ==================== TESTIMONIAL SECTION ==================== */
.testimonial-section {
  text-align: center;
  position: relative;
}

.testimonial-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-warm-white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .testimonial-card { padding: var(--space-3xl) var(--space-4xl); }
}

.testimonial-quote-mark {
  font-family: var(--font-accent);
  font-size: 6rem;
  line-height: 1;
  color: var(--color-sage-light);
  position: absolute;
  top: 16px;
  left: 24px;
  opacity: 0.5;
  user-select: none;
}

@media (min-width: 1024px) {
  .testimonial-quote-mark { font-size: 8rem; top: 8px; left: 32px; }
}

.testimonial-text {
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-charcoal);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .testimonial-text { font-size: var(--text-xl); }
}

.testimonial-attr {
  font-size: var(--text-sm);
  color: var(--color-brown-soft);
  font-weight: 500;
}

.testimonial-link {
  display: inline-block;
  margin-top: var(--space-lg);
  color: var(--color-sage-dark);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: color 200ms ease;
}

.testimonial-link:hover { color: var(--color-sage); }

/* Rangoli ornament on testimonial card */
.testimonial-rangoli {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 130px;
  height: 130px;
  color: var(--color-sage);
  opacity: 0.15;
  animation: spinSlow 30s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ==================== BOTANICAL DIVIDER ==================== */
.botanical-divider {
  display: flex;
  justify-content: center;
  padding: var(--space-md) 0;
  opacity: 0.45;
  color: var(--color-sage);
}

.botanical-divider svg {
  width: min(60%, 400px);
  height: auto;
}

/* ==================== AMBIENT PARTICLES ==================== */
/* Floating glowing orbs always visible across the entire page */
.ambient-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particleDrift linear infinite;
}

/* Larger, more visible particles with glow */
.particle:nth-child(1) {
  width: 10px; height: 10px;
  background: radial-gradient(circle, var(--color-sage-light), transparent);
  box-shadow: 0 0 8px var(--color-sage-light);
  left: 8%;
  animation-duration: 14s;
  animation-delay: 0s;
}
.particle:nth-child(2) {
  width: 8px; height: 8px;
  background: radial-gradient(circle, var(--color-terracotta-light), transparent);
  box-shadow: 0 0 6px var(--color-terracotta-light);
  left: 22%;
  animation-duration: 16s;
  animation-delay: 2s;
}
.particle:nth-child(3) {
  width: 12px; height: 12px;
  background: radial-gradient(circle, var(--color-gold-soft), transparent);
  box-shadow: 0 0 10px rgba(212,168,83,0.4);
  left: 45%;
  animation-duration: 13s;
  animation-delay: 4s;
}
.particle:nth-child(4) {
  width: 7px; height: 7px;
  background: radial-gradient(circle, var(--color-sage), transparent);
  box-shadow: 0 0 6px var(--color-sage-light);
  left: 65%;
  animation-duration: 17s;
  animation-delay: 1s;
}
.particle:nth-child(5) {
  width: 9px; height: 9px;
  background: radial-gradient(circle, var(--color-terracotta), transparent);
  box-shadow: 0 0 8px var(--color-terracotta-light);
  left: 80%;
  animation-duration: 15s;
  animation-delay: 6s;
}
.particle:nth-child(6) {
  width: 8px; height: 8px;
  background: radial-gradient(circle, var(--color-sage), transparent);
  box-shadow: 0 0 7px var(--color-sage-light);
  left: 35%;
  animation-duration: 18s;
  animation-delay: 3s;
}
.particle:nth-child(7) {
  width: 10px; height: 10px;
  background: radial-gradient(circle, var(--color-gold-soft), transparent);
  box-shadow: 0 0 8px rgba(212,168,83,0.4);
  left: 55%;
  animation-duration: 14s;
  animation-delay: 8s;
}
.particle:nth-child(8) {
  width: 7px; height: 7px;
  background: radial-gradient(circle, var(--color-sage-light), transparent);
  box-shadow: 0 0 6px var(--color-sage-light);
  left: 12%;
  animation-duration: 16s;
  animation-delay: 5s;
}
.particle:nth-child(9) {
  width: 11px; height: 11px;
  background: radial-gradient(circle, var(--color-sage), transparent);
  box-shadow: 0 0 10px var(--color-sage-light);
  left: 92%;
  animation-duration: 13s;
  animation-delay: 1s;
}
.particle:nth-child(10) {
  width: 9px; height: 9px;
  background: radial-gradient(circle, var(--color-terracotta), transparent);
  box-shadow: 0 0 8px rgba(196,112,75,0.4);
  left: 3%;
  animation-duration: 15s;
  animation-delay: 7s;
}
.particle:nth-child(11) {
  width: 8px; height: 8px;
  background: radial-gradient(circle, var(--color-gold-soft), transparent);
  box-shadow: 0 0 7px rgba(212,168,83,0.4);
  left: 75%;
  animation-duration: 17s;
  animation-delay: 9s;
}
.particle:nth-child(12) {
  width: 10px; height: 10px;
  background: radial-gradient(circle, var(--color-sage-light), transparent);
  box-shadow: 0 0 9px var(--color-sage-light);
  left: 50%;
  animation-duration: 14s;
  animation-delay: 11s;
}

@keyframes particleDrift {
  0% {
    transform: translateY(105vh) scale(0.5);
    opacity: 0;
  }
  5% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.45;
    transform: translateY(50vh) scale(1);
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-40px) scale(0.6);
    opacity: 0;
  }
}

/* ==================== ALWAYS-VISIBLE SIDE MOTIFS ==================== */
/* Fixed decorative motifs on left/right edges — visible on all screens */
.side-motif {
  position: fixed;
  z-index: 0;
  pointer-events: none;
}

.side-motif-left {
  left: -20px;
  top: 25%;
  width: 100px;
  height: 150px;
  color: var(--color-sage);
  opacity: 0.15;
  animation: sideMotifLeft 7s ease-in-out infinite;
}

.side-motif-right {
  right: -20px;
  top: 50%;
  width: 90px;
  height: 135px;
  color: var(--color-terracotta);
  opacity: 0.12;
  animation: sideMotifRight 8s ease-in-out infinite 2s;
}

@media (min-width: 1024px) {
  .side-motif-left {
    left: -10px;
    width: 140px;
    height: 210px;
    opacity: 0.18;
  }
  .side-motif-right {
    right: -10px;
    width: 120px;
    height: 180px;
    opacity: 0.15;
  }
}

@media (min-width: 1280px) {
  .side-motif-left {
    left: 10px;
    width: 160px;
    height: 240px;
    opacity: 0.2;
  }
  .side-motif-right {
    right: 10px;
    width: 140px;
    height: 210px;
    opacity: 0.18;
  }
}

@keyframes sideMotifLeft {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-30px) rotate(3deg); }
}

@keyframes sideMotifRight {
  0%, 100% { transform: translateY(0) rotate(0deg) scaleX(-1); }
  50%      { transform: translateY(-25px) rotate(-3deg) scaleX(-1); }
}

/* ==================== HERO SPARKLE ACCENTS ==================== */
/* Extra decorative elements in the hero for visual richness */
.hero-sparkle {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hero-sparkle-1 {
  top: 10%;
  right: 20%;
  width: 20px;
  height: 20px;
  animation: sparkle 3s ease-in-out infinite;
}

.hero-sparkle-2 {
  top: 75%;
  left: 25%;
  width: 16px;
  height: 16px;
  animation: sparkle 4s ease-in-out infinite 1.5s;
}

.hero-sparkle-3 {
  top: 40%;
  left: 50%;
  width: 14px;
  height: 14px;
  animation: sparkle 3.5s ease-in-out infinite 0.8s;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0.15;
    transform: scale(0.8) rotate(0deg);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2) rotate(180deg);
  }
}

/* ==================== HERO MANDALA — top-right of hero ==================== */
.hero-mandala {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  color: var(--color-sage);
  opacity: 0.25;
  animation: mandalaRotate 50s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 640px) {
  .hero-mandala {
    top: -100px;
    right: -60px;
    width: 400px;
    height: 400px;
    opacity: 0.22;
  }
}

@media (min-width: 1024px) {
  .hero-mandala {
    top: -120px;
    right: -40px;
    width: 520px;
    height: 520px;
    opacity: 0.2;
  }
}

@media (min-width: 1280px) {
  .hero-mandala {
    top: -140px;
    right: 0;
    width: 600px;
    height: 600px;
    opacity: 0.18;
  }
}

@keyframes mandalaRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ==================== PHOTO STORY — LIFE IN PICTURES ==================== */
.photo-story-section {
  background: var(--color-cream);
  position: relative;
  overflow: hidden;
}

/* Subtle decorative border top */
.photo-story-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-sage-light), transparent);
}

.photo-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (min-width: 640px) {
  .photo-story-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .photo-story-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: var(--space-lg);
  }

  .photo-story-item--tall {
    grid-row: span 2;
  }

  .photo-story-item--wide {
    grid-column: span 2;
  }
}

/* Individual photo item */
.photo-story-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-warm-white);
  box-shadow: var(--shadow-sm);
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 400ms ease;
  cursor: pointer;
}

.photo-story-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Image wrapper */
.photo-story-img-wrap {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

@media (min-width: 1024px) {
  .photo-story-item--tall .photo-story-img-wrap {
    height: 100%;
    min-height: 360px;
  }

  .photo-story-item--wide .photo-story-img-wrap {
    height: 320px;
  }
}

.photo-story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 600ms cubic-bezier(0.23, 1, 0.32, 1);
}

.photo-story-item:hover .photo-story-img-wrap img {
  transform: scale(1.06);
}

/* Gradient overlay for readability */
.photo-story-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(30, 30, 25, 0.75) 0%, rgba(30, 30, 25, 0.2) 50%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Caption overlay */
.photo-story-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  z-index: 2;
  transform: translateY(8px);
  opacity: 0;
  transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.photo-story-item:hover .photo-story-caption {
  transform: translateY(0);
  opacity: 1;
}

/* Always show caption on touch devices */
@media (hover: none) {
  .photo-story-caption {
    transform: translateY(0);
    opacity: 1;
  }
}

.photo-story-caption h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: var(--leading-tight);
}

.photo-story-caption p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* Decorative corner accent on each card */
.photo-story-item::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  width: 24px;
  height: 24px;
  border-top: 2px solid rgba(255, 255, 255, 0.5);
  border-left: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px 0 0 0;
  z-index: 3;
  opacity: 0;
  transition: opacity 400ms ease;
}

.photo-story-item::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-top: 2px solid rgba(255, 255, 255, 0.5);
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 0 4px 0 0;
  z-index: 3;
  opacity: 0;
  transition: opacity 400ms ease;
}

.photo-story-item:hover::before,
.photo-story-item:hover::after {
  opacity: 1;
}

/* ==================== LIGHTBOX OVERLAY ==================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20, 18, 15, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 350ms ease, visibility 350ms ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: all 250ms ease;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: rotate(90deg);
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  animation: lightboxFadeIn 400ms ease both;
}

@keyframes lightboxFadeIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox-caption {
  text-align: center;
  max-width: 600px;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.lightbox-desc {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.7);
  line-height: var(--leading-relaxed);
  margin: 0;
}
