@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  background-color: #f4f4f4;
  scroll-behavior: smooth;
}

.hero {
  background: url('imagens/hero.jpg') no-repeat center center/cover;
  height: 90vh;
  position: relative;
}

.hero .overlay {
  background: rgba(0,0,0,0.6);
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background: #0077b6;
  color: white;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #005f8c;
}

.navbar {
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar ul {
  display: flex;
  list-style: none;
  justify-content: center;
  padding: 1rem;
  gap: 2rem;
}

.navbar a {
  color: #0077b6;
  text-decoration: none;
  font-weight: bold;
}

.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
  background: #fff;
}

.section.alt {
  background: #eaf2f8;
}

h2 {
  margin-bottom: 1.5rem;
  color: #0a2f4a;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

footer {
  background: #0a2f4a;
  color: white;
  text-align: center;
  padding: 1.5rem;
}




#quem-somos h2,







#quem-somos h2,





/* Garantir largura total e reset de margens/padding */


#quem-somos h2,





















.quem-somos-texto {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: white;
  text-align: justify;
  max-width: 1000px;
  margin: auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  font-family: 'Rajdhani', sans-serif;
}




.quem-somos-texto {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: white;
  text-align: justify;
  max-width: 1000px;
  margin: auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  font-family: 'Rajdhani', sans-serif;
}


/* ===== ESTILO FINAL DA SECÇÃO HISTÓRIA ===== */

#historia {
  width: 100vw;
  max-width: 100%;
  margin: 0;
  padding: 6rem 0;
  background: url('imagens/historia.jpg') no-repeat center center/cover;
  color: white;
  position: relative;
  overflow-x: hidden;
  font-family: 'Rajdhani', sans-serif;
}

#historia::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#historia h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
}

#historia p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: white;
  text-align: justify;
  max-width: 1000px;
  margin: auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  font-family: 'Rajdhani', sans-serif;
}


/* ===== ESTILO FINAL DA SECÇÃO QUEM SOMOS ===== */

#quem-somos {
  width: 100vw;
  max-width: 100%;
  margin: 0;
  padding: 6rem 0;
  background: url('imagens/quem-somos.jpg') no-repeat center center/cover;
  color: white;
  position: relative;
  overflow-x: hidden;
  font-family: 'Rajdhani', sans-serif;
}

#quem-somos::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#quem-somos h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
}

.quem-somos-texto {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: white;
  text-align: justify;
  max-width: 1000px;
  margin: auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  font-family: 'Rajdhani', sans-serif;
}

/* ===== SLIDESHOW CAROUSEL PORTFÓLIO ===== */
.portfolio-carousel {
  overflow: hidden;
  position: relative;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 25%;
  box-sizing: border-box;
  padding: 1rem;
}

.carousel-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1rem;
}

.carousel-buttons button {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.carousel-buttons button:hover {
  background: rgba(0, 0, 0, 0.8);
}

#contactos {
  background-color: #eaf6ff;
  padding: 60px 20px;
  width: 100vw;
  text-align: center;
}

.contactos-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contactos-container p {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.lightbox {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

/* Lightbox Estilo */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox:target {
  display: flex;
}