/* Reset e configurações globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* Fonte padrão */
body {
  font-family: "Lora", serif;
  background-color: #fff0cf;
  color: #000;
  line-height: 1.6;
}

/* NAV */
nav {
  background-color: #eff3b6;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 10vw;
  padding-right: 10vw;
}

.logo-img {
  height: 50px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-link {
  color: #0e0e0e;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}

.menu-link:hover {
  text-decoration: none;
}

.menu-link::after {
  content: "";
  display: block;
  height: 2px;
  background: #000;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  transition: width 0.3s;
  pointer-events: none;
}

.menu-link:hover::after {
  width: 100%;
}

.whatsapp-link {
  background-color: #25d366;
  color: white;
  padding: 8px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.whatsapp-link:hover {
  background-color: #1ebe5d;
}

/* Seções */
.section-spacing {
  padding: 60px 10vw;
  max-width: 1200px;
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 50px;
}

.section-anchor {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.texto-inicio {
  background: #fff0cf;
  padding: 5px;
  border-radius: 8px;
  font-size: 1.2em;
  flex: 1;
  max-width: 900px;
}

.texto-sobre {
  background: #f1baa1;
  padding: 5px;
  border-radius: 8px;
  font-size: 1.2em;
  flex: 1;
  max-width: 900px;
}

/* Fonte Monte Carlo para títulos específicos */
#inicio h1,
#sobre h2 {
  font-family: "MonteCarlo", cursive !important;
}

.texto-inicio h1,
.texto-sobre h2 {
  font-size: 2em;
  text-align: center;
}

.texto-inicio p,
.texto-sobre p {
  margin-top: 15px;
  text-align: justify;
}

/* Imagens */
.imagem-inicio,
.imagem-sobre {
  flex: 1;
  display: flex;
  justify-content: center;
}

.imagem1,
.imagem2 {
  width: 70%;
  max-width: 400px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.imagem1:hover,
.imagem2:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Títulos */
.section-spacing h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* Carrossel */
.carousel-container {
  position: relative;
  max-width: 45%;
  margin: 40px auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-card {
  background-color: #ffffff; /* Alterado para branco */
  border: 1px solid #5c3a21; /* Alterado para marrom */
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  text-align: center;
  width: 90%;
  flex-shrink: 0;
  padding: 24px;
  min-height: 420px;
  margin: 0 20px;
  overflow-wrap: break-word;
  display: flex;
  flex-direction: column;
}

/* Detalhe da borda: Para manter o detalhe original da imagem, substitua a cor de fundo pela imagem da borda. */
.faixa-tiragens .carousel-card::before,
.faixa-baralhos .carousel-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../caminho/para/sua/imagem-de-borda.png") center/cover
    no-repeat;
  border-radius: inherit;
  z-index: -1;
}

/* Hover nos cards */
.carousel-card:hover {
  transform: scale(1.01);
}

.card-img {
  width: 50%;
  margin: 0 auto;
  height: 180px;
  border-radius: 10px;
  margin-bottom: 15px;
  display: block;
}

.carousel-card h3 {
  color: #5c3a21;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.carousel-card p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.5;
  text-align: justify;
}

.carousel-card p.valor {
  font-size: 1.5em;
  text-align: center;
  margin-top: auto;
  color: #111111;
  font-weight: bold;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.prev-button {
  left: 1px;
}

.next-button {
  right: 1px;
}

.is-hidden {
  display: none;
}

/* Contato */
#contato {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contato-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.contato-link img {
  margin-right: 8px;
}

.logo-zap,
.logo-email {
  height: 30px;
  vertical-align: middle;
}

/* Links */
a {
  color: #000000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Desktop */
@media (min-width: 769px) {
  .nav-links-mobile,
  .menu-toggle {
    display: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  body {
    font-family: "Lora", serif !important;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
  }

  .nav-container {
    padding: 10px 10;
    justify-content: flex-start;
  }

  .nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .logo-img {
    height: 80px;
  }

  .nav-links-mobile {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
    align-items: flex-start;
    gap: 15px;
  }

  .nav-links-mobile.show {
    display: flex;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 24px;
    width: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }

  .menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .nav-links {
    display: none;
  }

  .section-anchor {
    flex-direction: column;
    text-align: center;
  }

  .imagem-inicio,
  .imagem-sobre {
    order: -1;
    width: 150vw;
    max-width: none;
    margin-bottom: 20px;
    border-radius: 0;
  }

  .texto-inicio,
  .texto-sobre {
    order: 0;
    width: 100%;
    margin-bottom: 20px;
  }

  section[id] {
    scroll-margin-top: 400px;
  }

  .carousel-container {
    max-width: 100%;
    width: 100%;
    overflow: visible;
    margin: 20px auto;
  }

  .carousel-track {
    display: block;
    transform: none !important;
  }

  .carousel-card {
    width: 100% !important;
    margin: 20px 0;
  }

  .carousel-button {
    display: none !important;
  }

  /* Contato mobile: ícones antes do texto */
  #contato {
    align-items: center;
  }

  .contato-link {
    justify-content: center;
    width: 100%;
  }
}

/* Faixas */
.faixa-inicio {
  background-color: #fff0cf;
}

.faixa-sobre {
  background-color: #f1baa1;
}

.faixa-tiragens {
  background-color: #fff0cf;
}

.faixa-baralhos {
  background-color: #fff0cf;
}

.faixa-contato {
  background-color: #eff3b6;
}
