/**
 * ISKCON AMRITSAR — SRILA PRABHUPADA TRIBUTE PAGE STYLES
 * Ultra-lightweight Vanilla CSS, Zero bloat, Hardware accelerated
 */

/* ==========================================================================
   1. AMBIENT GLOWS & BACKGROUND ATMOSPHERE
   ========================================================================== */
.prabhupada-page {
  position: relative;
  background-color: var(--bg-canvas, #07080a);
  color: var(--text-primary, #fbf7ee);
  min-height: 100vh;
  overflow-x: hidden;
}

.ambient-aura {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.55;
  transition: opacity 1s ease;
}

.aura-top {
  top: -100px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
}

.aura-mid {
  top: 45%;
  right: -80px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(242, 133, 0, 0.06) 0%, transparent 70%);
}

.aura-bottom {
  bottom: 0;
  left: -50px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
}

/* ==========================================================================
   2. DEDICATED HEADER & NAVIGATION
   ========================================================================== */
.prabhupada-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 75px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(7, 8, 10, 0.95) 0%, rgba(7, 8, 10, 0.8) 70%, transparent 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  transition: all var(--trans-medium);
}

.prabhupada-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.header-brand-wrap img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.4)) brightness(1.18) contrast(1.08);
  transition: transform var(--trans-fast);
}

.header-brand-wrap:hover img {
  transform: scale(1.05);
}

.header-brand-title {
  display: flex;
  flex-direction: column;
}

.header-brand-title .brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.header-brand-title .brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.header-nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.06);
  transition: all var(--trans-fast);
}

.back-home-link:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-light);
  color: #fff;
  transform: translateX(-3px);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
}

.header-jump-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.header-jump-links a {
  color: var(--text-secondary);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color var(--trans-fast);
}

.header-jump-links a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   3. HERO SECTION & CENTERPIECE SHOWCASE
   ========================================================================== */
.prabhupada-hero {
  position: relative;
  z-index: 10;
  padding-top: clamp(7.5rem, 14vw, 10.5rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  text-align: center;
}

.hero-eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero-divider-line {
  width: 48px;
  height: 1px;
  background: var(--gold-primary);
  opacity: 0.7;
}

.hero-eyebrow-tag {
  color: var(--gold-light);
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #f7ecc5 0%, #d4af37 55%, #aa8214 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 600;
}

.hero-lead-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
  font-weight: 300;
}

/* Centerpiece Portrait Showcase */
.portrait-showcase-container {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.portrait-glow-aura {
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  filter: blur(25px);
  z-index: 1;
}

.portrait-temple-stage {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: #000;
  padding: 8px;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.18);
  overflow: hidden;
}

.portrait-stage-inner {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-sm) - 4px);
  aspect-ratio: 16 / 9;
}

.portrait-stage-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-temple-stage:hover .portrait-stage-inner img {
  transform: scale(1.03);
}

.stage-inner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 8, 10, 0.85) 100%);
  pointer-events: none;
}

/* Floating Quote Card */
.floating-quote-banner {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 90%;
  max-width: 480px;
  background: rgba(12, 13, 16, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.75rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 175, 55, 0.15);
  text-align: center;
}

.floating-quote-banner .quote-icon {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--gold-light);
  opacity: 0.7;
  display: block;
  margin-bottom: 0.2rem;
}

.floating-quote-banner p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
  color: #fff;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   4. SACRED WISDOM SECTION
   ========================================================================== */
.sacred-wisdom-section {
  position: relative;
  z-index: 10;
  margin-top: clamp(4.5rem, 8vw, 7rem);
  padding: clamp(4rem, 7vw, 6.5rem) 1.5rem;
  background: linear-gradient(180deg, rgba(14, 16, 21, 0.8) 0%, rgba(7, 8, 10, 0.95) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  text-align: center;
}

.wisdom-eyebrow {
  color: var(--gold-primary);
  font-size: 0.76rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: block;
  opacity: 0.85;
}

.sacred-wisdom-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  line-height: 1.25;
  color: #fff;
  max-width: 980px;
  margin: 0 auto 1.5rem auto;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.wisdom-attribution {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--kesar-saffron);
  font-weight: 700;
  display: block;
}

/* ==========================================================================
   5. THE JOURNEY SECTION & MILESTONES
   ========================================================================== */
.the-journey-section {
  position: relative;
  z-index: 10;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.section-badge-center {
  text-align: center;
  margin-bottom: 2.5rem;
}

.journey-narrative-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.story-dropcap {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

.story-dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 4.8rem;
  float: left;
  line-height: 0.8;
  margin-right: 0.9rem;
  margin-top: 0.2rem;
  color: var(--gold-light);
  text-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

/* 4 Milestone Metric Cards */
.milestones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3.5rem 0;
  padding: 2.5rem 1.5rem;
  background: rgba(14, 16, 21, 0.55);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius-sm);
}

