/* -----------------------------------------
   Base Styles
------------------------------------------ */

body {
  background-color: #00151b;
  font-family: "Readex Pro", sans-serif;
  line-height: 1.2;
  color: #00151b;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* -----------------------------------------
   Header
------------------------------------------ */

header {
  padding: 200px 40px;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url("../images/boat.jpg") center/cover no-repeat;
}

header h1,
header h2,
header h3 {
  margin: 0;
}

header h1 {
  font-size: 56px;
  font-weight: 600;
  line-height: 2;
}

header h2 {
  font-size: 28px;
  font-weight: 400;
  font-family: "Vollkorn", serif;
  font-style: italic;
}

header h3 {
  font-size: 20px;
  letter-spacing: 6px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
}

header a {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  background-color: #dfd3c3;
  color: #00151b;
  transition: all 300ms ease-in-out;
}

header a:hover {
  background-color: #00151b;
  color: #dfd3c3;
}

/* -----------------------------------------
   Main Content
------------------------------------------ */

main {
  background-color: #f2f3ee;
}

main h2 {
  font-family: "Vollkorn", serif;
  font-size: 36px;
  line-height: 1.25;
  margin: 0;
  margin-bottom: 20px;
}

main h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 6px;
  margin: 20px 0 0;
  line-height: 2;
  text-transform: uppercase;
  opacity: 0.3;
}

main h4 {
  font-size: 20px;
  margin: 0;
}

main h5 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.5;
}

main p {
  font-size: 16px;
  font-weight: 400;
}

/* -----------------------------------------
   Sections
------------------------------------------ */

section {
  max-width: 100%;
  padding: 80px 100px;
  margin: 0 auto;
}

section.secondary {
  background-color: #f2f3ee;
}

section.secondary h2 {
  margin-bottom: 40px;
}

/* -----------------------------------------
   Quick Facts Table
------------------------------------------ */

.facts-table {
  background-color: #e8e5dc;
}

.quick-facts {
  width: 100%;
  margin-top: 40px;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  font-size: 16px;
  text-align: left;
}

.quick-facts th,
.quick-facts td {
  padding: 12px;
  border-bottom: 1px solid #c7b198;
}

/* -----------------------------------------
   Cards
------------------------------------------ */

.card {
  background-color: white;
}

.card-header {
  padding: 0;
}

.card-header.grid {
  gap: 0;
}

.card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.card-body {
  padding: 24px 24px 0;
}

.card-footer {
  padding: 24px;
}

.button-tertiary {
  display: block;
  padding: 12px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  background-color: #dfd3c3;
  color: #00151b;
  transition: all 300ms ease-in-out;
  font-weight: 600;
}

.button-tertiary:hover {
  background-color: #00151b;
  color: #dfd3c3;
}

/* -----------------------------------------
   Media Embeds
------------------------------------------ */

.embed {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.gallery {
  background-color: #e8e5dc;
}

.youtube {
  width: 100%;
  aspect-ratio: 9 / 16;
}

/* -----------------------------------------
   Footer
------------------------------------------ */

footer {
  padding: 40px 0;
  font-size: 12px;
  font-weight: 400;
  color: #f2f3ee;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/dunes.jpg") top/cover no-repeat;
}

footer h4 {
  font-size: 16px;
  font-weight: 400;
  color: #f2f3ee;
  margin: 0 0 8px;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

footer a {
  color: #dfd3c3;
}

footer a:hover {
  color: #f2f3ee;
  transition: 300ms all ease-out;
}

footer p {
  margin-top: 40px;
}

/* -----------------------------------------
   Grid Utilities
------------------------------------------ */

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

.grid-2-columns {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3-columns {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
}

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

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

/* -----------------------------------------
   Responsive
------------------------------------------ */

@media (max-width: 960px) {
  section {
    padding: 40px;
  }

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

  header {
    padding: 120px 40px;
  }

  header h1 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.2;
  }

  header h2 {
    font-size: 22px;
  }

  header h3 {
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.2;
  }

  header a {
    margin-top: 40px;
    font-size: 14px;
    padding: 16px 20px;
  }

  main h2 {
    font-size: 32px;
    margin-top: 6px;
  }

  main h3 {
    font-size: 16px;
  }

  main p {
    font-size: 14px;
  }

  .quick-facts {
    font-size: 14px;
  }

  .card img {
    display: none;
  }

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

  footer {
    padding: 20px;
    font-size: 12px;
  }

  footer h4 {
    margin-bottom: 8px;
  }

  footer p {
    margin-top: 40px;
  }
}
