/*Import the fonts used*/
@import url("https://fonts.googleapis.com/css?family=Courgette|Open+Sans:400,800&display=swap");
/*Basic reset*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*Custom properties*/
.form3 {
  background: #e9d362; /* fallback for old browsers */
  background: -webkit-linear-gradient(
    to bottom,
    #333333,
    #e9d362
  ); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(
    to bottom,
    #333333,
    #e9d362
  ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

/* background: #e9d362;  fallback for old browsers   */
/* background: -webkit-linear-gradient(to right, #333333, #e9d362);  Chrome 10-25, Safari 5.1-6 */
/* background: linear-gradient(to right, #333333, #e9d362); W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

:root {
  --dark-color: #333333;
  --purple-solid: #333333;
  --purple-transparent: rgba(233, 211, 98, 0.7);
  --purple-transparent-alt: rgba(233, 211, 98, 0.5);
  --purple-light: #e9d362;
  --yellow-solid: #333333;
  --gradient-color: linear-gradient(
    to right,
    var(--yellow-solid),
    var(--purple-light)
  );
  --gradient-color-alt: linear-gradient(
    to right,
    var(--purple-light),
    var(--yellow-solid)
  );
}

/*Global styles*/

.nav-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 8rem;
  height: 7rem;
}

html {
  font-size: 10px;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 1.6rem;
  color: #e9d362;
  background-color: #1a1b1f;
  /* background-color: #0d324d; */
}
a {
  text-decoration: none;
  color: interit;
}
ul {
  list-style: none;
}

section {
  padding: 5rem 0;
}

/* Reusable styles */
.container {
  width: 100%;
  max-width: 120rem;
  padding: 0 1.5rem;
  margin: 0 auto;
}

.btn {
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0.5rem 3.5rem;
  border: none;
  border-radius: 10rem;
  display: inline-flex;
  align-items: center;
}

.btn-gradient {
  background-color: #424242;
}

/*.btn-gradient:hover {
  background-image: var(--gradient-color-alt);
}*/

.btn-purple {
  background-color: var(--purple-solid);
  transition: background-color 0.5s;
}

.btn-purple:hover {
  background-color: #e9d362;
}

.dots {
  font-size: 2.4rem;
  margin-left: 0.5rem;
  opacity: 0.75;
}

.header.active {
  background-color: var(--purple-solid);
  border-bottom: 2px solid #e9d362;
}

/* Header styles/ */

.header {
  width: 100%;
  height: 6rem;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #333333;
  z-index: 999;
}

/* Header styles - nav */

/* .dropbtn {
  background-color: #4caf50;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
} */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #e9d362;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: transparent;
}

/* .arrow {
  border: solid gold;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
} */

/* .down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
} */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  max-width: 80%;
}

.hamburger-menu {
  font-size: 2.6rem;
  color: #fff;
  cursor: pointer;
  position: relative;
  z-index: 1500;
}

.hamburger-menu .fa-times {
  display: none;
}

.menu-open .hamburger-menu .fa-times {
  display: block;
}
.menu-open .hamburger-menu .fa-bars {
  display: none;
}

.nav-list {
  position: fixed;
  top: 0;
  left: 0;
  width: 50%;
  height: 100vh;
  background-color: #1a1b1f;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1400;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s;
  text-align: center;
}

.menu-open .nav-list {
  opacity: 1;
  transform: scale(1);
}

.nav-item:not(:last-child) {
  margin-bottom: 0.5rem;
}

.nav-link {
  display: block;
  color: #fff;
  font-size: 3rem;
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 1rem;
}

/* Hero section styles */
.hero {
  width: 100%;
  height: 100vh;
  background: url("./images/IMG_20201209_163420.jpg") center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: inherit;
  height: inherit;
  background-color: rgba(51, 51, 51, 0.7);
  z-index: -1;
}

.main-heading {
  color: #fff;
  line-height: 1;
  text-shadow: 1px 1px 1rem rgba(0, 0, 0, 0.5);
  margin-bottom: 2.5rem;
}

.title {
  font-size: 3.2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: black;
  text-shadow: 0px 0px 8px rgba(233, 211, 98, 1);
}

.subtitle {
  font-size: 2rem;
  font-weight: 300;
  font-family: "Courgette", cursive;
  color: black;
  text-shadow: 0px 0px 8px rgba(233, 211, 98, 1);
}

/* Booking section styles */
.booking {
  background-image: var(--gradient-color);
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-lable {
  display: block;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #fff;
  font-weight: bold;
  margin-bottom: 1rem;
}

.input,
.options {
  outline: none;
  border: none;
  width: 100%;
  min-height: 4rem;
  padding: 1rem;
  font-weight: bold;
  color: #a5a5a5;
  letter-spacing: 2px;
  font-family: "Open Sans", sans-serif;
  /* resize: none; */
}

.form-btn {
  margin-top: 2.5rem;
  cursor: pointer;
}

::placeholder {
  color: inherit;
}

/* Featured hotels section styles */

.section-head {
  text-align: center;
  margin-bottom: 5rem;
}

.heading {
  display: block;
  font-size: 4rem;
  text-transform: uppercase;
}

.subheading {
  font-size: 1.7rem;
  font-family: "Courgette", cursive;
  font-weight: 300;
  color: #a5a5a5;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  grid-gap: 2.5rem;
}

.grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s;
  justify-content: center;
}

.grid-item h5{
  font-size: 2rem;
  color: white;
  /*text-shadow: 0px 0px 13px rgba(0, 0, 0, 1);*/
  
}


