/* 
  Arquivo de estilos customizados para a Prefeitura de Paripueira.
  A maioria da estilização foi feita utilizando classes utilitárias do Tailwind CSS no próprio arquivo HTML.
*/

:root {
  /* Pode-se definir variáveis globais aqui se necessário, 
     mas o Tailwind lida com a maior parte no tailwind.config no head do html. */
}

/* Base resets & tweaks opicionais */
html, body {
  overflow-x: hidden;
  background-color: #faf8ff;
}

/* Suavizar scroll para âncoras */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar para navegadores webkit */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1; 
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1; 
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8; 
}

/* Efeitos em botões que o tailwind utilitário pode tornar prolixo, mas aqui o Tailwind foi usado via CDN e atendeu aos requisitos. 
   Qualquer customização extra de transições complexas poderia vir aqui. */

.menu-item {
  color: #4b5563;
  font-weight: 600;
  font-size: 14px;
}

.menu-item:hover {
  color: #2f60ad;
}

.menu-item-selected {
  border-bottom: 2px solid #ffcc00;
  color: #2f60ad;
}

/* ----- THEME ----- */

.section-underline {
  position: relative;
  display: inline-block; /* Garante que o elemento envolva apenas o conteúdo */
}

.section-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;      /* Espaçamento entre o texto e a linha */
  width: 100px;       /* Largura fixa da sua borda */
  height: 10px;       /* Espessura da borda */
  background-color: #ffcc00;
}

.container-default {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.footer-menu {
  h4 {
    font-size: 10px;
    font-weight: 700;
    color: #ffcc00;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  a {
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
  }

  a:hover {
    color: #ffffff;
  }
}


/* ----- HOME ----- */
.card-fast-access {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #f3f4f6;

  .icon-box {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
  }

  .description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .access {
    font-size: 0.875rem;
    color: #111827;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
  }

  .access:hover {
    color: #2f60ad;
  }

}

.card-fast-access:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
}


.gallery-card {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*------------- PAGINAS ESTATICAS --------- */


.card-shadow {
  box-shadow: 0 20px 40px rgba(27, 38, 70, 0.05);
}

.gallery-container {
  overflow: hidden;
  border-radius: 1.5rem;
}

.gallery-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-container:hover img {
  transform: scale(1.05);
}

