/* FILE: assets/css/people.css */
/* People / Team Page Specific Styles - Premium Legal Theme */
:root {
  --primary-dark: #0a2342;      /* deep navy - trusted */
  --primary-gray: #1e2b37;
  --accent-gold: #9e7e4b;        /* subdued gold - excellence */
  --accent-blue: #0d47a1;
  --light-bg: #f5f3f0;
  --medium-gray: #e0e0e0;
  --dark-text: #1e2b37;
  --medium-text: #4a5568;
  --light-text: #777777;
}

/* Hero Section */
.legal-hero {
  background: linear-gradient(rgba(10, 35, 66, 0.92), rgba(10, 35, 66, 0.97)), 
              url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 160px 0 100px;
  color: white;
  position: relative;
  margin-top: 80px;
}

.legal-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.legal-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  color: var(--accent-gold);
}

.legal-hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.95;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-divider {
  width: 100px;
  height: 4px;
  background: var(--accent-gold);
  margin: 2rem auto;
}

/* Page Header */
.page-header {
  background: var(--light-bg);
  padding: 30px 0;
  border-bottom: 1px solid var(--medium-gray);
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-item.active {
  color: var(--accent-gold);
}

.breadcrumb-item+.breadcrumb-item::before {
  content: "›";
  color: var(--medium-text);
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-gold);
}

.section-title p {
  color: var(--medium-text);
  max-width: 700px;
  margin: 2rem auto 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Team Categories - Fully Responsive */
.team-categories {
  margin-bottom: 3rem;
}

.category-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.category-btn {
  padding: 0.7rem 1.5rem;
  background: white;
  border: 2px solid var(--medium-gray);
  border-radius: 50px;
  color: var(--dark-text);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

.category-btn:hover,
.category-btn.active {
  background: var(--primary-dark);
  color: white;
  border-color: var(--primary-dark);
}

.category-btn i {
  font-size: 1rem;
}

@media (max-width: 576px) {
  .category-nav {
    gap: 0.5rem;
  }
  .category-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* Team Grid - Premium Cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-member-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  border: 1px solid #f0f0f0;
}

.team-member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(10, 35, 66, 0.15);
}

.member-header {
  position: relative;
  height: 260px;
  overflow: hidden;
}

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

.team-member-card:hover .member-image {
  transform: scale(1.05);
}

.member-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-gold);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  z-index: 2;
}

.partner-badge {
  background: var(--primary-dark);
}

.member-info {
  padding: 1.5rem;
  position: relative;
}

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

.member-title {
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.member-specialty {
  display: inline-block;
  background: var(--light-bg);
  color: var(--medium-text);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.member-excerpt {
  color: var(--medium-text);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

.member-contact {
  border-top: 1px solid #eee;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-btn {
  background: var(--primary-dark);
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 0.9rem;
}

.contact-btn:hover {
  background: var(--accent-gold);
  color: white;
  transform: translateY(-2px);
}

.member-social {
  display: flex;
  gap: 0.5rem;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-text);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
}

/* Team Modal - Premium */
.team-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 35, 66, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal-content {
  background: white;
  border-radius: 16px;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalFadeIn 0.4s ease;
}

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

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-dark);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.close-modal:hover {
  background: var(--accent-gold);
  transform: rotate(90deg);
}

.modal-body {
  padding: 2.5rem;
}

.modal-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.modal-image {
  width: 220px;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

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

.modal-info {
  flex: 1;
}

.modal-info h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark-text);
}

.modal-info .member-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

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

.modal-expertise h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--dark-text);
  font-weight: 600;
}

.expertise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.expertise-item {
  background: var(--light-bg);
  color: var(--medium-text);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
}

.modal-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--medium-text);
}

.contact-item i {
  color: var(--accent-gold);
  font-size: 1.2rem;
  width: 24px;
}

.contact-item a {
  color: var(--primary-dark);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .modal-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .modal-image {
    width: 180px;
    height: 220px;
  }
  .modal-contact {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Statistics Section */
.stats-section {
  background: var(--primary-dark);
  padding: 60px 0;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  display: block;
  line-height: 1;
}

.stat-label {
  color: white;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.3px;
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

/* Responsive Touch Targets */
@media (max-width: 768px) {
  .category-btn, 
  .contact-btn,
  .social-icon {
    min-height: 44px;
    min-width: 44px;
  }
  
  .member-header {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .legal-hero {
    padding: 120px 0 60px;
  }
  
  .member-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .member-social {
    align-self: flex-end;
  }
}