/*
  layout.css
  Page-level layout: content wrapper, header shell, footer shell,
  module system, hero sections, and shared inner-padding patterns.
*/


/* ─── Skip navigation ───────────────────────────────────────────────────── */

.skip-nav {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 0.5rem 1rem;
  background: var(--jade);
  color: var(--linen);
  font-size: 0.875rem;
  z-index: 10000;
  text-decoration: none;

  &:focus {
    top: 0;
  }
}


/* ─── Content wrapper ────────────────────────────────────────────────────── */

.content {
  display: block;
  position: relative;

  @media screen and (max-width: 1023px) {
    padding: 0 20px;
  }

  @media screen and (min-width: 1024px) {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
  }
}


/* ─── Header ─────────────────────────────────────────────────────────────── */

header {
  width: 100%;
  background-color: var(--jade);
  position: relative;
  z-index: 1000;
}

.header-content {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 200px;
  padding: 0 20px;
}

.logo {
  margin-top: 60px;

  @media screen and (min-width: 1024px) {
    align-self: start;
    margin-top: 0;
    padding-left: 50px;
  }
}

.logo img {
  display: block;
  width: 200px;
  height: auto;

  @media screen and (min-width: 1024px) {
    width: 270px;
  }
}


/* ─── Footer shell ───────────────────────────────────────────────────────── */

footer {
  text-align: center;
  background-color: var(--jade);
  color: var(--linen);
  padding: 10px 0;
}


/* ─── Module system ──────────────────────────────────────────────────────── */

.module {
  padding: 40px 0;
}

.module-inner {
  max-width: 1080px;
  margin: 0 auto;

  @media screen and (max-width: 1023px) {
    max-width: calc(100% - 2rem);
  }
}

.module--why-choose {
  padding: 40px 0;
  background-color: var(--super-faded-gold);
}

.module--alv {
  padding-top: 0;
  padding-bottom: 40px;

  & .module-inner {
    @media screen and (max-width: 600px) {
      padding-top: 40px;
    }
  }
}

.module--partner-list {
  padding-top: 0;
}

.module--video {
  background-color: var(--jade);

  & .module-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  & .section-title {
    margin: 0;
    padding-bottom: 20px;
    color: white;
  }

  & video,
  & iframe {
    width: 100%;
    max-width: 920px;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

.module__header {
  display: flex;
  align-items: center;
  justify-content: center;

  & > .section-title {
    color: white;
    text-shadow: 0px 0px 20px #000000;
  }
}

.module__header--alv {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
  background-image: url('/static/images/home/alv-wide.webp');
  background-size: cover;
  background-position: center;

  @media screen and (max-width: 600px) {
    height: 270px;
  }

  & > .section-title {
    color: white;
    text-shadow: 0px 0px 20px #000000;
  }
}

.section-title {
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 40px;
  text-align: center;
}


/* ─── Spots limited banner ───────────────────────────────────────────────── */

.spots-limited {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  background-color: var(--jade);

  @media screen and (max-width: 600px) {
    padding: 40px 1rem;
  }

  & > h3 {
    margin: 0;
  }

  & > p {
    max-width: 768px;
    margin: 0.5rem auto;
    color: white;

    @media screen and (max-width: 1023px) {
      text-align: center;
    }
  }
}

.module--alv + .spots-limited,
.game-masters + .spots-limited {
  border-bottom: 2px solid var(--gold);
}


/* ─── Shared section headings ────────────────────────────────────────────── */

.tavern-heading {
  margin-bottom: 10px;
  font-size: 2.5rem;
  text-align: center;

  @media screen and (min-width: 601px) {
    font-size: 3rem;
  }

  @media screen and (max-width: 600px) {
    font-size: 2rem;
  }

  & + p {
    padding-bottom: 20px;
    text-align: center;
  }
}

.secondary-heading,
.secondary-heading--lodging {
  color: var(--emerald);
  font-size: 30px;
  font-weight: 700;
}

.secondary-heading--lodging {
  padding-top: 20px;
  text-align: center;
}

.content-introduction {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 0 20px;
}


/* ─── Shared .inner padding (used by multiple page wrappers) ─────────────── */

.stay-info,
.gm-info,
.behavior-policy,
.legal-privacy,
.refund-policy,
.terms-conditions,
.register,
.payment-review,
.confirmation {
  & .inner {
    padding-top: 30px;

    @media screen and (max-width: 1023px) {
      padding-left: 20px;
      padding-right: 20px;
    }

    @media screen and (min-width: 1024px) {
      max-width: 680px;
      margin: 0 auto;
    }
  }
}


/* ─── Check-in info ──────────────────────────────────────────────────────── */

.check-in-info {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;

  & ul {
    padding-left: 16px;
  }
}


/* ─── Inline tickets CTA ─────────────────────────────────────────────────── */

.inline-tickets-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0 0;
}
