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

:root {
  --cor-destaque: #edb721;
  --cor-fundo1: #292929;
  --cor-fundo2: #141414;
  --cor-texto: #bdbdbd;
}

a {
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
  font-family: "Calibri" bold;
  overflow-x: hidden;
}

/* ================ NAV ================ */

header {
  border-bottom: 1px solid #1f29373a;
  height: 4rem;
  width: 100%;
  position: fixed;
  background-color: var(--cor-fundo2);
  font-family: "Roboto" bold;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

body {
  overflow-x: hidden;
}

nav {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
}

li {
  display: inline-block;
  list-style: none;
  padding: 10px;
  z-index: 10000;
}

#cr {
  border-radius: 6px;
  color: white;
  cursor: auto;
  font-style: bold;
  z-index: 10000;
  font-size: 18pt;
}

#contabilidade {
  color: white;
  cursor: auto;
  font-style: bold;
  z-index: 10000;
  font-size: 10pt;
}

#parteDireita {
  color: white;
  font-size: 12pt;
  cursor: normal;
  z-index: 10000;
}

#parteDireita:hover {
  color: var(--cor-destaque);
}

#orcamento {
  color: white;
  border-radius: 20px;
  padding: 8px;
  font-size: 12pt;
  cursor: pointer;
  z-index: 10000;
}

#orcamento:hover {
  background-color: #50423a;
  z-index: 10000;
}

.divSuprema {
  max-width: 1200px;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.direita {
  display: flex;
  gap: 1.5rem;
}

.hamburger {
  display: none;
  cursor: pointer;
  color: white;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .direita {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--cor-fundo2);
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .direita.active {
    display: flex;
  }

  .direita a {
    padding: 0.8rem;
    border-bottom: 1px solid #333;
  }

  .direita a:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: block;
  }

  .divSuprema {
    width: 100%;
    justify-content: space-between;
  }
}

ul {
  width: 100%;
  display: inline-block;
}

/* ============== FIM NAV ================== */

/* ============== FOOTER ============ */

#solicitar {
  width: 100%;
  height: 35rem;
  background-color: var(--cor-fundo2);
}

.centralizar {
  gap: 50px;
  text-align: center;
  color: white;
}

.centralizar h1,
.centralizar p {
  margin-bottom: 20px;
}

.centralizar a {
  color: white;
  background-color: #50423a;
}

.centralizar2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  border-bottom: 1px solid #1f2937;
}

.esquerda2 {
  padding: 30px;
  width: 390px;
}

#cr2 {
  border-radius: 6px;
  padding: 3px;
  width: fit-content;
  height: fit-content;
  color: white;
  background-color: var(--cor-destaque);
  cursor: auto;
  font-style: bold;
  z-index: 10000;
  font-size: 18pt;
}

#contabilidade2 {
  color: #1f2937;
  cursor: auto;
  font-style: bold;
  z-index: 10000;
  font-size: 18pt;
  margin-bottom: 10px;
  color: white;
}

.esquerda2 p {
  color: white;
}

.linksRapidos {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  padding: 30px;
  margin-top: 93px;
}

.linksRapidos a {
  color: white;
  display: flex;
  margin-bottom: 10px;
}

.contatos {
  margin-top: 110px;
  color: white;
  font-size: 10pt;
}

.redesSociais {
  display: inline-block;
  justify-content: center;
  align-items: center;
  height: auto;
  margin-top: 5px;
}

.redesSociais i {
  margin-bottom: 20px;
  color: #6b7280;
  background-color: #1f2937;
  border-radius: 50%;
  height: 50px;
  width: 50px;
  display: inline;
  justify-content: center;
  align-items: center;
}

.redesSociais p {
  color: white;
}

.direitosReservados {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #6b7280;
  margin-top: 30px;
  margin-bottom: 15px;
}
.direitosReservados2 {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #6b7280;
}

#telephone2 {
  margin-top: 20px;
  color: var(--cor-destaque);
  background-color: rgba(124, 45, 55, 0.1);
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: -10px;
  z-index: 1000;
}

/* ============== FIM FOOTER ============ */

/* ============== CARDS ================= */

.card {
  max-width: 220px;
  width: 100%;
  overflow: hidden; /* corta a imagem no limite do card */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background-color: var(--cor-fundo2);
  display: inline-block;
  margin: 5px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  position: relative;

  z-index: 1;
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 2px 2px 10px var(--cor-texto);
}

/* Parte da imagem */
.card-image {
  height: 250px; /* controla até onde a imagem vai */
  background-size: cover;
  background-position: center;
    z-index: 1;

}

.card-image-span {
  display: none;
  justify-content: end;
    z-index: 1;

}

.preco {
  color: var(--cor-destaque);
    z-index: 1;

}

/* Parte branca */
.card-info {
  padding: 20px;
  background-color: var(--cor-fundo2);
  color: var(--cor-texto);
  text-align: start;
  z-index: 1;

}

.card-info h3 {
  margin: 0;
  font-size: 16px;
  color: var(--cor-texto);
    z-index: 1;

}

