/* ---------- GENERAL RESET ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* ---------- NAVBAR ---------- */
.navbar, .site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo, .site-header .brand {
  height: 50px;
}

.navbar nav a, .site-header nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.navbar nav a.active, .site-header nav a.active {
  color: #0070f3;
}

/* ---------- HERO SECTION ---------- */
.hero, .hero-banner {
  position: relative;
  background: url('/assets/images/hero.jpg') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero .hero-content, .hero-banner .overlay {
  background-color: rgba(0,0,0,0.35);
  padding: 2rem 3rem;
  border-radius: 12px;
  max-width: 700px;
}

.hero h1, .hero-banner h2 {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}

.hero p, .hero-banner p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  background-color: #0070f3;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background-color: #005bb5;
}

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

/* ---------- LISTINGS GRID ---------- */
.listings-container {
  padding: 3rem 0;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.listing-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.listing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.listing-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.price-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: #0070f3;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.listing-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.listing-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #0070f3;
}

.listing-content .location {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.listing-content p {
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.book-btn {
  padding: 0.6rem 1.2rem;
  background-color: #ff5a5f;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.book-btn:hover {
  background-color: #e04e52;
}

/* ---------- FOOTER ---------- */
footer, .site-footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 1.5rem 2rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}

/* ---------- MEDIA QUERIES ---------- */
@media (max-width: 768px) {
  .hero h1, .hero-banner h2 {
    font-size: 2rem;
  }

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

  .listing-content h3 {
    font-size: 1.2rem;
  }

  .listing-content p {
    font-size: 0.9rem;
  }
}