/* ===== Global ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #fffdf5;
  color: #333;
  line-height: 1.6;
}

/* ===== Navbar ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  background: linear-gradient(90deg, #F1C338 0%, #f8d75a 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #222;
}

.logo img {
  height: 55px;
  width: auto;
}

.logo-text .main-name {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Georgia', serif;
}

.logo-text .tagline {
  font-size: 0.9rem;
  color: #444;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  background: #222;
  color: #fff;
}

.hamburger {
  display: none;
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

/* ===== Hero Section ===== */
.blog-hero {
  text-align: center;
  padding: 100px 8%;
  background: linear-gradient(to right, #fffbe8, #fdf4d4);
}

.blog-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #222;
}

.blog-hero p {
  font-size: 1.2rem;
  color: #555;
}

/* ===== Blog Cards ===== */
.blog-section {
  padding: 80px 8%;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

.blog-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #222;
}

.blog-content p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  color: #007BFF;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #0056b3;
}

/* ===== Footer ===== */
.footer-grid {
  background: linear-gradient(180deg, #F1C338 0%, #eac233 100%);
  padding: 70px 10%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  color: #222;
}

.footer-column h3 {
  margin-bottom: 18px;
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column a {
  text-decoration: none;
  color: #222;
  transition: 0.3s;
}

.footer-column a:hover {
  color: #007BFF;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #222;
  margin-bottom: 8px;
  transition: 0.3s;
}

.social-links a:hover {
  color: #007BFF;
}

.footer-bottom {
  background: #e2b92e;
  padding: 20px 8%;
  text-align: center;
  font-size: 1rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    right: 8%;
    flex-direction: column;
    background: #F1C338;
    padding: 25px;
    width: 230px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    text-align: center;
    width: 100%;
    padding: 14px 0;
  }
}
