/*
=============== 
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(184, 91%, 17%);
  --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: #478dc3;
  /* lighter shades of primary color */
  --clr-primary-6: hsl(185, 57%, 50%);
  --clr-primary-7: hsl(184, 65%, 59%);
  --clr-primary-8: hsl(184, 80%, 74%);
  --clr-primary-9: hsl(185, 94%, 87%);
  --clr-primary-10: hsl(186, 100%, 94%);
  /* darkest grey - used for headings */
  --clr-grey-1: hsl(209, 61%, 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, 36%, 96%);
  --clr-white: #fff;
  --ff-primary: "Lato", sans-serif;
  --transition: all 0.3s linear;
  --spacing: 0.25rem;
  --radius: 0.5rem;
  --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
/*
=============== 
Global Styles
===============
*/
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
* {
  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;
} 

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-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: 2.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{
  text-align: center;
  margin-bottom: 4rem;
  color: #478DC3;
}
.section-title h2{
  text-transform: uppercase;
}
.section-title span{
  color: yellow;
}
.section-center{
  width: 90vh;
  margin: 0 auto;
  max-width: 1170px;
}
@media screen and (min-width: 992px) {
  .section-center{
    width: 95%;
  }
  
}

/*
=============== 
Navbar
===============
*/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--clr-white);
  box-shadow: var(--dark-shadow);
  z-index: 2;


}

.nav-icons {
  display: none;
}

.nav-center {
  width: 100%;
  /* max-width: 1170px;  */
  margin: 0;


}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;


}

.nav-toggle {
  background: transparent;
  border: transparent;
  font-size: 1.5rem;
  color: var(--clr-primary-5);
  cursor: pointer;
  transition: var(--transition);
  margin-right: 1rem;


}

.nav-toggle:hover {
  transform: scale(1.5);
}

.nav-link {
  display: block;
  padding: 0.6rem 1.2rem;
  text-transform: capitalize;
  letter-spacing: var(--spacing);
  transition: var(--transition);
  color: var(--clr-grey-1);
  font-size: 1rem;

}

.nav-link:hover {
  color: white;
  background-color: #478DC3;

}

.nav-links {
  height: 0;
  overflow: hidden;
  transition: var(--transition);
}
.show-links {
  height: 215px;
}

.nav-logo {
  object-fit: fill;
  margin-left: 1rem;
}

@media screen and (min-width:992px) {

  /* hide toggle button */
  .navbar {
    padding: 1rem 1rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .nav-links {
    height: auto;
    display: flex;
  }

  .nav-header {
    padding: 0 0;

  }

  .nav-links {
    padding: 0 0;
    margin-right: 0.7rem;
  }

  .nav-links:hover {
    padding: 0;
    color: rgb(230, 230, 125);
    background: transparent;
  }

  .nav-icons {
    display: flex;
  }

  .nav-icon {
    margin-right: 0.7rem;
    color: var(--clr-primary-5);
    font-size: 1.2rem;
    transition: var(--transition);

  }

  .nav-icon:hover {
    color: var(--clr-primary-8);
  }
}
/*
=============== 
Hero
===============
*/

.hero{
  min-height: 100vh;
  background: linear-gradient(rgba(146, 212, 218, 0.9), rgba(0, 0, 0, 0.9)), url("../images/im4.jpeg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center; 
 
 

}
.hero-banner{
  text-align: center;
  color: var(--clr-white);
  padding: 0 3rem;
}
.hero-banner h1{
  text-transform: uppercase;
}
.hero-banner p{
  max-width: 35rem;
  margin-left: auto;
  margin-right: auto;
  color:white;
  letter-spacing: var(--spacing);

}
.hero-btn{
  padding: 0.9rem 1.6rem;
  font-size: 1.25rem;
  background-color: var(--clr-white);
  color: var(--clr-primary-5);
}
.hero-btn:hover{
  background: transparent;
  color: var(--clr-white);
  border-color: var(--clr-white);
}
.heading-acasa {
  font-size: 2rem;
  padding-bottom: 1rem;
}
@media screen and (min-width: 768px) {
  .hero{
    background: linear-gradient(rgba(146, 212, 218, 0.9), rgba(0, 0, 0, 0.9)), url("../images/im4.jpeg") center/cover no-repeat;
  }
    .paragraf-acasa {
      font-size: 1.3rem;
      padding-top: 2rem;
    }
        .heading-acasa {
          font-size: 3rem;
          padding-bottom: 1rem;
        }
    
  .hero-banner{
    padding: 0;
  }
  .hero-banner p{
    max-width: 45rem;
  }

  
}
/*
=============== 
About
===============
*/
/* section add to globals */
/* title add to globals */
/* section center add to globals */
.about-img,.about-info{
  margin-bottom: 2rem;
}
.about-info p{
  line-height: 1.4;
  color: var(--clr-grey-1);
  font-size: 1.1rem;
}

.about-center{
max-width: 100vw;
padding: 2rem 2rem;
}

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

  }
    .about-info p {
      line-height: 1.4;
      color: var(--clr-grey-5);
      font-size: 1rem;
    }

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

  }
}
@media screen and (min-width:1170px){
.about-img::before{
  content: "";
  position: absolute;
  border: 0.4rem solid #478DC3;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  top: -3rem;
  left: -3rem;
  z-index: -1;

}
.about-img{
  position: relative;
}
.about-info p {
  line-height: 1.4;
  color: var(--clr-grey-5);
  font-size: 1.3rem;
}
}
/*
=============== 
Services
===============
*/
.services{
  background-color: var(--clr-grey-10);

}
.service{
  text-align: center;
  margin-bottom: 2rem;
  
  max-width: 100vw;
}
.proiecte-echipa{
  text-align: center;
}
.service-icon{
  background-color: var(--clr-primary-5);
  color: var(--clr-primary-1);
  padding: 0.5rem;
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 1.5rem;

}
.service-text{
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width:576px) {
  .service-center{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    
  }
  .service{
    flex: 0 0 calc(50% - 1rem);
    margin-bottom: 1rem;
  }
  
}
@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-icon{
      align-self: start;
    }
    .service-info{
      padding-left: 1rem;
    }
    .service-title{
      margin-bottom: 0.5rem;
    }
}

