/* =========================================
   ORELLA PORTAL CHOICE
   ========================================= */

.portal-choice-page,
.portal-choice-page * {
  box-sizing: border-box;
}

.portal-choice-page {
  --portal-white: #ffffff;
  --portal-paper: #f7f5f1;
  --portal-black: #151515;
  --portal-gold: #b88b55;
  --portal-muted: #756f68;

  position: relative;

  min-height: 100vh;
  min-height: 100svh;
  margin: 0;

  font-family: "Montserrat", sans-serif;

  color: var(--portal-white);
  background-image: url("../images/hotel-entrance.jpg");
  background-size: cover;
  background-position: center 62%;
  background-repeat: no-repeat;
  background-color: #243735;
}

/* COLORED OVERLAY */

.portal-choice-page::before {
  content: "";

  position: fixed;
  inset: 0;
  z-index: 0;

  background:
    linear-gradient(
      90deg,
      rgba(14, 27, 27, 0.93) 0%,
      rgba(31, 56, 50, 0.78) 42%,
      rgba(105, 75, 46, 0.42) 72%,
      rgba(39, 69, 68, 0.25) 100%
    );
}

/* HEADER */

.portal-choice-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;

  min-height: 100px;
  padding: 0 clamp(2rem, 4vw, 5rem);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.portal-choice-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.18em;

  color: var(--portal-white);
  text-decoration: none;
}

.portal-choice-back {
  padding-bottom: 0.4rem;

  font-size: 0.67rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;

  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);

  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.portal-choice-back:hover {
  color: var(--portal-white);
  border-color: var(--portal-white);
}

/* MAIN LAYOUT */

.portal-choice-layout {
  position: relative;
  z-index: 2;

  width: min(1640px, calc(100% - 6rem));
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 8rem 0 4rem;

  display: grid;
  grid-template-columns:
    minmax(0, 1.3fr)
    minmax(420px, 0.7fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}

/* LEFT TEXT */

.portal-choice-introduction {
  max-width: 850px;
}

.portal-choice-eyebrow {
  margin: 0 0 2rem;

  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;

  color: rgba(255, 255, 255, 0.82);
}

.portal-choice-introduction h1 {
  max-width: 820px;
  margin: 0;

  font-family: "Playfair Display", serif;
  font-size: clamp(4rem, 6.5vw, 7.4rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.035em;

  color: var(--portal-white);
}

.portal-choice-description {
  max-width: 680px;
  margin: 2.3rem 0 0;

  font-size: 1rem;
  line-height: 1.8;

  color: rgba(255, 255, 255, 0.82);
}

/* RIGHT ACCESS AREA */

.portal-choice-access {
  width: min(530px, 100%);
  justify-self: end;
}

.portal-access-heading {
  margin: 0 0 1.3rem;

  font-family: "Playfair Display", serif;
  font-size: clamp(3.2rem, 4.5vw, 4.8rem);
  font-weight: 500;
  line-height: 1;

  color: var(--portal-white);
}

.portal-choice-options {
  display: grid;
  gap: 1.2rem;
}

/* SEPARATE PORTAL BOXES */

.portal-choice-option {
  min-height: 235px;
  padding: clamp(2.2rem, 3vw, 3rem);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  color: var(--portal-black);
  background-color: rgba(250, 249, 246, 0.97);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.2);
}

.portal-option-label {
  margin: 0 0 0.9rem;

  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;

  color: var(--portal-gold);
}

.portal-choice-option h3 {
  margin: 0;

  font-family: "Playfair Display", serif;
  font-size: clamp(2.3rem, 3.3vw, 3.3rem);
  font-weight: 500;
  line-height: 1.05;

  color: var(--portal-black);
}

/* BUTTONS */

.portal-choice-button {
  min-height: 49px;
  margin-top: 1.7rem;
  padding: 0 1.5rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;

  color: var(--portal-white);
  background-color: var(--portal-black);
  border: 1px solid var(--portal-black);
  text-decoration: none;

  transition:
    color 0.25s ease,
    background-color 0.25s ease;
}

.portal-choice-button:hover {
  color: var(--portal-black);
  background-color: transparent;
}

/* KEYBOARD ACCESS */

.portal-choice-logo:focus-visible,
.portal-choice-back:focus-visible,
.portal-choice-button:focus-visible {
  outline: 2px solid var(--portal-gold);
  outline-offset: 4px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .portal-choice-layout {
    width: min(760px, calc(100% - 3rem));
    padding-top: 9rem;

    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .portal-choice-introduction {
    max-width: 700px;
  }

  .portal-choice-access {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 600px) {
  .portal-choice-page {
    background-position: center 58%;
  }

  .portal-choice-page::before {
    background:
      linear-gradient(
        180deg,
        rgba(14, 27, 27, 0.9) 0%,
        rgba(31, 56, 50, 0.76) 48%,
        rgba(105, 75, 46, 0.48) 100%
      );
  }

  .portal-choice-header {
    min-height: 82px;
    padding: 0 1.25rem;
  }

  .portal-choice-back {
    font-size: 0.56rem;
  }

  .portal-choice-layout {
    width: calc(100% - 2.5rem);
    padding: 7rem 0 2.5rem;
  }

  .portal-choice-eyebrow {
    margin-bottom: 1.4rem;
  }

  .portal-choice-introduction h1 {
    font-size: clamp(3.2rem, 15vw, 4.8rem);
  }

  .portal-choice-description {
    margin-top: 1.5rem;
    font-size: 0.9rem;
  }

  .portal-access-heading {
    font-size: 3.2rem;
  }

  .portal-choice-option {
    min-height: 220px;
    padding: 2.2rem 1.6rem;
  }
}

/* COMPACT DESKTOP VIEW */

@media (min-width: 1001px) and (max-height: 900px) {

  .portal-choice-layout {
    padding: 6.25rem 0 1.5rem;
  }

  .portal-choice-introduction h1 {
    font-size: clamp(3.8rem, 5.2vw, 6.2rem);
  }

  .portal-choice-description {
    margin-top: 1.7rem;
  }

  .portal-access-heading {
    margin-bottom: 1rem;
    font-size: 4rem;
  }

  .portal-choice-options {
    gap: 0.9rem;
  }

  .portal-choice-option {
    min-height: 195px;
    padding: 1.8rem 2.5rem;
  }

  .portal-choice-option h3 {
    font-size: 2.75rem;
  }

  .portal-choice-button {
    min-height: 46px;
    margin-top: 1.25rem;
  }

}