/* Reset de margens e padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Estilos globais */
  body {
    margin: 0;
    font-family:"Nunito Sans", sans-serif;
    color: #333;
    line-height: 1.6;
  }
  
  h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: white;
    position: fixed;
    width: 100%;
    z-index: 10;
  }
  
  .navbar-logo img {
    width: 100px;
    height: 40px;
  }
  
  .navbar-links {
    display: flex;
    gap: 20px;
  }
  
  .navbar-links a {
    text-decoration: none;
    color: black;
    font-size: 1rem;
  }
  
  .navbar-links a:hover {
    color: #0177bf;
  }
  
  .navbar-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: black;
  }
  
  /* Add this media query to toggle the navbar links on smaller screens */
  @media (max-width: 768px) {
    .navbar-links {
      display: none;
    }
    .navbar-toggle {
      display: block;
    }
    .navbar-links.active {
      display: flex;
      flex-direction: column;
      align-items: center;
      background-color: white;
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      padding: 20px;
    }
  }
  /* Estilo da secção de Hero */
  .hero-section {
    position: relative;
    height: 100vh;
    background-image: url('img/banner.jpg'); 
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
  }

  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Sobreposição escura */
  }

  .hero-content {
    position: relative;
    z-index: 1;
  }

  .hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
  }

  .hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .hero-buttons a {
    background-color: #0177bf;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 10px;
    transition: background-color 0.3s ease;
  }

  .hero-buttons a:hover {
    background-color:#053b5d;
  }

  .secondary-button {
    background-color: transparent;
    border: 2px solid white;
  }

  .secondary-button:hover {
    background-color: white;
    color: #053b5d;
  }

  /* Responsividade */
  @media (max-width: 768px) {
    .navbar-links {
      display: none;
      flex-direction: column;
      background-color: white;
      position: absolute;
      top: 70px;
      right: 0;
      width: 200px;
      border-left: 1px solid #ccc;
      border-bottom: 1px solid #ccc;
    }

    .navbar-links.active {
      display: flex;
    }

    .navbar-toggle {
      display: block;
    }

    .hero-content h1 {
      font-size: 2.5rem;
    }

    .hero-content p {
      font-size: 1.2rem;
    }

    .hero-buttons a {
      padding: 10px 20px;
      font-size: 1rem;
    }
  }
  
  /* Sobre Nós */
  .about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .about-text {
    max-width: 50%;
    margin-top: 20px;
  }
  .about-text h1 {
    font-size: 3rem;
    color: #2b2b2b;
  }
  .about-text p {
    margin: 20px 0;
    font-size: 1.1rem;
    color: #555;
  }
  .about-text .highlight {
    background-color: #8acff9;
    padding: 0 5px;
  }
  .about-text button {
    padding: 15px 30px;
    background-color: #0177bf;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
  }
  .about-image {
    max-width: 40%;
    position: relative;
  }
  .about-image img {
    width: 100%;
    border-radius: 20px;
  }
  .about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120%;
    height: 120%;
    background-color: #053b5d;
    border-radius: 50%;
    z-index: -1;
  }
  
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(50px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .animate-fade-up {
    animation: fadeUp 1s ease-out forwards;
  }
  
  .animate-fade-left {
    animation: fadeIn 1s ease-out forwards;
  }
  
/*service*/
.services-section {
  text-align: center;
  padding: 50px 0;
  background-color: white;
}

.services-section h2 {
  margin-top: 40px;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.services-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
}

.service-card {
  background: white;
  border-radius: 10px;
  width: 22%;
  margin: 20px 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
 /* opacity: 0;  Mantém a opacidade inicial a 0 */
  /*transform: translateY(20px);  Inicia ligeiramente deslocado para baixo */
 /* visibility: hidden;  Torna invisível até a animação iniciar */
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service-icon {
  font-size: 3rem;
  color: #4caf50;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.service-card p {
  color: #555;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .service-card {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .service-card {
    width: 90%;
  }
}


/*Gallery*/
.gallery {
  padding: 5rem 2rem;
  background-color: white;
}

.gallery h2 {
  margin-top: 20px;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 40px;
}

.gallery-item {
  width: 250px;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden; /* Garante que a imagem não saia dos limites */
  transition: transform 0.5s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajusta a imagem para cobrir completamente o contêiner */
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: rotateY(180deg);
}
  
  /* Contato */
  .contact {
    padding: 5rem 2rem;
    background-color: #fff;
  }
  
  form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    gap: 1.5rem;
  }
  
  input, textarea {
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  button {
    padding: 1rem;
    background-color: #0177bf;
    color: white;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #1e5799;
  }
  
  /* Rodapé */
  .footer {
    background-color: #0177BF;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer p {
    margin: 0.5rem 0;
  }
  