/*!
Theme Name: piumasteel
Theme URI: https://piumasteel.com
Author: Esumo
Author URI: https://esumohq.com
Version: 1.0.0
*/

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap");

:root {
  --black: #000;
  --white: #ffffff;
  --grey: #0f0f0f;
  --light-grey: #f9f9f9;
  --primary: #ed3844;
  --primary-dark: #c02530;
  --secondary: #282828;
  --secondary-light: #3f3f3f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 135%;
}

button,
input,
textarea {
  font-family: "DM Sans", sans-serif;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
}

.row.align-center {
  align-items: center;
}

.row.justify-center {
  justify-content: center;
}

a {
  text-decoration: none;
}

.primary {
  background-color: var(--primary);
  padding: 14px 28px !important;
  font-weight: 500;
  border: 2px solid var(--primary);
  color: var(--white);
  transition: 0.5s;
  font-size: 18px;
  display: inline-block;
}

.primary.big {
  font-size: 20px;
  padding: 20px 40px !important;
}

.primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.secondary {
  background-color: var(--secondary);
  padding: 14px 28px !important;
  font-weight: 500;
  border: 2px solid var(--secondary);
  color: var(--white);
  transition: 0.5s;
  font-size: 18px;
  display: inline-block;
}

.secondary:hover {
  background-color: var(--secondary-light);
  border-color: var(--secondary-light);
  color: var(--white);
}

header.main {
  position: sticky;
  z-index: 10;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--black);
  padding: 24px 0;
  border-bottom: 1px solid var(--grey);
}

header.main nav ul {
  display: flex;
	list-style:none;
  gap: 40px;
  padding: 0;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
}

header.main nav ul li a {
  color: var(--white);
  display: block;
  text-decoration: none;
  padding: 4px 0;
  font-size: 16px;
}

@media (min-width: 1200px) {
  .hvr-underline-from-left {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
  }
  .hvr-underline-from-left:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 100%;
    bottom: 0;
    background: var(--primary);
    height: 1px;
    -webkit-transition-property: right;
    transition-property: right;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
  }
  .hvr-underline-from-left:hover:before,
  .hvr-underline-from-left:focus:before,
  .hvr-underline-from-left:active:before {
    right: 0;
  }
}

header.main nav ul .primary {
  font-size: 16px;
}

header.main nav ul li.lang a {
  background-color: var(--secondary);
  padding: 20px;
  margin-left: -20px;
}

header.main nav ul li.lang a img {
  width: 24px;
  display: block;
}

.home--hero {
  background-color: var(--black);
  padding: 160px 0;
  position: relative;
}

.home--hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  background-image: linear-gradient(
    to bottom,
    rgb(0, 0, 0),
    rgba(0, 0, 0, 0.5)
  );
  height: 100%;
  width: 100%;
}

.home--hero video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 0;
}

.home--hero .desc {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
  width: 60%;
}

.home--hero .desc h1 {
  color: var(--white);
  font-size: 72px;
  line-height: 110%;
  margin: 0;
}

.home--hero .desc h1 span {
  color: var(--primary);
  display: block;
}

.home--hero .desc h2 {
  color: var(--white);
  font-size: 24px;
  opacity: 0.9;
  font-weight: 500;
  margin: 0;
}

.home--hero .desc .primary {
  margin-top: 16px;
}

.home--hero .row > img {
  display: block;
  width: 50%;
  height: 85%;
  position: absolute;
  border: 0;
  outline: none;
  box-shadow: none;
  right: 0;
  transform: translate(0%, -50%);
  top: 50%;
}

img.placeholder.light {
  background-color: var(--grey);
}

.home--numbers {
  padding: 40px 0;
  background-color: var(--primary);
}

.home--numbers .single-number {
  width: 23%;
  text-align: center;
}

.home--numbers .single-number h5 {
  font-size: 40px;
  color: #fff;
  margin: 0;
  line-height: 48px;
}

.home--numbers .single-number > span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin: 8px 0 0;
  display: inline-block;
}

.home--numbers .divider {
  width: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  height: 64px;
}

.home--numbers .row > .divider:last-of-type{
	display:none;
}

.home--about {
  padding: 96px 0;
}

section.grey {
  background-color: var(--light-grey);
}

.home--about .desc,
.home--about .image--wrapper {
  width: 45%;
}

.home--about h3 {
  font-size: 44px;
  line-height: 110%;
  margin: 0 0 32px;
  width: 95%;
}

p {
  color: var(--grey);
  font-size: 18px;
  line-height: 135%;
}

.home--about .primary,
.home--about .secondary {
  margin-top: 16px;
}

.home--about .image--wrapper img {
  width: 100%;
  display: block;
}

