/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif; /* Fuente base, luego se sobrescribe en cada página */
}

/* HEADER */
.top-bar {
  display: flex;
  align-items: center;
  background: #000; /* negro sólido por defecto */
  padding: 10px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
}

/* Logo (Mr. Yebra) */
.logo {
  font-family: 'Orbitron', sans-serif; /* SIEMPRE Orbitron */
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-right: auto;
  letter-spacing: 0; /* evita el desplazamiento raro */
}

/* Menú principal */
.main-menu {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex: 1;
}

.main-menu a {
  font-family: 'Poppins', sans-serif; /* SIEMPRE Poppins */
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.main-menu a:hover,
.main-menu a.active {
  color: #ff9800;
}

/* Redes sociales */
.social-icons {
  display: flex;
  gap: 12px;
  margin-left: auto;
}

.social-icons img {
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
}

.social-icons img:hover {
  transform: scale(1.2);
}

/* Botón menú hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  margin-left: 15px;
}

.menu-toggle div {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
  .main-menu {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 20px;
  }

  .main-menu.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}

/* 👇 Forzar SIEMPRE fondo negro sólido en la barra */
.top-bar {
  background: #000 !important;
}
