* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}
a{
  text-decoration: none;
  color: #ff7003;
}
body {
  background-color: #f4f4f4;
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
}

header {
  background-image: url(imagem/canion_head.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 20px 0;
  height: 440px;
}

.div_p {
  text-align: left;
  font-size: 35px;
  width: 930px;
  height: 100%;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.div_p strong {
  color: rgb(215, 188, 12);
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
}

nav {
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  padding: 10px 20px;
  transition: 0.3s;
}

nav a:hover {
  background: white;
  color: #1a2041;
  border-radius: 5px;
}

::-webkit-scrollbar {
  width: 6px;
  /* Largura vertical */
  height: 6px;
  /* Altura horizontal */
}

nav {
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav.scrolled a {
  color: #1a2041;
}

nav.scrolled a:hover {
  background: #1a2041;
  color: white;
}

header {
  padding-top: 60px;
  /* altura igual ou maior que o nav */
}

.hero {
  background: url("https://source.unsplash.com/1600x900/?mountains") no-repeat
    center;
  background-size: cover;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: rgb(0, 0, 0);
  font-size: 20px;
  font-weight: bold;
  margin: 80px 0 20px 0;
  text-align: justify;
}

.hero p {
  font-size: 16px;
  padding: 50px;
  font-weight: normal;
  margin-bottom: 30px;
  max-width: 1000px;
}

.hero h1 {
  padding: 20px;
}

#explore {
  max-width: 100%;
  padding: 90px 0 0 0;
}

#img_thumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px 0 20px 0;
}

.img_box {
  position: relative;
  overflow: hidden;
  width: 365px;
  height: 240px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.img_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  display: block;
}

.img_box:hover img {
  transform: scale(1.1);
  filter: blur(3px) brightness(0.8);
}

.img_text h3 {
  padding: 10px;
  text-align: center;
}

.img_text {
  position: absolute;
  inset: 0;
  /* Ocupa toda a área da imagem */
  background: rgba(0, 0, 0, 0.6);
  /* fundo escuro com transparência */
  color: white;
  font-size: 14px;
  font-weight: normal;
  text-align: justify;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  /* Para scroll se o texto for grande */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.img_box:hover .img_text {
  opacity: 1;
}

#sobre {
  background-color: #ffffff;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-around;
  justify-content: space-around;
  max-width: 100%;
  height: 100vh;
  padding: 30px 0 0 10px;
}

#div_sobre {
  max-width: 1000px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-around;
  justify-content: space-around;
  padding: 30px;
  text-align: justify;
}

#div_sobre h2 {
  padding: 20px;
}

#div_sobre p {
  padding: 20px 0 20px 0;
}

.sobre_titulo {
  width: 100%;
  height: auto;
  padding: 20px;
  text-align: justify;
}

.sobre_titulo h2,
h3 {
  padding: 10px 0 10px 0;
  text-align: center;
}

.sobre {
  width: 440px;
  height: auto;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  align-content: space-between;
}

.sobre h3 {
  padding: 15px 0 15px 0;
}

.sobre img {
  width: 50px;
}

.botao_sobre {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  padding: 20px;
}

.botao_contato {
  background-color: #1a2041;
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

#destinos {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-around;
  justify-content: space-around;
}

#div_destinos {
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-content: space-around;
  justify-content: space-around;
  padding: 80px 0 0 0;
  text-align: justify;
}

#div_destinos h2 {
  padding: 15px 0 15px 0;
  text-align: center;
}

#div_destinos .destinos {
  width: 100%;
}

.destinos {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-content: center;
  flex-direction: row;
  margin: 20px 0 10px 0;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.destinos img {
  width: 250px;
  border: solid 10px #fff;
  border-radius: 5px;
}

.destinos p {
  padding: 20px;
  font-size: 16px;
}

section#contato {
  padding: 50px 20px;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  position: relative;
  background: url(imagem/background/mapa.png) no-repeat center;
  background-size: cover;
  background-attachment: fixed;
  border-radius: 10px;
  overflow: hidden;
  align-content: space-around;
}

section#contato::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.85);
  /* efeito marca d'água */
  z-index: 0;
}

.taxistas {
  max-width: 1000px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.taxista {
  background: white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  margin: 0 50px 0 50px;
}

.taxista img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.taxista h3 {
  margin: 15px 0 10px;
}

.botao-whatsapp {
  background-color: #25d366;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.botao-whatsapp:hover {
  background-color: #1ebc59;
}

@media (max-width: 700px) {
  .taxistas {
    flex-direction: column;
    align-items: center;
  }
}

h2 {
  text-align: center;
  position: relative;
  z-index: 1;
}

#div_contato {
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-content: space-around;
  justify-content: space-around;
  padding: 80px 0 0 0;
  text-align: justify;
}

