* {
  box-sizing: border-box;
}
@font-face {
  font-family: 'ResolveRegular';
  src: url('./fonts/regular/b8737e16-34a5-46f7-8d92-cc6f75cff6cd.woff2') format('woff2'), url('./fonts/regular/7f3cf28b-22dd-4c63-ae50-b93e7fa1137e.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ResolveLight';
  src: url('./fonts/light/76986c28-67da-4137-b205-33c6872bd6df.woff2') format('woff2'), url('./fonts/light/e989c4fe-d421-4788-8ef6-e31554c336d4.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg-color: #252629;
  --grey: #cbd5e1;
  --blue: #8facdb;
  --font-regular: 'ResolveRegular', sans-serif;
  --font-light: 'ResolveLight', sans-serif;
}
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-regular);
  color: #252629;
}
h1 {
  font-size: 2rem;
  margin: 0;
  color: #fff;
  text-transform: uppercase;
}
h2 {
  font-size: 1.25rem;
  color: var(--grey);
  margin: 0;
  text-transform: uppercase;
}
h3 {
  font-size: 1.5rem;
  margin: 0 0 2rem;
  text-transform: uppercase;
}
p {
  font-family: var(--font-light);
  font-size: 1rem;
  /* color: #cbd5e1; */
}
a {
  font-family: var(--font-regular);
  color: var(--blue);
  text-decoration: none;
  transition: 0.2s;
}
button {
  font-family: var(--font-regular);
}
.btn {
  background: var(--blue);
  color: #fff;
  display: inline-block;
  border-radius: 30px;
  padding: 1rem 2rem;
  transition: 0.2s;
}
.btn:hover {
  background: var(--bg-color);
}
.container {
  padding-top: 100px;
}
.inner-container {
  margin: 2rem;
}
header {
  background-color: var(--bg-color);
  border-bottom: 1px solid #5b5758;
  position: fixed;
  width: 100%;
  z-index: 1;
}
header .inner-wrapper {
  display: flex;
  align-items: center;
  padding: 1rem;
  color: #fff;
  max-width: 1200px;
  margin: auto;
}
header nav,
header .spacer {
  flex: 1;
}
.logo {
  flex: 0 0 auto;
}
.logo img {
  max-height: 64px;
}
#menu-toggle {
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  color: #fff;
  gap: 3px;
}
#menu-toggle:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 5px;
  top: calc(100% - 4px);
  background: #fff;
  opacity: 0;
}
#menu-toggle.show:after {
  opacity: 1;
  transition: 0.2s;
}
#menu-toggle.show svg {
  transition: 0.3s;
}
#menu-toggle.show svg {
  transform: rotate(180deg) !important;
}
#mega-nav {
  position: absolute;
  top: calc(100% + 1px);
  background: var(--bg-color);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  left: 0;
  right: 0;
  display: none;
  transition: all 0.3s ease;
}
#mega-nav a {
  color: #fff;
}
#mega-nav.show {
  display: block;
}
#mega-nav .inner-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1.5rem;
}
#mega-nav:before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  bottom: 0;
}
#mega-nav .inner-wrapper .image-wrap {
  width: 50%;
  overflow: hidden;
}
#mega-nav .inner-wrapper .image-wrap img {
  width: 100%;
  display: block;
  transition: 0.5s;
}
#mega-nav a {
  display: flex;
  gap: 1.5rem;
  font-size: 1.5rem;
}
#mega-nav a:hover {
  color: var(--blue);
}
#mega-nav a:hover img {
  transform: scale(1.1);
}
@media (max-width: 799px) {
  #mega-nav {
    height: 100vh;
  }
}
@media (min-width: 800px) {
  #mega-nav:before {
    top: -60px;
  }
  #mega-nav .inner-wrapper {
    flex-direction: row;
    padding: 3rem 1.5rem;
  }
  #mega-nav a {
    font-size: 2rem;
  }
}

