:root {
  --logo-amarelo: #ffcc66;
  --logo-azul: #113D7A;
  --cor-primaria: #ffffff;
  --cor-segundaria: #333;
}

.rounded-4 { border-radius: 24px; }

header, footer { background-color: var(--logo-azul); }

.logo-mobile { display: none; }

.navbar-nav .nav-link {
  color: var(--cor-primaria);
  transition: color 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover {
  color: var(--logo-amarelo);
  font-weight: bold;
}

/* Página Home */
.banner {
  height: 65vh;
  border-radius: 0 0 32px 32px;
  margin: 0 7%;
  overflow: hidden;
}

.banner-text {
  padding-top: 7vh;
  text-shadow: 0 0.1em 0.3em rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.carousel-inner img { border-radius: 0 0 32px 32px; }

#image-display {
  transition: opacity 0.3s ease-in-out;
  height: 400px;
}

/* Página Projetos */
.projetos-main { background-color: var(--cor-segundaria); }

.hero {
  background: url('/assets/pag_pj/img/44.jpg') no-repeat center/cover;
  height: 50vh;
}

.hero h1, .hero p {
  text-shadow: 0 0.1em 0.2em rgba(0, 0, 0, 0.5);
}

.hero h1 {
  padding-top: 7vh;
  font-size: 3rem;
}

.hero p { font-size: 1.2rem; }

.projetos { padding: 4% 7%; }

.thumbnail {
  position: relative;
  width: 100%;
  padding-top: 100%;
}

.img-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-bottom: 5%;
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s, box-shadow 0.3s ease-in-out;
}

.img-container:hover img {
  transform: scale(1.05);
  box-shadow: 0 0.5em 0.5em rgba(0, 0, 0, 0.5);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 6vh;
}

.lightbox-img {
  max-width: 80%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0.5em 2em rgba(0, 0, 0, 1);
}

.close, .prev, .next {
  position: absolute;
  color: var(--cor-primaria);
  cursor: pointer;
  font-size: 40px;
}

.close { top: 20px; right: 30px; }

.prev, .next {
  top: 50%;
  transform: translateY(-50%);
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Área da Proposta */
.container-prop {
  max-width: 800px;
  margin: 50px auto;
  background: var(--cor-primaria);
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

iframe {
  border: none;
  width: 100%;
  height: 2300px;
}

/* Footer */
footer {
  padding: 2%;
  border-top: 4px solid var(--logo-amarelo);
}

.btn-warning {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons i { color: var(--logo-azul); }

/* Responsivo */
@media (max-width: 768px) {
  .logo-desktop { display: none; }
  .logo-mobile { display: block; }
  .banner, .carousel-inner img {
    height: 30vh;
    border-radius: 0;
    margin: 0;
  }
  .banner-text { padding-top: 2vh; }
  .hero h1 { font-size: 2rem; }
  .img-container:hover img { transform: none; }
  .container-mg { margin: 0 4%; }
  .hero { height: 30vh; }
  .projetos { padding: 10% 12%; }
  iframe { height: 2600px; }
}
