/* BODY AND GENERAL STYLES */
body, html {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #000;
  color: #fff;
}

/* NAVBAR */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  box-sizing: border-box;
  transition: background 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}



/* LOGO */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
}

/* MENU */
.menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.menu li a {
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.1em;
  padding: 0.5rem;
  position: relative;
  transition: color 0.3s ease;
}

.menu li a:hover {
  color: #ccc;
}

.menu li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.menu li a:hover::after {
  width: 100%;
  left: 0;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 15;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* X-ANIMATION */
.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.95);
    padding: 2rem 0;
    gap: 2rem;
    z-index: 999999;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .menu.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .logo {
    height: 35px;
  }

  .logo-text {
    font-size: 1rem;
  }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 500px) {
  header {
    padding: 0.8rem 1rem;
  }

  .logo {
    height: 30px;
  }

  .menu li a {
    font-size: 1rem;
  }
}
