/* =========================
   BODY & GLOBAL STYLES
========================= */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f7f9fc;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================
   HEADER
========================= */
header {
  background: #000;
  color: #fff;
  padding: 15px 0;
}

header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header .logo {
  height: 50px;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header nav ul li a {
  font-weight: bold;
  color: #fff;
  transition: color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
  color: #00bfff;
}

/* =========================
   HERO SECTIONS
========================= */
.hero,
.form-hero {
  background: linear-gradient(135deg, #00bfff, #006fbb);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  border-radius: 0 0 40px 40px;
}

.hero h1,
.form-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.hero p,
.form-hero p {
  font-size: 1.2rem;
  font-weight: 400;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-block;
  background: #00bfff;
  color: #fff;
  padding: 12px 25px;
  margin: 5px 0;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #008ac6;
}

.btn-small {
  display: inline-block;
  background: #00bfff;
  color: #fff;
  padding: 6px 15px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  transition: background 0.3s ease;
}

.btn-small:hover {
  background: #008ac6;
}

/* =========================
   CATEGORIES
========================= */
.categories h2,
.featured h2 {
  text-align: center;
  margin: 50px 0 25px;
  font-size: 2rem;
  font-weight: 700;
}

.category-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.category-card {
  background: #fff;
  padding: 20px 25px;
  border-radius: 12px;
  min-width: 150px;
  flex: 1 1 180px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  background: #00bfff;
  color: #fff;
}

/* =========================
   BUSINESS LISTINGS
========================= */
.business-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.business-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.business-photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.business-info {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.business-info h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.business-info p {
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.badges {
  margin: 10px 0;
}

.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  margin-right: 5px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge.verified {
  background: #28a745;
  color: #fff;
}

.badge.sale {
  background: #dc3545;
  color: #fff;
}

.badge.investment {
  background: #fd7e14;
  color: #fff;
}

/* =========================
   FORMS
========================= */
.form-section {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.form-card {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  width: 100%;
  max-width: 600px;
}

.form-card h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  font-weight: 700;
}

.form-card label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-card input[type="text"],
.form-card input[type="number"],
.form-card input[type="file"],
.form-card textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: 0.3s;
}

.form-card input:focus,
.form-card textarea:focus {
  border-color: #00bfff;
  outline: none;
}

.form-card input[type="checkbox"] {
  margin-right: 8px;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 25px 0;
  margin-top: 50px;
  font-size: 0.9rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .business-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .business-photo img {
    margin-bottom: 10px;
  }

  header .header-container {
    flex-direction: column;
    gap: 15px;
  }

  header nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .form-card {
    padding: 30px 20px;
  }

  .form-hero h1,
  .hero h1 {
    font-size: 2rem;
  }

  .form-hero p,
  .hero p {
    font-size: 1rem;
  }
}
