/*
Theme Name: Prestons
Text Domain: Prestons
Version: 1.0
Description: WordPress theme for Prestons
Author: StudioHub
Author URI: https://www.studiohub.co.uk

*/

/* Prestons - 2024 */

/* Global Console */

html {
    scroll-behavior: smooth;
  }

html body{
  font-family: 'Inter', sans-serif;
  
}

h1, h2, h3, h4, h5, h6{
  font-family: 'Inter', serif;
}

.container{
  max-width: 1270px;
}


/* Variables */

:root{
  --brand: #ED6A24;
  --brand-alt: #193054;
  --dark: #000000;
  --light: #FFFFFF;
  --mid: #2D2D2D;
}

/* Section Styles */

/* Header */

#headerNav{
  background: #193054;
  border-bottom: 1px solid #ED6A24;
}

#headerNav .col-md-2{
  background: rgb(255,255,255);
  background: linear-gradient(105deg, rgba(255,255,255,1) 89%, rgba(0,0,0,0) 89%);
  padding: 30px 20px;
}

#headerNav .col-md-5{
  padding: 20px;
}

#headerNav img.logo{
  width: 208px;
  height: auto;
}

#headerNav ul.socials{
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: inline;
  float: left;
}

#headerNav ul.socials li{
  display: inline-block;
  margin-right: 10px;
}

#headerNav ul.socials li img{
  width: 18px;
  height: auto;
}

#headerNav ul.contact{
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: inline-block;
  float: right;
}

#headerNav ul.contact li{
  display: inline;
  margin-left: 10px;
  
}

#headerNav ul.contact li img{
  width: 16px;
  height: auto;
  margin-right: 7px;
}

#headerNav ul.contact li a{
  color: #FFF;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
}

#headerNav ul.mainNav{
  list-style-type: none;
  margin: 0;
  padding: 0;
  margin-top: 25px;
}

#headerNav ul.mainNav{
  display: flex;
  justify-content: space-between;
}

#headerNav ul.mainNav li a{
  color: #FFF;
  font-family: Inter;
  font-size: 19px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
}

#hero{
  background: var(--brand-alt);
  
}



#hero p.intro{
  color: #FFF;
  font-family: Inter;
  font-size: 36.642px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  letter-spacing: -1.099px;
  background: rgb(237,106,36);
  background: linear-gradient(105deg, rgba(237,106,36,1) 89%, rgba(0,0,0,0) 89%);
  display: inline-block;
  padding: 10px 50px 10px 10px;
  
}

#hero h1{
  color: #FFF;
  font-family: Inter;
  font-size: 65.729px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  letter-spacing: -1.972px;
}

#hero a{
  border-radius: 3.44px;
  background: #ED6A24;
  color: #FFF;
  font-family: Inter;
  font-size: 22.932px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.688px;
  text-decoration: none;
  padding: 12px 25px;
  display: inline-block;
  margin-top: 30px;
  
}

#about{
  padding: 80px 0px;
}

#about h2{
  color: #193054;
  text-align: center;
  font-family: Inter;
  font-size: 50px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

#about p{
  color: #656565;
  text-align: center;
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* 155.556% */
}

#services{
  padding-bottom: 60px;
  background: linear-gradient(180deg, #FFF 94%, rgba(255, 255, 255, 0.00) 100%), #C5CCD6;
}

#services h3{
  color: #193054;
  font-family: Inter;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.9px;
  margin-top: 20px;
}

#services ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
  margin-top: 20px;
}

#services ul li{
  color: #656565;
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* 155.556% */
  margin-bottom: 7px;
}

#services ul li img{
width: 19px;
height: auto;
margin-right: 8px;
}

#services h4{
color: #193054;
font-family: Inter;
font-size: 32px;
font-style: normal;
font-weight: 300;
line-height: normal;
letter-spacing: -0.96px;
text-align: center;
margin-top: 60px;
margin-bottom: 30px;
}

#services ul.logos{
 list-style-type: none;
 margin: 0;
 padding: 0;
 text-align: center;
 display: flex;
 justify-content: space-between;
}

#services ul.logos li img{
 height: 30px;
 width: auto;
}

#works{
 padding: 90px 0px;
}

#works h2{
 color: #193054;
 text-align: center;
 font-family: Inter;
 font-size: 50px;
 font-style: normal;
 font-weight: 800;
 line-height: normal;
 letter-spacing: -1.5px;
 text-align: center;
 margin-bottom: 50px;
}

#works h3{
 color: #193054;
 font-family: Inter;
 font-size: 30px;
 font-style: normal;
 font-weight: 700;
 line-height: normal;
 letter-spacing: -0.9px;
 margin-top: 20px;
}

#works ul{
 list-style-type: none;
 margin: 0;
 padding: 0;
 margin-top: 20px;
}

#works ul li{
 color: #656565;
 font-family: Inter;
 font-size: 18px;
 font-style: normal;
 font-weight: 500;
 line-height: 28px; /* 155.556% */
 margin-bottom: 7px;
}

#works ul li img{
width: 19px;
height: auto;
margin-right: 8px;
}

#works h4{
color: #ED6A24;
font-family: Inter;
font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: normal;
letter-spacing: -0.6px;
}

#works p{
color: #656565;
font-family: Inter;
font-size: 18px;
font-style: normal;
font-weight: 500;
line-height: 28px; /* 155.556% */
}