/* Responsive tweaks */
@media (min-width: 600px) {
  h1 {
    font-size: 3rem;
  }
  h3 {
    font-size: 1.75rem;
  }
  h4 {
    font-size: 1.25rem;
  }
  p {
    font-size: 1.2rem;
  }
  .logo img {
    max-height: 100px;
  }
  .container {
    padding-top: 136px;
  }
}
/*
** SECTIONS **
*/
/* Hero */
.hero {
  background: url('./img/XP1HomePageCropped.webp') no-repeat center center;
  background-size: cover;
  height: 75vw;
  max-height: 700px;
  position: relative;
}
.hero .content {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.5rem;
}
@media (min-width: 800px) {
  .hero .content {
    left: 1.5rem;
    bottom: 1.5rem;
    padding: 1rem;
  }
}
/* What We Offer */
.what-we-offer {
  margin: 2rem auto;
  max-width: 1200px;
}
.what-we-offer .image img {
  width: 100%;
  object-fit: cover;
}

/* Accordion */
.accordion {
  margin: 0 0 2rem;
}
.accordion-item {
  border-bottom: 1px solid #000;
}
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
  font-weight: bold;
}
.accordion-header h4 {
  text-transform: uppercase;
  margin: 0;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  background: #fff;
}
.accordion-content p {
  margin: 0;
}
.accordion-content.open {
  max-height: 400px;
  padding: 0 1rem 1.5rem;
  transition: max-height 0.6s ease;
}
.accordion a {
  text-decoration: underline;
}
.accordion a:hover {
  color: var(--bg-color);
}
.icon {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}
@media (min-width: 800px) {
  .what-we-offer {
    margin: 4rem auto;
  }
  .what-we-offer h3 {
    margin: 0 0 1.5rem;
  }
  .what-we-offer .inner-wrapper {
    display: flex;
    gap: 2rem;
  }
  .what-we-offer .image,
  .what-we-offer .accordion {
    flex: 1;
  }
  .what-we-offer .image {
    display: flex;
    overflow: hidden;
    height: 100%;
  }
  .accordion-item:first-child .accordion-header {
    padding-top: 0;
  }
}
@media (min-width: 1024px) {
  .what-we-offer .image {
    height: 420px;
  }
}
/* Kolby */
.kolby {
  display: flex;
  gap: 2rem;
  flex-direction: column-reverse;
  margin: 2rem auto;
  max-width: 1200px;
}
.kolby .image img {
  width: 100%;
}
.kolby .headshot {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.kolby .headshot img {
  max-width: 80px;
}
.kolby h3 {
  margin: 0;
}
@media (max-width: 799px) {
  .kolby h3 {
    font-size: 1.25rem;
  }
  .kolby p {
    text-align: center;
  }
}
@media (min-width: 800px) {
  .kolby {
    flex-direction: row-reverse;
    align-items: center;
    margin: 4rem auto;
  }
  .kolby .headshot img {
    max-width: 100px;
  }
  .kolby > div {
    flex: 1;
  }
}
/* Book Now */
.page-book-now {
  margin-top: 2rem;
  text-align: center;
}
.page-book-now .iframe-container {
  margin: 0 1.5rem;
}
.page-book-now h1 {
  color: var(--bg-color);
}
.page-book-now h3 {
  margin: 0 0 1rem;
}
.page-book-now .address {
  margin-bottom: 0.5rem;
}
.page-book-now .address a {
  color: initial;
}
.book-now {
  text-align: center;
  margin: 3rem 0;
}
.book-now h3 {
  margin-bottom: 0;
}
.book-now .button {
  margin-top: 2rem;
}
@media (max-width: 799px) {
  .page-book-now iframe {
    height: 820px;
  }
}
@media (min-width: 800px) {
  .book-now {
    display: flex;
    flex-direction: row-reverse;
    text-align: left;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 3rem auto;
  }
  .book-now .button {
    margin-top: 0;
    min-width: 156px;
  }
}

/* Footer */
footer {
  background-color: var(--bg-color);
  color: var(--blue);
  padding: 1rem;
}
footer .inner-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  margin: 2rem auto;
}
footer .details a {
  color: var(--blue);
}

footer .details a:hover {
  color: #fff;
}
footer .address {
  font-size: 1.25rem;
}
footer .address a {
  color: #fff;
}
footer .address a:hover {
  color: var(--blue);
}
footer .details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 800px) {
  footer .inner-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }
  footer .details {
    align-items: flex-start;
  }
}
