/* =====================
   Global Reset & Base
   ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}



/* =====================
   Hero Slider
   ===================== */
.hero-slide {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 10;
}

/* =====================
   Hero Content (Search + Button)
   ===================== */
.hero-content {
  text-align: center;
  color: #fff;
  padding: 20px;
  position: relative;
  top: 30%;
  transform: translateY(-30%);
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #f4f4f4;
}

/* Search bar */
.hero-search {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-search input[type="text"] {
  padding: 12px 15px;
  width: 280px;
  max-width: 90%;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.hero-search button {
  padding: 12px 20px;
  background: #ffd700; /* gold */
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-search button:hover {
  background: #e6c200;
}

/* Sign-up button */
.hero-signup {
  display: inline-block;
  padding: 12px 25px;
  background: #b22222; /* deep red */
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.hero-signup:hover {
  background: #8b1a1a; /* darker red */
}

/* =====================
   Sections
   ===================== */
section {
  padding: 40px 20px;
}

section h2 {
  margin-bottom: 15px;
  font-size: 1.8rem;
  color: #b22222;
}

.category-list,
.city-list,
.business-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-list a,
.city-list a,
.business-list a {
  background: #f4f4f4;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  transition: background 0.3s;
}

.category-list a:hover,
.city-list a:hover,
.business-list a:hover {
  background: #ffd700;
}

/* =====================
   Footer
   ===================== */
footer {
  background: #333;
  color: #fff;
  padding: 20px;
}

footer h3 {
  cursor: pointer;
  margin-bottom: 10px;
}

footer ul {
  list-style: none;
  margin-top: 10px;
}

footer ul li {
  margin-bottom: 5px;
}

footer ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

footer ul li a:hover {
  color: #ffd700;
}

/* Collapsible footer sections hidden by default */
footer .hidden {
  display: none;
}


/* =====================
   Responsive
   ===================== */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }

  .category-list,
  .city-list,
  .business-list {
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-search input[type="text"] {
    width: 220px;
  }
}
