/* === BASE === */
body {
  background-color: #ffffff; /* fundo branco dominante */
  color: #212529;
  font-family: 'Helvetica Neue', sans-serif;
}

/* === HEADER e FOOTER como no site === */
header, footer {
  background-color: #001d3d;
  color: #ffffff;
  padding: 1rem 2rem;
}

header a, footer a {
  color: #00d4ff;
  text-decoration: none;
  font-weight: 600;
}

header a:hover, footer a:hover {
  color: #00aacc;
}

.navbar-brand {
  color: white;
}

.navbar-brand:hover {
  color: white;
}

/* === LINKS === */
a {
  color: #0056b3;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
a:hover {
  color: #003d80;
  text-decoration: underline;
}

/* === POSTAGEM === */
.post-body {
  font-size: 1.05rem;
  line-height: 1.8;
  word-break: break-word;
}

.bg-article {
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
  padding: 2rem;
  margin-bottom: 2rem;
}

/* === SIDEBAR === */
.sidebar-box {
  background-color: #f0f8ff;
  border: 1px solid #dceefc;
  border-radius: 0.5rem;
  padding: 1rem;
}
.sidebar-box h6 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.sidebar-box a {
  color: #0056b3;
}
.sidebar-box a:hover {
  text-decoration: underline;
}

/* === BOTÕES === */
button, .btn {
  background-color: #0077cc;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
button:hover, .btn:hover {
  background-color: #005fa3;
}

/* === TÍTULOS === */
h1, h2, h3 {
  color: #001d3d;
}


/* Definir variáveis globais */
:root {
  --primary-blue: #1664c9;
}

/* Navbar */
.navbar {
  color: #0b0b30; /* Texto escuro */
  padding: 20px 20px;
  position: relative;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  Sombra para destacar */
  background: linear-gradient(90deg, #0a0a2a, #1a1a4d); /* Gradiente para destacar */
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}


.navbar.light .navbar-links ul li a {
  color: #000; /* Texto escuro */
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase; /* Letras maiúsculas para elegância */
  transition: color 0.3s ease;
  position: relative;
}

.navbar.light .navbar-links ul li a:hover {
  color: var(--primary-blue); /* Azul claro no hover */
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-logo img {
  max-height: 70px; /* Maior altura para destacar */
  transition: opacity 0.3s ease-in-out;
}

.navbar-links ul {
  list-style: none;
  display: flex;
  gap: 30px; /* Espaçamento maior entre links */
  margin: 0;
  padding: 0;
}

.navbar-links ul li a {
  color: #ffffff; /* Texto escuro */
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase; /* Letras maiúsculas para elegância */
  transition: color 0.3s ease;
  position: relative;
}

.navbar-links ul li a:hover {
  color: var(--primary-blue); /* Azul claro no hover */
}

.navbar-links ul li a:hover::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-blue); /* Linha azul no hover */
  transition: width 0.3s ease;
}


/* Botão de menu mobile */
.navbar-toggle {
  display: none; /* Esconde em telas grandes */
  background: none;
  border: none;
  color: #333333;
  font-size: 24px;
  cursor: pointer;
}


.mobile-menu {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100vh;
	background-color: #0b0b30;
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	transform: translateX(100%);
	transition: transform 0.4s ease-in-out;
	z-index: 9999;
}

.mobile-menu ul {
	list-style: none;
	padding: 0;
	text-align: center;
}

.mobile-menu ul li {
	margin: 20px 0;
}

.mobile-menu ul li a {
	color: white;
	font-size: 24px;
	text-decoration: none;
	font-weight: bold;
}

.mobile-menu ul li a:hover {
	color: #00aaff;
}

.mobile-menu.active {
	transform: translateX(0);
}

.close-menu {
	position: absolute;
	top: 20px;
	right: 25px;
	background: none;
	border: none;
	color: white;
	font-size: 36px;
	cursor: pointer;
}


/* Responsividade */
@media (max-width: 768px) {
  .navbar-links {
      display: none; /* Esconde links por padrão */
      flex-direction: column;
      background-color: #ffffff;
      position: absolute;
      top: 100%;
      right: 20px;
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      width: 200px;
  }

  .navbar-links ul {
      flex-direction: column;
      gap: 10px;
      padding: 20px;
  }

  .navbar-links ul li {
      text-align: center;
  }

  .navbar-toggle {
      display: block;
  }

  .navbar-links.active {
      display: flex; /* Exibe o menu ao ativar */
  }
}



/* Sessão 6 - Footer */
.footer-section {
  background-color: #0b0b30; /* Azul escuro */
  color: #ffffff;
  padding: 40px 20px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* Para responsividade */
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  justify-items: center;
}

.footer-column h3 {
  font-size: 18px;
  color: var(--primary-blue); /* Azul claro */
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-column ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--primary-blue);
}

.footer-logo img {
  margin-top: 50px;
  max-width: 150px;
}

.footer-social-images {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-social-images img {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.footer-social-images img:hover {
  transform: scale(1.1);
}

.footer-social-icons {
  display: flex;
  gap: 30px;
  margin-top: 10px;
}

.footer-social-icons a {
  color: #ffffff;
  font-size: 28px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-icons a:hover {
  color: var(--primary-blue);
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #333;
  padding-top: 10px;
  font-size: 13px;
  color: #cccccc;
}

.footer-bottom p {
  margin: 5px 0;
}

.footer-bottom a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #0088cc;
}