/* =========================
   HERO / PROFILE
========================= */

section:first-of-type {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: left;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

section:nth-of-type(2) div {
  margin-bottom: 2.5rem;
}

section:nth-of-type(2) div h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

section:nth-of-type(2) div p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

section:nth-of-type(2) ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

section:nth-of-type(2) ul li {
  background: var(--color-bg-secondary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:nth-of-type(2) ul li:hover {
  transform: translateY(-2px);
}

.pfp {
  width: 280px;
  border-radius: 50%;
  border: 3px solid var(--text-highlighted);
  flex-shrink: 0;
  object-fit: cover;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-text h1 {
  margin: 0;
  font-size: 2.5rem;
}

.hero-text p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.social-links a img {
  width: 24px;
  height: 24px;
  border-radius: 0;
}

.social-links a {
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

.social-links a:hover {
  transform: scale(1.2);
}

.about-me-link {
  margin: 0;
  margin-top: 0.5rem;
}

.about-me-link a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.about-me-link a:hover {
  color: var(--text-highlighted);
}

.partner-link {
  margin: 0.5rem 0 0 0;
}

.partner-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.partner-logo {
  height: 24px;
  width: auto;
  border-radius: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.partner-logo[src$=".svg"] {
  filter: invert(100%) sepia(100%) hue-rotate(0deg) saturate(10000%) brightness(0.95) drop-shadow(0 0 4px rgba(230, 56, 56, 0.5));
}

.partner-logo:not([src$=".svg"]) {
  filter: drop-shadow(0 0 4px rgba(230, 56, 56, 0.3));
}

.partner-link a:hover {
  color: var(--text-highlighted);
}

.partner-link a:hover .partner-logo {
  transform: scale(1.1);
}

.partner-link a:hover .partner-logo[src$=".svg"] {
  filter: invert(100%) sepia(100%) hue-rotate(0deg) saturate(10000%) brightness(0.95) drop-shadow(0 0 8px rgba(230, 56, 56, 0.8));
}

.partner-link a:hover .partner-logo:not([src$=".svg"]) {
  filter: drop-shadow(0 0 8px rgba(230, 56, 56, 0.5));
}
