/* Paleta de Cores */
:root {
  --primary-color: #5c0f8c; /* Roxo */
  --secondary-color: #ffc72a; /* Amarelo */
  --text-color: #333333;
  --background-color: #ffffff;
  --highlight-color: #ffd700; /* Cor de destaque para texto */
  --button-color: #5c0f8c; /* Cor do botão */
  --button-hover-color: #4a0b70; /* Cor do botão ao passar o mouse */
  --input-background: #f5f5f5; /* Cor de fundo dos itens */
}

/* Configuração da Página */
body {
  font-family: "Ringold Soft", Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header {
  background-color: var(--primary-color);
  color: var(--background-color);
  text-align: center;
  position: relative;
}

.top-banner,
.bottom-banner {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 10px;
  font-weight: bold;
  text-align: center;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
}

.logo {
  max-width: 200px;
}

.logo-image {
  width: 100%;
  height: auto;
}

.menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.menu li {
  display: inline;
}

.menu a {
  color: var(--background-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.menu a:hover {
  color: var(--highlight-color);
}

/* Estilos para o menu hambúrguer */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  z-index: 2;
}

.hamburger span {
  background-color: var(--background-color);
  height: 3px;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.header-content {
  padding: 40px 20px;
}

.header-content h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: var(--background-color);
}

.cta-button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background-color: var(--highlight-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button2 {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
}
.cta-button2:hover {
    background-color: var(--highlight-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

main {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

section {
  margin-bottom: 60px;
}

h2 {
  color: var(--primary-color);
  font-size: 2em;
  margin-bottom: 20px;
}

.profile-image {
  max-width: 300px;
  border-radius: 50%;
  margin-bottom: 20px;
}

/* Estilo para a área de propostas */
#proposals {
  padding: 20px;
}

/* Estilo individual das propostas */
.proposal-item {
  background-color: var(--input-background);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 20px;
  list-style-type: none;
}

.proposal-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.proposal-title {
  color: var(--primary-color);
  margin-bottom: 15px;
  cursor: pointer; /* Adiciona um cursor de ponteiro ao título */
}

/* Caixa para descrição da proposta */
.proposal-description {
  background-color: var(--background-color);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.5;
}

/* Estilo para o campo de busca */
#search {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  background-color: var(--input-background);
  box-shadow: none; /* Removendo o destaque */
}

#search::placeholder {
  color: #999;
  font-style: italic;
  opacity: 1; /* Placeholder com opacidade completa */
}

/* Remover outline ao focar no campo de busca */
#search:focus {
  outline: none;
  border-color: var(--primary-color); /* Bordas com cor primária ao focar */
}

/* Adicionando espaçamento entre o seletor de área e o campo de busca */
#area-selector,
#search {
  margin-bottom: 20px;
}

/* Estilo do seletor de áreas */
#area-selector {
  padding: 10px;
  border-radius: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  background-color: var(--input-background);
}

.news-list {
  list-style-type: none;
  padding: 0;
}

.news-list li {
  margin-bottom: 10px;
}

.news-list a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.news-list a:hover {
  color: var(--button-hover-color);
}

#social-media {
  padding: 30px;
  text-align: center;
  background-color: var(--input-background);
  margin: 50px auto;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.social-icons a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-icons img {
  width: 50px;
  height: 50px;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
}

footer {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-align: center;
  padding: 20px;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    padding: 20px;
    z-index: 1;
  }

  .menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .header-content h1 {
    font-size: 2em;
  }

  .proposal-item {
    padding: 20px;
  }

  .proposal-description {
    padding: 10px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .logo {
    max-width: 150px;
  }

  .header-content h1 {
    font-size: 1.5em;
  }

  h2 {
    font-size: 1.5em;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .social-icons img {
    width: 40px;
    height: 40px;
  }

  .proposal-item {
    padding: 15px;
  }

  .proposal-description {
    padding: 8px;
    font-size: 12px;
  }
}
