/* Reza Pahlavi Page Styles */

.reza-pahlavi-page {
  background: #ffffff;
}

/* Hero uses .page-hero from sections.css - this just adds the specific class for consistency */
.reza-pahlavi-hero {
  background: linear-gradient(135deg, #239F40 0%, #ffffff 50%, #DA0000 100%);
}

/* Biography Section with Image */
.biography-section {
  padding: 60px 0;
  background: #fafafa;
}

.bio-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: start;
}

.bio-image {
  position: sticky;
  top: 100px;
}

.bio-image img {
  width: 100%;
  height: auto;
  border: 1px solid #e5e5e5;
  margin-bottom: 30px;
}

.bio-details {
  background: #ffffff;
  padding: 25px;
  border: 1px solid #e5e5e5;
}

.bio-details p {
  margin: 12px 0;
  font-size: 0.95rem;
  font-weight: 300;
  color: #333333;
  line-height: 1.8;
}

.bio-details strong {
  font-weight: 400;
  color: #000000;
  display: inline-block;
  min-width: 120px;
}

.bio-content h2 {
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 30px;
  color: #000000;
}

.bio-content p {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 25px;
  color: #333333;
  font-weight: 300;
  text-align: justify;
}

/* Content Sections */
.content-section {
  padding: 60px 0;
  border-bottom: 1px solid #e5e5e5;
}

.content-section:last-child {
  border-bottom: none;
}

.content-section h2 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 40px;
  color: #000000;
  text-align: center;
}

.content-section > p {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 25px;
  color: #333333;
  font-weight: 300;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Timeline */
.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-left: 150px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, #239F40, #DA0000, #ffffff);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding-left: 50px;
}

.timeline-year {
  position: absolute;
  left: -150px;
  top: 0;
  font-size: 1.3rem;
  font-weight: 300;
  color: #000000;
  letter-spacing: 1px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #239F40;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #e5e5e5;
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: #000000;
  letter-spacing: 0.5px;
}

.timeline-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555555;
  font-weight: 300;
}

/* Personal Info */
.personal-info {
  max-width: 800px;
  margin: 0 auto;
}

.info-card {
  background: #fafafa;
  padding: 40px;
  border: 1px solid #e5e5e5;
}

.info-card h3 {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 25px;
  color: #000000;
  letter-spacing: 1px;
}

.info-card p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #333333;
  font-weight: 300;
}

.info-card strong {
  font-weight: 400;
  color: #000000;
}

.info-card ul {
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

.info-card ul li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  font-weight: 300;
  color: #333333;
}

.info-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #239F40;
  font-size: 1.2rem;
}

.info-card .note {
  margin-top: 20px;
  font-size: 0.9rem;
  font-style: italic;
  color: #666666;
}

/* Vision Grid */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.vision-card {
  background: #fafafa;
  padding: 35px;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.vision-card:hover {
  background: #ffffff;
  border-color: #000000;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.vision-card h3 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 15px;
  color: #000000;
  letter-spacing: 0.5px;
}

.vision-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555555;
  font-weight: 300;
  margin: 0;
}

/* Activity Highlights */
.activity-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.highlight-item {
  background: #fafafa;
  padding: 30px;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.highlight-item:hover {
  background: #ffffff;
  border-color: #000000;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.highlight-item h3 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: #000000;
  letter-spacing: 0.5px;
}

.highlight-item p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555555;
  font-weight: 300;
  margin: 0;
}

/* Contributions List */
.contributions-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.contribution-item {
  text-align: center;
  padding: 35px 25px;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.contribution-item:hover {
  background: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contribution-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.contribution-item:hover .contribution-icon {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.contribution-item h3 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: #000000;
  letter-spacing: 0.5px;
}

.contribution-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555555;
  font-weight: 300;
  margin: 0;
}

/* Legacy Section */
.legacy-section {
  background: #fafafa;
  padding: 80px 0 !important;
}

.legacy-section p {
  max-width: 900px;
}

.quote {
  max-width: 800px;
  margin: 50px auto 0;
  padding: 40px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  font-size: 1.2rem;
  line-height: 1.9;
  font-weight: 300;
  font-style: italic;
  color: #333333;
  text-align: center;
}

.quote cite {
  display: block;
  margin-top: 20px;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  color: #000000;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .bio-image {
    position: relative;
    top: 0;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .timeline {
    padding-left: 100px;
  }
  
  .timeline-year {
    left: -100px;
    font-size: 1.1rem;
  }
  
  .vision-grid,
  .activity-highlights,
  .contributions-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .biography-section {
    padding: 40px 0;
  }
  
  .content-section {
    padding: 40px 0;
  }
  
  .content-section h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }
  
  .bio-content h2 {
    font-size: 1.8rem;
  }
  
  .timeline {
    padding-left: 0;
  }
  
  .timeline::before {
    left: 0;
  }
  
  .timeline-item {
    padding-left: 30px;
  }
  
  .timeline-item::before {
    left: -6px;
  }
  
  .timeline-year {
    position: relative;
    left: 0;
    margin-bottom: 10px;
    display: block;
  }
  
  .quote {
    padding: 30px 20px;
    font-size: 1.05rem;
  }
}