.milestone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  transition: transform var(--trans-medium);
}

.milestone-card:hover {
  transform: translateY(-4px);
}

.milestone-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.25);
  margin-bottom: 0.25rem;
}

.milestone-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.milestone-label {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  max-width: 140px;
  line-height: 1.4;
}

/* Featured Mid-Quote */
.featured-callout-quote {
  text-align: center;
  margin: 4.5rem auto;
  max-width: 720px;
  position: relative;
}

.featured-callout-quote::before {
  content: '“';
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(212, 175, 55, 0.15);
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.featured-callout-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.35;
  color: #fff;
  margin-bottom: 1.5rem;
}

.featured-gold-dash {
  width: 60px;
  height: 2px;
  background: var(--gold-primary);
  margin: 0 auto;
}

.journey-body-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

/* ==========================================================================
   6. A LIFE OF DEVOTION: TIMELINE (1896 — 1977)
   ========================================================================== */
.timeline-section {
  position: relative;
  z-index: 10;
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--bg-surface, #0e1015);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.timeline-wrap {
  position: relative;
  max-width: 980px;
  margin: 4rem auto 0 auto;
  padding: 1rem 0;
}

.timeline-center-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.4) 10%, rgba(212, 175, 55, 0.4) 90%, transparent 100%);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  width: 100%;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item.left {
  flex-direction: row;
}

.timeline-item.right {
  flex-direction: row-reverse;
}

.timeline-node {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--gold-primary);
  border: 3px solid #07080a;
  border-radius: 50%;
  box-shadow: 0 0 16px 5px rgba(212, 175, 55, 0.45);
  z-index: 2;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}

.timeline-item:hover .timeline-node {
  transform: translate(-50%, -50%) scale(1.35);
  box-shadow: 0 0 24px 8px rgba(212, 175, 55, 0.7);
}

.timeline-content-box {
  width: 44%;
  background: rgba(7, 8, 10, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.75rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform var(--trans-medium), border-color var(--trans-medium);
}

.timeline-item.left .timeline-content-box {
  text-align: right;
  margin-right: auto;
}

.timeline-item.right .timeline-content-box {
  text-align: left;
  margin-left: auto;
}

.timeline-item:hover .timeline-content-box {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.15);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.timeline-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   7. CORE TEACHINGS SECTION
   ========================================================================== */
.teachings-section {
  position: relative;
  z-index: 10;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.teachings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1060px;
  margin: 3.5rem auto 0 auto;
}

.teaching-card {
  background: rgba(14, 16, 21, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius-sm);
  padding: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--trans-medium);
}

.teaching-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--trans-medium);
  pointer-events: none;
}

.teaching-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.15);
}

.teaching-card:hover::before {
  opacity: 1;
}

.teaching-icon-wrap {
  width: 58px;
  height: 58px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-light);
  transition: transform var(--trans-medium);
}

.teaching-card:hover .teaching-icon-wrap {
  transform: scale(1.12);
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
}

.teaching-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.85rem;
}

.teaching-text {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   8. FINAL TRIBUTE & RETURN HOME CTA
   ========================================================================== */
.tribute-closing-section {
  position: relative;
  z-index: 10;
  padding: clamp(5.5rem, 10vw, 9rem) 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-surface, #0e1015) 0%, #050505 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.closing-quote-box {
  max-width: 820px;
  margin: 0 auto;
}

.closing-quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  color: #fff;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.closing-attribution {
  font-size: 0.82rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  display: block;
  margin-bottom: 2.5rem;
}

.closing-legacy-text {
  font-size: 1.12rem;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 3rem auto;
}

.closing-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   9. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
  .milestones-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .teachings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-jump-links {
    display: none;
  }

  .timeline-center-line {
    left: 24px;
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 56px;
    margin-bottom: 3rem;
  }

  .timeline-node {
    left: 24px;
    top: 24px;
  }

  .timeline-content-box {
    width: 100% !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 1.25rem 1.5rem;
  }

  .timeline-year {
    font-size: 1.8rem;
  }

  .timeline-title {
    font-size: 1.2rem;
  }

  .floating-quote-banner {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 1.25rem;
    max-width: 100%;
  }

  .milestones-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* ==========================================================================
   10. SCROLL REVEAL ANIMATIONS (Zero Egress, Pure GPU)
   ========================================================================== */
.timeline-item, .milestone-card, .teaching-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.timeline-item.visible, .milestone-card.visible, .teaching-card.visible {
  opacity: 1;
  transform: translateY(0);
}

