* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f5f0e6;
  overflow-x: hidden;
}

/* Cabeçalho */
.header-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1000;
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
  background-color: rgba(0, 0, 0, 0.4); /* fundo verdadeiro */
}

.header-container.hide-nav {
  transform: translateY(-100%);
}

/* Mostrar com animação */
.header-container.show-nav {
  transform: translateY(0);
}

.header {
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none; /* TIRA qualquer fundo aqui */
}

.menu-toggle {
  display: none;
  font-size: 32px;
  color: white;
  cursor: pointer;
  padding: 8px 12px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.logo {
  font-size: 28px;
  color: burlywood;
  font-weight: bold;
}

.nav-bar {
  display: flex;
}

.nav-bar ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-bar a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-bar a:hover {
  color: #c3e649;
}

.language-switcher {
  display: flex;
  gap: 10px;
}

.language-switcher img {
  width: 24px;
  height: auto;
  cursor: pointer;
}

/* Hero */
.hero-banner {
  height: 100vh;
  position: relative;
}

.swiper {
  height: 100%;
  overflow: hidden;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f5f0e6;
}

.slide-content {
  position: absolute;
  bottom: 80px;
  left: 50px;
  color: white;
  max-width: 600px;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

.slide-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.slide-content p {
  font-size: 20px;
}

/* Sobre Nós */
.sobre-nos {
  background-image: url('https://cdn.pixabay.com/photo/2021/09/03/16/20/forest-6596154_1280.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 130px;
  background-color: #f5f0e6;
  color: white;
  text-align: right;
  z-index: 1;
}

.conteudo-sobre {
  text-align: left;
  max-width: 800px;
  margin: auto;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 10px;
}

/* Produtos */
.secao-produtos {
  background: #f5f0e6;
  margin-top: 50px;
  text-align: center;
  z-index: 1;
  position: relative;
}

.produtos-grid {
  display: grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  padding-left: 0 20px;
}

.card-produto {
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-produto:hover {
  transform: scale(2);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.15);
}

.card-produto img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-produto h3 {
  padding: 20px;
  font-size: 18px;
  color: #333;
}

/* Contactos */
.contactos{
  display: flex;
}
.secao-contactos {
  background: linear-gradient(135deg, #f7f7f7, #eaeaea);
  padding: 100px 20px;
  text-align: left;
}

.conteudo-contactos,
.contacto-flex {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
  justify-content: center;
}

.info-contacto {
  flex: 1 1 350px;
}

.info-contacto h2 {
  font-size: 32px;
  color: #222;
  margin-bottom: 15px;
}

.info-contacto p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #444;
}

.info-contacto ul {
  list-style: none;
  padding: 0;
  color: #333;
  font-size: 16px;
}

.info-contacto li {
  margin-bottom: 10px;
}

.formulario-contacto {
  flex: 1 1 350px;
}

.formulario-contacto form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  background-color: #fff;
}

.formulario-contacto button {
  background-color: burlywood;
  color: white;
  font-weight: bold;
  border: none;
  padding: 15px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.formulario-contacto button:hover {
  background-color: #d6b36c;
}

/* Footer */
.footer {
  background-color: #2c2c2c;
  color: white;
  padding: 40px 20px;
  font-size: 14px;
}

.footer a {
  color: #c3e649;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-conteudo {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-coluna {
  min-width: 200px;
}

.footer-coluna h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: burlywood;
}

.footer-baixo {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 13px;
  color: #bbb;
}

/* Animações de scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mapa */
.mapa-estaleiro {
  padding: 60px 20px;
  background-color: #f0f0f0;
  text-align: center;
}

.mapa-estaleiro h3 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #444;
  border-radius: 3px;
}

.mapa{
  height: 300px;
  width: 600px;
}
/* Menu responsivo */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-bar {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 20px;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(8px); /* efeito vidro fosco */
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    width: 240px;
    z-index: 999;
    animation: slideDown 0.3s ease-out;
  }

  .nav-bar.active {
    display: flex;
  }

  .nav-bar ul {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .nav-bar a {
    font-size: 18px;
    color: white;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: color 0.3s ease;
  }

  .nav-bar a:hover {
    color: #c3e649;
  }

  .language-switcher {
    display: none;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

