@import url('https://fonts.googleapis.com/css2?family=UnifrakturCook:wght@700&display=swap');

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

body {
  background-color: #000;
  color: white;
  font-family: Arial, sans-serif;
  background-image: url('fundo-dared.jpg'); /* Troque pelo nome da sua imagem */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

/* Overlay escuro sobre o fundo */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 0;
}

body {
  background-image: url('fundo.jpg'); /* ajuste o caminho se estiver em outra pasta */
  background-size: cover;           /* cobre toda a tela */
  background-position: center;      /* centraliza */
  background-repeat: no-repeat;     /* não repete */
  background-attachment: fixed;     /* fixo ao rolar a página */
  color: white;                     /* cor do texto, se necessário */
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); /* camada escura transparente */
  z-index: -1;
}

/* Garante que o conteúdo fique acima do overlay */
body > * {
  position: relative;
  z-index: 1;
}

/* Cabeçalho */
.top-bar {
  background-color: red;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.capetinha {
  height: 40px;
}

/* Ícone do menu hambúrguer */
.menu-icon {
  position: absolute;
  left: 20px;
  font-size: 24px;
  color: black;
  cursor: pointer;
}

/* Botão Sacola */
#cart-button {
  position: fixed;
  top: 10px;
  right: 20px;
  width: 48px;
  height: 48px;
  background-color: rgba(255, 0, 0, 0.15);
  border: 2px solid #ff0000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1100;
  transition: opacity 0.3s ease;
}

#cart-button img {
  width: 26px;
  height: 26px;
  filter: brightness(1.2) drop-shadow(0 0 2px red);
}

/* Sidebar */
#cart-sidebar {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: rgba(15, 15, 15, 0.95);
  color: #fff;
  box-shadow: -4px 0 15px rgba(255, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  transition: right 0.4s ease;
  padding: 24px;
  z-index: 1050;
}

/* Sidebar ativa */
#cart-sidebar.open {
  right: 0;
}

/* Botão de fechar */
#cart-sidebar .close-btn {
  background: none;
  border: none;
  color: #ff4444;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  margin-left: auto;
  display: block;
}

/* Oculta o botão quando a sidebar está aberta */
body.sidebar-open #cart-button {
  opacity: 0;
  pointer-events: none;
}


/* Menu lateral */
.side-menu {
  position: fixed;
  left: -200px;
  top: 60px;
  width: 200px;
  height: 100%;
  background-color: #111;
  transition: left 0.3s ease;
  padding-top: 20px;
  z-index: 11;
}

.side-menu a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.side-menu a:hover {
  background-color: #333;
}

/* Título "em breve" */
.em-breve {
  font-family: 'UnifrakturCook', cursive;
  font-size: 42px;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 150px; /* Espaço aumentado abaixo */
  color: white;
}

/* Logo central como imagem */
.central-logo {
  text-align: center;
  margin-bottom: 60px; /* Espaço aumentado abaixo do logo */
}

.central-logo img {
  max-width: 300px;
  height: auto;
}

/* Formulário */
.email-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.email-form input {
  padding: 10px;
  width: 250px;
  border: none;
  border-radius: 4px;
}

.email-form button {
  padding: 10px;
  width: 250px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.email-form button:hover {
  background-color: #cc0000;
}

/* Texto "sobre nós" */
.about-text {
  display: none;
  margin: 30px auto;
  width: 80%;
  max-width: 400px;
  text-align: center;
  font-size: 14px;
  color: #ddd;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 5px;
}

/* Rodapé */
footer {
  text-align: center;
  margin-top: 300px;
  font-size: 14px;
  color: #ccc;
  opacity: 1; /* ← Opacidade do texto do rodapé */
}