/*
 * Doctor Page Styles
 * Hero with quote and story-driven narrative layout
 */

/* ===================================
   DOCTOR HERO WITH QUOTE
   ================================= */

.doctor-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-teal-900);
}

.doctor-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-0);
}

.doctor-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.doctor-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(45, 125, 142, 0.75) 0%,
    rgba(45, 125, 142, 0.85) 100%
  );
  z-index: var(--z-10);
}

.doctor-hero-content {
  position: relative;
  z-index: var(--z-20);
  text-align: center;
  max-width: 900px;
  padding: var(--space-8);
  margin: 0 auto;
}

.doctor-hero-content h1 {
  font-size: var(--text-5xl);
  color: var(--color-white);
  margin-bottom: var(--space-2);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.doctor-title {
  font-size: var(--text-xl);
  color: var(--color-gold-300);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-8);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.doctor-quote {
  font-size: var(--text-2xl);
  font-family: var(--font-accent);
  color: var(--color-white);
  line-height: var(--leading-relaxed);
  font-style: italic;
  margin: 0;
  padding: var(--space-6);
  border-left: 4px solid var(--color-gold-400);
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-lg);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
  .doctor-hero {
    min-height: 60vh;
  }

  .doctor-hero-content h1 {
    font-size: var(--text-4xl);
  }

  .doctor-title {
    font-size: var(--text-lg);
  }

  .doctor-quote {
    font-size: var(--text-lg);
    padding: var(--space-4);
  }
}

/* ===================================
   STORY ITEMS (ALTERNATING LAYOUT)
   ================================= */

.story-item {
  display: grid;
  gap: var(--space-12);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

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

  /* Reverse the order of image and content */
  .story-item-reverse .story-image {
    order: 2;
  }

  .story-item-reverse .story-content {
    order: 1;
  }
}

.story-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-teal-lg);
}

.story-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 350px;
  max-height: 500px;
}

.story-content h2 {
  font-size: var(--text-4xl);
  color: var(--color-teal-700);
  margin-bottom: var(--space-4);
}

.story-content h3 {
  font-size: var(--text-2xl);
  color: var(--color-teal-600);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.story-content p {
  font-size: var(--text-lg);
  color: var(--color-gray-700);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.story-content ul {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
}

.story-content li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
  color: var(--color-gray-700);
  line-height: var(--leading-relaxed);
}

.story-content li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--gradient-teal-accent);
  color: var(--color-white);
  border-radius: var(--radius-full);
  flex-shrink: 0;
  font-weight: var(--font-bold);
  font-size: var(--text-sm);
  margin-top: 2px;
}

.story-content strong {
  color: var(--color-teal-700);
  font-weight: var(--font-semibold);
}

@media (max-width: 767px) {
  .story-content h2 {
    font-size: var(--text-3xl);
  }

  .story-content h3 {
    font-size: var(--text-xl);
  }

  .story-content p {
    font-size: var(--text-base);
  }

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

/* ===================================
   CTA SECTION CENTERING
   ================================= */

.cta-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-section .cta-content {
  text-align: center;
}

.cta-section .cta-buttons {
  display: flex;
  justify-content: center;
}
