body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url('paisagem.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
}

/* Header com carrossel */
header {
  position: relative;
  text-align: center;
  background: rgba(0,0,0,0.5);
  padding-bottom: 20px;
}

.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-height: 400px;
}

.slides {
  display: flex;
  transition: transform 1s ease-in-out;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
}
.indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  height: 12px;
  width: 12px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #ffd700;
}

/* Botões de navegação */
.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel button:hover {
  background: rgba(0,0,0,0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Indicadores */
.indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  height: 12px;
  width: 12px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #ffd700;
}

.header-text {
  margin-top: 20px;
  padding: 0 20px;
}

/* Menu */
nav {
  display: flex;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  padding: 10px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffd700;
}

/* Descrição */
.descricao {
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
  background: rgba(0,0,0,0.5);
  padding: 20px;
  border-radius: 10px;
}

/* Galeria */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px;
}

.foto-card {
  background: rgba(0,0,0,0.6);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.foto-card a {
  display: inline-block;
  text-decoration: none;
}

.foto-card a img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s;
}

.foto-card:hover a img {
  transform: scale(1.1);
}


/* Rodapé */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.7);
}

/* Header da página de produto */
.produto-header {
  text-align: center;
  background: rgba(0,0,0,0.7);
  padding: 20px;
}

.produto-header h1 {
  margin: 0;
  color: #ffd700;
}

.produto-header nav {
  margin-top: 10px;
}

.produto-header nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

.produto-header nav a:hover {
  color: #ffd700;
}

/* Seção do produto */
.produto {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  background: rgba(0,0,0,0.5);
  border-radius: 10px;
  max-width: 1000px;
  margin: 40px auto;
}

.produto-imagem {
  flex: 1 1 300px;
  text-align: center;
}

.produto-imagem img {
  max-width: 100%;
  border-radius: 10px;
}

.produto-info {
  flex: 1 1 400px;
  padding: 20px;
}

.produto-info h2 {
  margin-top: 0;
  color: #ffd700;
}

.produto-info p {
  line-height: 1.6;
}

.preco {
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
}
.botoes-compra {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.comprar {
  display: inline-block;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s;
}

/* Botão E-book */
.comprar.ebook {
  background-color: #4caf50; /* verde */
  color: #fff;
}

.comprar.ebook:hover {
  background-color: #45a049;
}

/* Botão Livro físico */
.comprar.livro {
  background-color: #ffd700; /* dourado */
  color: #000;
}

.comprar.livro:hover {
  background-color: #e6c200;
}

/* Catálogo */
.catalogo {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background: rgba(0,0,0,0.5);
  border-radius: 10px;
  text-align: center;
}

.catalogo h2 {
  color: #ffd700;
  margin-bottom: 20px;
}

.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.item {
  background: rgba(0,0,0,0.6);
  padding: 15px;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.item img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s;
}

.item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.item h3 {
  margin: 10px 0;
  color: #ffd700;
}

.item p {
  font-size: 14px;
  line-height: 1.4;
}

.item .preco {
  font-weight: bold;
  margin-top: 10px;
}

.item .detalhes {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #ffd700;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.item .detalhes:hover {
  background-color: #e6c200;
}

/* Página de contato */
.contato {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  background: rgba(0,0,0,0.5);
  border-radius: 10px;
  max-width: 1000px;
  margin: 40px auto;
}

.contato-imagem {
  flex: 1 1 300px;
  text-align: center;
}

.contato-imagem img {
  max-width: 100%;
  border-radius: 10px;
  border: 3px solid #fff;
}

.contato-info {
  flex: 1 1 400px;
  padding: 20px;
  text-align: center;
}

.contato-info h2 {
  color: #ffd700;
  margin-top: 0;
}

.redes-sociais {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.redes-sociais a {
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

/* Estilos específicos para cada rede */
.redes-sociais a.instagram {
  background-color: #e1306c;
  color: #fff;
}

.redes-sociais a.instagram:hover {
  background-color: #c72c5d;
}

.redes-sociais a.facebook {
  background-color: #3b5998;
  color: #fff;
}

.redes-sociais a.facebook:hover {
  background-color: #2d4373;
}

.redes-sociais a.whatsapp {
  background-color: #25d366;
  color: #fff;
}

.redes-sociais a.whatsapp:hover {
  background-color: #1ebe5d;
}

/* Formulário de contato */
.formulario-contato {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: rgba(0,0,0,0.5);
  border-radius: 10px;
}

.formulario-contato h2 {
  text-align: center;
  color: #ffd700;
  margin-bottom: 20px;
}

.formulario-contato form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.formulario-contato label {
  font-weight: bold;
  text-align: left;
}

.formulario-contato input,
.formulario-contato textarea {
  padding: 10px;
  border-radius: 5px;
  border: none;
  font-size: 14px;
}

.formulario-contato button {
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  background-color: #ffd700;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  color: #000;
  transition: background-color 0.3s;
}

.formulario-contato button:hover {
  background-color: #e6c200;
}

nav a.active {
  color: #ffd700; /* dourado */
  border-bottom: 2px solid #ffd700;
}

