/* 
   Team Page Specific Styling
   Additional styles for the team page
*/

/* Team Hero Section */
.team-hero-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  /* Extra top padding clears the fixed header (contact bar + nav) */
  padding: calc(8rem + 138px) 0 6rem;
  text-align: center;
  position: relative;
}

.team-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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='%23d1962a' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

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

.team-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: white;
}

.team-hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Team Members Section */
.team-members-section {
  background-color: var(--off-white);
  padding: 6rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.team-member {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-md);
  transition: all 0.3s ease;
  border: 1px solid rgba(13, 26, 65, 0.1);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
  border-color: var(--gold);
}

.member-info {
  text-align: left;
}

.member-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

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

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

.member-bio + .member-bio {
  margin-top: 1rem;
}

/* Social Link Styling */
.social-link {
  margin-top: 1rem;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.instagram-link:hover {
  color: var(--gold-light);
}

.instagram-link i {
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .team-hero-section {
    padding: 6rem 0 4rem;
  }
  
  .team-hero-title {
    font-size: 2.5rem;
  }
  
  .team-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .team-member {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .team-hero-title {
    font-size: 2rem;
  }
  
  .team-hero-subtitle {
    font-size: 1rem;
  }
  
  .team-member {
    padding: 1.5rem;
  }
  
  .member-name {
    font-size: 1.25rem;
  }
}
