/* Board Page Specific Styles */

/* Board Member Cards */
.board-member-card {
  background: var(--light-bg);
  border-radius: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
  border-top: 4px solid var(--primary-color);
}

.board-member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(142, 167, 13, 0.2);
}

.member-image-container {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(142, 167, 13, 0.9), rgba(0, 210, 226, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.social-icon:hover {
  background: white;
  color: var(--primary-color);
  transform: scale(1.1);
}

.member-info {
  padding: 2rem;
  text-align: center;
}

.member-name {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.member-position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.member-brief {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.biography-btn {
  padding: 10px 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.biography-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(142, 167, 13, 0.3);
}

/* Board Statistics Cards */
.board-stat-card {
  background: var(--light-bg);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-radius: 0;
  border-left: 4px solid var(--primary-color);
  height: 100%;
}

.board-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(142, 167, 13, 0.2);
}

.board-stat-card .stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
}

.board-stat-card .stat-icon i {
  font-size: 1.5rem;
  color: white;
}

.board-stat-card .stat-number {
  font-family: "Orbitron", monospace;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.board-stat-card .stat-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.board-stat-card .stat-desc {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Governance Cards */
.governance-section {
  padding: 4rem 0;
  background: var(--gray-bg);
}

.governance-card {
  background: var(--light-bg);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-radius: 0;
  height: 100%;
  border-top: 4px solid var(--secondary-color);
}

.governance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 210, 226, 0.2);
}

.governance-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border-radius: 0;
}

.governance-icon i {
  font-size: 1.5rem;
  color: white;
}

.governance-card h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.governance-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Board Members Section */
.board-members-section {
  padding: 4rem 0;
  background: var(--light-bg);
}

/* Modal Styles */
.modal-content {
  border-radius: 0;
  border: 2px solid var(--primary-color);
}

.modal-header {
  background: var(--primary-color);
  color: white;
  border-bottom: none;
}

.modal-header .btn-close {
  filter: invert(1);
}

.modal-title {
  font-weight: 600;
  font-family: "Orbitron", monospace;
}

.modal-body {
  padding: 2rem;
}

.biography-content img {
  border: 3px solid var(--primary-color);
  border-radius: 0;
}

.biography-content h4 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.biography-content h6 {
  color: var(--text-dark);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.3rem;
  display: inline-block;
}

.biography-content ul {
  margin-left: 1rem;
}

.biography-content ul li {
  margin-bottom: 0.5rem;
  color: var(--text-gray);
}

.social-links-modal .btn {
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-footer {
  border-top: 1px solid var(--border-color);
  padding: 1rem 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .member-info {
    padding: 1.5rem;
  }
  
  .member-name {
    font-size: 1.1rem;
  }
  
  .member-position {
    font-size: 0.9rem;
  }
  
  .social-icons {
    gap: 0.5rem;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
  }
  
  .board-stat-card .stat-number {
    font-size: 2rem;
  }
  
  .governance-card {
    margin-bottom: 2rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .biography-content .row {
    flex-direction: column;
  }
  
  .biography-content .col-md-4,
  .biography-content .col-md-8 {
    max-width: 100%;
    flex: 0 0 100%;
  }
}

@media (max-width: 576px) {
  .member-image-container {
    height: 250px;
  }
  
  .board-stat-card .stat-number {
    font-size: 1.8rem;
  }
  
  .social-links-modal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .social-links-modal .btn {
    width: 100%;
  }
}

/* Animation Classes */
.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading States */
.member-image.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Focus States for Accessibility */
.biography-btn:focus,
.social-icon:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .board-member-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .member-overlay,
  .social-icons,
  .biography-btn {
    display: none;
  }
  
  .modal {
    display: none;
  }
}

