
.blog-section {
  width: 100%;
  padding: 100px 0;
  background: linear-gradient(135deg, #ffffff 0%, #fef9f5 100%);
  position: relative;
}

.section-header {
  margin-bottom: 30px;
}


.section-header span {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #a52a2a;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
  position: relative;
  padding: 0 50px;
}

.section-header span::before,
.section-header span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35px;
  height: 2px;
  background: linear-gradient(90deg, #a52a2a, #e8d5c3);
  transform: translateY(-50%);
}

.section-header span::before {
  left: 0;
}

.section-header span::after {
  right: 0;
}


.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.blog-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.blog-card.featured .blog-image {
  height: 100%;
}

.blog-card.featured .blog-content {
  padding: 40px;
}

.blog-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Blog Image */
.blog-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.blog-card.featured .blog-image {
  height: 100%;
  min-height: 400px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #a52a2a 0%, #d4b48c 100%);
  color: #ffffff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}

/* Blog Content */
.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 13px;
  color: #888;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-meta i {
  color: #a52a2a;
  font-size: 12px;
}

.blog-content h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #1a1a1a;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-content h3 {
  color: #a52a2a;
}

.blog-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

/* Read More Button */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a52a2a;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more i {
  transition: transform 0.3s ease;
}

.read-more:hover {
  color: #1a1a1a;
  gap: 12px;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Load More Button */
.blog-footer {
  margin-top: 50px;
  text-align: center;
}

.load-more-btn {
  background: transparent;
  border: 2px solid #a52a2a;
  color: #a52a2a;
  padding: 12px 35px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Nunito Sans", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.load-more-btn:hover {
  background: linear-gradient(135deg, #a52a2a 0%, #d4b48c 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(198, 160, 123, 0.3);
}

.load-more-btn i {
  transition: transform 0.3s ease;
}

.load-more-btn:hover i {
  transform: rotate(180deg);
}

/* Newsletter Section (Optional inside blog) */
.newsletter-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  border-radius: 20px;
  padding: 50px;
  margin-top: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(198, 160, 123, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.newsletter-banner h3 {
  color: #ffffff;
  font-size: 28px;
  margin-bottom: 15px;
}

.newsletter-banner p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
}






/* Responsive Design */
@media (max-width: 992px) {
  .blog-section {
    padding: 70px 0;
  }

  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
  }

  .blog-card.featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .blog-card.featured .blog-image {
    height: 300px;
  }

  .blog-card.featured .blog-content {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .blog-section {
    padding: 50px 0;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-content h3 {
    font-size: 18px;
  }

  .blog-meta {
    gap: 10px;
    font-size: 12px;
  }

  .newsletter-banner {
    padding: 30px 20px;
  }

  .newsletter-banner h3 {
    font-size: 22px;
  }


  
}

@media (max-width: 576px) {
  .blog-section {
    padding: 40px 0;
  }

  .blog-image {
    height: 200px;
  }

  .blog-content {
    padding: 20px;
  }

  .blog-content p {
    font-size: 14px;
  }

  .load-more-btn {
    padding: 10px 25px;
    font-size: 14px;
  }
}

/* Animation for Blog Cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.blog-card:nth-child(1) {
  animation-delay: 0.1s;
}
.blog-card:nth-child(2) {
  animation-delay: 0.2s;
}
.blog-card:nth-child(3) {
  animation-delay: 0.3s;
}
.blog-card:nth-child(4) {
  animation-delay: 0.4s;
}
.blog-card:nth-child(5) {
  animation-delay: 0.5s;
}
.blog-card:nth-child(6) {
  animation-delay: 0.6s;
}
