body {
  margin: 0;
  padding: 0;
  background-color: #000;
  overflow-x: hidden;
}
 nav {
  text-transform: uppercase;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%;
  position: fixed;
  width: 100%;
  box-sizing: border-box;
  top: 0;
  z-index: 1000;
  background-color: #000;
}


.logo img {
  height: 60px;          
  width: auto;           
  max-width: 100%;       
  transition: 0.3s ease; 
}


.ul-nav {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.ul-nav li a {
  cursor: pointer;
  position: relative;
  display: block;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 10px 16px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: larger;
  border-radius: 15px;
  transition: background-color 0.3s ease;
}
.ul-nav li ::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #b4977b;
  transition: width 0.3s ease;
}

.ul-nav li :hover::after {
  width: 100%;
}
.ul-nav li :hover{
  color: #b4977b;
}



@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
  }

  .logo img {
    height: 45px; 
    margin-bottom: 10px;
  }
  /* Estilo do Botão Hambúrguer (Escondido no Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 3px;
}

/* Responsividade Mobile (Máximo 900px conforme seu código) */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex; /* Mostra o hambúrguer */
        z-index: 1001;
    }

    .ul-nav {
        position: fixed;
        right: -100%; /* Esconde a aba para a direita */
        top: 0;
        flex-direction: column !important;
        background-color: rgba(0, 0, 0, 0.95);
        width: 70%; /* Largura da aba lateral */
        height: 100vh;
        padding-top: 100px;
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    /* Quando a classe 'active' for adicionada pelo JS */
    .ul-nav.active {
        right: 0;
    }

    .ul-nav li {
        width: 100%;
        text-align: center;
    }

    /* Animação do Hambúrguer virando "X" */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

  .ul-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .ul-nav li a {
    padding: 8px 12px;
    font-size: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: medium;
  }
  .ul-nav li :hover::after {
  display: none;
}
.ul-nav li ::after {
  display: none;
}
}
.banner-galeria{
    z-index: 1;
    position: relative;
    margin-top: 10%;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    color: white;
}
.escritas-banner h1{
    color: aliceblue;
    font-size: 50px;
    margin-bottom: 0%;
    text-transform: uppercase;
    
}
.escritas-banner p{
    margin-top: 1%;
}
@media (max-width: 900px){
    .banner-galeria{
    z-index: 1;
    position: relative;
    margin-top: 200px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    color: white;}

    .buttons {
    margin-left: 0;
    margin-right: 0;
    justify-content: center;
  }

  .button-css {
    flex: 1 1 calc(33.33% - 20px); /* 3 botões por linha */
    max-width: 100px;
  }

  /* força os dois últimos botões pra linha de baixo */
  .button-css:nth-child(4),
  .button-css:nth-child(5) {
    flex: 1 1 calc(50% - 20px); /* 2 botões na segunda linha */
  }
  
  }

.buttons{
    margin-top: 5%;
    display: grid; /* Mudamos de flex para grid */
    grid-template-columns: repeat(3, 1fr); /* 3 colunas iguais no desktop */
    gap: 10px; /* Espaço uniforme entre eles */
    max-width: 500px; /* Limita a largura total para não ficarem esticados demais */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    padding-bottom: 20px;
}

.button-css{
    background-color: #000;
    color: aliceblue;
    border-radius: 15px;
    width: 120px; 
    height: 65px;
    word-wrap: break-word;
    transition: 0.5s ease;
    border: 2px solid #b4977b;
    font-family: "Montserrat", sans-serif;
    font-size: larger;
    text-align: center;
    
}
.button-css:hover{
    cursor: pointer;
    transform: scale(1.08);
    background-color: #776351;
}
.button-css:active,
.button-css:focus {
  background-color: #776351;
  transform: scale(1.1);}

.gallery {
  display: none;
  margin: 30px auto;
  max-width: 1000px; 
  width: 95%;
  box-sizing: border-box;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20%;
}

.gallery a {
  max-width: 100%;
  width: 100%;
  height: 220px; 
  display: block;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1; 
  object-fit: cover;   
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}


.gallery img:hover {
  transform: scale(1.1);
}
@media (max-width: 600px) {
  .gallery a {
    height: 160px;
    height: auto !important;
  }
  .gallery {
    
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 10px; 
  }
}
@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}


footer {
  background-color: #0d0d0d;
  color: #d1d1d1;
  font-family: 'Poppins', sans-serif;
  padding: 40px 10%;
  border-top: 1px solid #222;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column {
  min-width: 220px;
  flex-direction: column;
  text-align: center;
}

.footer-logo {
  width: 180px;
  margin-bottom: 10px;
}

.footer-column h3 {
  color: #fff;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-align: center;
}

.footer-column p {
  font-size: 14px;
  line-height: 1.6;
  text-align: start;
  font-family: "Montserrat", sans-serif;
}

.footer-column ul {
  font-family: "Montserrat", sans-serif;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column; /* força o empilhamento vertical */
  gap: 8px; /* espaçamento entre os itens */
}

.footer-column ul li {
  display: block;
  font-family: "Montserrat", sans-serif;
}

.footer-column ul li a {
  display: block;
  text-decoration: none;
  color: #bfbfbf;
  font-size: 14px;
  transition: color 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.footer-column ul li a:hover {
  color: #b4977b;
}
.instagram-icon{
  width: 10%;

}
.footer-bt-div {
  text-align: center;
  margin-top: 5%;
  margin-bottom: 10%;
  display: flex;
  justify-content: center;
}

.footer-bt {
  border-radius: 15px;
  width: 60px;
  height: 60px;
  background-color: #0d0d0d;
  font-family: "Montserrat", sans-serif;
  font-size: medium;
  font-weight: 550;
  border: 2px solid #b4977b;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bt img {
  width: 24px;
  height: 24px;
  pointer-events: none; /* garante que o hover funcione no botão, não na imagem */
}

.footer-bt:hover {
  background-color: #b4977b;
}

.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    margin-bottom: 30px;
  }
}
footer {
  background-color: #000;
}
