/* css menu  */
/* 
1. browser reset
2. theme colors
3. body level styling
#. global styling
#. main navigation
#. slideshow mobile layout
#. media queries 
*/
/* browser reset*/
* {
  margin: 0;
  padding: 0;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* theme colors */
:root {
  --primary-color: rgb(115, 193, 215);
  --primary-text-color: rgb(8, 8, 8);
  --secondary-color: rgb(255, 255, 255);
  --secondary-text-color: rgb(0, 0, 0);
  --accent-color: rgb(255, 255, 255);
  --bg-color: rgb(49, 49, 49);
  --overlay-color: rgba(0, 0, 0, 0.7);
  --btn-color: rgb(102, 102, 102);
}
/* body level styling */
/*  a body tag was above the html tag but didn't seem to do much if issues put it back */
html {
  background: var(--bg-color);
  font-size: 1rem;
  font-size: clamp(1rem, 3vw, 1.1rem);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.8em;
  scroll-behavior: smooth;
}
::selection {
  background-color: #ffe400;
}
/* global styling */
h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: capitalize;
}
.header {
  height: 2.5rem;
  width: 50%;
  margin: 0 auto;
}
.header-text {
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--accent-color);
  text-align: center;
  background: linear-gradient(
    184deg,
    rgb(180, 62, 62) 0%,
    rgb(181, 69, 69) 50%,
    rgb(226, 105, 105) 100%
  );
  border-radius: 20px;
  box-shadow: 0px 4px 10px rgba(62, 180, 178, 0.5);
}
.email-link {
  text-decoration: none;
}
.email-text {
  text-align: center;
  color: var(--accent-color);
  max-width: 100%;
  transition: all 0.2s ease-in-out;
}
.email-text:hover {
  transform: scale(1.2);
}
.proshow {
  position: relative;
  margin: 0 auto;
  z-index: 0;
}
.proshow video {
  position: relative;
  width: 100%;
}
/* new font awesome css */
/*  the icon class is all the attributes which are the same for font awesome */
.icon::before {
  display: inline-block;
  font-family: 'Font Awesome 5 Free';
  font-size: 0.95em;
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  color: rgba(255, 255, 255, 0.85);
  margin-right: 0.5em;
}
/* font awesome icons */
.home-link::before {
  content: '\f015';
}
.fleet-link::before {
  content: '\f0f9';
}
.bus-link::before {
  content: '\f207';
}
.van-link::before {
  content: '\f0d1';
}
.wrap-link::before {
  content: '\f1b9';
}
.special-link::before {
  content: '\f48b';
}
.email-text::before {
  content: '\f658';
}
.next-link::before {
  content: '\f554';
}
.skill-link::before {
  content: '\f0ad';
}
.do-link::before {
  content: '\f0eb';
}
.contact-link::before {
  content: '\f086';
}
.about-link::before {
  content: '\f2bb';
  display: inline-block;
  color: rgba(255, 255, 255, 0.85);
  margin-right: 0.5em;
}
/* font awesome contact-header global styling */
.fa,
.contact-header {
  color: var(--accent-color);
  padding: 12px;
}
/* advantage text area spacing corrections */
.advantage_text1 {
  margin-top: 5px;
}
.advantage_text2 {
  margin-top: 15px;
}
.advantage_text3 {
  margin-top: 15px;
}
/* aligning text */
.section,
.ptext,
.footer p {
  text-align: center;
}
.ptext__link {
  text-decoration: none;
  color: var(--accent-color);
}
section {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* background overlap fix - no idea why I need this */
.section-dark {
  border: 1px solid var(--primary-color);
}
.section-light {
  border: 1px solid var(--secondary-color);
}
/* end of background overlap fix */
/* section colors */
.section-dark {
  background-color: var(--primary-color);
}
.section-header-dark,
.section-text-dark {
  margin: 1rem;
  color: var(--primary-text-color);
}
.section-light {
  background-color: var(--secondary-color);
}
.section-header-light,
.section-text-light {
  margin: 1rem;
  color: var(--secondary-text-color);
}
/* parallax images */
.pimg2,
.pimg3,
.pimg4,
.pimg5,
.pimg6,
.pimg7,
.pimg8,
.pimg9,
.pimg10,
.pimg11,
.pimg12,
.pimg13,
.pimg14,
.pimg15 {
  position: relative;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  /*
    fixed = parallax
    scroll = normal
  */
  background-attachment: scroll;
  min-height: 200px;
}
.pimg2 {
  display: grid;
  place-items: center;
  background-image: url(../img/bg/bg_08.jpg);
  /* min-height: 300px; */
}
.pimg3 {
  display: grid;
  place-items: center;
  background-image: url(../img/bg/bg_02.jpg);
  /* min-height: 300px; */
}
.pimg4 {
  display: grid;
  place-items: center;
  background-image: url(../img/bg/bg_03.jpg);
  /* min-height: 300px; */
}
.pimg5 {
  display: grid;
  place-items: center;
  background-image: url(../img/bg/bg_04.jpg);
  /* min-height: 300px; */
}
.pimg6 {
  display: grid;
  place-items: center;
  background-image: url(../img/bg/bg_05.jpg);
  /* min-height: 300px; */
}
.pimg7 {
  display: grid;
  place-items: center;
  background-image: url(../img/bg/bg_06.jpg);
  /* min-height: 300px; */
}
.pimg8 {
  display: grid;
  place-items: center;
  background-image: url(../img/bg/bg_07.jpg);
  /* min-height: 300px; */
}

/* next background images */
.pimg9 {
  display: grid;
  place-items: center;
  background-image: url(../img/bg/bg_15.jpg);
  /* individual height if required */
  /* min-height: 200px; */
}
.pimg10 {
  display: grid;
  place-items: center;
  background-image: url(../img/bg/bg_13.jpg);
  /* individual height if required */
  /* min-height: 500px; */
}
.pimg11 {
  display: grid;
  place-items: center;
  background-image: url(../img/bg/bg_04.jpg);
  /* individual height if required */
  /* min-height: 500px; */
}
.pimg12 {
  display: grid;
  place-items: center;
  background-image: url(../img/bg/bg_03.jpg);
  /* individual height if required */
  /* min-height: 500px; */
}
.pimg13 {
  display: grid;
  place-items: center;
  background-image: url(../img/specialised/special_03.jpg);
  /* individual height if required */
  /* min-height: 500px; */
}
.pimg14 {
  display: grid;
  place-items: center;
  background-image: url(../img/bg/bg_01.jpg);
  /* individual height if required */
  /* min-height: 300px; */
}
.pimg15 {
  display: grid;
  place-items: center;
  background-image: url(../img/bg/bg_09.jpg);
  /* individual height if required */
  /* min-height: 500px; */
}
/* text over background images */
.ptext {
  color: var(--accent-color);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  padding: 5px;
}

/* google map */
iframe {
  display: none;
  /* height: 300px; */
}
.map-item3 {
  margin-bottom: 20px;
  place-items: center;
  height: auto;
  max-width: 100%;
}
.map-image {
  margin: 1rem;
  width: 80vw;
  height: auto;
  object-fit: contain;
}
/* logo on contact form */
.logo-form {
  display: block;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin: auto;
  width: 250px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}
/* clear list style */
ul {
  list-style: none;
}
/* main-navigation mobile hidden */
.main-navigation {
  display: none;
}

/* main gallery grid layout */
main {
  display: none;
}

.gallery {
  margin-top: 10px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  justify-items: center;
}
.main-gallery {
  max-width: 100%;
  border: 1px solid white;
}
.main-gallery {
  max-width: 100%;
  transition: all 0.2s ease-in-out;
}
.main-gallery:hover {
  transform: scale(1.2);
}
.gallery__link {
  display: grid;
}
/* scroll up caret in bottom corner */
.top-link {
  position: fixed;
  width: 3rem;
  height: 3rem;
  /* background: var(--bg-color); */
  bottom: 2rem;
  right: 1.5rem;
  text-decoration: none;
  text-align: center;
  line-height: 3rem;
  border-radius: 50%;
}
/* footer */
.widget2 {
  margin: 1rem;
}
.footer-text {
  color: var(--accent-color);
}
/* media queries */

@media only screen and (min-width: 768px) {
  .flat {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0);
  }
  /* main navigation */
  .main-navigation {
    margin: 1rem;
    display: grid;
  }
  .nav-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    place-items: center;
    font-size: clamp(1rem, 3vw, 1.2rem);
    letter-spacing: 3px;
  }
  .main-navigation a {
    color: white;
    text-decoration: none;
  }
  .nav-link1 {
    grid-column: 1 / 2;
  }
  .nav-link2 {
    grid-column: 2 / 3;
  }
  .nav-link3 {
    grid-column: 3 / 4;
  }
  .nav-link4 {
    grid-column: 4 / 5;
  }
  .nav-link5 {
    grid-column: 5 / 6;
  }

  /* hamburger menu */
  /* hides hamburger on large screens */
  .menu-wrap {
    display: none;
  }
  /* slideshow video full screen */
  body {
    margin: 0 auto;
    margin: 0.5rem;
    /* border: 15px solid white; */
  }
  .header {
    height: 2.5rem;
    width: 100%;
  }
  .header-text {
    margin-bottom: 10px;
    margin-right: 15px;
    padding: 10px;
    font-size: 1.5rem;
    color: var(--accent-color);
    float: right;
    /* background: rgb(63,94,251); */
    background: linear-gradient(
      184deg,
      rgb(180, 62, 62) 0%,
      rgb(181, 69, 69) 50%,
      rgb(226, 105, 105) 100%
    );
    border-radius: 20px;
    box-shadow: 0px 4px 10px rgba(62, 180, 178, 0.5);
  }
  .tlapse-video {
    display: block;
    margin: 0 auto;
    max-width: 70vw;
    height: auto;
    border: solid 10px white;
  }
  .proshow {
    margin: 1rem;
  }
  .proshow video {
    position: relative;
    width: 100%;
  }

  /* main gallery grid layout */
  main {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    /* grid-gap: 1px; */
    align-items: stretch;
    justify-items: center;
    border: 20px solid #313131;
  }
  .next-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    /* grid-gap: 1px; */
    align-items: stretch;
    justify-items: center;
    border: 20px solid #313131;
  }
  .gallery {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    /* grid-gap: 1px; */
    align-items: stretch;
    justify-items: center;
  }
  .main-gallery {
    max-width: 100%;
    transition: all 0.2s ease-in-out;
  }
  .main-gallery:hover {
    transform: scale(1.05);
  }

  /* logo on contact form */
  .logo-form {
    display: inline-block;
    width: 500px;
    background: rgba(0, 0, 0, 0.5);
  }
  /* parallax images */
  .pimg2,
  .pimg3,
  .pimg4,
  .pimg5,
  .pimg6,
  .pimg7,
  .pimg8,
  .pimg9,
  .pimg10,
  .pimg11,
  .pimg12,
  .pimg13,
  .pimg14,
  .pimg15 {
    position: relative;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    /*
     fixed = parallax
     scroll = normal
   */
    background-attachment: fixed;
    min-height: 600px;
  }
  .pimg2 {
    display: grid;
    place-items: center;
    background-image: url(../img/bg/bg_08.jpg);
    /* min-height: 300px; */
  }
  .pimg3 {
    display: grid;
    place-items: center;
    background-image: url(../img/bg/bg_02.jpg);
    /* min-height: 300px; */
  }
  .pimg4 {
    display: grid;
    place-items: center;
    background-image: url(../img/bg/bg_03.jpg);
    /* min-height: 300px; */
  }
  .pimg5 {
    display: grid;
    place-items: center;
    background-image: url(../img/bg/bg_04.jpg);
    /* min-height: 300px; */
  }
  .pimg6 {
    display: grid;
    place-items: center;
    background-image: url(../img/bg/bg_05.jpg);
    /* min-height: 300px; */
  }
  .pimg7 {
    display: grid;
    place-items: center;
    background-image: url(../img/bg/bg_06.jpg);
    /* min-height: 300px; */
  }
  .pimg8 {
    display: grid;
    place-items: center;
    background-image: url(../img/bg/bg_07.jpg);
    /* min-height: 300px; */
  }

  /* next background images */
  .pimg9 {
    display: grid;
    place-items: center;
    background-image: url(../img/bg/bg_15.jpg);
    /* individual height if required */
    min-height: 500px;
  }
  .pimg10 {
    display: grid;
    place-items: center;
    background-image: url(../img/bg/bg_13.jpg);
    /* individual height if required */
    min-height: 500px;
  }
  .pimg11 {
    display: grid;
    place-items: center;
    background-image: url(../img/bg/bg_04.jpg);
    /* individual height if required */
    min-height: 500px;
  }
  .pimg12 {
    display: grid;
    place-items: center;
    background-image: url(../img/bg/bg_03.jpg);
    /* individual height if required */
    min-height: 500px;
  }
  .pimg13 {
    display: grid;
    place-items: center;
    background-image: url(../img/specialised/special_03.jpg);
    /* individual height if required */
    min-height: 500px;
  }
  .pimg14 {
    display: grid;
    place-items: center;
    background-image: url(../img/bg/bg_01.jpg);
    /* individual height if required */
    min-height: 300px;
  }
  .pimg15 {
    display: grid;
    place-items: center;
    background-image: url(../img/bg/bg_09.jpg);
    /* individual height if required */
    min-height: 500px;
  }

  .ptext,
  .ptext a {
    margin: 2rem;
    color: var(--accent-color);
    font-size: 1.5rem;
    line-height: 2rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.3);
  }
  section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  /* google map */
  iframe {
    display: inline-block;
    height: 500px;
    width: 80vw;
  }
  .map-item3 {
    place-items: center;
    height: 500px;
    object-fit: cover;
  }
  .map-image {
    display: none;
  }
  /* advantage section */
  .advantage {
    display: flex;
    justify-content: center;
  }
  .advantage_text {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* margin-left:2.5rem; */
  }
  .advantage_item1,
  .advantage_item2,
  .advantage_item3 {
    margin: 30px auto 30px;
    color: #fff;
    background: var(--section-light);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  }
}
/* icons above text on tablets */
@media only screen and (max-width: 999px) {
  .icon::before {
    display: block;
    font-family: 'Font Awesome 5 Free';
    font-size: 0.95em;
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    text-align: center;
  }
}
