
:root{
   --main-color:#ffffff;
   --sub-color:rgb(252, 140, 60);
   --white:#fff;
   --border:.1rem solid rgba(220, 198, 156, .3);
}

@font-face {
  font-family: acme;
  src: url(Acme-Regular.ttf);
}

@font-face {
  font-family: lato;
  src: url(Lato-Regular.ttf);
}

.font-head {
  font-family: 'acme';
}

.font-text {
  font-family: 'lato';
}

*{
  margin: 0; padding: 0;
  box-sizing: border-box;
  outline: none; border: none;
  text-decoration: none;
}

*::selection{
   background-color: var(--sub-color);
   color: var(--main-color);
}

*::-webkit-scrollbar{
   height: .5rem;
   width: 1rem;
}

*::-webkit-scrollbar-track{
   background-color:#72747d;
}

*::-webkit-scrollbar-thumb{
   background-color: var(--sub-color);
   border-radius: 5rem;
}

html{
   font-size: 62.5%;
   overflow-x: hidden;
   scroll-behavior: smooth;
   scroll-padding-top: 2rem;
}

body{
   background-color: var(--main-color);
}

section{
   padding: 3rem 2rem;
   max-width: 1200px;
   margin: 0 auto;
}

/* header logo nav */

/* button start*/
.btn{
   display: inline-block;
   cursor: pointer;
   padding: 1rem 3rem;
   border: 2px solid rgb(252, 140, 60);
   border-radius: 20px;
   font-size: 1.5rem;
   color: white;
   text-align: center;
   text-transform: capitalize;
   transition: .2s linear;
   margin-top: 1rem;
   background-color: rgb(252, 140, 60);
}

.btn:hover{
   border-radius: 5rem;
   background-color: rgb(0, 0, 0);
   color: white;
   border: 2px solid rgb(252, 140, 60);
}
/* button end */

/* header start */
header {
  height: 10vh;
  max-width: 80%;
  margin: auto;
}

.logo img {
  width: 120px;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}

li {
   list-style: none;
 }
 

.nav-link {
   font-size: 190%;
}

.hambuger {
  display: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: #fff;
}

header ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header ul li {
  margin-left: 3rem;
}

header ul li a {
  font-size: 1.2rem;
  font-weight: 400;
  color: rgb(0, 0, 0);
  transition: 0.5s;
}

header ul li a:hover {
  color: #C1B086;
}

.active {
  border: 1px solid black;
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.13);
}

button {
  --primary-color: rgb(252, 140, 60);
  --secondary-color: #000000;
  --hover-color: #000000;
  --arrow-width: 10px;
  --arrow-stroke: 2px;
  box-sizing: border-box;
  border: 1.5px solid var(--secondary-color);
  border-radius: 20px;
  color: var(--secondary-color);
  padding: 1em 1.8em;
  display: flex;
  transition: 0.2s background;
  align-items: center;
  gap: 0.6em;
  font-weight: bold;
  background-color: rgb(252, 140, 60);
}

button .arrow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

button .arrow {
  margin-top: 1px;
  width: var(--arrow-width);
  background: var(--primary-color);
  height: var(--arrow-stroke);
  position: relative;
  transition: 0.2s;
}

button .arrow::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  border: solid var(--secondary-color);
  border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
  display: inline-block;
  top: -3px;
  right: 3px;
  transition: 0.2s;
  padding: 3px;
  transform: rotate(-45deg);
}

button:hover {
  background-color: var(--hover-color);
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
}

button:hover .arrow {
  background: var(--primary-color);
}

