
* {
  margin: 0; padding: 0; box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #111;
  color: #fff;
}

/* HEADER SUPERIOR */
.top-header {
  display: flex;
  height: 80px;
  justify-content: space-between;
  align-items: center;
  background-color: #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.user-cart {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: transparent;
  color: white;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #2a2a2a;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #444;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropbtn:hover {
  color: crimson;
}

.logo img {
  height: 100px; /* Ajuste conforme o tamanho desejado */
  width: auto;
  vertical-align: middle;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.menu li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.menu li a:hover {
  color: #cc8b00;
}

.sidebar {
  display: none;
}

/* header */
.wrap-header {
    height: 110px;
    z-index: 9;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background-color: transparent;
    transition: background-color 0.5s;
}

.space {
  height: 300px;
}

/* === MENU-TOGGLE === */
.user-cart {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Container do dropdown */
.dropdown {
  position: relative;
  display: inline-block;
  margin-left: 20px;
}

/* Botão do dropdown */
.dropbtn {
  background-color: transparent;
  color: #fff;
  padding: 10px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* Conteúdo escondido por padrão */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #111;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  top: 100%;
  left: 0;
}

.dropdown-content a {
  color: white;
  padding: 10px 14px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #333;
}

.dropbtn:hover {
  color: #cc8b00;
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

.row {
  display: flex;
  height: 80px;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex: 0 0 auto;
  width: auto;
}

.space {
  width: 0%;
}
.lg-10 li{
    display: inline-block;
    margin-right: 20px;
    font-size: 20px;
}

.lg-2{
  position: fixed;
  left: 5%;         /* ajuste a posição horizontal */
  width: 190px;      /* largura do retângulo */
  height: 190px;     /* altura do retângulo */
  background-color: rgba(255, 255, 255);
  border-radius: 10px 10px; /* opcional, arredondar bordas */
  box-shadow: 0 4px 0px rgba(0,0,0,0.3); /* opcional, sombra */
  z-index: 5; /* para ficar acima da imagem de fundo e abaixo do overlay */
}

.lg-2 img{
    width: 100%;
    height: 60%;
    margin: 30% auto;
    display: block;
}

/* Oculta botão e menu mobile em desktop */
#menu-toggle,
.wrap-header-mobile {
  display: none;
}

/* BANNER PRINCIPAL */
.banner {
  background: url('/img/background.jpg') no-repeat center center/cover;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.banner .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}
.banner .retangulo-inclinado {
  position: absolute;
  top: 89.5vh;          /* ajuste a posição vertical */
  left: 69%;         /* ajuste a posição horizontal */
  width: 650px;      /* largura do retângulo */
  height: 100px;     /* altura do retângulo */
  background-color: rgba(255, 255, 255);
  transform: skew(-50deg); /* inclinação tipo paralelogramo */
  border-radius: 10px 0px; /* opcional, arredondar bordas */
  box-shadow: 0 4px 0px rgba(0,0,0,0.3); /* opcional, sombra */
  z-index: 5; /* para ficar acima da imagem de fundo e abaixo do overlay */
}

.banner h1 {
  font-size: 3rem;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1rem 2rem;
  border-radius: 10px;
}

.categorias {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  background: #1b1b1b;
  padding: 2rem;
}

.categoria {
  background: #333;
  padding: 1.5rem 2rem;
  margin: 1rem;
  border-radius: 10px;
  font-size: 1.2rem;
  transition: 0.3s;
}

.categoria:hover {
  background: #555;
}

.destaques, .customizacoes, footer {
  padding: 3rem 2rem;
  text-align: center;
  background: #1a1a1a;
  margin-top: 2rem;
}

.destaques h2, .customizacoes h2, footer h3 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.produtos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.produto {
  background: #2a2a2a;
  padding: 1rem;
  width: 200px;
  border-radius: 8px;
}

.produto img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.produto h4 {
  margin-top: 0.5rem;
}

.customizacoes a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background: crimson;
  color: white;
  border-radius: 6px;
  text-decoration: none;
}

footer form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin-inline: auto;
}

footer select, footer textarea, footer button {
  padding: 0.7rem;
  border-radius: 6px;
  border: none;
}

footer button {
  background: #444;
  color: white;
  cursor: pointer;
}

footer button:hover {
  background: #666;
}

/* RESPONSIVO */
/* === Responsividade geral === */
@media (max-width: 1024px) {
  .logo img {
    height: 70px;
  }
  .menu {
    gap: 1rem;
  }
  .banner h1 {
    font-size: 2.2rem;
    padding: 1rem 1.5rem;
  }
  .banner .retangulo-inclinado {
    width: 545px;
    height: 90px;
    top: 91vh;
    left: 50%;
    transform: skew(-40deg);
  }
  .categorias {
    padding: 1.5rem;
  }
  .categoria {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    margin: 0.7rem;
  }
  .produtos {
    gap: 1rem;
  }
  .produto {
    width: 180px;
  }
}

/* Exibir dropdown no hover (apenas para desktop) */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }

  .desktop-only {
    display: block;
  }

  .mobile-only {
    display: none;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .top-header {
    flex-wrap: wrap;
    height: auto;
    padding: 0.5rem 1rem;
    gap: 1rem;
    justify-content: center;
  }
  .logo img {
    height: 60px;
  }
  .menu {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    align-items: center;
  }
  .user-cart {
    width: 100%;
    justify-content: center;
    gap: 1rem;
  }
  .banner h1 {
    font-size: 1.8rem;
    padding: 0.8rem 1rem;
  }
  .banner .retangulo-inclinado {
    width: 490px;
    height: 80px;
    top: 91vh;
    left: 40%;
    transform: skew(-35deg);
  }
  .categorias {
    flex-direction: column;
    padding: 1rem;
  }
  .categoria {
    width: 90%;
    margin: 0.5rem auto;
  }
  .produtos {
    flex-direction: column;
    gap: 1rem;
  }
  .produto {
    width: 90%;
    margin: 0 auto;
  }
  footer form {
    max-width: 100%;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .top-header {
    flex-direction: column;
    height: auto;
    gap: 0.5rem;
  }
  .logo img {
    height: 50px;
  }
  .menu {
    gap: 0.3rem;
  }
  .menu li a {
    font-size: 0.9rem;
  }
  .user-cart {
    gap: 0.5rem;
  }
  .banner h1 {
    font-size: 1.4rem;
    padding: 0.5rem 1rem;
  }
  .banner .retangulo-inclinado {
    width: 400px;
    height: 80px;
    top: 91vh;
    left: 30%;
    transform: skew(-30deg);
  }
  .categoria {
    font-size: 1rem;
    padding: 1rem;
  }
  .produto h4 {
    font-size: 1rem;
  }
  .customizacoes a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}