/* =====================================================
   GLOBAL RESET
   ===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* =====================================================
   BODY BACKGROUND
   ===================================================== */
body {
  min-height: 100vh;

  /* Light overlay for readability over background image */
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.35)
    ),
    url("../images/bg.jpeg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Disable fixed background on mobile for performance */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}
/* =========================
   NAVBAR BASE
========================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  height: 72px;
  padding: 0 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #1a1a1a;
}

/* Logo */
.logo-wrap img {
  height: 60px;
}

/* Desktop nav */
.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 15px;
}

.nav a:hover {
  color: #5b7b55;
}

/* CTA */
.btn {
  background: #5b7b55;
  color: #fff;
  padding: 8px 20px;
  border-radius: 24px;
}

/* Hamburger hidden on desktop */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {

  .hamburger {
    display: block;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;

    background: #1a1a1a;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    padding: 20px 0;
    display: none;
  }

  .nav.active {
    display: flex;
  }
}

/* =====================================================
   BLOG HERO SECTION
   ===================================================== */
.blog-hero {
  height: 300px;
  background: url("../images/blog/image 1.png") center / cover no-repeat;

  display: flex;
  align-items: center;
  padding-left: 60px;

  /* Space below navbar */
}

/* Hero title */
.blog-hero h1 {
  color: #ffffff;
  font-size: 42px;
}

/* -------------------------------
   HERO – MOBILE ADJUSTMENT
-------------------------------- */
@media (max-width: 768px) {
  .blog-hero {
    padding-left: 20px;
    justify-content: center;
    text-align: center;
  }

  .blog-hero h1 {
    font-size: 32px;
  }
}

/* =====================================================
   SEARCH BAR
   ===================================================== */
.blog-search-wrapper {
  max-width: 700px;
  margin: 40px auto;

  display: flex;
  gap: 12px;
  padding: 0 20px;
}

/* Search input */
.blog-search-input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 30px;
  border: 1px solid #ccc;
  font-size: 15px;
}

/* Search button */
.blog-search-btn {
  padding: 14px 28px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg, #ffc107, #ff7a00);
  font-weight: 600;
  cursor: pointer;
}

/* -------------------------------
   SEARCH – MOBILE STACKING
-------------------------------- */
@media (max-width: 600px) {
  .blog-search-wrapper {
    flex-direction: column;
  }

  .blog-search-btn {
    width: 100%;
  }
}

/* =====================================================
   BLOG SECTION
   ===================================================== */
.blog-section {
  padding: 110px 0;
}

/* Container */
.blog-container {
  max-width: 1300px;
  margin: auto;
  padding: 0 40px;
  text-align: center;
}

/* Tagline */
.blog-tag {
  font-size: 13px;
  letter-spacing: 2px;
  color: #777;
  font-weight: 600;
}

/* Section title */
.blog-title {
  font-size: 42px;
  margin: 15px 0 60px;
  color: #000;
}

/* =====================================================
   BLOG GRID
   ===================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* -------------------------------
   GRID RESPONSIVE BREAKPOINTS
-------------------------------- */
@media (max-width: 1000px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-title {
    font-size: 32px;
  }
}

/* =====================================================
   BLOG CARD
   ===================================================== */
.blog-card {
  border-radius: 18px;
  overflow: hidden;

  text-decoration: none;
  color: inherit;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
}

/* Card image */
.blog-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

/* =====================================================
   BLOG CARD CONTENT
   ===================================================== */
.blog-content {
  padding: 25px;
  text-align: left;
}

.blog-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #000;
}

.blog-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Date */
.blog-date {
  font-size: 13px;
  color: #5b7b55;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: #0b0b0b;
  color: #ccc;
  padding: 80px 0 0;
}

/* Footer grid */
.footer-container {
  max-width: 1300px;
  margin: auto;
  padding: 0 40px;

  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 80px;
}

/* -------------------------------
   FOOTER RESPONSIVE
-------------------------------- */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-bottom {
    padding: 20px;
  }
}

/* Brand */
.footer-brand img {
  width: 180px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #aaa;
}

/* Footer headings */
.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
}

/* Footer links */
.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #5b7b55;
}

/* Contact text */
.footer-contact p {
  font-size: 14px;
  margin-bottom: 12px;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #5b7b55;
  color: #000;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: bold;
  text-decoration: none;
}

/* Footer button */
.footer-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;

  background: #5b7b55;
  color: #000;
  font-weight: 600;

  border-radius: 30px;
  text-decoration: none;
}

/* Footer bottom text */
.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 60px;
  padding: 20px 40px;

  text-align: center;
  font-size: 13px;
  color: #777;
}
