/* Leaders Page Styles */

.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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='%23c9a962' fill-opacity='0.05'%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");
  opacity: 0.5;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-hero-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  display: block;
}

.page-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.page-hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Filter Section */
.filter-section {
  padding: 2rem;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.filter-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.filter-btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: white;
}

/* Leaders Grid */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.leader-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-medium);
  cursor: pointer;
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px var(--shadow-hover);
}

.leader-card-header {
  padding: 2.5rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
  position: relative;
}

.leader-portrait {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 5px solid var(--accent-gold);
  box-shadow: 0 10px 30px var(--shadow);
  background: var(--bg-tertiary);
}

.leader-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-name {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.leader-title {
  font-size: 1rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.leader-years {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.leader-card-body {
  padding: 1.5rem 2rem;
}

.leader-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.leader-achievements {
  list-style: none;
  margin-bottom: 1.5rem;
}

.leader-achievements li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.leader-achievements li:last-child {
  border-bottom: none;
}

.leader-achievements li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: bold;
}

.leader-quote {
  font-style: italic;
  color: var(--text-muted);
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  font-size: 0.9rem;
  position: relative;
  text-align: center;
}

.leader-quote::before {
  content: '"';
  font-size: 3rem;
  position: absolute;
  top: -5px;
  left: 10px;
  color: var(--accent-gold);
  opacity: 0.3;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.leader-card-footer {
  padding: 1rem 2rem 2rem;
  text-align: center;
}

.leader-btn {
  padding: 0.875rem 2rem;
  background: transparent;
  border: 2px solid var(--accent-gold);
  border-radius: 30px;
  color: var(--accent-gold);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.leader-btn:hover {
  background: var(--accent-gold);
  color: white;
}

/* Quote Section */
.quote-section {
  padding: 6rem 2rem;
  background: var(--bg-tertiary);
  text-align: center;
}

.quote-container {
  max-width: 800px;
  margin: 0 auto;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  position: relative;
}

.quote-text::before,
.quote-text::after {
  content: '"';
  font-size: 4rem;
  color: var(--accent-gold);
  opacity: 0.3;
  position: absolute;
  line-height: 1;
}

.quote-text::before {
  top: -20px;
  left: -30px;
}

.quote-text::after {
  bottom: -40px;
  right: -30px;
}

.quote-author {
  font-size: 1.1rem;
  color: var(--accent-gold);
  font-style: normal;
}

/* Modal */
.leader-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.leader-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--accent-gold);
  color: white;
}

.modal-body {
  overflow-y: auto;
  max-height: 90vh;
}

.modal-header {
  display: flex;
  gap: 2rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

.modal-portrait {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--accent-gold);
  flex-shrink: 0;
}

.modal-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-header-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 1.2rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.modal-years {
  font-size: 1rem;
  color: var(--text-muted);
}

.modal-content-body {
  padding: 2.5rem;
}

.modal-section {
  margin-bottom: 2rem;
}

.modal-section-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-gold);
}

.modal-bio {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

.modal-achievements {
  list-style: none;
}

.modal-achievements li {
  padding: 1rem 0;
  padding-left: 2rem;
  position: relative;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.modal-achievements li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}

.modal-quote {
  font-style: italic;
  color: var(--text-muted);
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  font-size: 1.1rem;
  text-align: center;
  position: relative;
}

.modal-quote::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: 0;
  left: 15px;
  color: var(--accent-gold);
  opacity: 0.3;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .leaders-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .modal-portrait {
    width: 150px;
    height: 150px;
  }
  
  .modal-title {
    font-size: 1.75rem;
  }
  
  .quote-text::before,
  .quote-text::after {
    display: none;
  }
}
