
.btn-primary {
display: inline-block;
background-color: #7b1e1e;
color: #fff !important;
border: none;
padding: 0.6rem 1.25rem;
border-radius: 4px;
font-weight: 600;
cursor: pointer;
text-decoration: none;
font-size: 1rem;
text-align: center;
margin-top: 0.5rem;
}

.btn-primary:hover {
background-color: #5e1515;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  width: 100%;
  overflow:auto;
}

.hero-carousel {
  position: relative;
  display: flex;
  width: 100%;
  height: 65vh;
  max-height: 500px;
  overflow: auto;
}

.hero-news {
  position:absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 1;
}

.hero-news.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-news-content {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: #fff;
}

.news-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 5; /* ensures controls stay on top of slides */
}

.carousel-controls button {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.4rem 0.6rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-controls button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

/* News articles*/
.latest-news
{
  background: #fff;
  padding: 2rem 1rem;
  margin-bottom: 3rem;
  border-radius: 8px;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background-color: #fdfdfd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.news-card img {
  width: 100%;
  height: auto;
}

.news-content {
  padding: 1rem;
}

.read-more {
  display: inline-block;
  margin-top: 0.5rem;
  color: #7b1e1e;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
} 

/* ===== CATEGORIES SECTION ===== */
.categories-section {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #222;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.category-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.category-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.category-title {
  text-decoration: none;
  color: #7b1e1e;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.category-title:hover {
  color: #5e1515;
}

/* Best Restaurants section */
.best-restaurants {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem 2rem;
  background: #fff;
  box-sizing: border-box;
}

.best-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
}

.best-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.best-list a {
  text-decoration: none;
  font-size: 1rem;
  color: #555;
}

.best-list a:hover {
  color: #000;
  text-decoration: underline;
}

/* CTA button under Hot New Businesses */
.hot-cta, .search-results-cta {
  max-width: 1200px;
  margin: 1.5rem auto 2rem;
  text-align: center;
}

.hot-cta-btn, .search-results-cta-btn {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid #000;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.hot-cta-btn:hover {
  background: #000;
  color: #fff;
}

/* BREAD CRUMB NAV */
.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
}

.breadcrumb a {
  text-decoration: none;
  color: #1a73e8;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #aaa;
  margin: 0 6px;
}

/* Font Awesome Icons */
.category-icon {
  font-size: 1.8rem;
  color: #5e1515;
  margin-bottom: 0.4rem;
}


/* Mobile First */
@media (max-width: 768px) {
  .hero-carousel {
    height: 50vh;
  }

  .news-title {
    font-size: 1.3rem;
  }

  .hero-news-content {
    bottom: 1.25rem;
    left: 1.25rem;
  }
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
