/* CSS unificado e reorganizado para o site do Psicanalista Cláudio Melo */

/* RESET E BASE */
body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #1f2c38;
  color: #EEE4CB;
  font-family: Georgia, serif;
  overflow-x: hidden;
}

#corpo {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* NAVBAR E DROPDOWN */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  padding: 10px 40px;
  background-color: #233a50;
  border-bottom: solid #1f2c38;
  opacity: 95%;
  z-index: 2;
}

.navbar-left {
  display: flex;
  padding-left: 15%;
}

.navbar-itens {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 35px;
}

.navbar-itens li a {
  text-decoration: none;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 16px;
  transition: color 0.3s;
}

.navbar-itens li a:hover {
  color: #EEE4CB;
}

.navbar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar-logo {
  height: 80px;
  width: 80px;
  object-fit: cover;
  border-radius: 50%;
  background-color: #233a50;
  margin-top: 35px;
}

.dropdown {
  position: fixed;
  top: 10px;
  right: 20px;
  z-index: 1000;
  display: none;
}

.menu-toggle {
  background-color: transparent;
  border: none;
  color: #EEE4CB;
  font-size: 2.5rem;
  cursor: pointer;
}

.menu-content {
  display: none;
  flex-direction: column;
  background-color: #1f2c38;
  border-radius: 8px;
  padding-top: 10px;
  padding-bottom: 10px;
  position: absolute;
  right: 0;
  margin-top: 10px;
  opacity: 95%;
}

.menu-content a {
  color: #EEE4CB;
  text-decoration: none;
  padding: 8px 12px;
  text-align: center;
  width: 100%;
}

.menu-content a:hover {
  text-decoration: underline;
}

.dropdown.active .menu-content {
  display: flex;
  background-color: #2d4965;
  border: solid #233a50;
}

/* HERO */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.imagem_foto, .hero {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  width: 100%;
}

.texto_lateral {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 80%;
}

.nome_destaque {
  font-size: 3rem;
  margin: 0 0 30px 0;
}

.titulo_pequeno {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.descricao_long {
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 100%;
  z-index: 1;
}

.imagem_lateral {
  flex: 1;
  display: flex;
  justify-content: right;
  align-items: center;
  max-width: 50%;
  margin: 0;
  padding: 0;
}

.imagem_lateral img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 0 0 0 15%;
}

.imagem_fundo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  width: 60%;
  z-index: 0;
  pointer-events: none;
  margin-top: 50px;
}

.botao-agendar-topo {
  margin-top: 25px;
}

/* GALERIA */
.titulo_consultorio {
 text-align: center;
}

.galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px;
}

.foto {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.foto img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.foto:hover img {
  transform: scale(1.1);
}

/* MAPA E ENDEREÇO */
.widget-mapa {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.botao-mapa {
  margin-top: 55px;
  background-color: #EEE4CB;
  color: #1f2c38;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

.botao-mapa:hover {
  background-color: #d5c39e;
}

/* SESSÕES */
.titulos, .titulo_agendar {
  font-size: 2.5rem;
  font-weight: bold;
}

.paragrafos {
  margin-left: 10px;
  margin-top: 35px;
  font-size: 1.2rem;
  max-width: 80%;
  text-align: center;
}

.paragrafos a {
  color: #EEE4CB;
  text-decoration: none;
}

.paragrafos a:hover {
  text-decoration: underline;
}

.descricao, .descricoes {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justifify-content: center;
  gap: 50px;
}

/* AGENDAMENTO */
.widget-agendamento {
  margin: 60px auto;
  text-align: center;
}

.botao-agendar {
  background-color: #EEE4CB;
  color: #1f2c38;
  padding: 12px 36px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  align-items: center;
  text-align: center;
}

.botao-agendar-topo {
  margin-top: 25px;
}

.botao-agendar:hover {
  background-color: #d5c39e;
}

/* RODAPÉ */
.rodape {
  background-color: #2d4965;
  color: #f4f4f4;
  border-top: 4px solid #1f2c38;
  margin-top: auto;
  padding: 30px 20px;
}

.rodape-topo {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-around;
}

.coluna.centro {
  text-align: center;
}

.logo-footer {
  width: 150px;
  background-color: #2b455f;
  border-radius: 50%;
}

.rodape-endereco {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 20px;
}

.rodape a {
  color: #EEE4CB;
  text-decoration: none;
}

.rodape a:hover {
  text-decoration: underline;
}

.contatos {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.contatos img {
  width: 30px;
  filter: brightness(1000%);
}

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

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

.lightbox .fechar,
.lightbox .seta-esquerda,
.lightbox .seta-direita {
  position: absolute;
  color: #EEE4CB;
  font-size: 40px;
  cursor: pointer;
}

.lightbox .fechar { top: 20px; right: 30px; }
.lightbox .seta-esquerda { left: 30px; top: 50%; transform: translateY(-50%); }
.lightbox .seta-direita { right: 30px; top: 50%; transform: translateY(-50%); }

/* RESPONSIVIDADE */
@media (min-width: 1930px) {
  .texto_lateral {
    background-position: bottom;
    background-size: 30%;
  }
} 

@media (max-width: 1023px) {
    .hero {
    flex-direction: column-reverse;
    align-items: center;
  }

  .texto_lateral,
  .imagem_lateral {
    max-width: 100%;
    padding: 20px;
    text-align: center;
  }
  
  .navbar {
    display: none;
  }

  .dropdown {
    display: block;
  }

  .menu-btn {
    background-color: #333;
    color: white;
    padding: 10px;
    border: none;
    font-size: 18px;
    cursor: pointer;
  }

  .menu-content {
    display: none;
    flex-direction: column;
    background-color: #444;
    padding: 10px;
  }

  .dropdown-mobile.open .menu-content {
    display: flex;
  }

  .menu-content a {
    color: white;
    text-decoration: none;
    padding: 8px 0;
  }
}

@media (max-width: 960px) {
  .hero {
    flex-direction: column-reverse;
  }

  .texto_lateral,
  .imagem_lateral {
    width: 80%;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .imagem_lateral img {
    width: 100%;
    border-radius: 10px;
  }

  .descricoes {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
  }
  
  .texto_lateral,
  .imagem_lateral {
    width: 90%;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .imagem_lateral img {
    width: 100%;
    border-radius: 10px;
  }

  titulo_consultorio {
    
  }

  .titulos, .titulo_agendar {
    font-size: 2.5rem;
    font-weight: bold;
  }
  
  .paragrafos {
    margin-top: 35px;
    font-size: 1.2rem;
    max-width: 80%;
    text-align: center;
  }

  .descricao {
    flex-direction: column
  }

  .descricoes {
    width: 100%;
  }

  .foto img {
    width: 90vw;
    height: auto;
  }

  .menu-content {
    right: 10px;
  }

  .logo-footer {
    width: 80px;
    opacity: 0.9;
  }
}
