:root {
  --bg: #f4f1ea;
  --paper: #ffffff;
  --ink: #1f1a14;
  --muted: #6e6255;
  --accent: #cc5f2f;
  --accent-strong: #a8431a;
  --edge: #d9cfbf;
  --radius: 18px;
  --container: min(1100px, 92vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: #000;
}

body {
  font-family: 'Lexend Exa', sans-serif;
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
}

.privacy-policy-page-wrap {
  width: 80%;
  margin: 0 auto;
  max-width: 900px;
  padding: 50px 25px;
  border-radius: 25px;
  margin-top: 150px;
  background-color: rgba(255, 255, 255, 0.85);

  a.back-to-home {
    background-color: #fff;
    color: #000;
    border-radius: 40px;
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;

    &:hover {
      background-color: #e1e1e1;
    }
  }

  h1, h2, h3, h4, h5, p, li, td, a {
    color: #000;
  }
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.logged-in {
  .site-header { top: 32px; }
  .home-hero { height: calc(100dvh - 32px); }
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  min-height: 50px;
  padding: 0 70px 0 75px;

  .brand {
    font-size: 1px;
    color: rgba(0,0,0,0);
    background: url('../img/logo-olixer.svg') no-repeat center;
    background-size: contain;
    width: 113px;
    height: 18px;
  }

  button.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 45px;
    height: 45px;
    position: relative;

    span {
      position: absolute;
      top: 21px;
      left: 5px;
      display: block;
      width: 35px;
      height: 3px;
      background-color: var(--paper);
      transition: background-color 0.3s ease;

      &::before,
      &::after {
        content: '';
        position: absolute;
        width: 35px;
        height: 3px;
        background-color: var(--paper);
        transition: transform 0.3s ease, opacity 0.3s ease;
        left: 0;
      }

      &::before {
        transform: translateY(-8px);
      }
      &::after {
        transform: translateY(8px);
      }
    }

    &.active {
      span {
        background-color: rgba(255, 255, 255, 0);
        &::before {
          transform: rotate(45deg);
        }
        &::after {
          transform: rotate(-45deg);
        }
      }
    }
  }
}

.menu {
  display: flex;
  list-style: none;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.menu a {
  text-decoration: none;
  color: var(--muted);
}

.header-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 0;
  height: 100dvh;
  background: transparent url('../img/bg-menu.jpg') no-repeat center right;
  z-index: 8;
  transition: all 0.3s ease-in-out;

  &.active {
    width: 100%;
  }

  #menu-main-nav {
    position: absolute;
    top: 0;
    left: 75px;
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    li a {
      display: block;
      font-size: 2.5rem;
      line-height: 2.5rem;
      color: var(--paper);
      padding: 0 0 0 30px;
      font-weight: 200;
    }

    li:first-child a {
      font-weight: 800;

    }
  }
}


.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  height: 100dvh;
  display: flex;
  align-items: center;
  background: url('../img/bg-main.jpg') no-repeat center;
  background-size: cover;
  color: var(--paper);

  .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
  }

  .hero-inner {
    max-width: 1024px;
  }

  .home-hero-logo {
    width: 100%;
    img { 
      display: block;
      width: 60%;
      height: auto;
      margin: 0 auto;
    }
  }

  .home-hero-tagline {
    padding-top: 30vh;
    font-size: 0.85rem;
    font-weight: 200;
    
    span { 
      display: block;
      text-align: center;
    }
  }

  .home-hero-scroll-link {
    margin-top: 0;
    font-size: 1px;
    color: rgba(0, 0, 0, 0);
    background: url('../img/home-down-arrow.svg') no-repeat center center;
    background-size: contain;
    width: 75px;
    height: 75px;
    text-decoration: none;
  }
}

.home-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
}

.home-hero--has-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  z-index: 1;
}

.home-hero--has-video .container {
  position: relative;
  z-index: 2;
}

.olixer-agency-section {
  position: relative;
  margin: 0;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 100vh;
}

.olixer-agency-section__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(21, 18, 14, 0.64) 0%, rgba(21, 18, 14, 0.45) 45%, rgba(21, 18, 14, 0.75) 100%);
}

.olixer-agency-section__inner {
  position: relative;
  z-index: 1;
}

.olixer-agency-section__title {
  margin: 0 0 20px;
  color: var(--paper);
  text-align: center;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 2px;
  padding-top: 12rem;
  padding-bottom: 8rem;
}

.olixer-agency-section__grid {
  display: flex;
  gap: 11%;
  justify-content: center;
}

