/* Hero Section */
#home {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.7);
}

#home h2 {
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

#home p {
  font-size: 1.3rem;
  line-height: 1.8;
}

/* Secção de Protocolos */
#protocols .card {
  border-radius: 12px !important;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#protocols .card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15);
}

.ui.button {
  font-size: 1.2rem;
  padding: 1rem 2rem;
  background-color: #1b4965 !important;
  color: white !important;
}

.ui.button:hover {
  background-color: #012a4a !important;
}

/* Estilo para o cabeçalho */
header .menu {
  background-color: #1b4965;
}

header .header.item h1 {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  margin-left: 0;
}

header .item {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  padding: 1rem 1.5rem;
  text-align: center;
}

header .item:hover {
  background-color: #012a4a;
}

/* Menu Dropdown - Mobile */
.mobile-dropdown {
  position: absolute;
  top: 4rem; /* Ajuste com base na altura do cabeçalho */
  right: 1rem;
  background-color: #1b4965;
  border-radius: 5px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  display: none; /* Esconde o menu por padrão */
}

.mobile-dropdown .item {
  display: block;
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: 1rem;
  text-decoration: none;
}

.mobile-dropdown .item:hover {
  background-color: #012a4a;
}

/* Logotipo */
.logo {
  height: auto;
  width: auto;
  border-radius: 10px; /* opcional, dá um toque suave */
}

/* Responsividade */
@media (max-width: 768px) {
  .desktop-menu {
    display: none; /* Esconde o menu desktop */
  }

.logo {
    height: 45px; /* ligeiramente menor no mobile */
  }

  .mobile-menu {
    display: block; /* Exibe o ícone do menu hamburguer */
    cursor: pointer;
  }

  .menu-items {
    display: flex;
    flex-direction: column;
    margin-top: 1rem; /* Coloca o menu abaixo do título */
  }

  header .header.item {
    text-align: center;
  }


  .item {
    text-align: center;
    font-size: 1.2rem; /* Tamanho maior para legibilidade */
  }
}