#vinicola {
  background-image: url(imagem/background/barril.jpg);
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  padding-top: 60px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  /* escurece a imagem */
  z-index: 1;
}

.texto {
  position: relative;
  color: white;
  font-size: 1.2rem;
  text-align: justify;
  padding: 20px;
  z-index: 2;
  max-width: 1000px;
}

.texto h3,
h2 {
  text-align: center;
  padding: 20px;
}

/* anima as divs da section */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* fim da animação */
footer {
  display: flex;
  align-items: center;
  background: #1a2041;
  color: white;
  padding: 20px;
  margin-top: 20px;
  justify-content: space-around;
  flex-direction: row;
  flex-wrap: nowrap;
}
#rodape {
  display: flex;
  max-width: 1000px;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}
#rodape img {
  width: 200px;
}
.guias {
  margin: 30px;
  padding: 20px;
  text-align: justify;
}
.guias p {
  padding: 5px;
  text-align: justify;
}

@media (max-width: 768px) {
  nav {
    position: static;
    flex-direction: column;
  }

  header {
    padding-top: 10px;
    height: auto;
  }

  .hero {
    height: auto;
    margin-top: 10px;
    text-align: center;
  }

  .hero p {
    text-align: justify;
    margin-bottom: 0;
    padding: 30px 5px 5px 5px;
  }

  .div_p {
    text-align: justify;
    font-size: 19px;
    width: auto;
    height: 100%;
    padding: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  #explore {
    max-width: 100%;
    padding: 20px 20px;
  }

  #sobre {
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: space-around;
    max-width: 100%;
    padding: 10px 0 0 10px;
    height: 100%;
  }

  #div_sobre {
    width: calc(100% - 10px);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: space-around;
    text-align: justify;
  }

  #div_sobre p {
    padding: 20px 0 20px 0;
  }

  .sobre {
    width: calc(100vw -15px);
    height: auto;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    align-content: space-between;
  }

  .sobre h3 {
    padding: 15px 0 15px 0;
  }

  .sobre img {
    width: 60px;
  }

  .botao_sobre {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding: 20px;
  }

  .botao_contato {
    background-color: #1a2041;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
  }

  #destinos {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: space-around;
    margin-bottom: 40px;
  }

  #div_destinos {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: space-around;
    justify-content: space-around;
    padding: 40px 0 0 0;
    text-align: justify;
  }

  #div_destinos h2 {
    padding: 15px 0 15px 0;
    text-align: center;
  }

  #div_destinos .destinos {
    width: 100%;
  }

  .destinos {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: center;
    flex-direction: row;
    margin: 20px 0 10px 0;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .destinos img {
    width: 250px;
    border: solid 10px #fff;
    border-radius: 5px;
  }

  .destinos p {
    padding: 20px;
    font-size: 16px;
  }

  #destinos {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: space-around;
  }

  #div_destinos {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  #div_destinos h2 {
    padding: 15px 0 15px 0;
    text-align: center;
  }

  #div_destinos .destinos {
    width: 100%;
  }

  .destinos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center;
    flex-direction: row;
    margin: 20px 0 10px 0;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .destinos img {
    width: 100%;
    border: solid 10px #fff;
    border-radius: 5px;
  }

  .destinos p {
    padding: 20px;
    font-size: 16px;
  }
  section#contato {
    padding: 50px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    position: relative;
    background: url(imagem/background/mapa.png) no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    border-radius: 10px;
    overflow: hidden;
    align-content: space-around;
    height: auto;
  }

  section#contato::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    /* efeito marca d'água */
    z-index: 0;
  }

  .taxistas {
    max-width: 1000px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
  }

  .taxista {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin: 0 50px 0 50px;
  }

  .taxista img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .taxista h3 {
    margin: 15px 0 10px;
  }

  .botao-whatsapp {
    background-color: #25d366;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: background-color 0.3s ease;
  }

  .botao-whatsapp:hover {
    background-color: #1ebc59;
  }
  .texto {
    position: relative;
    color: white;
    font-size: 1rem;
    text-align: justify;
    padding: 20px;
    z-index: 2;
    max-width: 1000px;
  }
  footer {
    display: flex;
    align-items: center;
    background: #1a2041;
    color: white;
    padding: 20px;
    margin-top: 20px;
    justify-content: space-around;
    flex-direction: row;
    flex-wrap: nowrap;
    text-align: center;
  }
  #rodape {
    display: flex;
    max-width: 1000px;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
  }
  #rodape img {
    width: 200px;
  }
  .guias {
    margin: 20px;
    padding: 10px;
    text-align: justify;
    width: 100%;
  }
  .guias h3{
    text-align: justify;
  }
}