button:hover .arrow:before {
  right: 0;
  border: solid var(--primary-color);
  border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

@media only screen and (max-width: 768px) {
  header ul {
    display: block;
    position: fixed;
    left: -100%;
    top: 5rem;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    transition: 0.5s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    z-index: 20;
  }

  header ul.active {
    left: 0%;
  }

  header ul li {
    margin: 2.5rem 0;
  }

  header ul li a {
    color: black;
  }

  .hambuger {
    display: block;
    cursor: pointer;
  }

  .hambuger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hambuger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hambuger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
/* header end */

/* home start */
.home h1{
   color: rgb(252, 140, 60);
   text-align: center;
  font-size: 3rem;
  height: fit-content;
  margin-top: 20px;
  margin-bottom: 20px;
}
.home .box img{
   border-radius: .5rem;
   height: 60vh;
   width: 100%;
   object-fit: cover;
}

.home .box .flex{
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 1.5rem;
   flex-wrap: wrap;
   margin-top: 1.5rem;
}

.home .box .flex h3{
   font-size: 2.5rem;
   color: rgb(252, 140, 60);
   text-transform: capitalize;
}
.home .box .flex p{
   font-size: 1.5rem;
   color: rgb(0, 0, 0);
  letter-spacing: 0.5px ;
  word-spacing: 1px;
  line-height: 150%;
  
}

.home .box .flex a{
  font-size: 2.5rem;

 
}
/* home end */

/* slider room */
.swiper-button-next,
.swiper-button-prev{
   padding: 3rem;
   background-color: rgb(252, 140, 60);
   opacity: .7;
   margin-right: 4rem;
   margin-left: 4rem;
   border-radius: 10px;
}

.swiper-button-next::after,
.swiper-button-prev::after{
   color: white;
   font-size: 3rem;
}
/* slider room end */
/* boking start */

.reservation{
  box-shadow: rgba(50, 50, 93, 10) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
.reservation form{
   border: var(--border);
   padding: 2rem;
}

.reservation form .flex{
   display: flex;
   flex-wrap: wrap;
   gap: 1.5rem;
}

.reservation form h3{
   color: rgb(252, 140, 60);
   font-size: 2.5rem;
   margin-bottom: 2rem;
   border-radius: .5rem;
   padding: 1.2rem;
   text-align: center;
   text-transform: capitalize;
}

.reservation form .flex .box{
   flex: 1 1 40rem;
}

.reservation form .flex .box p{
   font-size: 1.8rem;
   color: var(--sub-color);
}

.reservation form .flex .box .input{
   padding: 1rem;
   margin: 1rem 0;
   border-bottom: black;
   background: rgb(252, 140, 60);
   color: rgb(255, 255, 255);
   font-size: 1.8rem;
   width: 100%;
   border-radius: 10px;
}

.reservation form .flex .box input[type="date"]::-webkit-calendar-picker-indicator{
   filter: invert(1);
}
/* boking end */
/* fasilitas start */
.about h1{
   color: rgb(252, 140, 60);
   text-align: center;
   font-size: 4rem;
   height: fit-content;
   margin-top: 5%;
   margin-bottom: 3%;
   
}

.about .row{
   display: flex;
   flex-wrap: wrap;
   gap: 1.5rem;
   text-align: center;
   align-items: center;
}

.about .row .image{
   flex: 1 1 40rem;
}

.about .row .image img{
   width: 30rem;
   border-radius: .5rem;
}

.about .row .content{
   flex:1 1 40rem;
}

.about .row .content h3{
   font-size: 2.5rem;
   color: var(--sub-color);
   text-transform: capitalize;
   margin-bottom: 1rem;
}

.about .row .content p{
   line-height: 2;
   padding: 1rem 0;
   font-size: 1.7rem;
   color: var(--sub-color);
}

.about .row.revers{
   flex-flow: row-reverse;
   margin: 3rem 0;
   flex-wrap: wrap;
}
/* fasilitas end */


.home .box .flex h4{
   font-size: 2.5rem;
   color: rgb(252, 140, 60);
   text-transform: capitalize;
   display: flex;
   justify-content: center;
   width: 100%;
}


.topbut {
  --offset: 50px; 

  position: sticky;
  bottom: 20px;      
  color: white;
  margin-top: calc(100vh + var(--offset));
  margin-left: 96%;
  width: 40px;
  height: 45px;
  background: #ff8b24;
  border-radius: 10px;
  font-size: 500%;
}

/* contact */

.contact {
   background-color: #72747d;
   color: white;
   margin-top: 8%;
 }
 
 .cont-head {
   display: flex;
   justify-content: center;
   padding: 3%;
   font-size: 300%;
 }
 
 .grid-wrapper {
   --gap: 50px;
   --num-cols: 4;
   --row-height: 70px;
 
   box-sizing: border-box;
   padding: var(--gap);
 
   display: grid;
   grid-template-columns: repeat(var(--num-cols));
   grid-auto-rows: var(--row-height);
   gap: 100px;
   display: flex;
   justify-content: center;
 }
 
 .phone >div {
   display: flex;
   justify-content: center;
 }
 
 .mail >div {
   display: flex;
   justify-content: center;
 }
 
 .ig >div {
   display: flex;
   justify-content: center;
 }
 
 .fb >div {
   display: flex;
   justify-content: center;
 }
 
 .phone-img {
   width: 150px;
 }
 
 .mail-img {
   width: 150px;
 }
 
 .ig-img {
   width: 150px;
 }
 
 .fb-img {
   width: 150px;
 }
 
 .act {
  color: white;
 }

 .act:hover {
  color: rgb(252, 140, 60);
 }
 
 .grid-wrapper >div >div >h5 {
   font-size: 200%;
 }
 
 .grid-wrapper >div >div >p {
   font-size: 150%;
 }

 .grid-wrapper >div >div >a >p {
   font-size: 150%;
 }
 
 .grid-wrapper2 {
   box-sizing: border-box;

   padding-bottom: 2%;
 
   display: grid;
   grid-template-columns: 200px 200px;
   grid-template-rows: 100px;
   gap: 20px;
   display: flex;
   justify-content: center;
   align-items: center;
 }
 
 .grid-wrapper >div {
   margin-top: -2%;
 }
 
 .map {
   width: 400px;
 }
 
 .map iframe {
   width: 100%;
   height: 70%;
 } 
 
 .map-text {
   font-size: 250%;
   padding: 5%;
 }
 
 .location {
   width: 500px;
 
 }
 
 .location >div {
   display: flex;
   justify-content: left;
 }
 
 .loc-text {
   font-size: 300%;
 }
 
 .loc-img {
   width: 100px;
 }
 
 .loc-link {
   font-size: 150%;
 }
 /* contact */
 
 @media only screen and (max-width:768px) {
   .grid {
     grid-template-columns: repeat(1, 1fr);
   }
 
   .home .text {
     margin: 10% 0 0 0;
   }
 
   .home h1 {
     font-size: 40px;
   }
 
   .about p,
   .home p {
     margin: 50px 0 0 0;
   }
 
   .wrapper .text {
     padding: 10px;
     height: 600px;
   }
 
   .heading_top {
     margin-top: 100px;
   }
 
   .heading_top button {
     display: none;
   }
 }

   /* contact end */

html {
   scroll-behavior: smooth;
}
/* media queries  */

@media (max-width:991px){

   html{
      font-size: 55%;
   }

   .header .flex .fa-bars{
      display: inline-block;
   }

   .header .flex .btn{
      display: none;
   }

   .header .navbar{
      flex-flow: column;
      padding: 2rem;
      display: none;
   }

   .header .navbar.active{
      display: flex;
   }

}

@media (max-width:768px){

   .home .box img{
      height: 40vh;
   }

   .swiper-button-next,
   .swiper-button-prev{
      top: 35%;
   }

}

@media (max-width:450px){

   html{
      font-size: 50%;
   }

   .header .flex .logo{
      font-size: 2rem;
   }

   .home .box img{
      height: 25rem;
   }

   .about .row .image img{
      width: 100%;
   }

   .gallery img{
      height: 25rem;
      width: 30rem;
   }

}