$white: #ffffff;
$black: #000000;
// $primary1: #155263;
// $primary2: #ff6f3c;
$primary1: #0e3746;
$primary2: #be2623;
// $primary2: #fa6095;
$textCol: #1f1f1f;

@mixin main-font {
  font-family: 'Poppins', sans-serif;
}



@mixin hero_btn($col1, $col2, $pad1, $pad2, $bRadius) {
  display: inline-block;
  padding: $pad1 $pad2;
  background-color: $col1;
  color: $col2;
  border-radius: $bRadius;
  transition: all .3s;
  border: 1px solid $col1;

  &:hover {
    background-color: transparent;
    color: $col1;
  }
}

@mixin upperBold {
  text-transform: uppercase;
  font-weight: bold;
}



body {
  @include main-font;
  color: #0c0c0c;
  background-color: #ffffff;
  overflow-x: hidden;
}

.layout_padding {
  padding: 90px 0;
}

.layout_padding2 {
  padding: 75px 0;
}

.layout_padding2-top {
  padding-top: 75px;
}

.layout_padding2-bottom {
  padding-bottom: 75px;
}

.layout_padding-top {
  padding-top: 90px;
}

.layout_padding-bottom {
  padding-bottom: 90px;
}

.heading_container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  h2 {
    position: relative;
    font-weight: bold;

  }

  &.heading_center {
    align-items: center;
    text-align: center;
  }
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

a:hover,
a:focus {
  color: initial;
}

.btn,
.btn:focus {
  outline: none !important;
  box-shadow: none;
}

/*header section*/
.hero_area {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  .hero_bg_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: right top;
    }

    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to right, rgba($color: $primary1, $alpha: .9), rgba($color: $primary1, $alpha: .15));
    }
  }

}

.sub_page {
  .hero_area {
    min-height: auto;
  }

  .header_section {}

}

.header_section {
  padding: 15px 0;

  .container-fluid {
    padding-right: 25px;
    padding-left: 25px;
  }

}



.navbar-brand {
  color: $white;
  font-weight: bold;
  font-size: 24px;
  text-transform: uppercase;

  span {
    color: $primary2;
  }

  &:hover {
    color: inherit;
  }
}

.custom_nav-container {
  padding: 0;

  .navbar-nav {
    margin-left: auto;

    .nav-item {
      .nav-link {
        padding: 5px 20px;
        color: $white;
        text-align: center;
        text-transform: uppercase;
        border-radius: 5px;
        font-size: 15px;
        transition: all .3s;

        i {
          margin-right: 5px;
        }
      }

      &:hover {
        .nav-link {
          color: $primary2;
        }
      }
    }
  }
}



.custom_nav-container .nav_search-btn {
  width: 35px;
  height: 35px;
  padding: 0;
  border: none;
  color: $white;

  &:hover {
    color: $primary2;
  }
}



.custom_nav-container .navbar-toggler {
  outline: none;
}

.custom_nav-container .navbar-toggler {
  padding: 0;
  width: 37px;
  height: 42px;
  transition: all .3s;

  span {
    display: block;
    width: 35px;
    height: 4px;
    background-color: $white;
    margin: 7px 0;
    transition: all 0.3s;
    position: relative;
    border-radius: 5px;
    transition: all .3s;

    &::before,
    &::after {
      content: "";
      position: absolute;
      left: 0;
      height: 100%;
      width: 100%;
      background-color: $white;
      top: -10px;
      border-radius: 5px;
      transition: all .3s;
    }

    &::after {
      top: 10px;
    }
  }

  &[aria-expanded="true"] {
    transform: rotate(360deg);

    span {
      transform: rotate(45deg);

      &::before,
      &::after {
        transform: rotate(90deg);
        top: 0;
      }
    }

    .s-1 {
      transform: rotate(45deg);
      margin: 0;
      margin-bottom: -4px;
    }

    .s-2 {
      display: none;
    }

    .s-3 {
      transform: rotate(-45deg);
      margin: 0;
      margin-top: -4px;
    }
  }

  &[aria-expanded="false"] {

    .s-1,
    .s-2,
    .s-3 {
      transform: none;
    }
  }
}


/*end header section*/

/* slider section */
.slider_section {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 45px 0 75px 0;

  .row {
    align-items: center;
  }

  #customCarousel1 {
    width: 100%;
    position: unset;
  }

  .detail-box {
    color: $white;

    h1 {
      font-weight: 600;
      margin-bottom: 15px;
      color: $white;
    }

    a {
      @include hero_btn($primary2, $white, 10px, 45px, 0);
    }


  }

  .img-box {
    img {
      width: 100%;
    }
  }

  .carousel_btn-box {
    display: flex;
    margin: 45px auto 0 auto;

    a {
      position: unset;
      width: 50px;
      height: 50px;
      background-color: $white;
      opacity: 1;
      color: $black;
      font-size: 14px;
      border-radius: 100%;
      transition: all .2s;
      margin: 0 3px;

      &:hover {
        background-color: $primary2;
        color: $white;
      }

    }
  }

}

// end slider section


// product section

