/*
=============== 
Fonts
===============
*/
@import url("https://fonts.googleapis.com/css?family=Lato:400,700&display=swap");

/*
=============== 
Variables
===============
*/

:root {
  /* dark shades of primary color*/
  --clr-primary-1: hsl(0, 0%, 100%);
  --clr-primary-2: hsl(185, 84%, 25%);
  --clr-primary-3: hsl(185, 81%, 29%);
  --clr-primary-4: hsl(184, 77%, 34%);
  /* primary/main color */
  --clr-primary-5: rgb(1,64,153);
  /* lighter shades of primary color */
  --clr-primary-6: hsl(185, 57%, 50%);
  --clr-primary-7: hsl(184, 65%, 59%);
  --clr-primary-8: rgb(184,13,16);
  --clr-primary-9: hsl(185, 94%, 87%);
  --clr-primary-10: hsl(186, 100%, 94%);
  /* darkest grey - used for headings */
  --clr-grey-1: rgb(184,13,16);
  --clr-grey-2: hsl(211, 39%, 23%);
  --clr-grey-3: hsl(209, 34%, 30%);
  --clr-grey-4: hsl(209, 28%, 39%);
  /* grey used for paragraphs */
  --clr-grey-5: hsl(210, 22%, 49%);
  --clr-grey-6: hsl(209, 23%, 60%);
  --clr-grey-7: hsl(211, 27%, 70%);
  --clr-grey-8: hsl(210, 31%, 80%);
  --clr-grey-9: hsl(212, 33%, 89%);
  --clr-grey-10: hsl(210, 17%, 91%);
  --clr-white: #fff;
  --ff-primary: 'font2';
  --transition: all 0.3s linear;
  --spacing: 0.25rem;
  --radius: 0.3rem;
  --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
/*
=============== 
Global Styles
===============
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--ff-primary);
  background: var(--clr-white);
  color: var(--clr-grey-1);
  line-height: 1.5;
  font-size: 0.875rem;
}
ul {
  list-style-type: none;

}
a {
  text-decoration: none;
}

 img:not(.nav-logo) {
  width: 100%;
  display: block;
} 
p {
  word-break: break-all;
}

h1,
h2,
h3,
h4 {
  letter-spacing: var(--spacing);
  text-transform: capitalize;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
h1 {
  font-size: 3rem;
}
h2 {
  font-family: 'font1';
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 0.875rem;
}
p {
  margin-bottom: 1.25rem;
  color: var(--clr-grey-5);
}
@media screen and (min-width: 800px) {
  h1 {
    font-size: 4rem;
  }
  h2 {
    font-size: 3.5rem;
  }
  h3 {
    font-size: 1.75rem;
  }
  h4 {
    font-size: 1rem;
  }
  body {
    font-size: 1rem;
  }
  h1,
  h2,
  h3,
  h4 {
    line-height: 1;
  }
}
/*  global classes */

.btn {
  text-transform: uppercase;
  background: var(--clr-primary-5);
  color: var(--clr-white);
  padding: 0.375rem 0.75rem;
  letter-spacing: var(--spacing);
  display: inline-block;
  /* font-weight: 700; */
  transition: var(--transition);
  font-size: 0.875rem;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.btn:hover {
  color: var(--clr-primary-1);
  background: var(--clr-primary-8);
}


.section{
  padding: 5rem 0;
}
.section-title{
  margin-bottom: 4rem;
  text-align: center;
}
.section-title h2{
  text-transform: uppercase;
}
.section-title span{
  color: var(--clr-primary-5);
}
.section-center{
  width: 90vw;
  max-width: 1190px;
  margin: 0 auto;
}
@media  screen and (min-width:992px){
  .section-center{
    width:90vw;
  }
}
/*
=============== 
Navbar
===============
*/
.top{
  position:sticky;
  left: 0;
  top: 0;
  width: 100%;
  background: var(--clr-white);
  box-shadow: var(--dark-shadow);
  z-index: 15;
}

@media screen and (min-width:992px){
  .nav-toggle{
    display: none;
  }
  .nav-center{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-links{
    height: auto;
    display: flex;
  }
  .nav-header{
    padding: 0 0;
  }
  .nav-link{
    padding: 0 0;
    margin-right: 0.7rem;
  }
  .nav-link:hover{
    padding: 0;
    color: var(--clr-primary-5);
    background: transparent;
    font-style: normal;
    
  }

  .nav-icons{
    width: 80px;
    margin-top: 15px;
    margin-right: 10px;
    display: flex;
  }
  .nav-icon {
    margin-right: 10px;
    color: var(--clr-primary-5) ;
    font-size: 1.24rem;
  }
}
/*
=============== 
Hero
===============
*/

/*
=============== 
About
===============
*/
/* section add to globals */
/* title add to globals */
/* section center add to globals */
.about-img, .about-info{
  margin-bottom: 2rem;
}

@media screen and (min-width:992px){
.section-title h2{
  margin-bottom: 2rem;
}

  .about-img, .about-info{
    flex: 0 0 calc(50% - 2rem);
    margin: 0 1rem;
    align-self: center;
  }
}


/*
=============== 
Services
===============
*/
.services{
  background: var(--clr-grey-10);
  height: 400px;
}
.services .service-info h2 {
  font-weight: bold;
  font-size: 40pt;
  font-family: 'font2';
}

.service .service-title {
  font-size: 14pt;
  font-family: 'font2';
  font-weight: bold;
  color: var(--clr-primary-5);
}

.services .section-title {
  text-align: center;
  padding-top: 60px;
}

.service{
  text-align: center;
  display:inline-block;
  padding-left:6rem ;
  padding-top:3.5rem;
}
.service-icon{ 
  
  padding: 0.5rem;
  text-align: center;
  display: inline-block;
  font-size: 3rem;
  margin-bottom:2rem ;
}
.service-text{
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}

.service-title {
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  
}

.productdisplay {
  width: 100%;
  height: 650px;
  background: var(--clr-grey-10);
}

.productdisplay .section-title {
  text-align: center;
  padding-top: 40px;
}

@media screen and (min-width:576px){
  .section-center{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

  }
  .service{
    flex: 0 0 calc(50% - 1rem);
    margin-bottom: 1rem;
    
  }
  .service-icon{
    padding-bottom: 0;
  }
}
@media screen and (min-width:992px){
  .service{
    flex: 0 0 calc(33.33% - 1rem);
  }
}
@media screen and (min-width:1170px) {
  
  .service{
    display: flex;
    text-align: left;
  }
  .service-info{ 
    padding-left: 1rem;
    text-align: center;
  }
}

/*
=============== 
Featured Tours
===============
*/
.tour-card{
  transition:var(--transition);
  background: var(--clr-grey-10);
  box-shadow: var(--light-shadow);
  margin-bottom: 2rem;
  width: 50%;
  margin-left: auto;

  
}
.tour-card:hover{
  box-shadow: var(--dark-shadow);
  transform: scale(1.02);
}
.tour-image-container{
position: relative;
}
.tour-img{
  height: 15rem;
  object-fit: cover;
}
.tour-date{
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--clr-primary-8);
  margin-bottom: 0;
  color: var(--clr-primary-1);
  text-transform: capitalize;
  padding: 0.25rem 0.5rem;
}
.tour-info{
  margin: 1.25rem 1.5rem;
}
.tour-info h4 {
  font-size: 14pt;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
}
.tour-info p {
  font-size: 12pt;
}
.tour-fotter{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  padding-bottom: 1.5rem;
  
}
.tour-fotter p{
  line-height: 0;
  margin: 0;
  text-transform: capitalize;
  color: var(--clr-primary-5);
}
.tour-btn{
  text-align: center;
}
@media screen and ( min-width: 768px ) {

  .feature-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .tour-card{
    flex: 0 0 calc(50% - 2rem);
  }
}
@media screen and ( min-width: 1170px ) {
  .tour-card{
    flex: 0 0 calc(33.33% - 2rem);
  }
  
}
/*
=============== 
Contact
===============
*/
.contact{
  background: var(--clr-primary-5);
  height: 100px;
}
article{
  width: 100%;
  margin-bottom: rem;
}

.contact-title{
  text-align: center;
  align-items: center;
  margin-bottom: 2rem;
color:var(--clr-white);
}
.contact-title h3{
  text-transform: uppercase;
  text-align: center;

}
.contact-form{
  display: flex;
  max-width: 28rem; 
}
.form-control{
  flex: 1 1 auto;
  color: var(--clr-grey-5);
}
.form-control,.btn-submit{
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1rem;
  font-weight: 300;
  background: var(--clr-white);
  text-transform: capitalize;
  border: transparent;
}
.form-control::placeholder{
  color: inherit;
}
.btn-submit{
  font-family: var(--ff-primary);
  margin-left: 0.5rem;
  background: var(--clr-primary-8);
  color: var(--clr-primary-1);
  transition: var(--transition);
}
.btn-submit:hover{
  background: var(--clr-primary-1);
  color:var(--clr-primary-5)
}

@media screen and (min-width:992px){
  .contact-center{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .contact-form{
    align-self: flex-start;
    flex: 1 1 auto;
    max-width: 100%;
    padding-left: 2rem;
  }
}

/*
=============== 
Gallery
===============
*/
.gallery-img-container{
  position: relative;
  background:var(--clr-primary-5);
  margin-bottom: 10px;
}
.gallery-img-container img {
  border-radius: 20px;
  margin-right: 20px;
}

.gallery-icon{
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 2rem;
  transform: translate(-50%,-50%);
  color: var(--clr-white);
  opacity: 0;
  cursor: pointer;
  transition: var(--transition);

}
.gallery-img{
  height: 17rem;
  object-fit: cover;
  transition: var(--transition);
  margin-bottom: 50px;
}
.gallery-img-container:hover,.gallery-img{
  opacity: 0.7;
}

.gallery-img-container:hover .gallery-icon{
  opacity: 1;
}
@media screen and (min-width:768px) {
  .gallery-center{
    display: flex;
    flex-wrap: wrap;
  }
  .gallery-img-container{
    flex: 0 0 50%;
  }
  
}
@media screen and (min-width:992px){
  .gallery-img-container{
    flex: 0 0 25%;
  }
}

/*
=============== 
Footer
===============
*/
footer{
  background: var(--clr-grey-1);
  text-align: center;
  padding-left: 2rem;
  padding-right: 2rem;
  height: 60px;
}
.footer-links, .footer-icons{
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.footer-link{
  color: var(--clr-white);
  text-transform: capitalize;
  font-size: 1rem;
  margin-right: 1rem;
  letter-spacing: var(--spacing);
  transition: var(--transition);
}
.footer-links li {
  margin-right: 30px;
}
.footer-links li a {
  font-size: 14pt;
}

.footer-link:hover{
  color: var(--clr-primary-5);
}
.footer-icon{
  font-size: 2rem;
  margin-right: 1rem;
  color: var(--clr-primary-8);
  transition: var(--transition);
}
.footer-icon:hover{
  color: var(--clr-primary-5);
}
.copyright{
  text-transform: capitalize;
  font-size: 1rem;
  color: var(--clr-white);
  letter-spacing: var(--spacing);
}

.slideshow {
  background-color: rgb(1, 64, 153);
  width: 100%;
  height: 600px;
}

.footer img {
  width: 100%;
  height: 100%;
}