@import url('https://fonts.googleapis.com/css2?family=Forum&family=Jura:wght@300&display=swap');

body {
  font-family: "Forum", serif;
  font-weight: 500;
  font-style: normal;
}

/* Reset básico */
html, body { margin:0; padding:0; width:100%; }

/* Tirar sublinhados do texto */
.site-header .logo a,
.site-header .logo a:hover,
.site-header .logo a:focus {
  text-decoration: none;
}

/* Container da logo: flexbox alinha texto + imagem */
.site-header .logo {
  align-items: center;      /* centraliza verticalmente */
  margin: 0;                
  padding: 0;
  display: inline;
}

/* Estilização do texto da marca */
.logo-text {
  font-family: 'Forum', serif;     /* sua fonte customizada */
  font-size: 5vh;                 /* ajuste ao seu gosto */
  color: #000;                   /* cor do texto */         
  margin-right: 0.5rem;            /* espaço entre texto e ícone */
}
/* Ajuste do ícone (coruja) */
.logo-img {
  height: 5vh;                   /* define altura fixa */
  width: auto;                   /* mantém proporção */
  display: inline-block;
  margin-top: 5px;
}
/* Header */
.site-header {
  display:flex; justify-content: space-between; align-items:center;
  padding:1rem 0.5rem; background: #ffffff; color:#000000;
}

