body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.projetos-main {
  flex: 1;
  padding: 30px 15px;
}

.projetos-header {
  background-color: var(--bg-card-primary);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 30px;
  text-align: center;
}

.projetos-header h1 {
  color: var(--fg-primary);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.projetos-header p {
  color: var(--fg-primary);
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.projeto-card {
  background-color: var(--bg-card-primary);
  border-radius: 15px;
  padding: 25px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.projeto-card:hover {
  border-color: var(--fg-primary-hv);
  transform: translateY(-5px);
}

.projeto-card h3 {
  color: var(--fg-primary);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.projeto-card p {
  color: var(--fg-primary);
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 15px;
  flex: 1;
  line-height: 1.5;
}

.projeto-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.language-badge {
  background-color: var(--bg-card-secondary);
  color: var(--fg-primary);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.projeto-link {
  color: var(--fg-primary);
  text-decoration: none;
  display: block;
}

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.loading-spinner {
  color: var(--fg-primary);
}

.navbar-header {
  background-color: var(--bg-card-primary);
  border-radius: 15px;
  padding: 20px 30px;
  margin: 15px;
}

@media (max-width: 768px) {
  .projetos-grid {
    grid-template-columns: 1fr;
  }

  .projetos-header {
    padding: 30px 20px;
  }

  .projetos-header h1 {
    font-size: 2rem;
  }
}