/* Reset e variáveis */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cor-principal: #2c3e50;
  --cor-secundaria: #34495e;
  --cor-acento: #3498db;
  --cor-fundo: #f9f9f9;
  --cor-texto: #333;
  --cor-texto-claro: #7f8c8d;
  --sombra: 0 2px 10px rgba(0,0,0,0.1);
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--cor-texto);
  background-color: var(--cor-fundo);
}

/* Cabeçalho com imagem de fundo */
header {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
              url('/img/samuelyongbounsplash.jpg') center/cover no-repeat;
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 20px;
  max-width: 800px;
}

.header-content h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.header-content p {
  font-size: 1.2rem;
  margin-bottom: 24px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.header-content a {
  display: inline-block;
  background-color: white;
  color: var(--cor-principal);
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--sombra);
}

.header-content a:hover {
  background-color: var(--cor-acento);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Conteúdo principal */
.container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--cor-texto-claro);
  font-style: italic;
}

.idea {
  background: white;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: var(--sombra);
  border-left: 4px solid var(--cor-acento);
  transition: transform 0.2s;
}

.idea:hover {
  transform: translateX(5px);
}

.idea h2 {
  font-size: 1.8rem;
  color: var(--cor-principal);
  margin-bottom: 16px;
}

.idea p {
  margin-bottom: 20px;
  color: var(--cor-texto);
  font-size: 1.05rem;
}

.idea-meta small {
  color: var(--cor-texto-claro);
  font-size: 0.9rem;
}

/* Responsivo */
@media (max-width: 600px) {
  .header-content h1 {
    font-size: 2rem;
  }

  .header-content p {
    font-size: 1rem;
  }

  .idea {
    padding: 20px;
  }

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