* {
  margin: 0;
  padding: 0;
}

.dining-section-div {
  padding: 50px 70px;
}

.dining-cards {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* CARD BACKGROUNDS */

.dining-card1 {
  width: 400px;
  height: 400px;
  background: url("../images/Rectangle 450.png") no-repeat center/cover;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.dining-card2 {
  width: 400px;
  height: 400px;
  background: url("../images/Rectangle 451.png") no-repeat center/cover;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.dining-card3 {
  width: 400px;
  height: 400px;
  background: url("../images/Rectangle 452.png") no-repeat center/cover;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

/* DARK GRADIENT OVERLAY (like figma) */
.dining-card1::before,
.dining-card2::before,
.dining-card3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.9)
  );
}

/* INNER WRAPPER */
.dining-card-img1,
.dining-card-img2,
.dining-card-img3 {
  position: relative; /* important */
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start; /* fix */
  align-items: flex-start; /* fix */
  padding: 20px;
}

/* LIST INSIDE */
.dining-features {
  list-style: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: flex-start; /* fix */
  align-items: flex-start; /* fix */
  font-size: 16px;
  margin-top: 245px;
}

.dining-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dining-heading h2 {
  font-family: Merriweather;
  font-weight: 700;
  font-style: Bold;
  font-size: 36px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 1%;
  color: #1c3f94;
}

.dining-heading span {
  font-family: Merriweather;
  font-weight: 700;
  font-style: Bold;
  font-size: 36px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 1%;
  color: #ee1b22;
}

.dining-heading p {
  font-family: Poppins;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 24px;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #1c3f94;
  padding: 10px 300px 10px 0px;
}

/* ================== RESPONSIVE DINING SECTION ================== */

/* Large screens (already okay) */

/* Large screens above 1600px — center align the cards */
@media (min-width: 1600px) {
  .dining-cards {
    justify-content: center;
    gap: 90px; /* optional: adjust spacing */
  }
}


/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
  .dining-cards {
    gap: 20px;
  }

  .dining-card1,
  .dining-card2,
  .dining-card3 {
    width: 320px;
    height: 350px;
  }

  .dining-heading p {
    padding: 10px 150px 10px 0px;
  }

  .dining-features {
    margin-top: 200px;
  }
}

/* Small Tablets (max-width: 900px) — 2 cards per row */
@media (max-width: 900px) {
  .dining-cards {
    flex-wrap: wrap;
    justify-content: center;
  }

  .dining-card1,
  .dining-card2,
  .dining-card3 {
    width: 48%; /* two cards per row */
    height: 340px;
  }

  .dining-heading p {
    padding: 10px 50px 10px 0px;
  }

  .dining-features {
    margin-top: 180px;
  }
}

/* Mobile large (max-width: 650px) — 1 card per row */
@media (max-width: 1282px) {
  .dining-section-div {
    padding: 40px 20px;
  }

  .dining-cards {
    flex-direction: column;
    align-items: center;
  }

  .dining-card1,
  .dining-card2,
  .dining-card3 {
    width: 100%;
    height: 320px;
  }

  .dining-heading h2,
  .dining-heading span {
    font-size: 28px;
   
        text-align: center;
  }

  .dining-heading p {
    padding: 0;
    font-size: 15px;
    text-align: center;
  }

  .dining-features {
    margin-top: 160px;
  }
}

/* Mobile small (max-width: 430px) */
@media (max-width: 430px) {
  .dining-card1,
  .dining-card2,
  .dining-card3 {
    height: 300px;
  }

  .dining-heading h2,
  .dining-heading span {
    font-size: 24px;
    text-align: center;
  }

  .dining-heading p {
    font-size: 14px;
    padding: 0;
    text-align: center;
  }

  .dining-features {
    margin-top: 140px;
    font-size: 14px;
  }
}