.site-header nav a { margin:0 1rem; color:#ddd; }
.site-header .actions .btn { font-size: 2.2vh; margin-left:1rem; padding:1rem 1rem; border:1px solid #ddd; border-radius:10px; text-decoration: none;}
.site-header .actions .highlight { background:#000000; color:#ffffff; text-decoration: none;}

/* 1. Container do dropdown */
.user-dropdown {
  position: relative;    /* para posicionar o menu absoluto relativamente a ele */
  display: inline-block;
}
/* 2. Botão estilizado (pill) */
.user-btn {
  background: #fff;
  color: #000;
  border: 1px solid #ddd;
  padding: 0.5rem 1rem;
  border-radius: 999px;  /* pill shape */
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* 3. Ícone hamburger */
.hamburger-icon {
  font-size: 2rem;
  line-height: 1;
}
/* 4. Menu oculto por padrão */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);  /* ligeiramente abaixo do botão */
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: none;
  min-width: 180px;
  z-index: 10;
}
/* 5. Menu visível quando .show estiver presente */
.dropdown-menu.show {
  display: block;
}
/* 6. Itens do menu */
.dropdown-menu li {
  padding: 0;
}
.dropdown-menu li a, .dropdown-menu li .logout-btn {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  color: #000000;
  text-decoration: none;
  font-size: 1.3rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}
.dropdown-menu li a:hover, .dropdown-menu li .logout-btn:hover {
  background: #030303;
  color: #ffffff;
}


/* Hero */
.hero {
  display: flex;               
  flex-direction: row;         
  align-items: center;         /* já alinha verticalmente */
  justify-content: center;     /* <<< centraliza o grupo inteiro */
  
  /* Espaço interno */
  padding: 4rem 2rem;
  
  /* Gradiente de fundo */
  background: linear-gradient(135deg, #0a0a0a, #5c5c5c);
  color: #fff;
  
  /* Espaçamento entre texto e imagem */
  gap: 2rem;                   /* <<< define o “gap” horizontal */
}
/* Controle de proporção dos blocos */
.hero-text {
  flex: 0 0 45%;       /* ocupa até 45% do espaço */
  max-width: 60%;
}
/* Aumenta o título da seção hero */
.hero-text h1 {
  font-size: 3rem;       /* antes era o valor padrão, agora maior */
  line-height: 1.2;      /* opcional: controla o espaçamento entre linhas */
}
/* Aumenta o parágrafo da seção hero */
.hero-text p {
  font-size: 1.25rem;    /* deixe maior para melhor leitura */
  line-height: 1.5;      /* garante conforto ao ler blocos de texto */
  margin-top: 0.5rem;    /* um pequeno espaçamento extra abaixo do h1 */
}
.hero-image {
  flex: 0 0 45%;       /* idem para a imagem */
  display: flex;
  justify-content: center;
}
.hero-image img {
  width: 140%;         /* preenche o .hero-image */
  height: auto;
  max-width: 800px;    /* limite máximo em pixels, ajuste como quiser */
}
.hero .btn-big {
  margin-top: 30px; /* espaçamento entre o texto e o botão */
  display: inline-block;
  font-size: 1.5rem;
  margin-left: 0rem; 
  padding: 0.5rem 1rem; 
  border: 1px solid #ddd; 
  border-radius: 4px;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
}
/* 1) Ajuste o fundo para usar um gradiente mais longo */
.hero {
  /* Substitua seu background atual por: */
  background: linear-gradient(135deg, #0a0a0a, #353535, #0a0a0a);
  background-size: 200% 200%;        /* dobra a área do gradiente */
  animation: gradientShift 10s ease infinite;
}

/* 2) Defina a animação que muda a posição do gradiente */
@keyframes gradientShift {
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

/* 1) Configure estado inicial invisível e posicionamento */
.hero-text,
.hero-image {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

/* 2) Atrase um pouco o mockup para sequência natural */
.hero-text {
  animation-delay: 0.5s;
}
.hero-image {
  animation-delay: 1s;
}

/* 3) Definição da animação */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stats */
.stats { display:flex; justify-content:center; gap:2rem; padding:2rem; }
.stat-box { text-align:center; }
.stat-box h3 { font-size:2.5rem; }
.stat-box p { font-size:1.5rem; color:#666; }

/* ===== Seção de Atualizações em Cards ===== */
.atualizacoes { 
  padding: 2rem 1rem; 
  background: linear-gradient(0deg, #0a0a0a, #aaaaaa);; 

}
.atualizacoes h2 { 
  text-align: center; 
  font-size: 2.5rem; 
  color:#000000; 
  margin-bottom:2rem; 
}
.atualizacoes { 
  margin-bottom:1rem; 
}
/* Container responsivo de cards */
.cards-container {
  display: flex;
  flex-wrap: wrap;         /* permite quebrar em múltiplas linhas */
  gap: 1rem;             /* espaço entre os cards */
  margin: 1 auto           /* centraliza o container */;
  justify-content: center;
}
.cards-container .card {
  flex: 1 1 300px;  /* base: 300px, mas pode encolher ou crescer igualmente */
  max-width: 400px; /* Limita a largura máxima de cada card */
}
/* Estilo de cada card */
.card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* Título do card */
.card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #111;
}
/* Texto do card */
.card p {
  flex-grow: 1;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #444;
  margin-bottom: 1rem;
}
/* Data do card */
.card small {
  font-size: 1rem;
  color: #666;
  text-align: right;
}
/* Coloque isto após todas as regras que definem .card */
.cards-container .card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  /* Transição suave para o hover */
  transition: transform 0.3s ease-in-out;
}
.cards-container .card:hover {
  /* Aumenta levemente ao passar o mouse */
  transform: scale(1.04);
}


/*_______________Footer_______________*/
.site-footer {
  background: #ffffff;
  color: #000000;
  padding: 1rem 1rem;
  font-size: 1rem;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
}
.footer-section {
  flex: 1 1 50px;
  margin: 1rem;
}
.footer-section h4 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  color: #000000;
}
.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section ul li {
  margin-bottom: 0.5rem;
}
.footer-section ul li a {
  color: #000000;
  text-decoration: none;
}
.footer-section ul li a:hover {
  color: #fff;
}
.footer-logo {
  height: 120px;
  margin-bottom: 0.25rem;
}
.footer-section p a {
  color: #000000;
  text-decoration: none;
}
.footer-section p a:hover {
  text-decoration: underline;
}
.footer-section.social a {
  display: inline-block;
  margin-right: 0.5rem;
}
.footer-section.social img {
  width: 24px;
  height: auto;
}
.footer-bottom {
  text-align: center;
  margin-top: 0rem;
  border-top: 1px solid #333;
  padding-top: 1rem;
  color: #000000;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 20px;                 /* ajuste ao seu gosto */
  }
  /* Ajuste do ícone (coruja) */
  .logo-img {
    height: 20px;                /* define altura fixa */
  }

  /* login and register butons */
  .site-header .actions .btn { font-size: 14px; margin-left:0.1rem; padding:0.6rem 0.6rem; border:1px solid #929292; border-radius:10px; text-decoration: none;}
  .site-header .actions .highlight { background:#000000; color:#ffffff; text-decoration: none;}

  .atualizacoes h2 { 
  font-size: 1.5rem; 
  }

  /* 1) Hero passa a empilhar em coluna */
  .hero {
    flex-direction: column;
    text-align: center;     /* centra texto em mobile */
    padding: 2rem 1rem;     /* reduz o padding lateral */
    gap: 1.5rem;            /* espaçamento vertical entre blocos */
  }
  /* 2) Força a ordem: texto primeiro, depois imagem */
  .hero-text {
    order: 1;
    max-width: 100%;        /* ocupa toda a largura */
  }
  .hero-text h1 {
    font-size: 2.25rem;   /* reduz em tablets e mobiles grandes */
  }
  .hero-text p {
    font-size: 1rem;      /* ajusta para caber melhor em telas estreitas */
  }
  .hero-image {
    order: 2;
    max-width: 100%;
  }
  /* 3) Ajusta o tamanho da imagem para caber bem */
  .hero-image img {
    width: 100%;             /* ou 100% se preferir */
    max-width: 700px;       /* limite máximo */
    margin: 0 auto;         /* centraliza a imagem */
  }


  /* 3. Ícone hamburger */
  .hamburger-icon {
    font-size: 1rem;
  }
  /* Rodapé */
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
  .footer-section {
    margin: 0.75rem 0;
    text-align: center;
  }
}
