/*
Theme Name: Bones
Theme URI: https://saltbone.com
Author: Saltbone
Description: A lightweight and minimalist WordPress theme designed for custom websites.
Version: 1.0.0
License: Proprietary - All rights reserved. Redistribution or modification is not permitted without express permission from Saltbone.
Text Domain: bones
*/

@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Cedarville+Cursive&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Parkinsans:wght@300..800&display=swap');

:root {
  --font-heading: 'Alfa Slab One', sans-serif;
  --font-text: 'Lato', sans-serif;
  --font-parkinsas: 'Parkinsas', sans-serif;
  --font-cedarville: 'Cedarville Cursive', sans-serif;
  --color-primary: #1c1c1e;
  --color-accent: #E8E1D9;
  --color-lightgray: #CCCCCC;
  --color-olive: #6B8E23;
  --color-rust: #B7410E;
  --color-red: #B22222;
}

.primary {
  color: var(--color-primary);
}

.white {
  color: white;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes swing {
  0% {
    transform: rotate(-3deg);
  }

  50% {
    transform: rotate(3deg);
  }

  100% {
    transform: rotate(-3deg);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes driedInk {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0.8;
  }
}

body {
  margin: 0;
}

h1 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin: 0 0 25px;
}

h2 {
  font-family: var(--font-heading);
  font-size: 38px;
  line-height: 44px;
  font-weight: 400;
  color: var(--color-primary);
  margin: 0 0 25px;  

  @media (max-width: 900px) {
    font-size: 32px;
    line-height: 40px;
    font-weight: 400;
  }
}

h3 {
  font-size: 48px;
  line-height: 54px;
  font-weight: 400;
  font-family: var(--font-heading);
  margin: 0 0 25px;
  
}

h4 {
  font-size: 32px;
  line-height: 36px;
  font-weight: 400;
  font-family: var(--font-text);
  margin: 0 0 20px;
}

h5 {
  font-family: var(--font-text);
  font-size: 24px;
  line-height: 30px;
  margin: 0 0 10px;
}


p {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 22px;
  margin: 0 0 10px;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  font-family: var(--font-text);

  &.btn {
    border: solid 1px var(--color-primary);
    padding: 13px 45px 15px;
    text-transform: uppercase;
    transition: 0.4s;
    margin-top: 25px;
    font-weight: 600;

    &.white {
      border-color: white;
      color: white;
    }

    &:hover {
      color: white;
      background-color: var(--color-primary);
      border-color: var(--color-primary);

      &.white {
        background-color: white;
        border-color: white;
        color: var(--color-primary);
      }
    }
  }


}

button {
  color: var(--color-primary);
  font-family: var(--font-text);
  background: transparent;
  border: solid 1px var(--color-primary);
  padding: 14px 45px 15px;
  text-transform: uppercase;
  transition: 0.4s;
  margin-top: 25px;
  font-weight: 600;

  &.btn {


    &.white {
      border-color: white;
      color: white;
    }

    &:hover {
      color: white;
      background-color: var(--color-primary);
      border-color: var(--color-primary);

      &.white {
        background-color: white;
        border-color: white;
        color: var(--color-primary);
      }
    }
  }

  &:hover {
    cursor: pointer;
  }
}

footer {
  background-color: var(--color-primary);
  .content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
    padding: 25px 25px 15px 25px;

    img.footer-logo {
      width: 100%;
      max-width: 150px;
    }

    p {
      color: white;
      margin: 0;
      font-size: 14px;
    }
  }
}

.form-wrapper {
  width: 75%;
}

