/* GENERAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: #f5f5f5;
  color: #222;
  line-height: 1.7;
}

/* HEADER BANNER */
.blog-header {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.blog-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(15%);
}

.blog-header .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fafafa;
  animation: fadeDown 1.2s ease;
  margin-top: 20px;
}

.blog-title {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.blog-date {
  font-size: 1rem;
  opacity: 0.9;
}

/* BLOG BODY */
.blog-content {
  max-width: 850px;
  margin: 40px auto;
  padding: 0 20px;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  animation: fadeUp 1.2s ease;
}

.blog-content h2 {
  margin-top: 25px;
  color: #222;
  font-size: 1.5rem;
}

/* NAV BUTTONS */
.blog-nav {
  display: flex;
  justify-content: space-between;
  max-width: 850px;
  margin: 20px auto;
  padding: 0 20px;
}

.btn-nav {
  background: #0077ff;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn-nav:hover {
  background: #005fcc;
}

/* FOOTER */
.blog-footer {
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  color: #444;
  margin-top: 30px;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-25px); }
  to   { opacity: 1; transform: translateY(0); }
}
