.hero-section {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
        url('/assets/host/Campnstay_why-list.webp');
  background-size: cover;
  background-position: bottom;
  padding: 80px 20px;
  text-align: center;
  margin-top: 1rem;
}

.hero-content {
  max-width: 900px;
  margin: 3rem auto;
}

.hero-content h1 {
  font-weight: 550;
  font-size: 1.5rem;
  color: var(--sub-text-color);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-content p {
  font-size: 16px;
  color: var(--section-background-2);
}

.hero-content a{
    color: var(--section-background-2);
}

.why-list{
    padding: 5rem 0;
    background-color: var(--section-background-2);
}

.why-list h2 {
    font-size: 32px;
    font-weight: 700;
}

.host-button{
    color: var(--primary-text-color);
    margin-top: 1rem;
}

.listing-section {
  text-align: center;
  padding: 40px 20px;
  background: var(--sub-text-color);
}

.listing-section h3 {
  font-size: 28px;
  margin-bottom: 25px;
  font-weight: bold;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.listing-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  height: 220px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.listing-card1{
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
        url('/assets/host/listyourland_1.webp');
}
.listing-card2{
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
        url('/assets/host/listyourland_2.webp');
}
.listing-card3{
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
        url('/assets/host/listyourland_3.webp');
}
.listing-card4{
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
        url('/assets/host/listyourland4.webp');
}

.listing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 12px 0;
  text-align: center;
  background: rgba(0,0,0,0.5);
  color: var(--sub-text-color);
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1px;
  font-family: var(--secondary-font-family);
}


.why-list .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

.left-content {
  flex: 1 1 45%;
}

.left-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.left-content h3{
  justify-content: left !important;
}

.left-content p {
  line-height: 1.6;
  font-size: 16px;
}

.right-cards {
  flex: 1 1 45%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--section-background-1);
  border-radius: 12px;
  text-align: center;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.card img {
  width: 60px;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.card p {
  font-size: 14px;
  color: #666;
}

/* =================== Partner Modal =================== */
.modal {
  display: none; 
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: var(--section-background-1);
  padding: 30px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: relative;
  text-align: center;
}

.modal-content h3 {
  font-size: 16px;
  margin-bottom: 18px;
  color: var(--primary-text-color);
}

.modal-content input {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.modal-content input:focus {
  border-color: var(--tertiary-text-color);
  outline: none;
}

.submit-btn {
  width: 100%;
  color: var(--primary-text-color);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
}