/* --- RESET --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Barlow', sans-serif;
  color: #fff;
}

/* --- TOP BAR --- */
.top-bar {
  background: black;
  font-size: 14px;
  padding: 6px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1100; /* ← encima del logo */
}

.top-bar .contact {
  display: flex;
  gap: 20px;
}

.top-bar a {
  color: #ddd;
  text-decoration: none;
  transition: 0.3s;
}

.top-bar a:hover {
  color: #fff;
}

/* --- HEADER --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  padding: 0 50px; /* quitamos padding superior para no mover el logo */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s, padding 0.3s;
  height: 120px; /* simula el espacio del div original */
}

header.scrolled {
  background-color: rgba(0, 0, 0, 0.9);
  padding: 0 50px;
}

/* --- LOGO --- */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.logo img {
  height: 100%;
  max-height: 120px;  /* límite en desktop */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: max-height 0.3s ease;
}

/* al hacer scroll, se reduce un poco */
header.scrolled .logo img {
  max-height: 80px;
}

/* --- NAVIGATION --- */
nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #ff007d;
}

/* --- HAMBURGER (hidden on desktop) --- */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1200; /* encima del logo */
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  transition: 0.3s;
}