.grid-item:hover {
    
  -ms-transform: scale(1.2); /* IE 9 */
  -webkit-transform: scale(1.2); /* Safari 3-8 */
  transform: scale(1.2);


  -webkit-box-shadow: 0px 0px 18px 5px rgba(233, 211, 98, 0.55);
  -moz-box-shadow: 0px 0px 18px 5px rgba(233, 211, 98, 0.55);
  box-shadow: 0px 0px 18px 5px rgba(233, 211, 98, 0.55);
}

.grid-item:hover img{
  opacity: 0.8;
}


.grid-item:hover h5{
 
  font-size: 2rem;
  opacity: 1;
}


.feature-hotels {
  height: 35rem;
  color: #fff;
  padding: 1rem;
  position: relative;
}

.feature-hotels::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: var(--purple-transparent-alt); */
  z-index: -1;
}

.hotel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
}

.hotel-name {
  font-size: 2.6rem;
}

.hotel-price {
  font-size: 1.8rem;
  margin: 1rem 0 2.5rem;
}

.hotel-rating {
  margin: 1rem 0 2.5rem;
}

.rating {
  color: var(--yellow-solid);
}

/* about us section styles */

.offer {
  background: var(--gradient-color),
    url("./images/the_paradise_bg.jpg") bottom center no-repeat;
  background-size: cover;
}

.offer-content {
  background-color: #fff;
  text-align: center;
  padding: 5rem 1rem;
  margin-right: 5rem;
  margin-left: 5rem;
  position: relative;
  overflow: hidden;
}

.discount {
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  outline: 2px solid var(--yellow-solid);
  outline-offset: 0.5rem;
  margin-bottom: 1rem;
  /* margin-left: 50rem;
  margin-right: 5rem; */
}

.paragraph {
  color: #a5a5a5;
  margin-bottom: 2.5rem;
}

/* Contact section styles */

.contact-content {
  display: flex;
  justify-content: center;
}

.traveler-wrap {
  display: none;
}

.contact-form {
  width: 80%;
  background-image: var(--gradient-color);
  padding: 2.5rem;
}

.contact-form .input {
  display: block;
  background-color: transparent;
  color: #fff;
  font-weight: normal;
  border-bottom: 2px solid #fff;
  padding-left: 0;
}

.bar {
  display: block;
  position: relative;
}

.bar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: var(--purple-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}

.contact-form .input:focus + .bar::after {
  transform: scaleX(1);
}

/* Footer section styles */

.footer {
  padding: 5rem 0;
  background-color: var(--purple-solid);
  color: #fff;
}

.footer-content-brand {
  margin-bottom: 5rem;
}

.footer .paragraph {
  color: inherit;
}

.footer-heading {
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.social-media {
  display: flex;
}

.sm-link {
  width: 4rem;
  height: 4rem;
  font-size: 2rem;
  border: 2px solid #c4a265;
  border-radius: 50%;
  display: flex;
  margin-right: 1rem;
  transition: background-color 0.5s;
  color: #c4a265;
}

.sm-link:hover {
  background-color: rgba(172, 149, 37, 0.7);
  color: rgba(233, 211, 98, 0.7);
}

.sm-link i {
  margin: auto;
}



/* Media Queries */

@media screen and (min-width: 768px) {
  /* Header section styles  */
  .header {
    height: 10rem;
  }

  .header.active {
    height: 10rem;
  }
  /* Hero Section  */
  .title {
    font-size: 5rem;
  }
  /* Contact section styles  */
  /*.contact-content {
    justify-content: space-between;
  }
  
  .traveler-wrap {
    display: block;
    flex: 0 0 45%;
  }

  .traveler-wrap img {
    width: 100%;
  } */

  .contact-form {
    flex: 0 0 50%;
    align-self: flex-start;
  }

  .input-group-wrap {
    display: flex;
  }

  .input-group-wrap .input-group {
    width: 50%;
    margin-right: 2rem;
  }
  .input-group-wrap .input-group:last-child {
    margin-right: 0;
  }
  /* Footer section styles  */
  .footer {
    overflow-x: hidden;
  }

  .footer-content {
    display: flex;
    /* justify-content: space-between; */
  }

  .footer-content-brand {
    margin-bottom: 0;
    flex: 0 0 60%;
  }

  .footer .paragraph {
    margin-top: 2.5rem;
  }

  .footer-heading {
    margin-bottom: 5rem;
  }

  .social-media-wrap {
    flex: 0 0 40%;
    /* margin-left: 2.5rem; */
  }
}

@media screen and (min-width: 1000px) {
  section:not(.booking) {
    padding: 10rem 0;
  }

  .hamburger-menu {
    display: none;
  }

  .nav-list {
    position: initial;
    width: initial;
    height: initial;
    background-color: transparent;
    flex-direction: row;
    justify-content: initial;
    opacity: 1;
    transform: scale(1);
  }

  .nav-item:not(:last-child) {
    margin-right: 3rem;
    margin-bottom: 0;
  }

  .nav-link {
    font-size: 1.3rem;
    font-weight: normal;
    transition: color 0.5s;
  }
  .nav-link:hover {
    color: #e9d362;
  }
  /* Hero section styles */
  .title {
    font-size: 6rem;
  }
  .sub-title {
    font-size: 4.6rem;
  }
  /* Booking section styles  */
  .form {
    display: flex;
    justify-content: space-between;
  }
  .form .input-group {
    margin-bottom: 0;
  }

  .form .input-group:first-child {
    flex: 0 0 20%;
  }

  .input,
  .options {
    min-width: 10rem;
  }
  /* Rooms section styles  */
  .rooms-grid {
    grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr));
    grid-gap: 8rem;
  }
  .fetured-rooms {
    flex-direction: row;
    align-items: flex-start;
  }
  .room-info-wrap {
    margin-left: 1.5rem;
  }
}
