@font-face {
  font-display: swap;
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/outfit-v15-latin-regular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/outfit-v15-latin-500.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/outfit-v15-latin-600.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/outfit-v15-latin-700.woff2") format("woff2");
}
@font-face {
  font-display: swap; 
  font-family: 'Bree Serif';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/bree-serif-v18-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap; 
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/raleway-v37-latin-regular.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/raleway-v37-latin-600.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/raleway-v37-latin-700.woff2') format('woff2'); 
}

:root {
  /* --primary: #0c4960; */
  --primary: #ffffff;
  --secondary: #383838;
  --dark: #1a1a1a;
  --white: #fafbfc;
  --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem);
  --bodyFontSize: 1rem;
  --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem;
}

*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Raleway", sans-serif;
}

.title {
  font-size: var(--headerFontSize);
  font-weight: 900;
  line-height: 1.2em;
  text-align: inherit;
  max-width: 43.75rem;
  margin: 0 0 1rem 0;
  position: relative;
  font-family: "Bree Serif", serif;
}

.text {
  font-size: var(--bodyFontSize);
  line-height: 1.5em;
  text-align: inherit;
  width: 100%;
  max-width: 40.625rem;
  margin: 0;
}

:root {
  /* --nav-bg: #0c4960; */
  --nav-bg: #ffffff;
  --nav-border: rgba(255, 255, 255, 0.15);
  /* --nav-text: #ffffff; */
  --nav-text: #010101;
}

#cs-navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  box-sizing: border-box;
}

/* Container */
#cs-navigation .cs-container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

/* Logo */
#cs-navigation .cs-logo {
  width: 9.1875rem;
  display: flex;
  align-items: center;
  margin-right: auto;
}
#cs-navigation .cs-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Shared link styles */
#cs-navigation .cs-ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#cs-navigation .cs-li-link {
  color: var(--nav-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  line-height: 1.2;
}
#cs-navigation .cs-li-link:hover,
#cs-navigation .cs-li-link.cs-active {
  /* color: rgb(235, 235, 235); */
  color: rgb(94, 94, 94);
}

#cs-navigation .cs-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

/* ==========================
   Mobile
   ========================== */
@media (max-width: 63.9375rem) {
  body.cs-open {
    overflow: hidden;
  }

  /* Toggle button */
  #cs-navigation .cs-toggle {
    width: 3.5rem;
    height: 3.5rem;
    margin-left: auto;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Burger lines */
  #cs-navigation .cs-box {
    width: 1.75rem;
    height: 1rem;
    position: relative;
  }
  #cs-navigation .cs-line {
    position: absolute;
    left: 50%;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    /* background: #fff; */
    background: var(--dark);
    transform: translateX(-50%);
    transition: transform 0.3s, top 0.3s, opacity 0.2s;
  }
  #cs-navigation .cs-line1 {
    top: 0;
  }
  #cs-navigation .cs-line2 {
    top: 50%;
    transform: translate(-50%, -50%);
  }
  #cs-navigation .cs-line3 {
    top: 100%;
    transform: translate(-50%, -100%);
  }

  /* Animate into X when open */
  #cs-navigation.cs-active .cs-line1 {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  #cs-navigation.cs-active .cs-line2 {
    opacity: 0;
  }
  #cs-navigation.cs-active .cs-line3 {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  /* Dropdown panel */
  #cs-navigation .cs-ul-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
    border-bottom: 1px solid var(--nav-border);
  }

  #cs-navigation.cs-active .cs-ul-wrapper {
    max-height: 70vh;
  }

  #cs-navigation .cs-ul {
    padding: 1.5rem 0 2rem;
    max-height: 70vh;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
  }

  #cs-navigation .cs-li {
    width: 100%;
    text-align: center;
  }

  #cs-navigation .cs-button-solid {
    display: none;
  }
}

/* ==========================
   Desktop
   ========================== */
@media (min-width: 64rem) {
  #cs-navigation .cs-container {
    /* height: 5.8125rem; */
    height: 7rem;
    padding: 0 1rem;
  }

  #cs-navigation .cs-toggle {
    display: none;
  }

  #cs-navigation .cs-logo {
    width: 12.3125rem;
  }

  #cs-navigation .cs-ul-wrapper {
    margin-left: auto;
  }

  #cs-navigation .cs-ul {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  #cs-navigation .cs-li {
    padding: 0;
  }

  #cs-navigation .cs-li-link {
    font-size: 1rem;
    justify-content: flex-start;
  }
}

/*======================================*/
/*---------------- HERO ----------------*/
/*======================================*/

/*-------- MOBIL 360PX --------*/

