.footer {
  background-color: #1d1a16;
  color: #fff;
  width: 100%;
  overflow-x: clip;
}

.footer-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-family: "Cormorant Garamond";
  font-weight: 400;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-family: Jost;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.345rem;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 2rem;
}

.footer-description {
  font-family: Jost;
  font-weight: 300;
  font-size: 1.063rem;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-socials a {
  display: inline-block;
  width: 22px;
  height: 22px;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition:
    filter 0.2s ease,
    transform 0.15s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
}

.footer-socials .social-instagram {
  background-image: url("../images/icons/instagram.svg");
}

.footer-socials .social-facebook {
  background-image: url("../images/icons/facebook.svg");
}

.footer-socials .social-tripadvisor {
  background-image: url("../images/icons/tripadvisor.svg");
}

.footer-map-download {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-family: "Jost";
  font-weight: 300;
  font-size: 0.688rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-map-download:hover {
  color: #fff;
}

.footer-map-download .file-icon {
  width: 13px;
  height: 13px;
  object-fit: contain;
}

.footer-nav h3,
.footer-contact h3 {
  font-family: Jost;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
}

.footer-nav ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.footer-nav li,
.footer-contact li {
  margin-bottom: 0.75rem;
}

.footer-nav a,
.footer-contact a {
  font-family: Jost;
  font-weight: 300;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--secondary-color);
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: Jost;
  font-weight: 300;
  font-size: 1rem;
  color: var(--accent-color);
  text-decoration: none;
}

.footer-cta:hover {
  color: var(--accent-color);
}

.footer-contact hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0 0 1.5rem 0;
}

.footer-contact address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact address p {
  font-family: Jost;
  font-weight: 300;
  font-size: 0.9rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-nav a.underline-link,
.footer-contact a.underline-link {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.footer-contact address i {
  color: var(--secondary-color);
  font-size: 0.8125rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.footer-contact address a {
  color: #ffffff;
  transition: color 0.3s ease;
}

.footer-contact address a:hover {
  color: var(--secondary-color);
}

.footer-contact address span {
  font-family: Jost;
  font-weight: 400;
  font-size: 1rem;
  color: #ffffff;
  text-transform: none;
  letter-spacing: normal;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.footer-bottom hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 1.5rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-inner p {
  font-family: Jost;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--secondary-color);
}

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem 2rem;
  }

  .footer-bottom {
    padding: 0 1.5rem 1.5rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-main {
    padding: 2rem 1rem 1.5rem;
  }

  .footer-logo {
    font-size: 2rem;
  }

  .footer-bottom {
    padding: 0 1rem 1rem;
  }
}
