/* ===== BASE ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
}

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

.img-responsive {
  width: 100%;
  border-radius: 4px;
}

/* ===== GRID HELPERS ===== */
.grid {
  display: grid;
  gap: 32px;
}

.grid-2-columns {
  grid-template-columns: 1fr 1fr;
}

.grid-3-columns {
  grid-template-columns: 1fr 1fr 1fr;
}

.grid-3-columns-footer {
  grid-template-columns: 1fr 1fr 1fr;
}

.golf-photos {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* ===== HEADER ===== */
header {
  /* 📸 REPLACE with your Baleal sunset hero image */
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/baleal-sunset.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 200px 0;
}

header h1 {
  font-weight: 700;
  font-size: 96px;
  line-height: 1;
  margin: 30px 0;
}

header h2 {
  font-weight: 400;
  font-size: 40px;
  line-height: 1.5;
  margin: 0;
}

header h3 {
  font-weight: 900;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 5px;
  margin: 0;
}

header a {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: #272044;
  padding: 16px 32px;
  margin-top: 32px;
  display: inline-block;
  letter-spacing: 3px;
  text-decoration: none;
  text-transform: uppercase;
  background: white;
}

header a:hover {
  background: #f0f0f0;
}

/* ===== MAIN ===== */
main {
  background-color: white;
}

main section {
  padding: 60px;
}

.secondary-section {
  background-color: #f4f6f8;
  padding: 60px;
}

main h2 {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  letter-spacing: 5px;
  color: #272044;
  opacity: 0.3;
  text-transform: uppercase;
}

main h3 {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.5;
  color: #272044;
  margin: 0 0 24px 0;
}

main h4 {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: #272044;
  margin: 0 0 8px 0;
}

main h5 {
  font-weight: 700;
  font-size: 13px;
  margin: 8px 0 4px;
  line-height: 1;
  color: #272044;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.5;
}

main p {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #272044;
  opacity: 0.75;
}

/* ===== CARDS ===== */
.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(39, 32, 68, 0.08);
}

.card-header img {
  border-radius: 0;
}

.card-body {
  padding: 20px;
}

.card-body a {
  font-size: 13px;
  color: #272044;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.8;
  display: inline-block;
  margin-top: 8px;
}

.card-body a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===== MAP EMBED ===== */
.embed {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 4px;
}

/* ===== FOOTER ===== */
footer {
  color: white;
  background-image:
    linear-gradient(rgba(39, 32, 68, 0.88), rgba(39, 32, 68, 0.88)),
    url("../images/gallery-2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

footer section {
  padding: 60px;
}

footer h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
}

footer p {
  font-weight: 400;
  font-size: 16px;
  opacity: 0.7;
  line-height: 24px;
}

footer ul {
  padding: 0;
}

footer li {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

footer a {
  color: white;
  opacity: 0.7;
  text-decoration: none;
}

footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  header {
    padding: 60px 20px;
  }

  header h1 {
    font-size: 48px;
  }

  header h2 {
    font-size: 20px;
  }

  header h3 {
    font-size: 12px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  main section,
  .secondary-section,
  footer section {
    padding: 30px 20px;
  }

  .card-header img {
    display: none;
  }

  .embed {
    aspect-ratio: 16 / 9;
    height: auto;
  }
}
