.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  padding-top: 80px; /* Espaço para o menu fixo */
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

/* Slides de fundo com fade */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.4)
  );
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity 1.5s ease-in-out;
}

.hero-bg1 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../images/hero-bg.webp");
  opacity: 1;
  animation: fadeInOut1 10s infinite;
}

.hero-bg2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../images/hero-bg2.webp");
  animation: fadeInOut2 10s infinite;
}

@keyframes fadeInOut1 {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInOut2 {
  0%,
  45% {
    opacity: 0;
  }
  50%,
  95% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
  max-width: 100%;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeInUp 1s ease-out 0.6s backwards;
  flex-wrap: wrap;
}

.hero .btn-primary,
.hero .btn-secondary {
  min-width: 220px;
  width: 220px;
  height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin: 0;
}

.hero .btn-secondary {
  background-color: white;
  color: var(--color-leather);
  border-color: white;
}

.hero .btn-secondary:hover {
  background-color: transparent;
  color: white;
  border-color: white;
}

/* Animação de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .hero {
    min-height: 500px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 var(--spacing-md);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 15px;
  }

  .hero .btn-primary,
  .hero .btn-secondary {
    width: 80%;
    max-width: 280px;
    margin: 0;
    height: 50px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 100px;
  }
}
