/* ================== */
/* HEADER GENERAL     */
/* ================== */

/* Contenedor principal del header */
.site-header {
  background: #fff;
  border-bottom: 2px solid #eee;
  padding: 10px 30px;
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Layout en flex */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-logo img {
  max-height: 60px;
  width: auto;
}

/* Menú */
.main-navigation ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-navigation a {
  text-decoration: none;
  font-weight: 600;
  color: #333;
  transition: color 0.3s ease;
}
.main-navigation a:hover {
  color: #e60023; /* Rojo llamativo */
}

/* Redes sociales */
.header-socials {
  display: flex;
  gap: 15px;
}
.header-socials a {
  font-size: 18px;
  color: #333;
  transition: color 0.3s ease;
}
.header-socials a:hover {
  color: #e60023;
}

/* ================== */
/* DESKTOP LAYOUT     */
/* ================== */
@media (min-width: 769px) {
  /* Logo 30% */
  .site-logo {
    flex: 0 0 30%;
    max-width: 30%;
  }

  /* Menú 50% */
  .main-navigation {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: center;
  }

  /* Redes 20% */
  .header-socials {
    flex: 0 0 20%;
    max-width: 20%;
    justify-content: flex-end;
  }

  /* Ocultar botón hamburguesa en desktop */
  .menu-toggle {
    display: none;
  }
}

/* ================== */
/* RESPONSIVE MOBILE  */
/* ================== */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: nowrap;
  }

  /* Logo a la izquierda */
  .site-logo {
    flex: 0 0 auto;
    text-align: left;
  }

  /* Redes ocultas en móvil */
  .header-socials {
    display: none;
  }

  /* Botón menú hamburguesa a la derecha */
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
  }

  /* Menú oculto por defecto */
  .main-navigation {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
  }

  /* Menú activo */
  .main-navigation.active {
    display: flex;
  }
  
  .site-header {
      padding: 10px 0px 10px 10px;
  }
}
