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

*/

/* Supreme Carriages - 2023 */

/* Global Console */

html {
    scroll-behavior: smooth;
  }

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

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

.container{
  max-width: 1270px;
}


/* Variables */

:root{
  --brand: #1836A1;
  --light: #FFFFFF;
  --dark: #373737;
}

/* Section Styles */

/* Header */

#header{
 background: linear-gradient(180deg, #FFF -11.22%, rgba(255, 255, 255, 0.00) 147.45%), #C6C6C6;
}

#header img.logo{
 width: 291px;
 height: auto;
 margin-bottom: -80px;
}

#header a{
 color: var(--dark);
 font-family: "Lora", sans-serif;
 font-size: 16px;
 line-height: normal;
 text-decoration: none;
 padding: 50px 0px 0px 0px;
}

#header a img{
 width: 14px;
 height: auto;
 margin-right: 8px;
} 

/* Navigation */

#navigation{
 background: var(--brand);
 border-top: 6px solid #4466DF;
 border-bottom: 6px solid #122A80;
 padding: 20px 0px;
}

#navigation ul{
 list-style-type: none;
 margin: 0;
 padding: 0;
 display: flex;
 justify-content: space-between;
}

#navigation ul li{
 color: var(--light);
 font-size: 16px;
 line-height: normal;
 display: inline-block;
 font-family: "Lora", sans-serif;
 text-transform: uppercase;
}

#navigation ul li a{
 color: var(--light);
 text-decoration: none;
}

/* Hero */

#hero{
 
 background-position: center center;
 color: var(--light); 
 padding: 460px 0px 60px 0px;
}

#hero h1{
 color: var(--light);
 font-size: 70.651px;
 line-height: normal;
}

#hero h2{
 color: var(--light);
 font-size: 45px;
 line-height: normal;
}

#hero a{
 background: var(--brand);
 box-shadow: 0px 4.558px 4.558px 0px rgba(0, 0, 0, 0.25);
 color: var(--light);
 font-family: "Lora", sans-serif;
 font-size: 17.093px;
 line-height: normal;
 text-decoration: none;
 padding: 20px 35px;
 display: inline-block;
 border-top: 4px solid #4466DF;
 border-bottom: 4px solid #122A80;
 margin-top: 30px;
}

/* Home Intro */

#homeIntro{
 background-position: top right;
 padding: 100px 0px;
}

#homeIntro h2{
 color: var(--dark);
 font-size: 40px;
 line-height: normal;
}

#homeIntro span{
 border-top: 3px solid #1836A1;
 width: 160px;
 display: inline-block;
 margin-bottom: 24px;
 margin-top: 20px;
}

#homeIntro p{
 color: #474747;
 font-size: 16px;
 line-height: 172.457%;
}

/* Carriages */

#carriages{
 background: #F4F4F4;
 padding: 70px 0px;
 text-align: center;
}

#carriages h2{
 color: var(--dark);
 font-size: 40px;
 line-height: normal;
}

#carriages span{
  border-top: 3px solid #1836A1;
  width: 160px;
  display: inline-block;
  margin-bottom: 74px;
  margin-top: 20px;
}

#carriages img{
  border: 8px solid var(--light);
  box-shadow: 0px 7px 26.6px 0px rgba(0, 0, 0, 0.25);
}

#carriages .col-md-6{
  margin-bottom: 480px;
}

#carriages .col-md-6 h2{
  color: var(--dark);
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 30px;
}

#carriages .col-md-6 p{
  color: #474747;
  font-size: 16px;
  line-height: 150%;
  padding: 0px 15%;
}

#carriages .img{
 position: absolute; 
}

#carriages .imgHover{
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

#carriages .img:hover .imgHover{
  display: inline;
}

#carriages .content{
  position: relative;
  top: 380px;
}

/* Closing Segment */

#closingSegment{
  padding: 80px 0px;
  text-align: center;
}

#closingSegment h2{
  color: var(--dark);
  font-size: 40px;
  line-height: normal;
}

#closingSegment span{
  border-top: 3px solid #1836A1;
  width: 160px;
  display: inline-block;
  margin-bottom: 24px;
  margin-top: 20px;
}

#closingSegment p{
  color: var(--mid);
  text-align: center;
  font-size: 16px;
  line-height: 172.457%;
}

/* Footer */


#footer{
 background: var(--brand);
 text-align: center;
 color: var(--light);
 padding-bottom: 40px;
}

#footer img.logo{
 width: 220px;
 height: auto;
}

#footer .footerNav ul{
 list-style-type: none;
 margin: 0;
 padding: 0;
 margin-bottom: 30px;
 margin-top: 30px;
}

