#bloco-guia-turistico header {
  all: unset;  
  position: absolute; 
  z-index: 5;  
}

html, body {
 max-width: 100vw;
 overflow-x: hidden;
}

.video-container {
  position: relative;
  height: 76vh; 
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0; 
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;  
}

.video-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding: 2rem 1rem;
  width: 100%;
  font-size: clamp(1.5rem, 2vw, 2rem); 
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.galeria {
  background-color: white;
  gap: 20px;
  padding: 10px 10px 10px;
  justify-items: center;
  width: 100%;
  box-sizing: border-box;
  column-gap: 10px;
  column-count: 3;
}

.galeria img {
  width: 100%;
  max-width: 100%;
  height: auto;
  transition: transform 0.4s ease, filter 0.4s ease, z-index 0.4s;
  cursor: pointer;
  border-radius: 10px;
  margin-bottom: 10px;
  z-index: 0;
  position: relative;
}

.galeria img:hover {
  transform: scale(1.1);
  z-index: 10;
  filter: none;
}

.galeria:hover img:not(:hover) {
  filter: blur(4px) brightness(0.3);
  transition: filter 0.4s ease;
}

.secao-escondida {
  display: none;
  background-color: #000;
}

#galeria h2 {
  background-color: transparent;
  color: white;
  text-align: left;
  padding: 40px 0;
  margin: 20px;
}

/* POPUP OVERLAY */
#promo-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 9999;
}

#promo-popup.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#promo-popup .popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-sizing: border-box;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  animation: fadeInScale 0.4s ease;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#promo-popup .popup-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

#promo-popup .close-popup {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
  user-select: none;
}

#promo-popup .close-popup:hover {
  color: #bca58d;
}

#promo-popup .popup-content h3 {
  margin: 0 0 10px;
  font-size: 1.6em;
  color: #333;
  word-wrap: break-word;
}

#promo-popup .popup-content p {
  margin: 0 0 20px;
  font-size: 1em;
  color: #555;
  word-wrap: break-word;
}

#promo-popup .popup-btn {
  display: inline-block;
  background-color: #bca58d;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
  white-space: nowrap;
}

#promo-popup .popup-btn:hover {
  background-color: #aa977d;
  transform: scale(1.05);
}

.blur {
  filter: blur(5px);
  transition: filter 0.4s ease;
}

/* BOTÃO RESERVAS FIXO */
.botao-reservas-fixo {
  position: fixed;
  bottom: 80px;
  right: 30px;
  background-color: white; 
  color: black;
  padding: 15px 25px;
  border-radius: 40px;
  font-size: 1.1em;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: all 0.3s ease;
}

.botao-reservas-fixo:hover {
  background-color: #bca58d;
  transform: scale(1.05);
}

/* RESPONSIVIDADE - tablets */
@media (max-width: 1024px) {
  .galeria {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px) {
  .galeria {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .galeria img {
    transform: none !important;
    filter: none !important;
    cursor: default;
  }

  .galeria:hover img:not(:hover) {
    filter: none !important;
  }


 
  #background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
  }

  .video-overlay {
    padding: 10px;
    font-size: 1.2rem;
  }

  html {
    touch-action: manipulation;
  }
}


/* ==========================
   RESET & BASE
   ========================== */
#bloco-guia-turistico header {
  all: unset; 
  position: absolute;
  z-index: 5; 
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-family: 'Poiret One', sans-serif;
}

/* ==========================
   VIDEO HERO
   ========================== */
.video-container {
  position: relative;
  height: 76vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.video-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding: 2rem 1rem;
  width: 100%;
  font-size: clamp(1.5rem, 2vw, 2rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================
   GALERIA
   ========================== */
.galeria {
  background-color: white;
  gap: 20px;
  padding: 10px;
  justify-items: center;
  width: 100%;
  box-sizing: border-box;
  column-gap: 10px;
  column-count: 3;
}

.galeria img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, filter 0.4s ease, z-index 0.4s;
  cursor: pointer;
  border-radius: 10px;
  margin-bottom: 10px;
  z-index: 0;
  position: relative;
}

.galeria img:hover {
  transform: scale(1.1);
  z-index: 10;
  filter: none;
}

.galeria:hover img:not(:hover) {
  filter: blur(4px) brightness(0.3);
  transition: filter 0.4s ease;
}

/* ==========================
   POPUP PROMOCIONAL
   ========================== */
#promo-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 9999;
}

#promo-popup.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#promo-popup .popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-sizing: border-box;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  animation: fadeInScale 0.4s ease;
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

#promo-popup .popup-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

#promo-popup .close-popup {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
  user-select: none;
}

#promo-popup .close-popup:hover {
  color: #bca58d;
}

#promo-popup .popup-content h3 {
  margin: 0 0 10px;
  font-size: 1.6em;
  color: #333;
}

#promo-popup .popup-content p {
  margin: 0 0 20px;
  font-size: 1em;
  color: #555;
}

#promo-popup .popup-btn {
  display: inline-block;
  background-color: #bca58d;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
  white-space: nowrap;
}

#promo-popup .popup-btn:hover {
  background-color: #aa977d;
  transform: scale(1.05);
}

.blur {
  filter: blur(5px);
  transition: filter 0.4s ease;
}

/* ==========================
   BOTÃO RESERVAS FIXO
   ========================== */
.botao-reservas-fixo {
  position: fixed;
  bottom: 80px;
  right: 30px;
  background-color: white;
  color: black;
  padding: 15px 25px;
  border-radius: 40px;
  font-size: 1.1em;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: all 0.3s ease;
}

.botao-reservas-fixo:hover {
  background-color: #bca58d;
  transform: scale(1.05);
}


/* ==========================
   RESPONSIVIDADE
   ========================== */
@media (max-width: 1024px) {
  .galeria {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .galeria {
    column-count: 1;
    gap: 15px;
  }

  .galeria img {
    transform: none !important;
    filter: none !important;
    cursor: pointer;  
  }

  .galeria:hover img:not(:hover) {
    filter: none !important;
  }

  #background-video {
    z-index: -2;
  }

  .video-overlay {
    padding: 10px;
    font-size: 1.2rem;
  }

  html {
    touch-action: manipulation;
  }
}