:root {
  --miniaturas: 200px;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0; /*fffffffffffff*/
  background-color: #a2c58b;
}

/* área clicável */
.area-clicavel {
  fill: rgba(238, 229, 229, 0.05);
  stroke: #fff; /* 'stroke' em vez de 'border' */
  stroke-width: 2;
  cursor: pointer;
  transition: 0.3s;
}

.area-clicavel:hover {
  fill: rgba(255, 0, 0, 0.5);
}
.area-clicavel::after {
  content: attr(data-arquivo); /* Pega o texto do data-arquivo */
  position: absolute;
  top: -20px;
  font-size: 12px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.area-clicavel_1 {
  stroke: red;
  fill: rgba(238, 229, 229, 0.5);
  stroke-width: 2;
  cursor: pointer;
  /* transition: 0.1s; */
}

.area-clicavel_1:hover {
  fill: rgb(248, 177, 177);
  stroke: rgba(238, 229, 229, 0.5);
  stroke-width: 2;
}

.area-clicavel_1::after {
  content: attr(data-arquivo);
  position: absolute;
  top: -20px;
  font-size: 12px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.imagem-principal {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Modal */
#modal-container {
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.modal-content {
  background-color: #fff;
  margin: 2% auto; /* Pequena margem no topo */
  padding: 20px;
  width: 90%; /* Largura responsiva */
  max-width: 800px; /* Limite máximo de largura para telas grandes */
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  position: relative;
}
#btn-fechar {
  cursor: pointer;
  font-size: 24px;
  position: absolute;
  right: 15px;
  top: 10px;
}

/*--------------------------------------------*/
/* 1. Contêiner principal para posicionar as setas */
.carousel-wrapper {
  display: flex;
  /* Alinha botões e imagens verticalmente no centro */
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 900px;
  /* Ajuste conforme necessário */
  margin: 0 auto;
}

.carousel-container {
  position: relative;
  /* Tamanho fixo para mostrar apenas algumas imagens */
  overflow: hidden;
  width: 750px;
  /* Esconde o que sobra */
  margin: 0 10px;
  border-radius: 6px;
  background: var(--Fundo_quadro);
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-item {
  flex-shrink: 0;
  width: 100%;
  height: 80%;
  object-fit: cover;
}
/* Garante que o vídeo preencha o espaço do carrossel como uma imagem faria */
.video-thumb {
  width: var(--miniaturas);
  height: var(--miniaturas);
  padding: 5px;
  object-fit: cover; /* Faz o vídeo preencher o quadrado sem distorcer */
  cursor: pointer;
}

.carousel_img {
  flex-shrink: 0;
  width: var(--miniaturas);
  height: var(--miniaturas);
  padding: 4px;
  cursor: pointer;
  object-fit: cover;
}

.carousel-btn {
  flex-shrink: 0;
  border: none;
  background-color: transparent;
  color: var(--fundo1);
  font-size: 50px;
  cursor: pointer;
  transition: 0.2s;
}

.carousel-btn.prevy {
  left: -40px;
}

.carousel-btn.nexty {
  right: 520px;
}

.carousel-btn:hover {
  color: #000;
  font-size: 50px;
}

.thumb {
  width: 120px;
  margin: 4px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.thumb:hover {
  opacity: 0.7;
}

.modal-overlay {
  display: none; /* Escondido por padrão */
  position: fixed;
  z-index: 9999; /* Fica acima do carrossel */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); /* Fundo preto semi-transparente */
  cursor: zoom-out;
  justify-content: center;
  align-items: center;
}

#img-zoom {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.btn-fechar {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.botao-login {
  transition: 0.3s;
  cursor: pointer;
  fill: #000;
}

.botao-login:hover {
  fill: #0056b3;
}
/* -------------------------------------------------------------- */
#map-container {
  position: relative;
  width: 100%;
  /* Remova 'height: 100%' se ele estiver travando a tela */
  overflow: visible; /* Permite que a página role normalmente */
  background: transparent;
}

#map-inner {
  position: relative;
  display: block;
  width: 100%;
  transform: none !important; /* Remove qualquer resquício de escala */
}

#map-img {
  display: block;
  width: 100%; /* Mantém a imagem responsiva */
  height: auto;
}

.marker {
  position: absolute;
  /* Use unidades fixas para os marcadores não ficarem gigantes no zoom */
  width: 20px;
  height: 20px;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}