.home--works {
  padding: 96px 0 96px;
  background-color: var(--light-grey);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.home--works h4 {
  width: 100%;
  text-align: center;
  margin: 0 0 64px;
  font-size: 40px;
}

.home--works .work-carousel img{
  height: auto;
}

.home--works .work-carousel .owl-prev {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 5;
  background-color: var(--white) !important;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.home--works .work-carousel .owl-next {
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 5;
  background-color: var(--white) !important;
  width: 64px;
  height: 64px;
  transform: translate(50%, -50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.home--works .work-carousel .owl-next i,
.home--works .work-carousel .owl-prev i {
  font-size: 21px;
}

.home--works .work-carousel .owl-next:hover,
.home--works .work-carousel .owl-prev:hover {
  background-color: var(--primary-dark) !important;
  color: var(--white);
}

.home--contact {
  padding: 120px 0 40px;
  background-color: var(--black);
  position: relative;
  color: #fff;
}

.home--contact .bg {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.1;
  pointer-events: none;
}

.home--contact .container {
  position: relative;
  z-index: 1;
}

.home--contact .desc,
.home--contact .form--wrapper {
  width: 45%;
}

.home--contact .desc h3 {
  font-size: 44px;
  line-height: 110%;
  margin: 0 0 32px;
  width: 95%;
}

.home--contact .desc p {
  color: var(--white);
  width: 90%;
}

.home--contact .desc p a,
.home--contact .desc a {
  color: #fff;
}

.home--contact .desc h4 {
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.home--contact .desc hr {
  display: block;
  width: 90%;
  margin: 32px 0;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.home--contact .desc .meta {
  display: flex;
  gap: 32px;
  row-gap: 16px;
  flex-wrap: wrap;
  width: 90%;
}

.home--contact .desc .meta .single--meta {
  width: calc(50% - 16px);
}

.home--contact .desc .meta .socials {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.home--contact .desc .meta .socials li a {
  background-color: var(--primary);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
}

.home--contact .form--wrapper form .forminator-row {
  margin-bottom: 24px;
}

.home--contact .form--wrapper form .forminator-field label {
  width: 100%;
  display: block;
  padding-bottom: 8px;
}

.home--contact
  .form--wrapper
  form
  .forminator-field
  label
  .forminator-required {
  color: var(--primary);
}

.home--contact .form--wrapper form .forminator-field input,
.home--contact .form--wrapper form .forminator-field textarea {
  width: 100%;
  padding: 16px;
}

.home--contact .form--wrapper form .forminator-field .forminator-error-message {
  color: var(--primary);
}

.home--contact .form--wrapper form .forminator-button {
  width: 100%;
  display: block;
  padding: 16px;
  background-color: var(--primary);
  border: 0;
  color: var(--white);
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: 0.5s;
}

.home--contact .form--wrapper form .forminator-button:hover {
  background-color: var(--primary-dark);
}

.home--contact .copy {
  margin: 48px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

#mobile-toggler {
  display: none;
}

header#mobile {
  display: none;
}

header.main a.lang-switcher{
  display:none;
}

@media (max-width: 900px) {
  .container {
    padding: 0 24px;
  }
  header.main .brand img {
    max-width: 150px;
  }
  header.main nav ul {
    display: none;
  }
  .home--hero {
    padding: 64px 0 64px;
  }
  .home--hero .desc {
    width: 100%;
  }
  .home--hero .desc h1 {
    font-size: 40px;
    line-height: 110%;
  }
  .home--hero .desc h1 span {
    display: inline;
  }
  .primary.big {
    font-size: 19px;
    padding: 20px 32px !important;
  }
  .home--numbers .single-number {
    width: 49%;
  }
  .home--numbers .divider {
    display: none;
  }
  .home--numbers .single-number h5 {
    font-size: 32px;
  }
  .home--numbers .row {
    row-gap: 32px;
  }
  .home--numbers {
    padding: 28px 0;
  }
  .home--about .desc {
    width: 100%;
    order: 2;
  }
  .home--about .image--wrapper {
    width: 100%;
    order: 1;
    margin-bottom: 40px;
  }
  .home--about h3,
  .home--works h4,
  .home--contact .desc h3 {
    font-size: 28px;
    width: 100%;
  }
  .primary,
  .secondary {
    text-align: center;
    font-size: 16px;
  }
  .home--about {
    padding: 64px 0;
  }
  .home--works .work-carousel {
    width: 90%;
    margin: 0 auto;
  }
  .home--contact {
    padding: 64px 0 40px;
  }
  .home--contact .desc,
  .home--contact .form--wrapper {
    width: 100%;
  }
  .home--contact .form--wrapper {
    order: 1;
  }
  .home--contact .desc {
    margin-top: 40px;
    order: 2;
  }
  .home--contact .desc p {
    width: 100%;
  }
  .home--contact .desc .meta .single--meta {
    width: 100%;
  }
  header.main #mobile-toggler {
    display: block;
  }
  header.main #mobile-toggler img {
    background-color: var(--secondary);
    padding: 10px;
    display: block;
    /* border-radius: 50%; */
  }
  header.main .brand img,
  footer.main .brand img {
    display: block;
    max-width: 150px;
  }
  header#mobile {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: var(--black);
    width: 100%;
    height: 100vh;
    padding: 24px 0;
  }
  header#mobile .brand img {
    display: block;
    max-width: 150px;
  }
  header#mobile #mobile-closer img {
    background-color: var(--secondary);
    padding: 10px;
    border-radius: 50%;
    width: 50px;
  }
  header#mobile nav {
    width: 100%;
    margin: 32px 0;
  }
  header#mobile .primary {
    width: 100%;
    text-align: center;
  }
  header#mobile ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  header#mobile ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: block;
  }
  header#mobile nav ul li.lang a {
    background-color: var(--secondary);
    padding: 20px;
    width: 100%;
    text-align: center;
    display: block;
  }
  
  header#mobile nav ul li.lang a img {
    width: 24px;
    display: block;
    margin:0 auto
  }
  header.main a.lang-switcher {
    background-color: var(--secondary);
    padding: 15px;
    text-align: center;
    display: block;
    margin-left:auto;
    margin-right:8px;
  }
  header.main  a.lang-switcher img{
    width:20px;
  }
  
}