#footer .footerNav ul li{
 display: inline-block;
 font-family: "Lora", sans-serif;
 text-align: center;
 text-transform: uppercase;
 margin-left: 15px;
 margin-right: 15px;
 font-size: 14px;
}

#footer p{
 color: var(--light);
 font-size: 16px;
 line-height: 162.17%;
 margin-top: 30px;
}

#footer span{
 border-top: 1px solid #4364D8;
 width: 100%;
 display: block;
}

#footer .footerNav ul li a{
 color: var(--light);
 text-decoration: none;
}

#footer ul.footerContact{
 list-style-type: none;
 margin: 0;
 padding: 0;
}

#footer ul.footerContact li{
 display: inline-block;
 margin-left: 15px;
 margin-right: 15px;
}

#footer ul.footerContact li img{
 width: 14px;
 height: 14px;
 margin-right: 8px;
}

#footer ul.footerContact li a{
 color: var(--light);
 font-size: 16px;
 line-height: 172.457%; /* 27.593px */
 text-decoration: none;
}

#footerBottom{
 background: #0D2475;
 text-align: center;
 color: #91A9FF;
 padding: 30px 0px;
}

#footerBottom p{
 color: #91A9FF;
 text-align: center;
 font-size: 13px;
 line-height: 162.17%; /* 21.082px */
 margin-bottom: 5px;
}

/* Sub Hero */

#subHero{
  background: #0F2367;
  color: var(--light);
  padding: 30px 0px;
}

#subHero h1{
  color: var(--light);
  font-size: 40px;
  line-height: normal;
  text-align: center;
}

/* Contact Content */

#contactContent{
  padding: 80px 0px;
}

#contactContent h2.gform_title{
  display: none;
}

#contactContent input{
  border: 1px solid #D3D3D3;
}

#contactContent input[type=submit]{
  background: var(--brand);
   box-shadow: 0px 4.558px 4.558px 0px rgba(0, 0, 0, 0.25);
   color: var(--light);
   font-family: "Lora", sans-serif;
   font-size: 17.093px;
   line-height: normal;
   text-decoration: none;
   padding: 20px 35px;
   display: inline-block;
   border: none;
   border-top: 4px solid #4466DF;
   border-bottom: 4px solid #122A80;
}

/* Funeral Content */

#funeralContent{
  text-align: center;
  padding: 80px 0px;
}

#funeralContent img{
  margin: 20px 0px;
}

#funeralContent h2{
  color: var(--dark);
  font-size: 36px;
  line-height: normal;
}

#funeralContent h3{
  color: var(--dark);
  font-size: 24px;
  line-height: normal;
}

#funeralContent p{
  color: var(--mid);
  text-align: center;
  font-size: 16px;
  line-height: 172.457%;
}

/* Filming Content */

#filmingContent{
  text-align: left;
  padding: 80px 0px;
}

#filmingContent img{
  margin: 20px 0px;
}

#filmingContent h2{
  color: var(--dark);
  font-size: 36px;
  line-height: normal;
}

#filmingContent h3{
  color: var(--dark);
  font-size: 24px;
  line-height: normal;
}

#filmingContent p{
  color: var(--mid);
  text-align: left;
  font-size: 16px;
  line-height: 172.457%;
}

/* hide/show queries */

#headerMobile, #navigationMobile{
  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: */

  #header, #navigation{
    display: none;
  }
  
  #headerMobile{
    text-align: center;
  }
  
  #headerMobile img{
    width: 300px;
    height: auto;
  }

  #headerMobile, #navigationMobile{
    display: block;
  }
  
  #navigationMobile{
       background: var(--brand);
       border-top: 6px solid #4466DF;
       border-bottom: 6px solid #122A80;
       padding: 40px 0px 20px 0px;
       margin-top: -80px;
  }
  
  #navigationMobile img.burger{
    width: 30px;
    height: auto;
    float: right;
  }
  
  #hero{
    padding: 140px 0px 40px 0px;
    text-align: center;
  }
  
  #hero h1{
    font-size: 34px;
  }
  
  #hero h2{
    font-size: 26px;
  }
  
  /* 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(--brand); /* 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;
  }
  
  /* The navigation menu links */
  .sidenav a {
    padding: 8px 25px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: var(--light);
    display: block;
    transition: 0.3s;
    font-family: Lora;
  }
  
  /* 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;
  }
  
  /* 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;}
  }

  #carriages .content{
    position: relative;
    top: 230px;
  }
  
  #carriages .col-md-6{
    margin-bottom: 300px;
  }

}
@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: */
}

