/* public/css/site/header.css */

.main-header {
  width: 100%;
  background: linear-gradient(180deg, #000000, transparent);
  padding: 50px 0 200px 0;
  margin-bottom: -150px;
}

.header-absolute {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0.75) 50%, transparent 100%);
  padding: 50px 0 100px 0;
}

.main-header .container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 18vw;
  transition: all 0.2s ease;
}

.logo-img:hover {
  filter: brightness(1) contrast(1) drop-shadow(0 0 50px var(--color-primary));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 10px;
  margin: 0;
}

.nav-link {
  font-family: "Roboto Condensed", sans-serif;
  color: #FFFFFF;
  font-size: 18px;
  line-height: 40px;
  padding: 2px 20px 0 20px;
  border-radius: 999px;
  transition: all 0.3s ease;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  display: block;
}

.nav-link.active {
  background: var(--color-primary-gradient);
  box-shadow: inset 0 0 0 2px var(--color-bright-transparency-1);
}

.nav-link:hover {
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary));
  box-shadow: inset 0 0 0 2px var(--color-bright-transparency-2);
}

.social-icons {
  margin: 0;
  position: relative;
}

.social-icons-list {
  display: flex;
  list-style: none;
  gap: 10px;
  margin: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--color-bright-transparency-2);
  backdrop-filter: blur(10px);
}

.social-link:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.youtube-item .social-link:hover {
  background: #ff000080;
}

.spotify-item .social-link:hover {
  background: #1db95480;
}

.instagram-item .social-link:hover {
  background: #e4405f80;
}

.facebook-item .social-link:hover {
  background: #1877f280;
}

.tiktok-item .social-link:hover {
  background: #55555580;
}

.pinterest-item .social-link:hover {
  background: #e60023e6;
}

/* ===================================== */
/* === RESPONSIVIDADE PARA O HEADER === */
/* ===================================== */

/* Botão do Menu Hambúrguer (inicialmente escondido) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001; /* Garante que fique acima de outros elementos */
}

@media (max-width: 992px) {
    .logo-img {
        width: 25vw; /* Aumenta um pouco o logo em tablets */
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 20px 0 200px 0;
        position: fixed;
        z-index: 999;
    }

    .header-content {
        position: relative;
        display: block;
    }

    .logo-img {
        width: 50vw;
        margin: 0 auto;
    }

    .main-nav {
        /* Esconde o menu e o transforma em um painel mobile */
        position: fixed;
        top: 0;
        right: -100%; /* Começa fora da tela */
        width: 100%;
        height: 100vh;
        background: hsl(0deg 0% 3% / 75%);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s ease-in-out;
        z-index: 99;
    }

    .main-nav.is-open {
        right: 0; /* Traz o menu para a tela */
    }

    .nav-menu {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .nav-link {
        font-size: 22px;
    }

    .social-icons-list {
        gap: 15px;
    }

    .nav-toggle {
        display: block;
        position: absolute;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
        font-size: 28px;
        border: 1px solid var(--color-bright-transparency-2);
        padding: 10px 15px;
        border-radius: 10px;
        backdrop-filter: blur(5px);
    }
}