@import url("../styles.css");

.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
  scroll-margin-top: 70px;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
}

.page-hero__content {
  position: relative;
  max-width: 640px;
}

.page-section {
  padding: 90px 0;
}

.map-panel {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.map-panel img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.map-panel iframe {
  display: block;
}

/* Team Section Styles */
.team-section {
  padding: 90px 0;
}

.team-card {
  background: var(--bg-secondary);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--accent);
}

.team-avatar {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(70, 130, 255, 0.2));
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-avatar img {
  transform: scale(1.1);
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-4px);
}

.team-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-info h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.team-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.team-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 280px;
    padding: 70px 0 40px;
  }

  .map-panel img {
    height: 220px;
  }

  .team-section {
    padding: 60px 0;
  }

  .team-info {
    padding: 20px;
  }

  .team-info h4 {
    font-size: 16px;
  }

  .team-desc {
    font-size: 13px;
  }
}
