/* ===== FONTES ===== */
@font-face {
  font-family: 'CrowsDriven';
  src: url('fonts/CrowsDriven.otf') format('opentype');
}

/* ===== BASE ===== */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #0b0b0b;
  color: #fff;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #181818;
  padding: 4px 10px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #333;
}

/* ===== LOGO ===== */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 10px 0;
  width: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.logo-text .principal {
  font-family: 'CrowsDriven', sans-serif;
  font-size: 40px;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
  margin: 0;
}

.logo-text .yan {
  color: #ffffff; /* mantém o branco do YAN */
}

.logo-text .calcados {
 color: #c70000;
}

.logo-text .sub {
  font-family: Arial, sans-serif;
  font-size: 15px;
  color: #bbbbbb;
  margin-top: 6px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 480px) {
  .logo-text .principal {
    font-size: 20px;
  }
  .logo-text .sub {
    font-size: 11px;
    letter-spacing: 2px;
  }
}


/* ===== TÍTULO ===== */
.titulo {
  text-align: center;
  color: #ffcc00;
  margin: 20px 0;
  font-size: 1.8rem;
}

/* ===== FILTROS ===== */
.filtros {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filtro {
  background-color: #222;
  border: 1px solid #ffcc00;
  color: #ffcc00;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filtro:hover,
.filtro.ativo {
  background-color: #ffcc00;
  color: #111;
}

/* ===== GRID DE CARDS ===== */
.container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  justify-items: center;
  align-items: stretch; 
  width: 100%;
  box-sizing: border-box;
}
/* ===== CARD ===== */
.card {
  background-color: #111214;
  border-radius: 14px;
  padding: 12px;
  width: 100%;
  display: flex;
  flex-direction: column; 
  justify-content: flex-start; 
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

/* ===== IMAGEM ===== */
.card img {
  width: 100%;
  aspect-ratio: 1 / 1; /* altura uniforme */
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 10px;
}

/* Nome e descrição */
.card h3 {
  font-size: 16px;
  color: #ffcc00;
  margin: 0 0 6px;
  text-align: center;
}

.card p {
  font-size: 13px;
  color: #cfcfcf;
  margin: 0 0 12px;
  text-align: center;
}

/* Botão */
.botao-comprar {
  background: linear-gradient(135deg, #ff3b3b, #c70000);
  border: none;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  width: 100%; 
  text-align: center;
  margin-top: auto; 
}

.botao-comprar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 59, 59, 0.35);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 900px) {
  .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .container {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .card {
    max-width: 100%;
    padding: 8px;
  }

  .card img {
    aspect-ratio: 1 / 1;
  }

  .card h3 {
    font-size: 12px;
  }

  .card p {
    font-size: 10px;
  }

  .botao-comprar {
    font-size: 10px;
    padding: 6px 8px;
  }
}

/* ===== RODAPÉ ===== */
footer {
  text-align: center;
  padding: 12px;
  background-color: #111;
  color: #aaa;
  margin-top: 25px;
  font-size: 14px;
}

/* Overlay para imagem ampliada */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
  padding: 10px;
  box-sizing: border-box;
}

.imagem-ampliada {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 12px;
  cursor: default;

  /* Borda branca brilhante */
  border: 4px solid #ffffff;
  box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff, 0 0 30px #ffffff;

  /* Animação de brilho suave */
  animation: glow 1.5s infinite alternate;
}