.product_section {
  .heading_container {
    margin-bottom: 35px;
  }

  .product_container {
    position: relative;
    background-color: #f4f2ec;
    padding: 30px 0;
    margin: 0 75px;
  }

  .box {
    color: $black;
    text-align: center;
    border-radius: 5px;

    .img-box {
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      padding: 15px 25px;

      img {
        max-width: 225px;
        max-height: 190px;
      }
    }

    .detail-box {
      padding: 15px;

      h4 {
        font-weight: 600;
      }

      .new_price {
        font-weight: 600;
      }

      .old_price {
        text-decoration: line-through;
        color: #999;
      }

      p {
        font-size: 15px;
        margin-bottom: 20px;
      }

      a {
        @include hero_btn($primary2, $white, 5px, 25px, 25px);
      }
    }
  }

  .btn-box {
    display: flex;
    justify-content: center;
    margin-top: 45px;

    a {
      @include hero_btn($primary1, $white, 10px, 45px, 0);
    }
  }

  .owl-carousel {
    position: unset;

    .owl-nav {
      position: absolute;
      top: 50%;
      left: -75px;
      display: flex;
      flex-direction: column;
      transform: translateY(-50%);

      button.owl-next,
      button.owl-prev {
        width: 50px;
        height: 50px;
        margin: 3px 0;
        border-radius: 100%;
        outline: none;
        background-size: 15px;
        background-position: center;
        background-repeat: no-repeat;
        background-color: $primary1;
        color: $white;
        font-size: 24px;

        &:hover {
          background-color: $primary2;
        }
      }

    }

    .owl-dots {
      display: none;
    }
  }
}

// end product section


// about section
.about_section {
  background-color: $primary1;
  color: $white;

  .row {
    align-items: center;
  }

  .img-box {
    position: relative;
    overflow: hidden;
    height: 100%;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

  }

  .detail-box {
    margin: 45px 0;

    p {
      color: #fefefe;
      margin-top: 15px;
    }

    a {
      @include hero_btn($primary2, $white, 10px, 35px, 0px);
      margin-top: 15px;
    }
  }
}

// end about section


// contact section
.contact_section {
  position: relative;

  .heading_container {
    margin-bottom: 25px;
  }


  .form_container {

    input {
      width: 100%;
      border: none;
      height: 50px;
      margin-bottom: 25px;
      padding-left: 25px;
      background-color: #f4f2ec;
      outline: none;
      color: $black;
      border-radius: 5px;

      &::placeholder {
        color: #222222;
      }

      &.message-box {
        height: 120px;
        border-radius: 5px;
      }
    }

    button {
      margin-top: 15px;
      border: none;
      text-transform: uppercase;
      @include hero_btn($primary2, $white, 10px, 55px, 0px);
    }
  }

  .map_container {
    width: 100%;
    height: 345px;
    border-radius: 10px;
    overflow: hidden;

    #googleMap {
      height: 100%;
      min-height: 100%;
      width: 100%;
    }
  }

}

// end contact section

// client section

.client_section {

  .client_container {
    margin-top: 45px;
  }

  .box {
    display: flex;
    flex-direction: column;
    margin-right: 5px;

    .img-box {
      position: relative;
      width: 105px;
      margin-bottom: -45px;
      margin-left: 25px;

      img {
        width: 100%;
        border-radius: 100%;
        border: 5px solid $primary2
      }

    }

    .detail-box {
      border: 1px solid $primary1;
      padding: 60px 25px 25px 25px;
      margin-bottom: 25px;

      h5 {
        font-weight: 600;
      }

      p {
        margin: 0;
      }
    }

  }

  .carousel-wrap {
    margin: 0 auto;
    position: relative;

    .active+.active {
      .box {
        margin-top: 45px;
      }
    }
  }

  .owl-carousel .owl-nav .owl-prev,
  .owl-carousel .owl-nav .owl-next {
    width: 50px;
    height: 50px;
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
    margin: 20px 10px 0 0;
    outline: none;
    background-color: $primary2;
    color: $white;

    &:hover {
      background-color: #161825;
    }
  }

}

// end client section

/* footer section*/

.footer_section {
  background-color: $primary1;
  position: relative;
  color: $white;

  .footer_content {
    padding: 60px 0 10px 0;
  }

  .footer-col {
    margin-bottom: 45px;
  }

  .contact_nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    a {
      flex: 1;
      margin: 0;
      display: flex;
      align-items: center;
      color: $white;
      margin-bottom: 10px;

      i {
        font-size: 22px;
        margin-right: 10px;
      }

      &:hover {
        color: $primary2;
      }
    }
  }



  h4 {
    text-transform: uppercase;
    position: relative;
    margin-bottom: 20px;
    color: $white;
    font-weight: 600;
  }

  .social_box {
    display: flex;

    a {
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 5px;
      width: 40px;
      height: 40px;
      border: 1px solid $white;
      color: $white;
      font-size: 18px;
      margin-left: 10px;

      &:hover {
        color: $primary2;
        border-color: $primary2;
      }
    }
  }

  .footer_form {
    input {
      width: 100%;
      border: none;
      height: 45px;
      margin-bottom: 15px;
      padding-left: 25px;
      background-color: #eaeaea;
      outline: none;
      color: #101010;
    }

    button {
      @include hero_btn($primary2, $white, 10px, 45px, 0px);

    }

  }

  .footer-info {
    background-color: darken($color: $primary1, $amount: 3);

    p {
      margin: 0;

      a {
        color: inherit;
      }
    }
  }

  .footer-info-box {
    display: flex;
    justify-content: space-between;
    align-items: center;

    p,
    .social_box {
      margin: 15px 0;
    }
  }
}

// end footer section