h1, h2, h3 {
  color:white;
  font-size: 70px;
  font-weight: bold;
  font-family: 'Playfair Display', serif;
}

body, p, nav, button {
  color: #9E8266;
  font-size: large;
  font-family: 'Inter', sans-serif;
}

.site-logo {
  display: block;
  margin-left: 50px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 28px 32px;
  z-index: 1000;
}

footer {
  color: #9E8266;
  font-size: small;
  font-family: 'Inter', sans-serif;

  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 28px 55px;
  z-index: 1000;
}

a:link {
  display: inline-block;
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: medium;
  text-decoration:underline;
  letter-spacing: 0.02em;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    min-height: 75vh;
    padding: 40px 50px;
    gap: 60px;
}

.hero-text {
    justify-self: start;
}

.hero-video {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-video iframe {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

@media (max-width: 800px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-video {
        justify-content: flex-start;
    }
}

/* ---------- Hamburger menu ---------- */

.hamburger {
  position: relative;
  width: 32px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #9E8266;
  transition: transform 0.35s ease, opacity 0.2s ease, top 0.35s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

.hamburger[aria-expanded="true"] span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background-color: #020404;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(158, 130, 102, 0.25);
  pointer-events: none;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.nav-links li {
  margin: 18px 0;
  overflow: hidden;
}

.nav-links a {
  display: inline-block;
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 48px);
  text-decoration: none;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, color 0.2s ease;
}

.nav-overlay.is-open .nav-links a {
  opacity: 1;
  transform: translateY(0);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #9E8266;
}

.nav-overlay.is-open .nav-links li:nth-child(1) a { transition-delay: 0.1s; }
.nav-overlay.is-open .nav-links li:nth-child(2) a { transition-delay: 0.17s; }
.nav-overlay.is-open .nav-links li:nth-child(3) a { transition-delay: 0.24s; }
.nav-overlay.is-open .nav-links li:nth-child(4) a { transition-delay: 0.31s; }

/*Mobile devices with a max width of 640px*/
@media (max-width: 640px) {
  .site-header {
    padding: 20px 20px;
  }

  .hamburger {
    width: 28px;
    height: 20px;
  }

  .hamburger span:nth-child(2) { top: 9px; }
  .hamburger span:nth-child(3) { top: 18px; }

  .hamburger[aria-expanded="true"] span:nth-child(1),
  .hamburger[aria-expanded="true"] span:nth-child(3) {
    top: 9px;
  }

  .nav-overlay::before {
    inset: 14px;
  }

  .nav-links li {
    margin: 14px 0;
  }

  .nav-links a {
    font-size: clamp(24px, 8vw, 36px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hamburger span,
  .nav-overlay,
  .nav-links a {
    transition: none !important;
  }
}