/* ===== Hero ===== */
.hero-landing {
  position: relative;
  overflow: hidden;
}
.hero-bg {
  z-index: 1;
}
.aboutus-hero {
  background: url("../images/destinos/portadaaboutus.webp") center/cover no-repeat;
}
.hero-landing::after {
  /* oscurece el hero para mejor lectura */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}
.hero-landing > .text-center {
  z-index: 2;
}

/* Ajuste de ancla para que el navbar fijo no tape el título al hacer scroll con la flecha de la portada */
#aboutagency { scroll-margin-top: 90px; }

/* ===== Team Cards ===== */
.team-card {
  display: flex;             /* para igualar altura */
  flex-direction: column;    /* mantiene contenido vertical */
  height: 100%;              /* ocupa toda la altura disponible */
  text-align: center;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-3px);
}

.team-img {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto 1rem auto;
  overflow: hidden;
  border-radius: 50%;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-img img {
  transform: scale(1.1);
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-name {
  font-size: 1.3rem; /* un poco más grande que antes */
  font-weight: 700;
}

.team-role {
  font-size: 1rem;           /* más pequeño que el nombre */
  font-style: italic;         /* cursiva */
  font-weight: 400;           /* normal, no tan fuerte como el nombre */
  color: #6c757d;             /* gris suave */
  margin-top: 0.2rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;      /* opcional, le da un toque elegante */
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  color: #fff;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #0d6efd; /* azul bootstrap */
}

/* Para que la clase active muestre el overlay en mobile */
.team-overlay.active {
  opacity: 1;
}

/* Hero card para Agent 1 - KURT */
.team-card-lg {
  padding: 2rem;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.team-card-lg:hover {
  transform: translateY(-5px);
}

.team-card-lg .team-img img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  max-height: 500px;
  object-fit: cover;
}
