/* Team Showcase Styles */

.team-showcase-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
  font-family: 'Inter', system-ui, 'Segoe UI', Roboto, sans-serif;
}

/* Photo Grid */
.team-photo-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  flex-shrink: 0;
}

.team-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-column-offset-1 {
  margin-top: 48px;
}

.team-column-offset-2 {
  margin-top: 22px;
}

.team-photo-card {
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.4s ease;
  width: 110px;
  height: 120px;
}

.team-photo-card.dimmed {
  opacity: 0.6;
}

.team-photo-card.active {
  opacity: 1;
}

.team-photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.5s ease;
  filter: grayscale(1) brightness(0.77);
}

.team-photo-card.active .team-photo-image {
  filter: grayscale(0) brightness(1);
}

/* Members List */
.team-members-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  width: 100%;
  justify-content: center;
}

.team-member-row {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.team-member-row.dimmed {
  opacity: 0.5;
}

.team-member-row.active {
  opacity: 1;
}

.team-member-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-member-indicator {
  width: 16px;
  height: 12px;
  border-radius: 5px;
  background-color: rgba(6, 5, 7, 0.25);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.team-member-row.active .team-member-indicator {
  width: 20px;
  background-color: #060507;
}

.team-member-name {
  font-size: 16px;
  font-weight: 600;
  color: rgba(6, 5, 7, 0.8);
  transition: color 0.3s ease;
}

.team-member-row.active .team-member-name {
  color: #060507;
}

.team-member-social {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.team-member-row.active .team-member-social {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.team-linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(10, 102, 194, 0.1);
  margin-left: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1;
  color: #0A66C2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.team-linkedin-icon:hover {
  background-color: #0A66C2;
  color: #fff;
  transform: scale(1.15);
}

body.dark-mode .team-linkedin-icon {
  background: rgba(10, 102, 194, 0.15);
  color: #0A66C2;
}

body.dark-mode .team-linkedin-icon:hover {
  background-color: #0A66C2;
  color: #fff;
}

.team-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: rgba(6, 5, 7, 0.6);
  text-decoration: none;
  transition: all 0.15s ease;
  font-size: 12px;
  background: rgba(6, 5, 7, 0.05);
}

.team-social-icon:hover {
  color: #060507;
  background-color: rgba(6, 5, 7, 0.15);
  transform: scale(1.15);
}

body.dark-mode .team-social-icon {
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .team-social-icon:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
}

.team-member-role {
  margin-top: 6px;
  margin-left: 27px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(6, 5, 7, 0.6);
}

/* Dark Mode */
body.dark-mode .team-member-name {
  color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .team-member-row.active .team-member-name {
  color: #ffffff;
}

body.dark-mode .team-member-indicator {
  background-color: rgba(255, 255, 255, 0.25);
}

body.dark-mode .team-member-row.active .team-member-indicator {
  background-color: #ffffff;
}

body.dark-mode .team-social-icon {
  color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .team-social-icon:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .team-member-role {
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 767px) {
  .team-showcase-wrapper {
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px;
  }

  .team-photo-card {
    width: 100px;
    height: 110px;
  }

  .team-column-offset-1 {
    margin-top: 40px;
  }

  .team-column-offset-2 {
    margin-top: 18px;
  }

  .team-members-list {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .team-showcase-wrapper {
    gap: 24px;
    padding: 32px 40px;
  }

  .team-photo-card {
    width: 130px;
    height: 140px;
  }

  .team-column-offset-1 {
    margin-top: 56px;
  }

  .team-column-offset-2 {
    margin-top: 26px;
  }
}

@media (min-width: 1024px) {
  .team-showcase-wrapper {
    gap: 40px;
    padding: 40px 64px;
  }

  .team-photo-card {
    width: 155px;
    height: 165px;
  }

  .team-column-offset-1 {
    margin-top: 68px;
  }

  .team-column-offset-2 {
    margin-top: 32px;
  }

  .team-member-name {
    font-size: 18px;
  }
}
