/* index.css */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), url('../assets/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero h1 span {
  background: linear-gradient(135deg, #a78bfa, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.4rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.featured {
  padding: 5rem 0;
}

.featured h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-card {
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s;
}

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.post-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.post-content {
  padding: 1.5rem;
}

.category {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.post-meta {
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
}
