/* =============================== */
/* 🎯 ENCABEZADO / HEADER          */
/* =============================== */



.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-light), var(--accent));
  background-size: 400% 400%;
  animation: moverDegradado 15s ease infinite;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* opcional, pero moderno */
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 350px;
  background: linear-gradient(to bottom, var(--brand), var(--brand-light));
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
  z-index: -1;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: relative;
  z-index: 1;
}



/* 🔄 Animación del degradado */
@keyframes moverDegradado {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 🔗 Logo (puede ser texto o img) */
.logo {
  display: flex;
  align-items: center;
  justify-content: left;
  transform: translateX(+40px);
  width: auto;     /* ⬅️ igual al width de tu ::before */
  height: auto;     /* hace que ocupe toda la altura del header */
  z-index: 1;       /* para estar sobre el ::before */
}


.logo img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ✨ Animación de entrada sutil para el logo */
.logo img {
  animation: logoFadeIn 1.4s ease-out;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.04); /* Sutil al hover */
}

/* 🌀 Definición de la animación */
@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


/* 🧭 Menú de navegación */
.nav-menu {
  display: flex;
  justify-content: center;  /* ⬅️ Agregamos esto */
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;              /* Para que ocupe todo el espacio posible */
}





/* 🔗 Enlaces del menú */
.nav-menu a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text, #111827);
  position: relative;
  transition: color 0.3s ease;
}



/* 📱 Responsive (mobile) */
@media (max-width: 768px) {
  .nav-menu {
    display: none; /* 👉 Luego podés agregar un menú hamburguesa */
  }

  .site-header {
    padding: 1rem;
  }
}
