@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "bootstrap-icons";
  src: url("./fonts/bootstrap-icons.woff2?dfb56c5c") format("woff2"),
       url("./fonts/bootstrap-icons.woff?dfb56c5c") format("woff");
}

.bg-primary-color {
background-color: #fff;
}

.bg-secondary-color {
background-color: #ece8e2;
}

.bg-dark-color {
background-color: #050505;
}

.primary-color {
color: #050505;
}

.secondary-color {
color: #7a7a7a;
}

/* NAVBAR */
#navbar {
border-bottom: 1px solid #7a7a7a;
max-height: 9.2rem;
padding: 0px;
}

#navbar a {
color: #050505;
}

#navbar .active {
border-bottom: 1px solid #050505;
}

.navbar-brand {
display: flex;
}

.navbar-brand img {
width: 25rem;
max-height: 7rem;
}

.navbar-brand span {
display: block;
font-weight: 700;
font-size: 1.2em;
margin-left: 0.5em;
}

#navbar-items .navbar-nav {
display: flex;
justify-content: center;
width: 100%;
}

#navbar-items .nav-item {
margin: 0 1em;
}

/* Media query to hide only nav items on smaller screens */
@media (max-width: 768px) {
  #navbar-items .nav-item {
      display: none;
  }
}


/* BEM-VINDOS E IMAGEM PRINCIPAL DO EVENTO */

#info-container {
margin-top: 10.5rem;
display: flex; /* Garante que o contêiner use flexbox */
align-items: flex-start; /* Alinha os itens no início do contêiner */
gap: 10px; /* Adiciona um espaço fixo entre o texto e a imagem */
}

.text-container {
flex: 1 1 60%; 
max-width: 100%; 
padding: 17px;
}

.title {
font-size: 2rem; /* Ajusta o tamanho do título */
margin-bottom: 1rem; /* Espaço inferior para o título */
}

.quemtre {
max-width: 100%; /* Limita a largura máxima do texto */
text-align: left;
text-justify: inter-word;
}

/* Ajustes para a imagem */
.imgquem {
max-width: 100%; 
height: auto; /* Mantém a proporção da imagem */
object-fit: cover; /* Faz com que a imagem cubra a área disponível sem distorção */
}

/* Ajustes responsivos */
@media (max-width: 768px) {
#info-container {
  flex-direction: column; /* Muda para coluna em telas pequenas */
  align-items: center; /* Centraliza os itens */
}

.text-container {
  width: 100%; /* Garante que o texto ocupe a largura total em telas pequenas */
  margin-bottom: 20px; /* Adiciona espaço inferior ao texto */
}

.quemtre {
  max-width: 100%; /* Ajusta a largura máxima do texto para ocupar toda a largura disponível */
}

.imgquem {
  width: 100%; /* A imagem ocupa 100% da largura do contêiner */
  height: auto; /* Mantém a proporção da imagem */
}
}

@media (max-width: 576px) {
.title {
  font-size: 1.5rem; /* Reduz o tamanho do título em telas pequenas */
}

.quemtre p {
  font-size: 0.9rem; /* Reduz o tamanho da fonte do parágrafo */
}
}


/* SLIDER */
#slider {
margin-top: 2em;
margin-bottom: 1em;
}

#slider .carousel-caption {
bottom: 3em;
}

#slider .carousel-caption h5 {
font-size: 2.5em;
text-shadow: #000 2px 2px;
}

.btn {
border-radius: 0;
}

#slider .btn {
padding: 0.3em 0.8em;
font-size: 1em;
margin-top: 1em;
}

.carousel-control-prev,
.carousel-control-next {
opacity: 0.7;
}

.carousel-control-prev i,
.carousel-control-next i {
color: #111;
font-size: 3em;
}

.carousel-indicators [data-bs-target] {
background-color: #222;
opacity: 0.8;
}

.carousel-indicators .active {
background-color: #000;
}


@media (min-width: 768px) {
#slider .carousel-caption {
  bottom: 15em;
}

#slider .carousel-caption h5 {
  font-size: 4em;
  text-shadow: #000 2px 3px;
}

#slider .btn {
  padding: 0.6em 1.6em;
  font-size: 1.2em;
  margin-top: 1em;
}

.carousel-indicators {
  bottom: 7em;
}
}

/* MINI BANNERS */
#mini-banners {
margin-bottom: 4em;
}

#mini-banners .card {
padding: 2em 0.3em;
border-radius: 0;
}

#mini-banners i {
font-size: 4em;
}

#mini-banners .card-title {
margin-bottom: 1.5em;
}

#mini-banners .btn {
margin-top: 1.5em;
padding: 0.6em 1.2em;
}

#mini-banners .card {
margin-bottom: 1em;
}

.btn-custom {
width: 90%;
}

@media (min-width: 768px) {
#mini-banners {
  margin-top: -6em;
}
}


/* PONTOS TURÍSTICOS */
#featured-container {
margin-bottom: 4em;
}

.title {
font-size: 1.75em;
margin-bottom: 0.4em;
position: relative;
}

.title:before {
width: 75px;
border-top: 4px solid #7a7a7a;
content: '';
position: absolute;
bottom: 2em;
}

