/**
 * CABEÇALHO PRINCIPAL
 */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 30%, transparent 100%);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: none;
}

.main-header.scrolled {
  background: rgba(0, 0, 0, 0.95) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo centralizada */
.logo-header {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 65px;
  transition: all 0.3s;
  z-index: 1001;
}

/* Menu hambúrguer sempre visível */
.menu-toggle {
  display: block;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s;
  z-index: 1002;
  position: relative;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e6b800;
}

.menu-toggle i {
  transition: transform 0.3s;
}

.menu-toggle.active i {
  transform: rotate(90deg);
}

/* Navegação lateral */
.main-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  padding-top: 100px;
  transition: right 0.3s ease;
  z-index: 999;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
  border-left: 1px solid rgba(230, 184, 0, 0.2);
}

.main-nav.ativo {
  right: 0;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.main-nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav a {
  display: block;
  padding: 20px 30px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s;
  position: relative;
  font-family: "Bebas Neue", sans-serif;
}

.main-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #e6b800, transparent);
  transition: width 0.3s ease;
  z-index: -1;
}

.main-nav a:hover {
  color: #ffffff;
  background: rgba(230, 184, 0, 0.1);
  padding-left: 40px;
}

.main-nav a:hover::before {
  width: 100%;
}

.main-nav a.active {
  color: #e6b800;
  background: rgba(230, 184, 0, 0.1);
}

/* Overlay para fechar menu */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}