:root {
  --primary-color: #fff;
  --text-color: #333;
  --accent-color: #e0dfd4;
  --secondary-color: #e07b00;
  --bg-light: #faf5ea;

  --transition: all 0.3s ease-in-out;
  --accent-dark: #222;
}

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

button {
  background-color: transparent;
  cursor: pointer;
  border: none;
}

html {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  tab-size: 4;
  scroll-behavior: smooth;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

body {
  margin: 0;
}
.hero {
  background-color: #333;
  height: 100vh;
  width: 100%;
  /* background: url('./video.mp4') no-repeat center center/cover fixed; */
  /* display: flex; */
  /* justify-content: center;
  flex-direction: column; */
  position: relative;

  .gradient-mask {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.6)
    );
    /* background: #000; */
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    /* z-index: -1; */
    display: none;
    @media screen and (max-width: 1200px) {
      display: block;
      /* height: auto; */
    }
  }

  .video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.5;
    @media screen and (max-width: 768px) {
      display: none;
    }
  }

  @media screen and (max-width: 768px) {
    background: url('https://images.pexels.com/photos/1813346/pexels-photo-1813346.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2')
      no-repeat center center/cover;
    background-attachment: scroll;
    height: auto;
  }
}

.app-container,
.center-container {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;

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

.full-width-container {
  width: 100%;
  padding: 0 2rem;
  @media screen and (max-width: 1200px) {
    padding: 0 1rem;
  }
}

header {
  background: transparent;
  /* height: 84px; */

  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 10;
  height: 200px;
  position: relative;
  /* z-index: 19; */

  .logo {
    max-width: 300px;
    * {
      color: white;
    }
    img {
      max-width: 100%;
      display: block;
    }
  }

  .menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 2rem;

    @media screen and (max-width: 768px) {
      display: block;
    }
  }

  nav {
    ul {
      display: flex;
      gap: 2rem;
      li {
        a {
          font-size: 1rem;
          text-decoration: none;
          color: var(--accent-color);

          &.featured {
            border-radius: 50px;
            background-color: var(--secondary-color);
            color: var(--primary-color);
            padding: 0.8rem 2rem;
            transition: var(--transition);
          }

          &:hover {
            color: var(--accent-color);
          }
        }
      }
    }

    .close-menu {
      display: none;
      color: var(--text-color);
      font-size: 2rem;
      position: absolute;
      top: 0;
      right: 0;
      z-index: 5;
      @media screen and (max-width: 768px) {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
        z-index: 6;
        color: var(--primary-color);
        font-size: 2rem;
      }
    }

    @media screen and (max-width: 768px) {
      display: none;

      &.show {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
        align-items: center;
        justify-content: center;
      }

      justify-content: space-between;

      ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        font-size: 1.5rem;
        font-weight: 600;
        gap: 2rem;
        li a {
          font-size: 1.5rem;
          color: var(--primary-color);
        }
      }
    }
  }
}

.hero-about {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* height: 200px; */
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: var(--bg-light);
  font-size: 1rem;
  font-weight: 200;
  padding: 2rem;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
    position: relative;
    line-height: 1.8;
    padding: 0;
    padding-bottom: 2rem;
  }

  .featured {
    font-size: 2rem;
    font-weight: 500;
  }
}

.services-section {
  min-height: 70vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--accent-dark);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  .services-title {
    font-family: 'Unna', serif;
    color: var(--accent-color);
    font-size: 7rem;

    @media screen and (max-width: 1200px) {
      font-size: 5rem;
      line-height: 1;
      margin-bottom: 2rem;
    }
  }
  .services-items {
    display: flex;
    /* border: solid 1px var(--accent-color); */
    align-items: center;
    justify-content: flex-end;
    /* max-width: 100%; */
    align-self: flex-end;
    justify-self: flex-end;
    width: 70%;
    color: var(--accent-color);

    @media screen and (max-width: 1200px) {
      width: 100%;
      align-self: flex-start;
      justify-self: center;
      flex-direction: column;
    }

    .service-col-title {
      /* font-family: 'Unna', serif; */
      font-size: 1.2rem;
      font-weight: 300;
    }
    .service-col {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      justify-content: flex-end;
      @media screen and (max-width: 1200px) {
        align-items: flex-start;
        justify-content: center;
        /* text-align: center; */
        width: 100%;
      }
      ul {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        li {
          font-weight: 200;
        }
      }
    }
  }

  @media screen and (max-width: 1200px) {
    padding: 2rem;
    min-height: auto;
  }
}

.section-header {
  margin-bottom: 2rem;
}

