/* ==========================================================================
   Natyarpana — The Natyarpana Experience
   ========================================================================== */

.home-experience {
  --bg-primary: #050505;
  --bg-secondary: #0b0b0b;
  --gold-main: #c8a44d;
  --gold-light: #e0c27a;
  --gold-dark: #8e6b23;
  --text-primary: #f5e7c1;
  --text-secondary: #d6c6a5;
  --border-gold: rgba(200, 164, 77, 0.45);

  position: relative;
  background-color: var(--bg-primary);
  background-image: url("../img/Backgrounds/11.webp");
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  padding: clamp(80px, 9vw, 128px) clamp(20px, 4vw, 40px);
  overflow: hidden;
}

/* Texture + radial glow */
.home-experience::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 50% 45% at 72% 55%,
      rgba(200, 164, 77, 0.1) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 40% 35% at 50% 15%,
      rgba(200, 164, 77, 0.06) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.home-experience::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 100% 90% at 50% 50%,
    transparent 35%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.home-experience__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(200, 164, 77, 0.15) 40px,
      rgba(200, 164, 77, 0.15) 41px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(200, 164, 77, 0.1) 40px,
      rgba(200, 164, 77, 0.1) 41px
    );
}

.home-experience__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(1px 1px at 15% 25%, rgba(224, 194, 122, 0.6), transparent),
    radial-gradient(1px 1px at 85% 20%, rgba(200, 164, 77, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 70% 75%, rgba(224, 194, 122, 0.4), transparent),
    radial-gradient(1px 1px at 25% 80%, rgba(200, 164, 77, 0.45), transparent);
  animation: home-exp-particles 20s ease-in-out infinite alternate;
}

@keyframes home-exp-particles {
  0% {
    opacity: 0.28;
    transform: translateY(0);
  }
  100% {
    opacity: 0.42;
    transform: translateY(-6px);
  }
}

.home-experience__mandala {
  position: absolute;
  width: clamp(120px, 16vw, 200px);
  height: clamp(120px, 16vw, 200px);
  opacity: 0.12;
  pointer-events: none;
  background: url("../img/about/bg-shape.png") center / contain no-repeat;
  filter: sepia(0.55) saturate(1.3) hue-rotate(8deg) brightness(1.05);
}

.home-experience__mandala--tl {
  top: 0;
  left: 0;
}
.home-experience__mandala--tr {
  top: 0;
  right: 0;
  transform: scaleX(-1);
}
.home-experience__mandala--bl {
  bottom: 0;
  left: 0;
  transform: scaleY(-1);
}
.home-experience__mandala--br {
  bottom: 0;
  right: 0;
  transform: scale(-1, -1);
}

.home-experience__diya-hang {
  position: absolute;
  top: 0;
  width: clamp(44px, 5vw, 64px);
  height: clamp(90px, 10vw, 120px);
  opacity: 0.3;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 120'%3E%3Cpath fill='none' stroke='%23C8A44D' stroke-width='1.2' d='M24 0v28'/%3E%3Cpath fill='%23C8A44D' fill-opacity='.2' stroke='%23C8A44D' stroke-width='1' d='M12 36c0-6 5-12 12-12s12 6 12 12v8H12v-8z'/%3E%3Cpath fill='%23E0C27A' d='M20 52h8l-2 10h-4l-2-10z'/%3E%3Ccircle cx='24' cy='32' r='4' fill='%23D4AF37' fill-opacity='.45'/%3E%3C/svg%3E")
    center top / contain no-repeat;
}

.home-experience__diya-hang--l {
  left: clamp(12px, 4vw, 56px);
}
.home-experience__diya-hang--r {
  right: clamp(12px, 4vw, 56px);
  transform: scaleX(-1);
}

.home-experience__wrap {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Intro header
   -------------------------------------------------------------------------- */
.home-experience__intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(52px, 6vw, 72px);
}

.home-experience__ornament {
  display: block;
  width: clamp(52px, 6vw, 68px);
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 18px rgba(200, 164, 77, 0.38));
}

.home-experience__divider {
  display: block;
  width: min(200px, 55%);
  height: 1px;
  margin: 0 auto 22px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-main),
    var(--gold-light),
    var(--gold-main),
    transparent
  );
}

.home-experience__title {
  margin: 0 0 12px;
  font-family: "Cinzel", "Cormorant Garamond", serif;
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.3;
  color: var(--gold-light);
  text-transform: uppercase;
}

.home-experience__subtitle {
  margin: 0 0 20px;
  font-family: "Cinzel", serif;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-main);
}

.home-experience__desc {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.75;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Main split layout
   -------------------------------------------------------------------------- */
.home-experience__body {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

/* Feature grid 3×2 */
.home-experience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.6vw, 18px);
}

.home-experience__feat {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: clamp(16px, 1.8vw, 22px) clamp(14px, 1.5vw, 18px);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

.home-experience__feat:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 164, 77, 0.65);
  box-shadow:
    inset 0 0 28px rgba(200, 164, 77, 0.05),
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(200, 164, 77, 0.1);
}

