/* =============================================
   ARTIST PROFILE PAGE — artist-profile.css
   Extends the main styles.css; loaded only on
   individual artist profile pages.
   ============================================= */

/* ---- Breadcrumb ---- */
.profile-breadcrumb {
  background: var(--pink-light);
  padding: 14px 0;
  border-bottom: 1px solid var(--pink-mid);
}

.profile-breadcrumb a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pink-deep);
  transition: color var(--transition);
}
.profile-breadcrumb a:hover { color: var(--navy); }

/* ---- Hero section ---- */
.profile-hero {
  background: var(--cream);
  padding: 64px 0 80px;
}

.profile-hero-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: flex-start;
}

.profile-photo-col { flex-shrink: 0; }

.profile-portrait {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 3/4;
  display: block;
}

/* ---- Info column ---- */
.profile-role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-hot);
  margin-bottom: 8px;
}

.profile-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 4rem);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 8px;
}

.profile-handle {
  margin-bottom: 20px;
}

.profile-handle a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-mid);
  transition: color var(--transition);
}
.profile-handle a:hover { color: var(--pink-hot); }

.profile-styles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.profile-bio {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.profile-bio p {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.75;
}

.profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.btn-ghost-dark:hover {
  background: var(--navy);
  color: #fff;
}

/* ---- Gallery ---- */
.profile-gallery {
  background: var(--pink-light);
  padding: 80px 0;
}

.gallery-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 36px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--pink-mid);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

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

.gallery-more {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.gallery-more a {
  color: var(--pink-hot);
  font-weight: 700;
}
.gallery-more a:hover { text-decoration: underline; }

/* ---- Book CTA ---- */
.profile-book-cta {
  background: var(--navy);
  padding: 64px 0;
}

.profile-book-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.profile-book-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--cream);
  margin-bottom: 8px;
}

.profile-book-inner p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
}

/* ---- Other artists strip ---- */
.profile-other-artists {
  background: var(--pink-light);
  padding: 48px 0;
  border-top: 1px solid var(--pink-mid);
}

.profile-other-artists .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.profile-other-artists h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .profile-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .profile-portrait {
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 1;
  }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .profile-book-inner {
    flex-direction: column;
    text-align: center;
  }

  .profile-book-inner p { max-width: 100%; }

  .profile-other-artists .container {
    flex-direction: column;
    text-align: center;
  }
}
