/* ═══════════════════════════════════════════════════
hero.css — Hero
═══════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  background: var(--teak);
}

/* left: content pane */
.hero-left {
  position: relative;
  z-index: 3;
  padding: 9rem 4rem 6rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
}

/* subtle vertical stripe */
.hero-left::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(200, 130, 10, .35) 30%, rgba(200, 130, 10, .35) 70%, transparent);
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--saffron-lt);
  margin-bottom: 2rem;
  animation: fadeUp 1s 0.1s var(--ease-out) both;
}

.hero-location-dot {
  width: 5px;
  height: 5px;
  background: var(--saffron);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(200, 130, 10, .8);
  animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    box-shadow: 0 0 4px rgba(200, 130, 10, .6);
  }

  50% {
    box-shadow: 0 0 14px rgba(200, 130, 10, 1);
  }
}

.hero-khmer {
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-weight: 300;
  color: var(--saffron-lt);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  opacity: 0.8;
  animation: fadeUp 1s 0.25s var(--ease-out) both;
}

.hero-title {
  font-size: clamp(3.4rem, 5.5vw, 5.8rem);
  font-weight: 200;
  color: #f5ede0;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 2.2rem;
  animation: fadeUp 1s 0.4s var(--ease-out) both;
}

.hero-title strong {
  display: block;
  font-weight: 400;
  color: var(--saffron-lt);
  /* subtle text shadow for depth */
  text-shadow: 0 0 80px rgba(200, 130, 10, .25);
}

.hero-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 300;
  color: rgba(245, 237, 224, .6);
  line-height: 1.9;
  max-width: 420px;
  margin-bottom: 3rem;
  animation: fadeUp 1s 0.55s var(--ease-out) both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 1s 0.7s var(--ease-out) both;
}

/* divider between hero text and scroll indicator */
.hero-divider {
  position: absolute;
  bottom: 5.5rem;
  left: 5rem;
  right: 4rem;
  height: 1px;
  background: linear-gradient(to right, rgba(200, 130, 10, .25), transparent);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  animation: fadeIn 1s 2s forwards;
}

.hero-scroll-label {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, .35);
}

.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, rgba(200, 130, 10, .7), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scaleX(1);
  }

  50% {
    opacity: 1;
    transform: scaleX(1.3);
  }
}

/* right: Visual panel */
.hero-right {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* richer layered gradient atmosphere */
.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 50% at 50% 0%, rgba(200, 130, 10, .3) 0%, transparent 55%),
    radial-gradient(ellipse 70% 70% at 50% 100%, rgba(59, 47, 30, .9) 0%, transparent 65%),
    radial-gradient(ellipse 100% 60% at 20% 50%, rgba(92, 72, 51, .3) 0%, transparent 70%),
    linear-gradient(160deg, #4a3a22 0%, #2a1c0e 45%, #150d04 100%);
}

/* stars / dust particles overlay */
.hero-atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 18% 22%, rgba(245, 220, 150, .35) 0%, transparent 100%),
    radial-gradient(1px 1px at 72% 15%, rgba(245, 220, 150, .25) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 38%, rgba(245, 220, 150, .2) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 55%, rgba(245, 220, 150, .3) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 65%, rgba(245, 220, 150, .18) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 8%, rgba(245, 220, 150, .22) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 90% 30%, rgba(245, 220, 150, .28) 0%, transparent 100%);
  pointer-events: none;
}

/* glowing orb — larger, more prominent */
.hero-glow {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 130, 10, .32) 0%, rgba(200, 130, 10, .08) 40%, transparent 70%);
  animation: glowPulse 5s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.75;
  }

  50% {
    transform: translateX(-50%) scale(1.12);
    opacity: 1;
  }
}

/* second smaller glow at top of temple */
.hero-glow-top {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 130, 10, .14) 0%, transparent 70%);
  animation: glowPulse 6s 1s ease-in-out infinite;
  z-index: 1;
}

/* large mandala watermark */
.hero-mandala {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  opacity: 0.055;
  animation: spinSlow 120s linear infinite;
}

@keyframes spinSlow {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* temple SVG illustration — taller, more impactful */
.hero-temple {
  position: relative;
  z-index: 2;
  width: 72%;
  max-width: 500px;
  margin-bottom: -2px;
  filter:
    drop-shadow(0 -30px 80px rgba(200, 130, 10, .35)) drop-shadow(0 20px 40px rgba(10, 6, 2, .6));
  animation: templeRise 2s 0.5s var(--ease-out) both;
}

@keyframes templeRise {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* horizontal ground haze */
.hero-ground {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(10, 6, 2, .55) 0%, rgba(200, 130, 10, .08) 60%, transparent 100%);
  z-index: 1;
}

/* horizontal light ray */
.hero-ray {
  position: absolute;
  bottom: 28%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(200, 130, 10, .18) 30%, rgba(200, 130, 10, .18) 70%, transparent 100%);
  z-index: 1;
}

/* right-side decorative caption */
.hero-caption {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-size: 0.56rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, .18);
  white-space: nowrap;
  z-index: 3;
}

/* gold ring accents — two rings for depth */
.hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(85vmin, 560px);
  height: min(85vmin, 560px);
  border-radius: 50%;
  border: 1px solid rgba(200, 130, 10, .12);
  animation: ringBreath 8s ease-in-out infinite;
}

.hero-ring-outer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vmin, 620px);
  height: min(92vmin, 620px);
  border-radius: 50%;
  border: 1px solid rgba(200, 130, 10, .05);
  animation: ringBreath 8s 1.5s ease-in-out infinite;
}

@keyframes ringBreath {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.04);
    opacity: 1;
  }
}

/* animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* responsive */
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .hero-left {
    min-height: auto;
    padding: 9rem 2rem 4rem;
    background: var(--teak);
  }

  .hero-left::after {
    display: none;
  }

  .hero-divider {
    display: none;
  }

  .hero-right {
    min-height: 55vw;
    max-height: 520px;
  }

  .hero-scroll {
    left: 2rem;
  }

  .hero-caption {
    display: none;
  }

  .hero-glow {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 600px) {
  .hero-left {
    padding: 8rem 1.5rem 3rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .hero-right {
    max-height: 380px;
  }
}