.card-info p {
  margin: 4px 0;
  font-size: 14px;
    z-index: 1;

}

.generos {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.rockClassico {
  max-width: 15rem;
  width: 100%;
  height: 9rem;
  text-align: center;
  border: 1px solid black;
  background-color: white;
}

.card-image span {
  margin-right: 0.5rem;
  color: white;
  background-color: var(--cor-fundo2);
  padding: 4px 8px;
  margin-top: 5px;
}

/* Parte branca */
.card-info {
  padding: 12px;
  background-color: var(--cor-fundo2);
}

/* ========= FIM CARDS ============ */

.container {
  width: 100%;
  text-align: center;
  padding-top: 4rem;
  background-color: var(--cor-fundo2);
  color: white;
  display: block;
  align-items: center;

}
.container h2{
  padding-top: 5rem;
}

.container h2,
.container p{
  padding-left: 2rem;
  padding-bottom: 1rem;
  margin-right: 60rem;
}
.container p{
  padding-bottom: 4rem;
}


.filter{
  padding: 20px;
  width: 100%;
  margin: auto;
  background-color: var(--cor-fundo1);
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

#filtroArtista {
  max-width: 60rem;
  width: 100%;
  padding: 10px;
  margin-right: 0;  
  border: 1px solid black;
  border-radius: 5px;
  background-color: white;
}

#filtro-genero{
  padding: 10px;
  border-radius: 5px;

}

.filter-checkboxes {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-checkboxes label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.filter-checkboxes input[type="checkbox"] {
  cursor: pointer;
  max-width: 18px;
  width: 100%;
  height: 18px;
  accent-color: var(--cor-destaque);
}

.filter-toggle {
  margin-top: 10px;
}

.checkbox-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 15px;
  background-color: var(--cor-destaque);
  color: white;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.checkbox-toggle:hover {
  background-color: #6a5849;
}

.checkbox-toggle input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: white;
  margin: 0;
}

.toggle-icon {
  transition: transform 0.3s ease;
  display: inline-block;
}

.checkbox-toggle input[type="checkbox"]:checked ~ .toggle-icon {
  transform: rotate(180deg);
}

.filter-checkboxes {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 15px;
  padding: 15px;
  background-color: #f4ede5;
  border-radius: 5px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#centralizar {
  margin: auto;
  text-align: center;
  max-width: 82.25rem;
  width: 100%;
  padding: 10px;
}

#catalogo {
  background-color: var(--cor-fundo1);
  height: auto;
  padding-bottom: 4rem;
}

.grid-catalogo {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.imgCD {
  grid-area: cd;
  width: 40px;
  height: 40px;
  color: white;
  background-color: white;
  border-radius: 50%;
}

.esquerda{
  display: grid;
  grid-template-areas: 
  "cd vinyl"
  "cd classico";
  gap: 5px;
  margin-top: 10px;
}

.imgCD {
  grid-area: cd;
  width: 40px;
  height: 40px;
  color: white;
  background-color: white;
  border-radius: 50%;
}

#cr {
  grid-area: vinyl;
  border-radius: 6px;
  color: white;
  cursor: auto;
  font-style: bold;
  z-index: 10000;
  font-size: 18pt;
}

#contabilidade {
  grid-area: classico;
  color: white;
  cursor: auto;
  font-style: bold;
  z-index: 10000;
  font-size: 10pt;
}

.mobile-only {
  display: none;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  /* ===== HEADER ===== */
  header {
    height: auto;
    padding: 10px 0;
  }

  .divSuprema {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .esquerda {
    justify-content: center;
    text-align: center;
  }

  .direita {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }

  #parteDireita {
    font-size: 11pt;
  }

  /* Evita scroll lateral */
  body, html {
    overflow-x: hidden;
  }

  /* ===== CONTAINER TOPO ===== */
  .container h2,
  .container p {
    margin-right: 0;
    padding-left: 0;
    text-align: center;
  }

  /* ===== FILTRO ===== */
  #filtroArtista {
    margin-right: 0;
    max-width: 100%;
  }

  /* ===== FOOTER ===== */
  #solicitar {
    height: auto;
    padding-bottom: 30px;
  }

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

  #centralizar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .linksRapidos,
  .esquerda2,
  .redesSociais {
    width: 100%;
    padding: 10px;
    margin-top: 0;
  }

  .linksRapidos a {
    justify-content: center;
  }

  .redesSociais div {
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none !important;
  }
  
  .mobile-only {
    display: block !important;
  }
  
  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem;
  }
  
  .mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  #mobile-menu-icon {
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
  }
  
  #mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--cor-fundo2);
    z-index: 1001;
  }
  
  #mobile-menu.active {
    display: block;
  }
  
  #mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  #mobile-menu li {
    border-bottom: 1px solid #333;
  }
  
  #mobile-menu li:last-child {
    border-bottom: none;
  }
  
  #mobile-menu a {
    display: block;
    padding: 1rem;
    color: white;
    text-decoration: none;
  }

}
