/* ============================================================
   ABOUT.CSS — About page: hero/portrait, journey timeline,
   photo gallery, lightbox
   ============================================================ */

/* ==================== ABOUT HERO ==================== */
.about-hero {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-xl);
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(122, 158, 126, 0.08) 0%, transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(212, 168, 83, 0.06) 0%, transparent 65%),
    var(--color-cream);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .about-hero { padding: var(--space-3xl) 0 var(--space-2xl); }
}

.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .about-hero-inner {
    grid-template-columns: 280px 1fr;
    gap: var(--space-3xl);
  }
}

.about-hero-portrait {
  margin: 0;
  justify-self: center;
  width: 240px;
  height: 240px;
  position: relative;
}

@media (min-width: 1024px) {
  .about-hero-portrait { width: 280px; height: 280px; }
}

.about-hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 5px solid var(--color-warm-white);
  box-shadow: 0 14px 40px rgba(45, 42, 38, 0.18);
  filter: brightness(1.05) saturate(1.05);
}

/* Decorative ring around portrait */
.about-hero-portrait::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px dashed var(--color-sage-light);
  opacity: 0.7;
  pointer-events: none;
}

.about-hero-text { text-align: center; }

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

.about-hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin: 0 0 var(--space-md);
}

.about-hero-name {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-charcoal);
  margin: 0 0 var(--space-md);
}

@media (min-width: 768px) { .about-hero-name { font-size: 3rem; } }
@media (min-width: 1024px) { .about-hero-name { font-size: 3.5rem; } }

.about-hero-name em {
  font-style: italic;
  color: var(--color-terracotta);
  font-weight: 600;
}

.about-hero-intro {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--color-brown-soft);
  margin: 0 0 var(--space-md);
  max-width: 620px;
}
@media (min-width: 1024px) { .about-hero-intro { font-size: 1.2rem; } }
@media (min-width: 1024px) { .about-hero-text .about-hero-intro { margin-left: 0; margin-right: 0; } }
.about-hero-text .about-hero-intro { margin-left: auto; margin-right: auto; }

.about-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-lg);
  justify-content: center;
}
@media (min-width: 1024px) { .about-hero-meta { justify-content: flex-start; } }

.about-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-sage-dark);
  background: rgba(122, 158, 126, 0.1);
  border: 1px solid rgba(122, 158, 126, 0.28);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}
.about-hero-meta-item svg { width: 14px; height: 14px; }

/* ==================== MY JOURNEY (TIMELINE) ==================== */
.about-journey {
  padding: var(--space-2xl) 0;
  background: var(--color-warm-white);
  position: relative;
}
@media (min-width: 1024px) {
  .about-journey { padding: var(--space-3xl) 0; }
}

.about-journey-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-2xl);
}

.about-journey-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin: 0 0 var(--space-sm);
}

.about-journey-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.15;
  color: var(--color-charcoal);
  margin: 0 0 var(--space-md);
}
@media (min-width: 1024px) { .about-journey-heading { font-size: 2.6rem; } }

.about-journey-heading em {
  font-style: italic;
  color: var(--color-terracotta);
  font-weight: 600;
}

.about-journey-sub {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--color-brown-soft);
  margin: 0;
}
@media (min-width: 1024px) { .about-journey-sub { font-size: 1.3rem; } }

.timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: var(--space-md) 0;
}

/* Center vertical dashed line on desktop */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background-image: linear-gradient(to bottom, var(--color-sage-light) 50%, transparent 50%);
  background-size: 2px 10px;
}
@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  padding-left: 64px;
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: var(--space-2xl);
  }
  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: var(--space-2xl);
    padding-right: 0;
  }
}

/* Diya dot on the timeline */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-warm-white);
  border: 2px solid var(--color-sage);
  box-shadow: 0 0 0 4px rgba(122, 158, 126, 0.12);
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-item::before {
    left: auto;
    right: -13px;
  }
  .timeline-item:nth-child(even)::before {
    left: -13px;
    right: auto;
  }
}

/* Diya icon inside the dot */
.timeline-item::after {
  content: '';
  position: absolute;
  left: 18px;
  top: 14px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A9E7E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2v4'/><path d='M8 6c0 4 4 4 4 0'/><path d='M4 14h16'/><path d='M6 14c0 4 3 6 6 6s6-2 6-6'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 3;
}
@media (min-width: 768px) {
  .timeline-item::after {
    left: auto;
    right: -7px;
    top: 14px;
  }
  .timeline-item:nth-child(even)::after {
    left: -7px;
    right: auto;
  }
}

.timeline-card {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: 0 4px 14px var(--color-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(45, 42, 38, 0.12);
}

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

.timeline-year {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin: 0 0 var(--space-xs);
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--color-charcoal);
  margin: 0 0 var(--space-md);
}
@media (min-width: 1024px) { .timeline-title { font-size: 1.65rem; } }

.timeline-body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-brown-soft);
  margin: 0 0 var(--space-md);
}
.timeline-body:last-child { margin-bottom: 0; }
.timeline-body strong { color: var(--color-charcoal); font-weight: 700; }
.timeline-body em {
  font-style: italic;
  color: var(--color-charcoal);
  font-weight: 600;
}
@media (min-width: 1024px) { .timeline-body { font-size: 1.1rem; } }

/* ==================== PHOTO STORY — LIFE IN PICTURES ==================== */
.photo-story-section {
  background: var(--color-cream);
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) 0;
}
@media (min-width: 1024px) {
  .photo-story-section { padding: var(--space-3xl) 0; }
}

.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; }
}

.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);
}

.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);
}

.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;
}

.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;
}

@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;
}

.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;
}

/* ==================== ABOUT CTA ==================== */
.about-cta {
  padding: var(--space-2xl) 0;
  background:
    radial-gradient(80% 60% at 50% 100%, rgba(212, 168, 83, 0.08) 0%, transparent 60%),
    var(--color-warm-white);
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.about-cta-heading {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  line-height: 1.2;
  color: var(--color-charcoal);
  margin: 0 auto var(--space-md);
  max-width: 640px;
}
@media (min-width: 1024px) { .about-cta-heading { font-size: 2.4rem; } }

.about-cta-heading em {
  font-style: italic;
  color: var(--color-terracotta);
  font-weight: 600;
}

.about-cta-sub {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--color-brown-soft);
  margin: 0 auto var(--space-xl);
  max-width: 560px;
}
@media (min-width: 1024px) { .about-cta-sub { font-size: 1.3rem; } }

.about-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}
