html,
body {
  overflow-x: hidden;
}
/* GLOBAL */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: #333;
  background: #fafafa;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  margin: 0;
}

p {
  line-height: 1.6;
  margin: 0;
}

/* BUTTON */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
  font-weight: 500;
}

/* HERO */
.hero {
  position: relative;
  text-align: center;
  color: white;
}

.hero-image {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  display: block;
  filter: brightness(70%); /* LIGHTER IMAGE */
}

/* Softer overlay */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25); /* LIGHTER OVERLAY */
  z-index: 1;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* More readable text */
.hero-text h1,
.hero-text h2 {
  color: #ffffff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7); /* STRONGER SHADOW */
}

.hero-text h1 {
  font-size: 60px;
}

.hero-text h2 {
  font-size: 28px;
  margin-top: 10px;
}

/* INTRO */
.intro-section {
  padding: 60px 20px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.intro-photo {
  width: 100%;
  border-radius: 10px;
}

/* FAVORITES */
.favorites-section {
  padding: 60px 20px;
  background: #fff;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.card {
  background: #fdfdfd;
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card img {
  width: 100%;
  max-width: 260px;
  border-radius: 10px;
  display: block;
  margin: 0 auto 15px;
}

.card .desc {
  margin: 10px 0;
}

.card .address {
  margin: 10px 0;
  font-size: 14px;
  color: #555;
}

.card .likes {
  margin: 10px 0 20px;
  font-size: 14px;
}

.learn-btn {
  display: inline-block;
  padding: 10px 18px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 15px;
  font-size: 14px;
}

/* ICONIC PLACES */
.places-section {
  padding: 60px 20px;
  background: #fff;
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.place-card {
  background: #fdfdfd;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.place-card img {
  width: 100%;
  max-width: 260px;
  border-radius: 10px;
  display: block;
  margin: 0 auto 15px;
}

.place-card .desc {
  margin: 10px 0;
}

.place-card .address {
  margin: 10px 0;
  font-size: 14px;
  color: #555;
}

.place-card .likes {
  margin: 10px 0 20px;
  font-size: 14px;
}

.place-card iframe {
  width: 100%;
  max-width: 350px;
  height: 220px;
  border-radius: 10px;
  display: block;
  margin: 15px auto;
}

/* NEW LISBON-STYLE FOOTER */
.footer-section {
  background: #000;
  color: #fff;
  padding: 50px 20px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h4 {
  font-family: "Playfair Display", serif;
  margin-bottom: 15px;
  font-size: 20px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #fff;
  text-decoration: underline;
  font-size: 15px;
}

.footer-section p {
  font-size: 15px;
  line-height: 1.6;
}

/* Responsive footer */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section ul li {
    margin-bottom: 15px;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .intro-grid,
  .favorites-grid,
  .places-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 50vh;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .place-card img,
  .card img {
    max-width: 220px;
  }

  .place-card iframe {
    max-width: 300px;
    height: 200px;
  }
}