.cta-container {
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-columns: repeat(2, 1fr);
  height: 100vh;

  @media screen and (max-width: 1200px) {
    grid-template-columns: 1fr;
    height: auto;
  }

  .title {
    color: var(--accent-dark);
    margin-bottom: 0;
  }

  .cta-image {
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 0;

    @media screen and (max-width: 1200px) {
      /* height: 200px; */
      display: none;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      overflow: clip;
      aspect-ratio: 2/3;
    }
    .mask {
      width: 100%;
      height: 100%;
      background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.7) 100%
      );
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      display: block;
      overflow: clip;
      aspect-ratio: 2/3;
    }
  }
  .cta-content {
    padding: 5rem;
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    /* flex: 1; */
    background-color: var(--accent-color);
  }
  @media screen and (max-width: 1200px) {
    grid-template-columns: repeat(1, 1fr);
    height: auto;
  }
}

.above-footer-container {
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-columns: repeat(2, 1fr);
  height: 100vh;
  position: relative;

  @media screen and (max-width: 1200px) {
    grid-template-columns: repeat(1, 1fr);
    height: auto;
  }

  .phrase-container {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 60%;
    text-align: center;
    z-index: 9;

    @media screen and (max-width: 1200px) {
      max-width: 100%;
      padding: 2rem;
    }
    .phrase {
      text-align: center;
      font-size: 4rem;
      font-family: 'Unna', serif;
      color: var(--accent-dark);
      font-weight: bold;
      line-height: 1;

      @media screen and (max-width: 768px) {
        color: var(--accent-color);
        padding: 1rem;
        background-color: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
      }
    }
    .phrase-author {
      text-align: center;
      font-size: 1rem;
      /* font-family: 'Unna', serif; */
      color: var(--accent-dark);
      margin-top: 2rem;
      display: block;
    }
  }

  .above-footer-content {
    height: 100%;
    background-color: var(--accent-color);

    position: relative;
    img {
      max-width: 200px;
      object-fit: cover;
      aspect-ratio: 2/3;
      position: absolute;
      bottom: 5rem;
      left: 2rem;
      filter: grayscale(0.4);

      @media screen and (max-width: 1200px) {
        display: none;
      }
    }
  }

  .above-footer-image {
    height: 100%;
    overflow: hidden;
    position: relative;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      overflow: clip;
      aspect-ratio: 2/3;
      filter: grayscale(0.4);
    }

    .mask {
      width: 100%;
      height: 100%;
      background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.7) 100%
      );
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      display: block;
      overflow: clip;
      aspect-ratio: 2/3;

      @media screen and (max-width: 1200px) {
        display: none;
      }
    }
  }
}

footer {
  min-height: 300px;
  height: auto;
  background: var(--accent-dark);
  /* text-align: center; */
  padding: 2rem;
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  .socials {
    display: flex;
    width: 100%;
    gap: 1rem;
    color: #fff;
    text-decoration: none;

    @media screen and (max-width: 768px) {
      justify-content: center;
    }
    a {
      color: #fff;
      font-size: 1.5rem;
      text-decoration: none;
      transition: var(--transition);
      &:hover {
        transform: translateY(-5px);
        opacity: 0.8;
      }
    }
  }
  .footer-address {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    opacity: 0.7;
    line-height: 1.5;

    @media screen and (max-width: 768px) {
      flex-direction: column;
      gap: 3rem;
      text-align: center;
      justify-content: center;
      align-items: center;
    }
  }
}

.btn {
  min-width: 320px;
  padding: 1.5rem 2rem;
  display: flex;
  text-align: center;
  align-items: center;
  font-family: 'Bebas Neue', sans-serif;
  text-decoration: none;
  font-size: 1.5rem;
  display: inline-block;
  transition: var(--transition);
  font-weight: 400;

  border-radius: 100px;

  &.light {
    background-color: var(--primary-color);
    color: var(--text-color);

    &:hover {
      opacity: 0.8;
    }
  }
  &.dark {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    &:hover {
      opacity: 0.9;
    }
  }
}

.title {
  font-family: 'Unna', serif;
  font-size: 7rem;
  display: block;
  line-height: 0.8;

  @media screen and (max-width: 768px) {
    font-size: 4rem;
    text-align: center;
    line-height: 1;
  }
}

.text {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.5;
  /* margin-bottom: 1rem; */
  color: var(--text-color);
  @media screen and (max-width: 768px) {
    text-align: center;
  }
}

.text-primary {
  color: var(--primary-color);
}

section {
  transition: all 0.6s ease;
  opacity: 0;
}
.fade-up {
  transform: translateY(40px);
}

.fade-left {
  transform: translateX(-40px);
}

.fade-scale {
  transform: scale(0.9);
}

.animate {
  opacity: 1;
  transform: none;
}