.home-experience__feat-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* No border-radius/overflow/background — let the SVG show its own golden circle */
  filter: drop-shadow(0 0 10px rgba(200, 164, 77, 0.5));
}

.home-experience__feat-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

/* =========================================================
   All icons uniform sizing — removed per-icon variations
   ========================================================= */

.home-experience__feat-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.35;
}

.home-experience__feat-title {
  margin: 0 0 8px;
  font-family: "Cinzel", "Cormorant Garamond", serif;
  font-size: clamp(0.7rem, 0.95vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-main);
  line-height: 1.35;
}

.home-experience__feat-text {
  margin: 0 0 12px;
  font-family: "Inter", sans-serif;
  font-size: clamp(11px, 0.95vw, 12.5px);
  line-height: 1.6;
  color: var(--text-secondary);
}

.home-experience__feat-line {
  display: block;
  width: 55%;
  height: 1px;
  margin-top: auto;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-main),
    transparent
  );
  opacity: 0.65;
}

/* Scroll reveal */
.home-experience .home-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.home-experience .home-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger reveal */
.home-experience__feat.home-reveal:nth-child(1) { transition-delay: 0.04s; }
.home-experience__feat.home-reveal:nth-child(2) { transition-delay: 0.08s; }
.home-experience__feat.home-reveal:nth-child(3) { transition-delay: 0.12s; }
.home-experience__feat.home-reveal:nth-child(4) { transition-delay: 0.16s; }
.home-experience__feat.home-reveal:nth-child(5) { transition-delay: 0.2s; }
.home-experience__feat.home-reveal:nth-child(6) { transition-delay: 0.24s; }

/* --------------------------------------------------------------------------
   Right — temple arch dancer
   -------------------------------------------------------------------------- */
.home-experience__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.home-experience__arch-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 14px;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
}

.home-experience__arch-wrap .home-experience__diya-glow {
  pointer-events: none;
}

/* Temple arch outline */
.home-experience__arch-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-gold);
  border-radius: 50% 50% 18px 18px / 22% 22% 18px 18px;
  box-shadow:
    0 0 24px rgba(200, 164, 77, 0.2),
    inset 0 0 30px rgba(200, 164, 77, 0.04);
  pointer-events: none;
  z-index: 2;
  animation: home-exp-glow-breathe 5s ease-in-out infinite;
}

@keyframes home-exp-glow-breathe {
  0%,
  100% {
    box-shadow:
      0 0 20px rgba(200, 164, 77, 0.15),
      inset 0 0 24px rgba(200, 164, 77, 0.03);
  }
  50% {
    box-shadow:
      0 0 36px rgba(200, 164, 77, 0.28),
      inset 0 0 32px rgba(200, 164, 77, 0.06);
  }
}

.home-experience__arch-inner {
  position: relative;
  z-index: 1;
  border-radius: 50% 50% 14px 14px / 20% 20% 14px 14px;
  overflow: hidden;
  background: #080808;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.home-experience__arch-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.75);
  pointer-events: none;
  z-index: 3;
}

.home-experience__arch-glow {
  position: absolute;
  inset: 15% 10% 0;
  background: radial-gradient(
    ellipse 70% 55% at 50% 85%,
    rgba(200, 164, 77, 0.25) 0%,
    transparent 70%
  );
  z-index: 0;
  animation: home-exp-float 7s ease-in-out infinite;
}

@keyframes home-exp-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.home-experience__photo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 520px;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  animation: home-exp-photo-float 7s ease-in-out infinite;
}

@keyframes home-exp-photo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Diya glows at base */
.home-experience__diya-glow {
  position: absolute;
  bottom: 8%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(224, 194, 122, 0.55) 0%,
    rgba(200, 164, 77, 0.15) 45%,
    transparent 70%
  );
  filter: blur(2px);
  z-index: 4;
  animation: home-exp-diya-pulse 4s ease-in-out infinite;
}

.home-experience__diya-glow--1 {
  left: 18%;
  animation-delay: 0s;
}
.home-experience__diya-glow--2 {
  left: 42%;
  animation-delay: 0.6s;
}
.home-experience__diya-glow--3 {
  right: 18%;
  animation-delay: 1.2s;
}

@keyframes home-exp-diya-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.12);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .home-experience__body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-experience__visual {
    order: -1;
    min-height: 380px;
  }

  .home-experience__grid {
    order: 1;
  }
}

@media (max-width: 767px) {
  .home-experience__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-experience__arch-inner {
    min-height: 360px;
  }
}

@media (max-width: 480px) {
  .home-experience__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-experience .home-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-experience__particles,
  .home-experience__arch-wrap::before,
  .home-experience__arch-glow,
  .home-experience__photo,
  .home-experience__diya-glow {
    animation: none;
  }

  .home-experience__feat:hover {
    transform: none;
  }
}
