@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

*{
  font-family: "Oswald", sans-serif;
  font-size: 20px;
}

body{
  background-image: url('background.jpg');
  background-size: cover;
  background-attachment: fixed;
}

header{
    background-color: black;
    width: 100%;
    height: 90px;
    border-bottom: 6px solid #fe2929;
    display: table;
    box-sizing: border-box;
    z-index: 1;
    position: fixed;
}

.navbar-brand{
    width: 80px;
    height: 80px;
    border-radius: 100px;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: aliceblue;
    color: #000;
    box-sizing: border-box;
}

.nav-link{
  transition: all 0.3s ease;
}

.nav-link:hover{
  font-size: 20px;
  color: white;
}

.welcome{
  text-align: center;
  background-color: rgba(255, 255, 255, 0.399);
  padding: 30px;
  color: black;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.welcome-img {
  width: 450px; /* Largura fixa para todas as imagens */
  height: 350px; /* Altura fixa para todas as imagens */
  object-fit: cover;
  border: 3.5px solid red;
  border-radius: 8px;
}

.empresa{
  text-align: center;
  background-color: rgba(255, 255, 255, 0.399);
  backdrop-filter: blur(20px);
  color: black;
}

.empresa-txt{
  width: 50%;
  margin-left: 25%;
}

.empresa-txt p{
  font-size: 25px;
}

hr{
  border: 3px solid red;
  margin: 0 auto 10px;
  width: 200px;
  opacity: 1;
}

.servicos{
  text-align: center;
  background-color: rgba(255, 255, 255, 0.399);
  backdrop-filter: blur(20px);
  color: black;
}

.servicos li{
  font-size: 25px;
}

.servicos li b{
  font-size: 25px;
}

.portfolio{
  text-align: center;
  background-color: rgba(255, 255, 255, 0.399);
  backdrop-filter: blur(20px);
  color: black;
  padding: 20px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.portfolio-item {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 3px solid black;
  transition: all 0.3s ease;
}

.portfolio-item:hover {
  opacity: 0.7;
  cursor: pointer;
}

.portfolio-item.hidden {
  display: none;
}

.portfolio.expanded .hidden {
  display: block;
}

.btn-fotos{
  background-color: black;
  border: 2px solid black;
  border-radius: 20px;
  width: 25%;
  height: 50px;
  transition: all 0.3s ease;
  color: white;
  margin: 20px auto;
  display: block;
}

.btn-fotos:hover{
  background-color: red;
  color: white;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
}

.modal-content {
  position: relative;
  margin: auto;
  padding: 20px;
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border: 5px solid white;
}

.modal-nav {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.modal-nav button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 15px 25px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.modal-nav button:hover {
  background: rgba(255, 255, 255, 0.4);
}

.fechar {
  position: absolute;
  right: 25px;
  top: 10px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 1001;
}

.fechar:hover {
  color: red;
}

.depoimentos{
  text-align: center;
  background-color: rgba(255, 255, 255, 0.399);
  backdrop-filter: blur(20px);
  color: black;
  padding: 20px;
}

.depoimento-container{
  width: 30%;
  border-radius: 25px;
  margin: 10px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.2);
}

.depoimento-container ion-icon{
  color: red;
  font-size: 24px;
}

.depoimentos-box{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.comentario-btn {
  background-color: #fe2929;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 15px 30px;
  font-size: 22px;
  margin: 20px auto;
  display: block;
  transition: all 0.3s ease;
  width: auto;
  min-width: 300px;
}

.comentario-btn:hover {
  background-color: #ff0000;
  transform: scale(1.05);
}

.depoimento-btn {
  margin: 20px 0;
}

.depoimento-btn ion-icon {
  font-size: 40px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.depoimento-btn ion-icon:hover {
  background: rgba(0, 0, 0, 0.2);
  color: #fe2929;
}

.contato{
  text-align: center;
  background-color: rgba(255, 255, 255, 0.399);
  backdrop-filter: blur(20px);
  color: black;
  padding: 20px;
}

.telefone button {
  background-color: #25d366;
  border: none;
  border-radius: 40px;
  color: white;
  padding: 10px 30px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
}

.telefone button:hover {
  background-color: #128c7e;
  transform: scale(1.05);
}

.btn-rotas {
  background-color: black;
  border: 2px solid black;
  border-radius: 20px;
  width: 25%;
  height: 50px;
  transition: all 0.3s ease;
  color: white;
}

.btn-rotas:hover {
  background-color: red;
  color: white;
}

footer {
  background-color: black;
  color: white;
  padding: 20px;
  text-align: center;
}

.redes {
  margin-bottom: 20px;
}

.redes ion-icon {
  font-size: 40px;
  margin: 0 10px;
  color: white;
  transition: all 0.3s ease;
}

.redes ion-icon:hover {
  color: #fe2929;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .empresa-txt {
    width: 90%;
    margin-left: 5%;
  }
  
  .depoimento-container {
    width: 90%;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .btn-fotos {
    width: 80%;
  }
  
  .telefone button {
    width: 90%;
    font-size: 18px;
  }
}