@media (min-width: 0rem) {
  #hero {
    text-align: center;
    /* padding: clamp(12.5rem, 25.95vw, 18.75em) 1rem; */
    padding: clamp(9rem, 25.95vw, 9rem) 1rem;
    margin-top: 5rem;
    /* padding-bottom: 12.5rem; */
    overflow: hidden;
    position: relative;
    z-index: 1;
    /* min-height: 100svh; */
    display: flex;
    align-items: center;
  }
  #hero .background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
  }
  #hero .background:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #303b47;
    opacity: 0.7;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
  }
  #hero .background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #hero .container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
  }
  #hero .content {
    width: 100%;
    /* max-width: 39.375rem; */
    max-width: 45rem;
  }
  #hero .topper {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.2em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 1rem;
    /* color: #fff; */
    /* color: #B4A989; */
    /* color: #E6D8C3; */
    color: #D8C4AA;
    opacity: 0.75;
    display: inline-block;
    position: relative;
  }
  #hero .topper:before {
    content: "";
    width: clamp(4.375rem, 5vw, 6.25rem);
    height: 2px;
    margin-right: 1.75rem;
    /* background: var(--primary); */
    /* background: #B4A989; */
    /* background: #E6D8C3; */
    background: #D8C4AA;
    opacity: 0.75;
    position: absolute;
    display: block;
    top: 50%;
    transform: translateY(-50%);
    right: 100%;
  }
  #hero .topper:after {
    content: "";
    width: clamp(4.375rem, 5vw, 6.25rem);
    height: 2px;
    margin-left: 1.75rem;
    /* background: var(--primary); */
    /* background: #B4A989; */
    /* background: #E6D8C3; */
    background: #D8C4AA;
    opacity: 0.75;
    position: absolute;
    display: block;
    top: 50%;
    transform: translateY(-50%);
    left: 100%;
  }
  #hero .title {
    /* font-size: clamp(1.7rem, 6.4vw, 3.8125rem); */
    font-size: clamp(1.7rem, 7.2vw, 4.25rem);
    font-weight: 700;
    line-height: 1.2em;
    text-align: center;
    max-width: 51.8125rem;
    margin: 0 auto clamp(1rem, 4vw, 1.5rem) 0;
    color: #fff;
    position: relative;
  }
  #hero .text {
    /* font-size: clamp(1rem, 1.95vw, 1.25rem); */
    font-size: clamp(1rem, 2.1vw, 1.35rem);
    line-height: 1.5em;
    text-align: center;
    width: 100%;
    max-width: clamp(29rem, 60vw, 38.785rem);
    margin: 0 auto 0;
    margin-bottom: 2.25rem;
    color: #fff;
  }
  #hero .button-solid {
    font-size: 1rem;
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    margin: 0;
    color: var(--dark);
    min-width: 9.375rem;
    padding: 0 1.5rem;
    /* background-color: var(--primary); */
    /* background-color: var(--secondary); */
    /* background-color: #B4A989; */
    background-color: #D8C4AA;
    border-radius: 0.25rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
  }
  #hero .button-solid:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    /* background: #000; */
    background: #C9B296;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0.25rem;
    transition: width 0.3s;
  }
  #hero .button-solid:hover {
    /* color: var(--white); */
    color: #1F2E3A;
  }
  #hero .button-solid:hover:before {
    width: 100%;
  }
}

/*-------- LITEN DESKTOP 1024PX -------*/

@media (min-width: 64rem) {

  #hero .content {
    width: 100%;
    /* max-width: 48rem; */
    max-width: 65rem;
    margin: 0 auto;
    padding: 0 1rem;
  }

  #hero .title {
    max-width: 100%;
    text-align: center;
  }

  #hero .text {
    max-width: 70%;
    text-align: center;
  }
}

/*======================================*/
/*--------------- FOOTER ---------------*/
/*======================================*/

/*-------- MOBILE / BASE --------*/

#footer {
  /* padding: var(--sectionPadding); */
  /* padding-bottom: clamp(1.875rem, 5vw, 3.125rem); */
  padding: clamp(1.875rem, 5vw, 2rem);
  background-color: var(--primary);
}

#footer .container {
  width: 100%;
  max-width: 34.375rem;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

/* Logo + text */
#footer .logo-group {
  width: 100%;
}

#footer .logo {
  width: 13.125rem;
  margin-bottom: 1.5rem;
}

#footer .logo-img {
  width: 100%;
  height: auto;
}

#footer .text {
  font-size: 1rem;
  line-height: 1.5em;
  color: var(--dark);
  margin: 0;
  max-width: 40ch;
}

/* Headers */
#footer .header {
  font-size: 1.25rem;
  line-height: 1.5em;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--dark);
}

/* Lists */
#footer .ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

#footer .li {
  list-style: none;
}

#footer .link,
#footer .location {
  font-size: 1rem;
  line-height: 1.5em;
  color: var(--dark);
  text-decoration: none;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
}

#footer .link:hover {
  /* color: rgb(235, 235, 235); */
  color: rgb(94, 94, 94);
}

#footer .icon {
  width: 1.25rem;
  height: auto;
  display: block;
  margin-right: 0.5rem;
}

/* GDPR */
#footer .privacy-group {
  width: 100%;
}

#footer .privacy-text {
  font-size: 1rem;
  line-height: 1.5em;
  color: var(--dark);
  margin: 0;
  text-align: left;
  max-width: 50ch;
}

/* Credit */
.footer-credit {
  margin-top: 2.5rem;
  font-size: 0.875rem;
  text-align: left;
  /* color: rgba(255, 255, 255, 0.7); */
  color: var(--dark);
}

.footer-credit a {
  /* color: var(--dark); */
  color: blue;
  text-decoration: underline;
}

.footer-credit a:hover {
  color: royalblue;
}

/*-------- TABLET --------*/

@media (min-width: 48rem) {
  #footer .container {
    max-width: 80rem;
    gap: clamp(3rem, 7vw, 4rem);
  }
}

/*-------- DESKTOP (GRID LAYOUT) --------*/

@media (min-width: 64rem) {
  #footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    gap: 4rem;
  }

  /* LEFT */
  #footer .logo-group {
    justify-self: start;
    max-width: 28rem;
  }

  /* CENTER */
  #footer .ul-wrapper {
    justify-self: center;
    text-align: left;
    max-width: 22rem;
  }

  /* RIGHT */
  #footer .privacy-group {
    justify-self: end;
    max-width: 26rem;
  }

  .footer-credit {
    /* margin-top: 5rem; */
    margin-top: 0.9rem;
    text-align: center;
  }
}

#footer .privacy-text {
  margin-top: 1.75rem;
}