.wpforms-container-full {
  margin: 0 !important;
  width: 100% !important;

  input,
  textarea {
    max-width: none !important;
    background: transparent !important;
    color: white !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: solid 2px white !important;
    font-family: var(--font-text) !important;
    padding: 0 !important;

    &::placeholder {
      font-family: var(--font-text) !important;
      color: white !important;
      opacity: 1 !important;
      text-transform: uppercase !important;
    }

    &:focus {
      outline: none !important;
      box-shadow: none !important;
    }
  }

  button.wpforms-submit {
    background: var(--color-primary) !important;
    color: white !important;
    border: solid 1px white !important;
    border-radius: 0 !important;
    padding: 15px 45px !important;
    text-transform: uppercase !important;
    font-family: var(--font-text) !important;
    font-weight: 600 !important;
    transition: 0.4s !important;
    height: 100% !important;

    &:hover {
      background: white !important;
      color: var(--color-primary) !important;
    }
  }

}


.page-template-page-home {
  .site-header {
    display: none;
  }
}

.home-hero {
  height: 100vh;
  position: relative;
  background: white;
  opacity: 0;
  animation: fadeIn 2s forwards;

  video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .images-wrapper {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    img {
      width: 100%;
      max-width: 1000px;

      &.partner-logo {
        width: 50%;
        max-width: 250px;
        margin-top: 15px;
      }
    }
  }

  .clipped-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;

    .clipped-text {
      position: absolute;
      top: 0;
      width: 100vw;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      color: var(--color-primary);
      overflow: hidden;
      background: #FFF;
      mix-blend-mode: lighten;

      h1 {
        font-size: 250px;
        line-height: 240px;
        margin: 0;
        transform: translateY(300px);
        text-align: center;
        width: 75%;
      }
    }
  }

  @media (max-width: 1400px) {
    .clipped-wrapper {
      .clipped-text {
        h1 {
          font-size: 190px;
          line-height: 180px;
        }
      }
    }
  }

  @media (max-width: 1000px) {
    .clipped-wrapper {
      .clipped-text {
        h1 {
          font-size: 140px;
          line-height: 130px;
        }
      }
    }
  }

  @media (max-width: 768px) {
    .clipped-wrapper {
      .clipped-text {
        h1 {
          font-size: 90px;
          line-height: 90px;
          width: 100%;
        }
      }
    }
  }

  @media (max-width: 450px) {
    .clipped-wrapper {
      .clipped-text {
        h1 {
          font-size: 70px;
          line-height: 70px;
        }
      }
    }
  }

  




}

.home-about {
  padding: 125px 65px;
  display: flex;

  .content-wrapper {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;

    .media {
      width: 40%;
      position: relative;

      &.animate {
        animation: driedInk 4s forwards;
      }



      img {
        width: 100%;
      }
    }

    .content {
      width: 60%;
      text-align: left;

      h2 {
        margin-bottom: 15px;
        color: var(--color-red);
      }

      h4 {
        font-family: var(--font-parkinsas);
        font-size: 18px;
        color: var(--color-primary);
        margin-bottom: 35px;
      }

      .dropdown-single {
        border-bottom: solid 1px var(--color-lightgray);

        button.dropdown-toggle {
          border: none;
          text-align: left;
          padding: 0 0 15px 0;
          width: 100%;
          color: var(--color-red);
          font-size: 18px;
          margin-top: 17px;
          display: flex;
          justify-content: space-between;
          align-items: center;

          img {
            width: 15px;
            margin-left: 20px;
            transition: 0.4s;
          }

          &.active {
            img {
              transform: rotate(-180deg);
            }
          }
        }

        .dropdown-content {
          max-height: 0;
          visibility: hidden;
          opacity: 0;
          transition: 0.4s ease-in-out;
          margin-bottom: 0;
          padding-right: 65px;

          p {
            margin-bottom: 15px;
          }

          &.show {
            max-height: 700px;
            visibility: visible;
            opacity: 1;

          }
        }


      }
    }



  }

  @media (max-width: 1200px) {
    .content-wrapper {
      flex-direction: column;
      .media {
        width: 100%;
        max-width: 500px;
      }

      .content {
        width: 100%;
        margin-top: -75px;
        h2 {
          text-align: center;
          line-height: 56px;
        }

        h4 {
          text-align: center;
          max-width: 600px;
          margin: 0 auto;
          line-height: 26px;
          margin-bottom: 25px;
        }

        .dropdown-single {
          max-width: 600px;
          margin: 0 auto;
        }
      }
    }
  }

  @media (max-width: 1000px) {
    padding: 85px 45px;
  }

  @media (max-width: 768px) {
    padding: 65px 25px;
    
    .content-wrapper {

      .content {
        margin-top: -45px;
      }
    }
  }
}

