/**
 * Sen-Sei About Page Styles
 */

/* ========================================
   ABOUT HERO
   ======================================== */
.about-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../assets/images/bio-main.webp') center center / cover no-repeat;
  margin-top: var(--header-plus-bar-mobile);
}

@media (min-width: 768px) {
  .about-hero {
    min-height: 70vh;
    margin-top: var(--header-plus-bar);
  }
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.5) 50%,
    rgba(10, 10, 10, 0.9) 100%
  );
}

.about-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-xl);
}

.about-hero-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-full);
}

.about-hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.375rem);
  color: var(--color-text);
  margin: var(--space-sm) auto var(--space-md);
  max-width: 600px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.about-hero-tagline strong {
  color: var(--color-gold);
  font-weight: 800;
}

.about-hero-title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.about-hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ========================================
   BIO SECTIONS
   ======================================== */
.bio-section {
  padding: var(--space-4xl) 0;
}

.bio-section-alt {
  background: var(--color-bg-elevated);
}

.bio-section-spotify {
  background: linear-gradient(135deg, var(--color-bg-elevated) 0%, var(--color-bg) 100%);
}

/* Bio Introduction */
.bio-intro {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .bio-intro {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
  }
}

.bio-intro-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.bio-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-intro-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-lg);
  opacity: 0.3;
}

.bio-intro-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-lg);
}

.bio-lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.bio-intro-content p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* Bio Blocks */
.bio-block {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .bio-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }

  .bio-block-reverse {
    direction: rtl;
  }

  .bio-block-reverse > * {
    direction: ltr;
  }
}

.bio-block-content h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: var(--space-lg);
}

.bio-block-content p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.bio-block-content strong {
  color: var(--color-text);
}

.bio-block-content em {
  color: var(--color-gold);
  font-style: normal;
}

/* Bio Block Visual Images */
.bio-block-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.bio-block-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Natural-aspect variant — image shows in full, no cropping */
.bio-block-visual--natural {
  aspect-ratio: auto;
}

.bio-block-visual--natural img {
  height: auto;
  object-fit: contain;
  display: block;
}

.bio-block-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-lg);
  opacity: 0.3;
  pointer-events: none;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

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

.section-subtitle {
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ========================================
   SPOTIFY EMBED
   ======================================== */
.spotify-embed {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.spotify-embed iframe {
  display: block;
}

/* ========================================
   PHOTO GALLERY
   ======================================== */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .photo-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover::after {
  opacity: 1;
}

@media (min-width: 768px) {
  .gallery-item-wide {
    grid-column: span 2;
    aspect-ratio: 2/1;
  }

  .gallery-item-tall {
    grid-row: span 2;
    aspect-ratio: auto;
  }
}

/* ========================================
   CALL TO ACTION
   ======================================== */
.bio-cta {
  padding: var(--space-4xl) 0;
  text-align: center;
  background: linear-gradient(135deg, var(--color-bg-elevated) 0%, var(--color-bg) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bio-cta h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.bio-cta p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn-cta {
  padding: var(--space-md) var(--space-2xl);
  font-size: 1rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: var(--space-md) var(--space-2xl);
  background: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--color-gold);
  color: var(--color-bg);
}

/* ========================================
   ACTIVE NAV LINK
   ======================================== */
.nav-link.active {
  color: var(--color-gold);
}

.nav-link.active::after {
  width: 100%;
}
