/* style/featured.css */

.featured-section {
  position: relative;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 100px 20px;
  min-height: 400px;
  display: flex;
  margin-top: 20px;
  border-top: solid 1px #000;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.featured-overlay {
  position: absolute;
  top: 50;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7); /* dark overlay for contrast */
  z-index: 1;
}

.featured-content {
  position: relative;
  z-index: 2;
  width: 800px;
  margin: 0 auto;
}

.featured-title {
  font-size: 3rem;
  margin-bottom: 0;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.featured-subheading {
  font-size: 1.5rem;
  margin-bottom: 30px;
  line-height: 1.4;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

.featured-ctas {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.featured-cta,
.featured-cta-secondary {
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  margin-bottom: 10px;
}

.featured-cta {
  background-color: #007bff;
  color: white;
}

.featured-cta:hover {
  background-color: #0056b3;
}

.featured-cta-secondary {
  background-color: #6c757d;
  color: white;
}

.featured-cta-secondary:hover {
  background-color: #565e64;
}

.featured-maincontent {
  width:90%;
  margin:25px auto;
  border: 1px solid black;
  border-top: none;
  margin-bottom: 100px;
  padding:1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .featured-section {
    padding: 0; /* Less space on mobile */
  }
}

@media (max-width: 600px) {
  .featured-title {
    font-size: 2rem;
  }

  .featured-subheading {
    font-size: 1.1rem;
  }

  .featured-ctas {
    flex-direction: column;
    gap: 10px;
  }

  .featured-cta,
  .featured-cta-secondary {
    width: 100%;
    text-align: center;
  }
}
