*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 80px);
}

.grid {
  display: grid;
  gap: 64px;
}

.text-center {
  text-align: center;
}

.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
}

header {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/landscape.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 150px;
}

header h1 {
  font-weight: 700;
  font-size: 48px;
  line-height: 1.5;
  margin: 0;
}

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

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

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

main {
  background-color: white;
}

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;
}

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

.btn {
  display: inline-block;
  color: white;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 20px;
  background-color: #462cb3;
  text-decoration: none;
  border-radius: 4px;
}

.grid-2-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 60px) clamp(16px, 5vw, 80px);
}

.grid-2-columns img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.grid-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: clamp(220px, 28vw, 420px);
  overflow: hidden;
  border-radius: 8px;
}

.grid-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: top;
}

.grid-2-columns h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}

.grid-2-columns h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 20px;
  color: #555;
}

.grid-2-columns p {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

section.secondary {
  background: #f8f8f8;
}

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

.card {
  background: white;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
  overflow: hidden;
  border-radius: 8px;
  padding: 0;
  height: clamp(160px, 18vw, 220px);
}

.card-header > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  padding: 0;
}

.card-body {
  padding: 20px;
}

.card-footer {
  padding: 0 20px 20px;
  text-align: center;

  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.card-footer .btn {
  width: 100%;
  text-align: center;
}

.embed {
  width: 100%;
  height: 200px;
  border: 0;
  display: block;
  margin: 0;
  border-radius: 8px;
}

.instagram-embeds {
  padding: 0 16px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.instagram-embeds .instagram-media {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

footer {
  color: white;
  background-image:
    linear-gradient(rgba(39, 32, 68, 0.9), rgba(39, 32, 68, 0.6)),
    url("../images/footer.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 30px 20px;
}

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

.grid-3-columns-with-first-narrow {
  grid-template-columns: 1fr 2fr 2fr;
}

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

footer p {
  font-weight: 400;
  font-size: 12px;
  opacity: 0.7;
  margin: 10px 0 0;
  line-height: 1.6;
}

footer ul {
  padding: 0;
  margin: 0;
}

footer li {
  list-style: none;
  margin-bottom: 6px;
  padding: 0;
  font-size: 12px;
}

footer a {
  color: white;
  opacity: 0.7;
}

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
}

@media (max-width: 960px) {
  .grid-2-columns {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .grid-image {
    order: 1;
  }

  .grid-text {
    order: 2;
  }

  header {
    padding: 80px 20px;
  }

  header h1 {
    font-size: 36px;
  }

  header h2 {
    font-size: 20px;
  }
}

/* Mobile */
@media (max-width: 960px) {
  header {
    padding: 50px 20px;
  }

  header h1 {
    font-size: 32px;
  }

  header h2 {
    font-size: 18px;
  }

  header h3 {
    font-size: 10px;
  }

  footer {
    padding: 40px 20px;
  }

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

  section {
    padding: 0 0 40px;
  }

  .card-body {
    padding: 16px;
  }

  .card-footer {
    padding: 0 16px 16px;
  }
}