#featured-images {
  margin-top: 2em;
  overflow: hidden; /* Esconde qualquer conteúdo que exceda o contêiner */
}

#featured-images .col-md-4 {
  position: relative;
  cursor: pointer;
  /* Certifique-se de que a coluna não exceda 100% da largura */
  max-width: 100%;
}

#featured-images img {
  width: 100%; /* Imagem ocupa toda a largura do contêiner */
  max-height: 300px;
  
}

#featured-images .col-md-4:hover>.banner-content {
opacity: 0.8;
}

#featured-images .banner-content {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-color: #fff;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
opacity: 0.6;
transition: 0.5s;
}

@media (max-width: 768px) {
  #featured-images .col-md-4 {
      flex: 0 0 100%; /* Faz as colunas ocuparem 100% em telas menores */
      max-width: 100%; /* Assegura que não excedam 100% */
  }
}

/* Modal styles */
.modal {
display: none;
position: fixed;
z-index: 1;
padding-top: 100px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.8);
}

/* Modal content (image) - Responsivo */

.small-text {
  font-size: 0.75em; 
  color: #464646;
}

.modal-content {
margin: auto;
display: block;
width: 80%;
max-width: 700px;
max-height: 70%;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: left;
  color: #000; /* Cor do texto preta */
  font-size: 1.2em;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.7); /* Branco com 80% de opacidade */
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.close {
position: absolute;
top: 15px;
right: 35px;
color: #fff;
font-size: 40px;
font-weight: bold;
transition: color 0.3s ease;
}

.close:hover,
.close:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
}

/* Close when clicking outside the image */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

/* Melhorias para dispositivos menores */
@media (max-width: 768px) {
.modal-content {
  width: 85%;
  max-width: 500px;
}

#caption {
  font-size: 1.1em;
}
}

@media (max-width: 480px) {
.modal-content {
  width: 90%;
  max-width: 300px;
}

#caption {
  font-size: 0.9em;
}

.close {
  font-size: 30px;
}
}

@media (min-width: 768px) {
.title {
  font-size: 2.4em;
}

.title:before {
  bottom: 1.5em;
}

#featured-images .banner-content {
  opacity: 0;
}
}



/* FOOTER TOP */
#footer {
padding: 3em 2em;
background-color: #1b305a;
}

#footer-top {
margin-bottom: 2em;
}

#footer-top,
#footer-top i {
color: #fff;
}

#footer-top h2 {
  white-space: nowrap;
  text-align: left;
}

#social-icons {
text-align: right;
}

#social-icons i {
margin-right: 1em;
font-size: 1.5em;
cursor: pointer;
}

#social-icons i:hover {
color: #7a7a7a;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  #footer-top .row {
      flex-direction: column; /* Coloca o texto e ícones em uma coluna */
      text-align: left; /* Centraliza o texto e os ícones */
  }

  #footer-top h2 {
      white-space: nowrap; /* Mantém o texto em uma linha o máximo possível */
      font-size: 1.6rem; /* Ajusta o tamanho da fonte para não encolher demais */
      margin-bottom: 1.5em; /* Espaçamento entre o texto e os ícones */
  }

  #social-icons {
      margin-top: 1em; /* Espaçamento entre o texto e os ícones */
      text-align: center; /* Centraliza os ícones */
  }

  #social-icons i {
      margin-right: 0.5em; /* Reduz o espaçamento entre os ícones */
      font-size: 1.4em; /* Ajusta o tamanho dos ícones */
  }
}

/* Para telas muito pequenas (smartphones) */
@media (max-width: 480px) {
  #footer-top h2 {
      white-space: normal; /* Permite a quebra de linha apenas se o texto não couber */
      font-size: 1.4rem; /* Reduz um pouco o tamanho da fonte */
  }
}

/* FOOTER DETAILS */
#footer-details {
margin-bottom: 0.3em;
}


#contact-container,
#links-container {
padding: 0;
border: 0;
margin-bottom: 2em;
}

#footer-details h4 {
color: #fff;
margin-bottom: 1.5em;
}


/* FOOTER BOTTOM */
#footer-bottom {
border-top: 1px solid #7a7a7a;
padding-top: 1em;
}

#footer-bottom i {
color: #e61e10;
}


@media (min-width: 768px) {

  #contact-container:first-of-type {
    padding: 0 2em;
    border-left: 1px solid #7a7a7a;
    border-right: 1px solid #7a7a7a;
  }
  #contact-container:last-of-type {
    padding: 0 2em;
    border-left: 1px solid #7a7a7a;
  }

}

.mainprogramacao {
  display: flex;
  flex-direction: column;
  margin-top: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70%;
}
.mainprogramacao p {
  font-size: 20px;
  text-align: center; 
  margin-top: 0;
  padding: 0 15px;
}

.programacao {
  max-width: 60%;
  height: auto; 
  margin: 0 auto;
}

@media (max-width: 768px) {

  .mainprogramacao{
    margin-top: 110px;
  }
  .mainprogramacao p {
      font-size: 8px; /* Reduz o tamanho do texto */
      line-height: 1.4; /* Ajusta o espaçamento entre linhas */
      margin-bottom: 0;
  }
  .programacao {
    max-width: 100%;
    height: auto; 
    margin-top: 0;
  }
}