/* ============================================
   ABOUT.CSS — About Page-Specific Styles
   ============================================

   Styles that ONLY apply to the about page.
   ============================================ */


/* ----- HERO SECTION ----- */

.about-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  background-color: var(--color-navy);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.about-hero .container {
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.about-hero p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--leading-relaxed);
  font-weight: var(--weight-light);
}

.hero-line {
  width: 60px;
  height: 1px;
  background-color: var(--color-gold);
  margin: var(--space-2xl) auto 0;
}

/* Floating gold orbs */
.about-hero-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.about-hero-orb-1 {
  width: 400px;
  height: 400px;
  top: -80px;
  right: -60px;
  animation: aboutOrbFloat 8s ease-in-out infinite;
}

.about-hero-orb-2 {
  width: 300px;
  height: 300px;
  bottom: -60px;
  left: -40px;
  animation: aboutOrbFloat 10s ease-in-out infinite reverse;
}

@keyframes aboutOrbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

/* Hero staggered entrance */
.about-hero-anim {
  opacity: 0;
  transform: translateY(24px);
  animation: aboutFadeUp 0.7s ease forwards;
}

.about-hero-anim-1 { animation-delay: 0.1s; }
.about-hero-anim-2 { animation-delay: 0.25s; }
.about-hero-anim-3 { animation-delay: 0.4s; }
.about-hero-anim-4 { animation-delay: 0.55s; }

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


/* ----- OUR STORY SECTION ----- */

.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.story-image {
  background-color: var(--color-navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}


.story-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.image-placeholder {
  color: rgba(255, 255, 255, 0.25);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1;
}

.story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-4xl) var(--space-4xl) var(--space-4xl) var(--space-5xl);
  background-color: var(--color-off-white);
}

.story-content h2 {
  margin-bottom: var(--space-xl);
}

.story-content p {
  font-size: var(--text-base);
  color: var(--color-mid-gray);
  line-height: var(--leading-relaxed);
  max-width: none;
}


/* ----- TEAM SECTION ----- */

.team-section {
  text-align: center;
  background-color: var(--color-white);
}

.team-section h2 {
  margin-bottom: var(--space-md);
}

.team-subtitle {
  font-size: var(--text-base);
  color: var(--color-mid-gray);
  max-width: 500px;
  margin: 0 auto var(--space-4xl);
  line-height: var(--leading-relaxed);
  font-weight: var(--weight-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3xl);
  max-width: 1100px;
  margin: 0 auto;
}

.team-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.team-card {
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(11, 29, 58, 0.10);
}

.team-card-link .team-card:hover h3 {
  color: var(--color-gold);
}

.team-card-link .team-card h3 {
  transition: color 0.3s ease;
}

.team-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--color-navy);
  margin-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.team-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(11, 29, 58, 0.25), transparent);
}

.team-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.photo-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.2);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-card h3 {
  margin-bottom: var(--space-xs);
}

.team-role {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
  text-align: center;
  min-height: 3.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-bio {
  font-size: var(--text-sm);
  color: var(--color-mid-gray);
  line-height: var(--leading-relaxed);
  max-width: 300px;
  margin: 0 auto;
}


/* ----- ABOUT STATS BAR ----- */

.about-stats {
  background-color: var(--color-navy);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.about-stats::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3xl) var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.about-stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-medium);
  color: var(--color-white);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.about-stat-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}


/* ----- DUAL CTA OVERRIDE ----- */

.dual-cta-section {
  background-color: #FFFFFF;
}

.dual-cta-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dual-cta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(11, 29, 58, 0.12);
}

/* ----- AWARDS SECTION ----- */

.awards-section {
  text-align: center;
  background-color: #FFFFFF;
  overflow: hidden;
}

.awards-section h2 {
  margin-bottom: var(--space-3xl);
}

.awards-marquee {
  position: relative;
  overflow: hidden;
}

.awards-marquee::before,
.awards-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.awards-marquee::before {
  left: 0;
  background: linear-gradient(to right, #FFFFFF, transparent);
}

.awards-marquee::after {
  right: 0;
  background: linear-gradient(to left, #FFFFFF, transparent);
}

.awards-marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
  width: max-content;
  animation: awards-scroll 30s linear infinite;
}

.awards-marquee-badge {
  height: 100px;
  width: auto;
  flex-shrink: 0;
}

@keyframes awards-scroll {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(-25%); }
}


/* ----- SCROLL-REVEAL ANIMATIONS ----- */

/* Single-element fade-up */
.story-image[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.story-image[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children fade-up */
[data-animate-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-stagger].is-visible > *:nth-child(1) { transition-delay: 0.05s; }
[data-animate-stagger].is-visible > *:nth-child(2) { transition-delay: 0.12s; }
[data-animate-stagger].is-visible > *:nth-child(3) { transition-delay: 0.19s; }
[data-animate-stagger].is-visible > *:nth-child(4) { transition-delay: 0.26s; }
[data-animate-stagger].is-visible > *:nth-child(5) { transition-delay: 0.33s; }
[data-animate-stagger].is-visible > *:nth-child(6) { transition-delay: 0.40s; }


/* ----- RESPONSIVE ----- */

@media (max-width: 768px) {
  .story-section {
    grid-template-columns: 1fr;
  }

  .story-image {
    min-height: 350px;
  }

  .story-content {
    padding: var(--space-3xl) var(--space-lg);
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-hero h1 {
    font-size: var(--text-3xl);
  }
}
