/* ===================================
   BLOG SECTION STYLES - L300 KEUNGGULAN
   =================================== */

.blog-section {
  padding: 6rem 2rem;
  background: var(--white);
  position: relative;
}

.blog-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
  z-index: 0;
}

.blog-section .section-title,
.blog-section .section-subtitle {
  position: relative;
  z-index: 1;
}

.blog-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.blog-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.blog-card:hover::before {
  transform: scaleX(1);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blog-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.blog-card:hover .blog-icon::before {
  width: 150px;
  height: 150px;
}

.blog-card:hover .blog-icon {
  transform: rotate(360deg) scale(1.1);
}

.blog-icon i {
  font-size: 2.5rem;
  color: var(--white);
  z-index: 1;
  position: relative;
}

.blog-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.blog-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-specs span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.blog-specs span:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  transform: translateY(-2px);
}

.blog-specs span i {
  font-size: 0.9rem;
}

/* Blog CTA */
.blog-cta {
  max-width: 800px;
  margin: 4rem auto 0;
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 25px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.blog-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotateGradient 10s linear infinite;
}

@keyframes rotateGradient {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.blog-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.blog-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.blog-cta .btn {
  background: var(--white);
  color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.blog-cta .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .blog-section {
    padding: 4rem 1.5rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-card {
    padding: 2rem;
  }

  .blog-card h3 {
    font-size: 1.2rem;
  }

  .blog-icon {
    width: 70px;
    height: 70px;
  }

  .blog-icon i {
    font-size: 2rem;
  }

  .blog-specs {
    flex-direction: column;
    gap: 0.5rem;
  }

  .blog-specs span {
    justify-content: center;
  }

  .blog-cta {
    padding: 2rem 1.5rem;
  }

  .blog-cta h3 {
    font-size: 1.5rem;
  }

  .blog-cta p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .blog-card {
    padding: 1.5rem;
  }

  .blog-card h3 {
    font-size: 1.1rem;
  }

  .blog-card p {
    font-size: 0.95rem;
  }
}

