/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', serif;
  line-height: 1.6;
  background: #f9f6f1;
  color: #333;
}

/* Header */
.header {
  background: #fff;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #ccc;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-family: 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: bold;
}

.header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.header nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

.header nav ul li a:hover {
  color: #ff4b2b;
}

/* Hero */
.hero {
  position: relative;
  text-align: left;
}

.hero img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.hero-text {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(255,255,255,0.8);
  padding: 20px;
  max-width: 500px;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1rem;
}

/* Featured */
.featured {
  padding: 50px 30px;
  background: #eee;
}

.featured h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: #fff;
  border: 1px solid #ccc;
  width: 300px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  padding: 15px;
  font-size: 1.2rem;
}

.card p {
  padding: 0 15px 15px;
  font-size: 0.95rem;
}

/* Articles */
.articles {
  padding: 50px 30px;
}

.articles h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.article-list article {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ccc;
}

.article-list article img {
  width: 200px;
  height: 150px;
  object-fit: cover;
}

.article-list article div {
  padding: 15px;
}

/* Newsletter */
.newsletter {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.newsletter input {
  padding: 12px;
  border-radius: 5px;
  border: none;
  width: 250px;
  margin-right: 10px;
}

.newsletter button {
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  background: #ff4b2b;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

.newsletter button:hover {
  background: #ff1e00;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: #ccc;
  font-size: 0.85rem;
}

/* Responsive */
@media(max-width: 900px) {
  .cards { flex-direction: column; align-items: center; }
  .article-list article { flex-direction: column; }
  .article-list article img { width: 100%; height: 200px; }
}