.home-contact {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  .main-wrapper {
    background: var(--color-primary);
    position: relative;
    overflow: hidden;
    padding: 0 65px;
    width: 50%;
    height: 50%;
  }

  .content-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;

    p {
      max-width: 600px;
    }

    button.learn-more {
      &.hide {
        display: none;
      }
    }

    .additional-text {
      display: none;

      &.show {
        display: block;
      }
    }
  }

  .image-wrapper {
    transform: scaleX(-1) rotate(-4deg);
    position: absolute;
    top: -32px;
    right: -70px;
    width: 40%;
    max-width: 600px;

    img.swinging-pirate {
      animation: swing 5s ease-in-out infinite;
      transform-origin: top center;
      width: 100%;
    }
  }

  @media (max-width: 1000px) {
    .main-wrapper {
      padding: 0 45px;

      h2 {
        margin: 65px 0 5px;
      }
    }

    .image-wrapper {
      width: 400px;
      right: -55px;
    }
  }

  @media (max-width: 768px) {
    .image-wrapper {
      width: 350px;
    }
  }


}

.home-about-us {
  margin-top: 65px;
  padding: 0 45px;
  overflow: hidden;

  .content-wrapper {
    height: 100%;
    display: flex;

    .column {
      height: 100%;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 85px;
      background-color: var(--color-primary);


      h2 {
        color: var(--color-accent);
        margin-bottom: 15px;
      }

      h5 {
        color: var(--color-red);
        font-weight: 600;
      }

      p {
        margin-bottom: 45px;
        max-width: 800px;
        color: white;
      }


      .packages {
        display: grid;
        grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
        gap: 65px;
      }

      .package {

        p {
          margin-bottom: 10px;
          max-width: 750px;

          &.price {
            font-family: var(--font-text);
            color: var(--color-olive);
            letter-spacing: 1px;
            margin: 15px 0 0;
          }
        }
      }
    }
  }

  @media (max-width: 1200px) {
    .content-wrapper {
      .column {
        padding: 45px;
        
        .packages {
          gap: 45px;
        }
      }
    }
  }

  @media (max-width: 900px) {
    padding: 0;
    .content-wrapper {
      .column {
        padding: 45px 25px;

        .packages {
          gap: 45px;
          grid-template-columns: minmax(0,1fr);
        }
      }
    }
  }
}

.home-projects {
  padding: 225px 45px;
  overflow: hidden;
  .content-wrapper {
    max-width: 1600px;
    margin: 0 auto;

    .heading {
      margin-bottom: 25px;
      h2 {
        margin-bottom: 15px;
        color: var(--color-primary);
      }

      p {
        font-size: 18px;
        max-width: 800px;
      }
    }

    .slide-wrapper {
      .media {
        img {
          width: 100%;
          filter: saturate(0);
          transition: 0.8s;
        }
      }

      .content {
        padding-top: 15px;
        h3 {
          font-size: 24px;
          line-height: 24px;
          font-weight: 400;
          color: #242424;
          margin-bottom: 10px;
        }
      }

      &:hover {
        .media {
          img {
            filter: none;
          }
        }
      }
    }
  }

  @media (max-width: 1200px) {
    padding: 125px 45px;
  }

  @media (max-width: 768px) {
    padding: 45px 25px;
    .content-wrapper {
      .slide-wrapper {
        .content {
          h3 {
            font-size: 20px;
            line-height: 26px;
          }
        }
      }
    }
  }
}