.olixer-agency-card {
  width: 26%;
  height: 14vh;
  display: flex;
  align-items: center;
  justify-content: center;

  a { 
    display: block;
  }
  
  .olixer-agency-card__image {
    display: block;
    width: 100%;
  }
}

.olixer-country-section {
  position: relative;
  width: 100%;
  min-height: 140px;
  height: 50vh;
  max-height: 540px;
  background-size: cover;
  background-position: center center;

}

.olixer-country-section__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.olixer-country-section__inner {
  position: relative;
  z-index: 1;
  min-height: 140px;
  height: 50vh;
  max-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.olixer-country-section__title {
  margin: 0;
  color: var(--paper);
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.olixer-country-section__mailto-container {
  position: absolute;
  top: 50px;
  right: 75px;
  z-index: 2;
}
.olixer-country-section__mailto {
  color: var(--paper);
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;

  &:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--paper);
    bottom: -5px;
    transform: scaleX(0);
    transform-origin: 0 0;
    transition: all 0.3s ease-in-out;
  }
  
  &:hover {
    &:before {
      transform: scaleX(1);
    }
  }
}

.editor-styles-wrapper .olixer-country-section.is-editor-preview {
  width: min(100%, 920px);
  margin-inline: auto;
  min-height: 62vh;
}

.editor-styles-wrapper .olixer-country-section.is-editor-preview .olixer-country-section__inner {
  min-height: 62vh;
}


.site-footer {
  padding: 0;
  min-height: 230px;
  background: #000 url(../img/bg-footer-right.png) no-repeat right top;
  background-size: contain;
  color: var(--paper);

  .footer-inner {
    width: 100%;
    background: transparent url(../img/bg-footer-left.png) no-repeat left center;
    background-size: contain;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .footer-container {
      display: flex;
      justify-content: space-between;
      margin: 60px auto 20px auto;
      width: min(1100px, 70vw);

      p, nav {
        font-size: 0.8rem;
        font-weight: 200;
        padding: 0;
        margin: 0;
      }

      a {
        color: var(--paper);
        text-decoration: none;
      }
    }
  
  .footer-logo, .footer-contact {
    height: 24px;
    margin-bottom: 50px;
  }

  .footer-contact {
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 0.9rem;
    font-weight: 700;
  }

  .footer-logo {
    background: transparent url('../img/logo-olixer.svg') no-repeat center left;
    background-size: contain;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.desktop-only { display: block; }
.mobile-only  { display: none; }

@media (max-width: 768px) {
  .mobile-only { display: block; }
  .desktop-only { display: none; }

  .header-inner {
    min-height: 64px;
    padding: 0 20px;
  }

  .header-nav #menu-main-nav {
    left: 10px;
    top: 150px;
    height: auto;
    justify-content: flex-start;
  }

  .header-nav #menu-main-nav li a {
    font-size: 1.7rem;
    line-height: 2rem;
    padding-left: 12px;
  }

  .home-hero .hero-inner {
    max-width: 92vw;
  }

  .home-hero .home-hero-logo img {
    width: 80%;
  }

  .home-hero .home-hero-tagline {
    padding-top: 30vh;
    padding-left: 10%;
    padding-right: 10%;
    font-size: 0.78rem;
    text-align: center;

    span { display: inline; }
  }

  .home-hero .home-hero-scroll-link {
    width: 58px;
    height: 58px;
    margin-bottom: 5vh;
  }

  .olixer-agency-section {
    height: auto;
    min-height: 60vh;
    padding: 0;
  }

  .olixer-agency-section__title {
    font-size: 2rem;
    letter-spacing: 0;
    padding-top: 5rem;
    padding-bottom: 1.25rem;
  }

  .olixer-agency-section__grid {
    gap: 4.5vh;
    flex-direction: column;
    align-items: center;
  }

  .olixer-agency-card {
    width: min(35vw, 360px);
    height: auto;
  }

  .olixer-country-section__mailto-container {
    top: 30px;
    right: 30px;
  }

  .olixer-country-section {
    min-height: 50vh;
  }

  .olixer-country-section__inner {
    min-height: 50vh;
    padding: 5rem 1rem;
  }

  .olixer-country-section__title {
    font-size: 3rem;
  }

  .site-footer {
    background-size: auto 75%;

    .footer-inner {
      background: none;
    }
    .footer-container {
      width: min(1100px, 90vw);
      margin: 40px auto 16px;
      gap: 14px;
      flex-direction: column;
    }

    .footer-logo { margin-bottom: 80px; }
   
    .footer-contact { margin-bottom: 80px; }

    .footer-nav {
      p { font-size: 0.7rem; }
      ul {
        padding-top: 10px;
        padding-bottom: 25px;
      }
    }
  }
  

}


