/* =========================
   CSS VARIABLES
========================= */
:root {
  --primary: #ff6b35;
  --primary-dark: #e85a28;
  --dark: #1f2933;
  --gray: #6b7280;
  --light: #f5f7fa;
  --white: #ffffff;
}

/* =========================
   GLOBAL RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans Bengali', sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.7;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo a {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary);
}

/* =========================
   HERO
========================= */
.hero {
  min-height: 80vh;
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-content {
  max-width: 720px;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* =========================
   BUTTON
========================= */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--primary-dark);
}

/* =========================
   LAYOUT
========================= */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

/* =========================
   BLOG CARDS
========================= */
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.post {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.post:hover {
  transform: translateY(-8px);
}

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

.post-content {
  padding: 22px;
}

.post-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.post-content p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* =========================
   SINGLE POST
========================= */
.single-post {
  max-width: 800px;
  margin: auto;
}

.single-post h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.post-date {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.single-post img {
  width: 100%;
  border-radius: 16px;
  margin: 30px 0;
}

.post-body p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.post-body strong {
  color: var(--primary);
}

/* =========================
   QUOTE
========================= */
.quote {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
  font-size: 1.5rem;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 22px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .navbar {
    flex-direction: column;
    gap: 12px;
  }
}
