/* ==========================================================================
   Natyarpana — Home Showcase (feature strip + guru profile)
   ========================================================================== */

.home-showcase {
  --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);
  padding: clamp(72px, 8vw, 120px) clamp(20px, 4vw, 40px);
  overflow: hidden;
}

.home-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 50% at 50% 20%,
    rgba(200, 164, 77, 0.08) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.home-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 100% 80% at 50% 100%,
    transparent 40%,
    rgba(0, 0, 0, 0.65) 100%
  );
  pointer-events: none;
}

.home-showcase__wrap {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Feature strip
   -------------------------------------------------------------------------- */
.home-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  box-shadow:
    inset 0 0 40px rgba(200, 164, 77, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.home-features__card {
  position: relative;
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
  text-align: center;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    background 0.45s ease;
}

.home-features__card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 0;
  width: 1px;
  height: 64%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(200, 164, 77, 0.5),
    transparent
  );
}

.home-features__card:hover {
  background: rgba(200, 164, 77, 0.04);
  transform: translateY(-3px);
  box-shadow: inset 0 0 32px rgba(200, 164, 77, 0.08);
}

.home-features__icon {
  width: 60px;
  height: 60px;
  margin: 4px auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* No clipping circle — SVG draws its own golden circle */
  filter: drop-shadow(0 0 8px rgba(200, 164, 77, 0.4));
}

.home-features__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.25;
  display: block;
}

.home-features__icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}


.home-features__title {
  font-family: "Cormorant Garamond", "Cinzel", serif;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-weight: 600;
  color: var(--gold-light);
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}

.home-features__divider {
  display: block;
  width: 48px;
  height: 1px;
  margin: 0 auto 14px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-main),
    transparent
  );
}

.home-features__text {
  font-family: "Inter", sans-serif;
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
  max-width: 240px;
  margin-inline: auto;
}

/* Scroll reveal */
.home-features__card,
.home-guru__col,
.home-guru__ach-item {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.home-features__card.is-visible,
.home-guru__col.is-visible,
.home-guru__ach-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-features__card:nth-child(1) { transition-delay: 0.05s; }
.home-features__card:nth-child(2) { transition-delay: 0.12s; }
.home-features__card:nth-child(3) { transition-delay: 0.19s; }
.home-features__card:nth-child(4) { transition-delay: 0.26s; }

/* --------------------------------------------------------------------------
   Guru profile block
   -------------------------------------------------------------------------- */
.home-guru {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(36px, 4vw, 56px);
  background:
    radial-gradient(
      ellipse 60% 50% at 70% 40%,
      rgba(200, 164, 77, 0.07) 0%,
      transparent 65%
    ),
    var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: 28px;
  box-shadow:
    inset 0 0 60px rgba(200, 164, 77, 0.03),
    0 28px 56px rgba(0, 0, 0, 0.5);
}

.home-guru__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-guru__frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  background: linear-gradient(165deg, #0a0a0a 0%, #121212 100%);
  box-shadow:
    inset 0 0 30px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(200, 164, 77, 0.12);
  overflow: visible;
}

.home-guru__frame-glow {
  position: absolute;
  inset: 10%;
  border-radius: 16px;
  background: radial-gradient(
    ellipse at 50% 80%,
    rgba(200, 164, 77, 0.28) 0%,
    transparent 70%
  );
  filter: blur(12px);
  z-index: 0;
  animation: home-guru-float 6s ease-in-out infinite;
}

.home-guru__frame-inner {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  min-height: 380px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.home-guru__frame-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 48px rgba(0, 0, 0, 0.75);
  pointer-events: none;
  z-index: 2;
}

.home-guru__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
  transform: none;
}

@keyframes home-guru-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.home-guru__content {
  padding: 8px 0;
}

.home-guru__label {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-main);
  margin: 0 0 14px;
}

.home-guru__title {
  font-family: "Cormorant Garamond", "Cinzel", serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--gold-light);
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}

.home-guru__title-divider {
  display: block;
  width: 72px;
  height: 2px;
  margin-bottom: 22px;
  background: linear-gradient(
    90deg,
    var(--gold-main),
    var(--gold-light),
    transparent
  );
}

.home-guru__lead {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  font-style: italic;
  color: var(--gold-main);
  margin: 0 0 16px;
  line-height: 1.5;
}

.home-guru__bio {
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.75;
  color: var(--text-primary);
  margin: 0;
  max-width: 520px;
}

.home-guru__achievements {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 22px);
}

.home-guru__ach-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-guru__ach-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(200, 164, 77, 0.08);
  color: var(--gold-light);
  font-size: 15px;
  box-shadow: 0 0 16px rgba(200, 164, 77, 0.15);
  transition: box-shadow 0.35s ease;
}

.home-guru__ach-item:hover .home-guru__ach-icon {
  box-shadow: 0 0 22px rgba(200, 164, 77, 0.35);
}

.home-guru__ach-text {
  font-family: "Inter", sans-serif;
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.home-guru__ach-item:nth-child(1) { transition-delay: 0.08s; }
.home-guru__ach-item:nth-child(2) { transition-delay: 0.14s; }
.home-guru__ach-item:nth-child(3) { transition-delay: 0.2s; }
.home-guru__ach-item:nth-child(4) { transition-delay: 0.26s; }
.home-guru__ach-item:nth-child(5) { transition-delay: 0.32s; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .home-guru {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "visual content"
      "achievements achievements";
  }

  .home-guru__visual {
    grid-area: visual;
  }

  .home-guru__content {
    grid-area: content;
  }

  .home-guru__achievements {
    grid-area: achievements;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 28px;
  }

  .home-guru__ach-item {
    flex: 0 1 calc(50% - 14px);
    max-width: 320px;
  }
}

@media (max-width: 991px) {
  .home-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-features__card:nth-child(2)::after {
    display: none;
  }

  .home-features__card:nth-child(1)::after,
  .home-features__card:nth-child(3)::after {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(200, 164, 77, 0.45),
      transparent
    );
  }

  .home-guru {
    grid-template-columns: 1fr;
    grid-template-areas:
      "visual"
      "content"
      "achievements";
    text-align: center;
  }

  .home-guru__title-divider {
    margin-inline: auto;
  }

  .home-guru__bio {
    margin-inline: auto;
  }

  .home-guru__achievements {
    flex-direction: column;
    align-items: stretch;
    max-width: 400px;
    margin-inline: auto;
  }

  .home-guru__ach-item {
    flex: 1 1 auto;
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 575px) {
  .home-features {
    grid-template-columns: 1fr;
  }

  .home-features__card::after {
    display: none !important;
  }

  .home-features__card:not(:last-child) {
    border-bottom: 1px solid rgba(200, 164, 77, 0.2);
  }

  .home-guru__photo {
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-features__card,
  .home-guru__col,
  .home-guru__ach-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-guru__frame-glow {
    animation: none;
  }
}
