/* Fonte padrão */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

/* Hero banner */
header.hero {
  background: url("https://via.placeholder.com/1200x400?text=Promoção+Especial")
    center/cover no-repeat;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  padding: 100px 20px;
}

/* Navbar */
.navbar-brand {
  font-weight: bold;
  font-size: 1.4rem;
}

/* Cards de produto */
.card {
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.6s ease,
    box-shadow 0.6s ease,
    opacity 0.6s ease;
}
.card img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover img {
  transform: scale(1.08);
}

/* Destaque no carrossel */
.highlight {
  transform: scale(1.15);
  z-index: 2;
  opacity: 1;
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
}

.side {
  transform: scale(0.9);
  opacity: 0.7;
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
}

.carousel-item {
  transition:
    transform 0.8s ease-in-out,
    opacity 0.8s ease-in-out;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

.carousel-control-prev-icon.bg-dark,
.carousel-control-next-icon.bg-dark {
  border-radius: 50%;
}

/* Botões personalizados */
.btn-primary {
  background-color: #ff6f61;
  border: none;
}
.btn-primary:hover {
  background-color: #e85c50;
}
.btn-success {
  background-color: #28a745;
  border: none;
  animation: pulse 2s infinite;
}
.btn-success:hover {
  background-color: #218838;
}

/* Carrinho */
#cart-items {
  max-height: 300px;
  overflow-y: auto;
}
.list-group-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Rodapé */
footer {
  background: #222;
  color: #bbb;
}
footer a {
  color: #ff6f61;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Animações extras */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
