/* BOLO - Hero Section Enhancement */

/* Hero section - full width according to documentation */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  background: var(--gradient-primary);
  color: white;
  padding: 120px 0;
  overflow: hidden;
  margin-bottom: 4rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-pattern.svg') center/cover;
  opacity: 0.1;
  animation: heroPattern 30s linear infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 40%;
  height: 80%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  transform: rotate(-10deg);
  z-index: 1;
}

@keyframes heroPattern {
  0% { background-position: 0 0; }
  100% { background-position: 100% 100%; }
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: white;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  font-weight: 300;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons .btn {
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 100px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
}

.hero-buttons .btn-primary:hover {
  background: white;
  color: var(--accent);
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.hero-buttons .btn-secondary:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Featured posts below hero */
.featured-posts {
  margin-top: -2rem;
  position: relative;
  z-index: 10;
}

.featured-post-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.featured-post-image {
  height: 240px;
  overflow: hidden;
}

.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-post-card:hover .featured-post-image img {
  transform: scale(1.05);
}

.featured-post-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.featured-post-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 109, 170, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.featured-post-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--secondary);
}

.featured-post-excerpt {
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.featured-post-meta {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--dark-gray);
}

.featured-post-meta .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 0.75rem;
}

.featured-post-meta .date {
  margin-left: auto;
}

/* Mobile responsiveness */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-image {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .featured-post-image {
    height: 200px;
  }
}