body {
  background-color: #3b3b3b;
  margin: 0;
  width: 100%;
}

h1 {
  font-family: questa-grande, serif;
  font-weight: 500;
  font-size: 3.5rem;
  line-height: 3.5rem;
  text-align: center;
  color: white;
  margin: 0;
}

h2 {
  font-family: "din-2014", sans-serif;
  font-weight: 700;
  line-height: 3rem;
  font-size: 2.5rem;
  text-align: center;
  color: #e6e6e6;
  margin: 0;
}

h3 {
  font-family: questa-grande, serif;
  font-weight: 500;
  font-size: 2.65rem;
  line-height: 3.5rem;
  text-align: center;
  color: white;
  margin: 0;
}

p {
  font-family: din-2014-narrow, sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.7rem;
  color: white;
  margin: 0;
  letter-spacing: 0.00875rem;
}

a {
  cursor: pointer;
  position: relative;
}

a::after {
  background-color: #747474;
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
  width: 100%;
}

a:hover:after {
  transform: scaleX(1);
}

.highlight {
  color: #e6e6e6;
  text-align: center;
  font-family: "din-2014", sans-serif;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 3rem;
  letter-spacing: 0.00875rem;
}

.subtitle {
  font-family: "din-2014", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25rem;
  margin: 0;
  color: white;
  text-decoration: none;
}
.credits {
  font-family: "din-2014", sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  color: #8e8e8e;
  text-align: center;
  margin: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;

  .subtitle {
    color: #e6e6e6;
    margin: 1rem 2rem;
  }
}

.hero {
  position: relative;
  /* Fill the viewport height on all devices (dvh for mobile browsers) */
  height: 100vh;
  height: 100dvh;
  width: 100%;
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0) 19.23%,
      var(--colour-greys-800, rgba(59, 59, 59, 0.9)) 100%
    ),
    url(../assets/hero-rotated.jpg) lightgray 50% / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2.25rem;

  .logo {
    padding-top: 2.5rem;
  }
}

.hero-content {
  gap: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  h1,
  p {
    max-width: 44.5rem;
    text-align: center;
  }

  .cta-button {
    position: relative;
    overflow: hidden;
    transition: color 0.3s;
    border-radius: 1.5rem;
    border: 1px solid var(--colour-greys-200, #e6e6e6);
    display: inline-flex;
    padding: 0.5rem 1.5rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    margin-top: 1rem;
  }

  .cta-button::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #a8a8a8;
    z-index: 0;
    transition: width 0.3s;
  }

  .cta-button:hover::before {
    width: 100%;
  }

  .cta-button > * {
    position: relative;
    z-index: 1;
    transition: color 0.3s;
  }

  .cta-button .subtitle {
    color: white;
  }
}

.hero-date {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(59, 59, 59, 0) 0%,
    var(--colour-greys-800, #3b3b3b) 83.67%
  );
  padding: 3.88rem 0;
  margin: 0;
  text-align: center;
}

.body-copy {
  margin: 3.19rem 2rem;
  display: grid;
  row-gap: 5rem;
}

.body-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 1.5rem;
  margin: 0;
  max-width: 100%;
}

.body-row img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: lightgray 50% / cover no-repeat;
  margin: 0 auto;
  /* transform: rotate(-1deg); */
}

.body-row p {
  max-width: 100%;
  width: 29.125rem;
  font-size: 1.125rem;
  line-height: 1.6rem;
  margin: 0 6rem;
}

/* Alternate the order for the second row */
.body-row.reverse {
  direction: rtl;
}
.body-row.reverse > * {
  direction: ltr;
}

/* Mobile styles */
@media (max-width: 1024px) {
  .body-copy {
    margin: 2rem 1rem;
    row-gap: 3rem;
    justify-content: center;
  }

  .body-row {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
  }

  .body-row.reverse {
    direction: ltr;
  }
  .body-row p {
    text-align: left;
    padding: 0 1rem !important;
    margin: 0;
    width: auto;
    max-width: none;
  }
}

.divider {
  background-color: #8e8e8e;
  height: 1px;
  margin: 0 2rem;
  border: none;
}

.contacts {
  display: grid;
  row-gap: 1.5rem;
  grid-template-columns: 1fr 1fr 1fr;

  .contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 2.5rem 0 5rem 0;
  }
}

/* Mobile styles for contacts */
@media (max-width: 1024px) {
  .contacts {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  .contact-item {
    justify-content: left !important;
    text-align: left !important;
    margin: 0 1rem !important;
  }
}
.newsletter {
  background-color: white;
  padding: 5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.newsletter-content {
  flex: 1;
  max-width: 600px;
}

.newsletter-title {
  font-family: questa-grande, serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 2.5rem;
  color: #3b3b3b;
  margin: 0 0 2rem 0;
  text-align: left;
}

.newsletter-form {
  margin-bottom: 1rem;
}

.form-inputs {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.form-inputs input {
  flex: 1;
  background: white;
  color: #3b3b3b;
  padding: 0.5rem 1.5rem;
  border: 1px solid #3b3b3b;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: din-2014-narrow, sans-serif;
  min-width: 21.5rem;
}

.form-inputs input::placeholder {
  color: #8e8e8e;
}

.form-inputs button {
  padding: 0.5rem 1.5rem;
  border: 1px solid #3b3b3b;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: din-2014-narrow, sans-serif;
  background-color: #3b3b3b;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-inputs button:hover {
  background-color: #8e8e8e;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: inline-block;
  width: 24px;
  height: 24px;
}

.social-icons img {
  width: 100%;
  height: 100%;
  filter: brightness(0) saturate(100%) invert(23%) sepia(0%) saturate(0%)
    hue-rotate(180deg) brightness(95%) contrast(89%);
}

.newsletter-logo {
  flex-shrink: 0;
  margin-left: 2rem;
}

.newsletter-logo img {
  max-width: 200px;
  height: auto;
}

/* Mobile styles for newsletter */
@media (max-width: 1024px) {
  .newsletter {
    flex-direction: column;
    padding: 2rem 1rem;
    text-align: center;
  }

  .newsletter-content {
    margin-bottom: 2rem;
  }

  .form-inputs {
    flex-direction: column;
    width: 100%;
  }

  .form-inputs input,
  .form-inputs button {
    width: 100%;
  }

  .social-icons {
    justify-content: center;
  }

  .newsletter-logo {
    margin-left: 0;
  }
}