/*
=============== 
Featured Tours
===============
*/
.tour-card{
  transition: var(--transition);
  background: var(--clr-grey-10);
  box-shadow: var(--light-shadow);
  margin-bottom: 2rem;
 
  max-width: 100vw;
}
.tour-card:hover{
  box-shadow: var(--dark-shadow);
  transform: scale(1.02);
}
.tour-img-container{
  position: relative;
}
.tour-img{
  height: 15rem;
  -o-object-fit: fill;
     object-fit: fill;
}
.tour-date{
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--clr-primary-8);
  margin-bottom: 0;
  color: var(--clr-primary-1);
  text-transform: capitalize;
  padding: 0.25rem 0.5rem;
}
.tour-info{
  padding: 1.25rem 1.5rem;
}
.tour-title{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.tour-title p, .tour-title h4 {
  margin-bottom: 0.75rem ;
  line-height: 1.25;
}
.tour-footer{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}
.tour-title p{
color: var(--clr-grey-7);
}
.tour-footer p{
  line-height: 0;
  margin-bottom:0;
  text-transform: capitalize;
  color: var(--clr-primary-5);
}
.tour-btn{
  text-align: center;
}
@media screen and (min-width:768px) {
  .featured-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-color: var(--clr-primary-5);
}
.contact-title{
  color: var(--clr-white);
}
.contact-title p{
  color: var(--clr-primary-8);
}
.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: 1.5;
  font-weight: 300;
  letter-spacing: var(--spacing);
  background: var(--clr-white);
  text-transform: capitalize;
  border: transparent;
}
.form-control::-webkit-input-placeholder{
  color: inherit;
}
.form-control::-moz-placeholder{
  color: inherit;
}
.form-control:-ms-input-placeholder{
  color: inherit;
}
.form-control::-ms-input-placeholder{
  color: inherit;
}
.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);
  cursor: pointer;
  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;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .contact-form{
    align-self: flex-start;
    flex: 1 1 auto;
    max-width: 100%;
    padding-left: 2rem;
  }
}

/*
=============== 
Gallery
===============
*/
.gallery-img-container{
  position: relative;
  background-color: var(--clr-primary-5);
  max-width: 100vw;
}

.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;
  -o-object-fit: cover;
     object-fit: cover;
  transition: var(--transition);
  
  
}
.gallery-img-container:hover .gallery-img{
  opacity: 0.6;
}
.gallery-img-container:hover .gallery-icon {
  opacity: 1;
}
#gallery{
  background-color: var(--clr-grey-10);
}
@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-color: var(--clr-grey-1);
  text-align: center;
  padding-left:1.5rem;
  padding-right:1.5rem;
  
  padding-bottom: 1rem;
}
.footer-links, .footer-icons{
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  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-link:hover{
  color: var(--clr-primary-5);
}
.footer-icon{
  font-size: 2rem;
  margin-right: 1rem;
  color: var(--clr-white);
  transition: var(--transition);
}
.footer-icon:hover{
  color: var(--clr-primary-5);
}
.copyright{
  text-transform: capitalize;
  letter-spacing: var(--spacing);
  color: var(--clr-white)
}
