/* =============================================
   GREEN PINES ANIMAL HOSPITAL - ABOUT PAGES CSS
   Our Story & Our Team pages styling
   ============================================= */

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  height: 45vh;
  min-height: 320px;
  max-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #605F4B 0%, #4a4940 100%);
  overflow: hidden;
}

.page-hero--story {
  background: linear-gradient(135deg, #605F4B 0%, #6B6A56 50%, #757464 100%);
}

.page-hero--team {
  background: linear-gradient(135deg, #4a4940 0%, #605F4B 50%, #6B6A56 100%);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 0 1.5rem;
}

.page-hero__title {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-hero__subtitle {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 400;
}


/* ===== STORY SECTION ===== */
.story-section {
  padding: 4rem 1.5rem;
  background: var(--color-off-white, #F7F5ED);
}

.story-section__container {
  max-width: 800px;
  margin: 0 auto;
}

.story-block {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(96, 95, 75, 0.08);
}

.story-block--highlight {
  background: linear-gradient(135deg, #605F4B 0%, #6B6A56 100%);
  color: #fff;
}

.story-block--center {
  text-align: center;
}

.story-block__icon {
  width: 72px;
  height: 72px;
  background: var(--color-off-white, #F7F5ED);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-brand-olive, #605F4B);
}

.story-block--highlight .story-block__icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.story-block--center .story-block__icon {
  margin-left: auto;
  margin-right: auto;
}

.story-block__title {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-charcoal, #303030);
  margin: 0 0 1rem;
}

.story-block--highlight .story-block__title {
  color: #fff;
}

.story-block__text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-body, #303030);
  margin: 0 0 1rem;
}

.story-block--highlight .story-block__text {
  color: rgba(255, 255, 255, 0.95);
}

.story-block__text:last-child {
  margin-bottom: 0;
}

.story-block__welcome {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-brand-olive, #605F4B);
  margin-top: 1.5rem;
}


/* Story Meaning (Green/Pines explanation) */
.story-meaning {
  margin-top: 1.5rem;
}

.story-meaning__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.story-meaning__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.story-meaning__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.story-meaning__item strong {
  color: #fff;
  font-weight: 700;
}


/* ===== LANGUAGES SECTION ===== */
.languages-section {
  padding: 4rem 1.5rem;
  background: #fff;
}

.languages-section__container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.languages-section__title {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-charcoal, #303030);
  margin: 0 0 0.5rem;
}

.languages-section__text {
  font-size: 1.1rem;
  color: var(--color-text-body, #303030);
  margin: 0 0 2rem;
}

.languages-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.language-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-off-white, #F7F5ED);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.language-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(96, 95, 75, 0.15);
}

.language-card__flag {
  font-size: 1.5rem;
}

.language-card__name {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--color-charcoal, #303030);
}


/* ===== TEAM INTRO ===== */
.team-intro {
  padding: 3rem 1.5rem;
  background: var(--color-off-white, #F7F5ED);
  text-align: center;
}

.team-intro__container {
  max-width: 800px;
  margin: 0 auto;
}

.team-intro__text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--color-text-body, #303030);
  margin: 0;
}


/* ===== TEAM SECTION ===== */
.team-section {
  padding: 3rem 1.5rem;
  background: #fff;
}

.team-section--grid {
  background: var(--color-off-white, #F7F5ED);
  padding: 4rem 1.5rem;
}

.team-section__container {
  max-width: 1100px;
  margin: 0 auto;
}

.team-section__title {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-charcoal, #303030);
  text-align: center;
  margin: 0 0 3rem;
}


/* ===== FEATURED TEAM MEMBER (Dr. Ozmenchuk) ===== */
.team-member--featured {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member__image-wrapper {
  position: sticky;
  top: 120px;
}

.team-member__image-wrapper img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.team-member__image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #DFD2C2 0%, #E8DDD0 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-olive, #605F4B);
}

.team-member__content {
  padding-top: 0.5rem;
}

.team-member__role {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-brand-olive, #605F4B);
  background: var(--color-off-white, #F7F5ED);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.team-member__name {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-charcoal, #303030);
  margin: 0 0 1.5rem;
}

.team-member__bio p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-body, #303030);
  margin: 0 0 1rem;
}

.team-member__bio p:last-child {
  margin-bottom: 0;
}

.team-member__languages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-light-beige, #DFD2C2);
}

.team-member__languages-label {
  font-weight: 600;
  color: var(--color-charcoal, #303030);
}

.team-member__language {
  background: var(--color-off-white, #F7F5ED);
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--color-brand-olive, #605F4B);
}


/* ===== TEAM GRID ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(96, 95, 75, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(96, 95, 75, 0.15);
}

.team-card__image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #DFD2C2 0%, #E8DDD0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.team-card__image-placeholder {
  color: var(--color-brand-olive, #605F4B);
  opacity: 0.5;
}

.team-card__content {
  padding: 1.5rem;
}

.team-card__name {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-charcoal, #303030);
  margin: 0 0 0.25rem;
}

.team-card__role {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-brand-olive, #605F4B);
  margin-bottom: 1rem;
}

.team-card__bio {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-body, #303030);
  margin: 0;
}

.team-card__languages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-light-beige, #DFD2C2);
}

.team-card__languages span {
  font-size: 0.8rem;
  background: var(--color-off-white, #F7F5ED);
  padding: 0.25rem 0.625rem;
  border-radius: 50px;
  color: var(--color-brand-olive, #605F4B);
}

/* Featured Team Card (Sasha) */
.team-card--featured {
  grid-column: 1 / -1;
  max-width: 600px;
}

@media (min-width: 768px) {
  .team-card--featured {
    display: grid;
    grid-template-columns: 200px 1fr;
    max-width: none;
  }

  .team-card--featured .team-card__image {
    aspect-ratio: 1;
  }
}

.team-card__quote {
  font-style: italic;
  color: var(--color-brand-olive, #605F4B);
  border-left: 3px solid var(--color-brand-olive, #605F4B);
  padding-left: 1rem;
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

/* Mascot Card */
.team-card--mascot .team-card__image-placeholder {
  background: linear-gradient(135deg, #E8DDD0 0%, #DFD2C2 100%);
}

.team-card--mascot .team-card__image-placeholder svg {
  color: var(--color-warm-brown, #A57E55);
}


/* ===== JOIN TEAM SECTION ===== */
.join-team {
  padding: 4rem 1.5rem;
  background: #fff;
  text-align: center;
}

.join-team__container {
  max-width: 600px;
  margin: 0 auto;
}

.join-team__icon {
  width: 80px;
  height: 80px;
  background: var(--color-off-white, #F7F5ED);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--color-brand-olive, #605F4B);
}

.join-team__title {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-charcoal, #303030);
  margin: 0 0 1rem;
}

.join-team__text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text-body, #303030);
  margin: 0 0 2rem;
}

.join-team__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: var(--color-brand-olive, #605F4B);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.join-team__btn:hover {
  background: #4a4940;
  transform: translateY(-2px);
}


/* ===== CTA SECTION (shared) ===== */
.cta-paw {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, #605F4B 0%, #6B6A56 50%, #757464 100%);
  text-align: center;
}

.cta-paw__content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-paw__title {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
}

.cta-paw__text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2rem;
}

.cta-paw__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.cta-paw__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cta-paw__btn--primary {
  background: #fff;
  color: var(--color-brand-olive, #605F4B);
  min-width: 220px;
}

.cta-paw__btn--primary:hover {
  background: var(--color-off-white, #F7F5ED);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-paw__btn--secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.cta-paw__btn--secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .page-hero {
    height: 35vh;
    min-height: 280px;
  }

  .story-block {
    padding: 2rem 1.5rem;
  }

  .story-block__title {
    font-size: 1.5rem;
  }

  .story-block__text {
    font-size: 1rem;
  }

  .team-member--featured {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-member__image-wrapper {
    position: static;
    max-width: 250px;
    margin: 0 auto;
  }

  .team-member__name {
    font-size: 1.5rem;
  }

  .team-member__bio p {
    font-size: 1rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .languages-grid {
    gap: 0.75rem;
  }

  .language-card {
    padding: 0.75rem 1.25rem;
  }

  .cta-paw {
    padding: 3.5rem 1.5rem;
  }

  .cta-paw__actions {
    width: 100%;
  }

  .cta-paw__btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .story-section,
  .team-section,
  .languages-section,
  .join-team {
    padding: 2.5rem 1rem;
  }

  .story-block {
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
  }

  .team-intro__text {
    font-size: 1.1rem;
  }

  .team-card__content {
    padding: 1.25rem;
  }
}