#works img.cover{
margin-bottom: 35px;
}

#works .gallery{

}

#works .gallery img{
width: 49%;
height: auto;
display: inline;
text-align: right;
margin-top: 10px;
}

#works .carousel-inner {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

#works .controls a{
  background: none;
  border-radius: none;
  box-shadow: none;
  position: absolute;
  z-index: 25000;
}

#works .controls a.slideLeft{
  left: 0;
  top: 0;
  margin-left: -10px;
}

#works .controls a.slideRight{
  right: 0;
  top: 0;
  margin-right: -10px;
}

#works .controls a img{
  width: 42px;
  height: auto;
  margin-top: 260px;
}

#contact{
background: var(--brand-alt);
color: var(--light);
padding: 80px 0px;
}

#contact h2{
color: #FFF;
text-align: center;
font-family: Inter;
font-size: 50px;
font-style: normal;
font-weight: 800;
line-height: normal;
letter-spacing: -1.5px;
text-align: center;
margin-bottom: 40px;
}

#contact p{
color: #D5DDEA;
font-family: Inter;
font-size: 18px;
font-style: normal;
font-weight: 500;
line-height: 28px; /* 155.556% */
margin-bottom: 50px;
}

#contact h3{
color: #FFF;
font-family: Inter;
font-size: 32px;
font-style: normal;
font-weight: 700;
line-height: normal;
letter-spacing: -0.96px;
}

#contact .phone img{
width: 40px;
height: auto;
}

#contact .phone{
color: #FFF;
font-family: Inter;
font-size: 37.059px;
font-style: normal;
font-weight: 500;
line-height: normal;
margin-bottom: 40px;
}

#contact ul.socials{
list-style-type: none;
margin: 0;
padding: 0;
}

#contact ul.socials li{
display: inline-block;
margin-right: 15px;
}

#contact ul.socials li img{
width: 40px;
height: auto;
}

#contact input{
  border-radius: 3px;
  background: #FFF;
  padding: 10px;
  border: 0px;
}

#contact label{
  color: #D5DDEA;
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* 155.556% */
}

#contact h2.gform_title{
  display: none;
}

#contact span.gfield_required.gfield_required_text{
  display: none;
}

#contact .charleft{
  display: none;
}

#contact input[type=submit]{
  border-radius: 3px;
  background: #ED6A24;
  color: #FFF;
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.6px;
}

#footer{
  padding: 60px 0px 40px 0px;
}

#footer img.logo{
  width: 250px;
  height: auto;
  margin-bottom: 40px;
}

#footer p{
  color: #193054;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 23px; /* 164.286% */
}

#footer p a{
  color: #ED6A24;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 23px;
  text-decoration-line: underline;
  text-decoration: none;
}

#footer .right{
  text-align: right;
}

a.burger{
  display: none;
}

#mySidenav{
  display: none;
}

#headerNav .col-4{
  display: none;
}

img.burger{
  display: none;
}

/*Media Queries*/

@media only screen and (max-width: 1200px) {
/* For desktop: */
}
@media only screen and (max-width: 992px) {
/* For desktop: */
}
@media only screen and (max-width: 768px) {
/* For desktop: */

#hero h1{
  color: #FFF;
  font-family: Inter;
  font-size: 35.729px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  letter-spacing: -1.972px;
}

#headerNav ul.socials, #headerNav ul.contact, #headerNav ul.mainNav{
  display: none;
}

#headerNav .col-md-5{
  display: none;
}

 #mySidenav{
    display: block !important;
  }
  
  /* The side navigation menu */
  .sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 250000; /* Stay on top */
    top: 0; /* Stay at the top */
    right: 0;
    background-color: var(--dark); /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    
  }
  
  .sidenav ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  
  .sidenav ul li{
    display: list-item !important;
  }
  
  /* The navigation menu links */
  .sidenav a {
    padding: 8px 25px 8px 32px;
    text-decoration: none;
    font-size: 18px;
    color: var(--light);
    display: block;
    transition: 0.3s;
    font-family: "Inter";
    text-transform: none;
  }
  
  /* When you mouse over the navigation links, change their color */
  .sidenav a:hover {
    color: #f1f1f1;
  }
  
  /* Position and style the close button (top right corner) */
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    padding-right: 0px;
    color: #ffffff;
  }
  
  /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }
  
  .burger{
      display: block !important;
      position: absolute;
      z-index: 2;
      top: 40px;
      right: -100px;
      width: 40px;
      height: auto;
    }

    #hero img{
      display: none;
    }
    
    #hero{
      padding: 123px 0px;
    }
    
    #hero p.intro{
      font-size: 22px;
    }
    
    #about h2{
      font-size: 30px;
    }
    
    #services ul.logos{
      display: block;
    }
    
    #services ul.logos li{
      display: list-item;
      margin-bottom: 15px;
    }
    
    #works{
      padding: 60px 20px;
    }
    
    #works h2{
      font-size: 30px;
    }
    
    #works .controls{
      display: none;
    }
    
    #contact h2{
      font-size: 30px;
    }
    
    #contact h3{
      font-size: 22px;
    }
    
    #footer .right{
      text-align: left;
    }

}
@media only screen and (max-width: 590px) {
/* For desktop: */
}
@media only screen and (max-width: 480px) {
/* For desktop: */
}
@media only screen and (min-width: 320px) {
/* For desktop: */
}

