header {
  position: absolute; /* Esto lo coloca encima del contenido */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Asegura que esté por encima de la imagen */
  background: transparent; /* Fondo transparente */
  transition: background 0.3s ease; /* Para que cambie suavemente si haces scroll */
}

/* Opcional: Un ligero degradado oscuro arriba para que los textos blancos se lean bien */
header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
  z-index: -1;
}

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:16px 0;
  position:relative;
}

.logo-text {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem; /* antes 1.3rem — una segunda regla duplicada la pisaba */
  font-weight: 700;
  background: linear-gradient(135deg, #ff2d7a, #740834);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Opcional: efecto sutil al hover */
.logo:hover .logo-text {
  background: linear-gradient(135deg, #d91c68, #ff2d7a);
  background-clip: text;
  -webkit-background-clip: text;
}


.logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  white-space:nowrap;
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .logo-img {
    height: 40px;
  }
}

.nav-links{
  list-style:none;
  display:flex;
  align-items:center;
  gap:30px;
  flex-wrap:wrap;
}

.nav-links a{
  color:#5d6874;
  font-weight:500;
  position:relative;
}

.nav-links a:hover,
.nav-links a.active{
  color:var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:100%;
  height:2px;
  background:var(--primary);
}

/* Estilos para los iconos sociales del Header */
.social-top {
  display: flex;
  gap: 12px; /* Espacio de separación entre cada círculo */
  align-items: center;
}

.social-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; /* Ancho del círculo */
  height: 42px; /* Alto del círculo */
  background-color: #f0f2f5; /* Color gris muy claro para el fondo */
  color: #6b7280; /* Color gris oscuro para el icono */
  border-radius: 50%; /* Convierte el cuadrado en un círculo perfecto */
  text-decoration: none;
  font-size: 20px; /* Tamaño del icono */
  transition: all 0.3s ease; /* Suaviza el cambio de color al pasar el mouse */
}

/* Efecto al pasar el cursor por encima (Hover) */
.social-top a:hover {
  background-color: #e4e6eb; /* Oscurece un poco el círculo */
  color: #374151; /* Oscurece un poco el icono */
  transform: translateY(-2px); /* Pequeño salto hacia arriba opcional */
}

.menu-toggle{
  display:none;
  background:none;
  border:none;
  font-size:2rem;
  color:var(--heading);
  cursor:pointer;
  line-height:1;
}