body {
  background-color: #3f314e;
}

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

header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), url(../img/costa-rica-welcome.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 200px 0;

}

header h1 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 96px;
  line-height: 1.5;
  margin: 0;
}
header h2 {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 40px;
  margin: 0;
}
header h3 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 4px;
  margin: 0;
}
header a {
  display: inline-block;
  text-decoration: none;
  background-color: ;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 18px;
  line-height: 1.5;
  padding: 16px 32px;
  display: inline-block;
  margin-top: 32px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
.glass {
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2), inset 0 4px 20px rgba(255, 255, 255, 0.3);
}
.glass::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  backdrop-filter: blur(1px);
  box-shadow: inset -10px -8px 0px -11px rgba(255, 255, 255, 1), inset 0px -9px 0px -8px rgba(255, 255, 255, 1);
  opacity: 0.6;
  z-index: -1;
  filter: blur(1px) drop-shadow(10px 4px 6px black) brightness(115%);
}
.glass:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.3), inset 0 4px 20px rgba(255, 255, 255, 0.4);
}
.glass:hover::after {
  opacity: 0.8;
  filter: blur(1px) drop-shadow(10px 4px 6px black) brightness(130%);
} 

.grid{
  display: grid;
  gap: 64px;
}
.grid-3-col {
  grid-template-columns: 1fr 2fr 2fr;
}
.grid-2-col {
  grid-template-columns: 1fr 1fr;
}
.grid-3-equal-col {
  grid-template-columns: 1fr 1fr 1fr;
}
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 0px;
}

main {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

img{
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: block;
}
main h2 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 5px;
  opacity: 0.3;
  color: #272044;
  text-transform: uppercase;
  margin: 0;
} 
main h3 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.5;
  color: #272044;
  margin: 0;
} 
main p {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #272044;
  opacity: 0.7;
}

section.destinations {
  background-color: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} 
section.destinations h2 {
  text-align: center;
  padding-bottom: 30px;
}
.embed{
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  display: block;
}
.card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 30px 0;
}
.card-header.grid{
  grid-template-columns: 1fr 1fr;
  grid-gap: 0px;
}

.card-body {
  padding: 30px;
}

.card-footer {
  padding: 0 30px 30px;
}
.card h2 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 5px;
  opacity: 0.3;
  color: #272044;
  text-transform: uppercase;
  margin: 0;
  padding-bottom: 30px;
}
.card h3 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.5;
  color: #272044;
  margin: 0;
  padding-bottom: 30px;
}
.card p {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #272044;
  opacity: 0.7;
}
.card h5 {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: #272044;
}
.learn-more-btn {
  text-align: center;
  display: block;
  text-decoration: none;
  background-color: #3f314e;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  padding: 16px 32px;
  margin-top: 32px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
.learn-more-btn:hover { 
  background-color: #272044;
}
.gallery h2 {
   text-align: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 5px;
  opacity: 0.3;
  color: #272044;
  text-transform: uppercase;
  margin: 0;
  padding-bottom: 30px;
}
.gallery h3 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.5;
  color: #272044;
  margin: 0;
  padding-bottom: 30px;
}

footer {
  color: white;
  background-image: linear-gradient(rgba(63, 49, 78, 0.9), rgba(63, 49, 78, 0.9)), url(../img/costa-rica-waterfall.png);
  background-repeat: no-repeat;
  background-size: cover;
}

footer h3{
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 4px;
  margin: 0;
}

footer ul {
  padding: 0;
}

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

footer a {
  color: white;
  opacity: 0.7;
  text-decoration: underline;
  line-height: 2;
}

footer p {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.7;
}

@media (max-width: 960px) {
  header {
    padding: 180px 0;
  }

  header h1 {
    font-size: 40px;
  }

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

  header h3 {
    font-size: 18px;
    letter-spacing: 2px;
  }

  header a {
    font-size: 16px;
    padding: 12px 24px;
    margin-top: 24px;
  }
  .grid{
  grid-template-columns: 1fr;
  grid-gap: 32px;
  padding: 20px 20px;
}

section {
  padding: 30px 30px;
}
main h2{
  font-size: 10px;
  line-height: 2;
  letter-spacing: 2px;
}

main h3 {
  font-size: 20px;
}

main p{
  font-size: 14px;
  line-height: 1.5;
}
.card-header img {
  display: none;
}
.embed {
  aspect-ratio: 16 / 9;
}
.footer-col-1 {
margin-top: 20px;
}
}