@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@200;300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: 'Roboto Slab', serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
}

.head_container {
  width: 90%;
  margin: auto;
}

/* ================= HEADER ================= */

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.header_container {
  max-width: 100%;
  margin: auto;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo img {
  width: 130px;
}

header ul {
  display: flex;
  gap: 40px;
}

header ul li a {
  color: white;
  font-size: 18px;
  transition: .3s;
}

header ul li a:hover {
  color: #D4A437;
}


/* ================= HAMBURGER ================= */

.hambuger {
  display: none;
  position: relative;
  z-index: 2000;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: .3s;
  background: white;
}

.nav-menu {
  z-index: 1500;
}

/* ================= HERO ================= */

.home {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.home .image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.home .text {
  max-width: 650px;
  color: #fff;
  padding-top: 120px;
  padding-left: 40px;
  /* lebih ke kiri */
  position: relative;
  z-index: 2;
}

.home h1 {
  font-size: 68px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
}

.home h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #D4A437;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: left;
}

.home p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  text-align: left;
}

.home button {
  margin-top: 10px;
  padding: 16px 40px;
  border: none;
  border-radius: 50px;
  background: #D4A437;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
}

.home button:hover {
  transform: translateY(-3px);
}

.home .image_item {
  position: absolute;
  top: 50%;
  right: 80px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 2;
}

.home .image_item img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: .3s;
}

.home .image_item img:hover {
  transform: scale(1.05);
}

.home .image_item img.active {
  border: 3px solid white;
}

/* ================= BOOK ================= */

.book {
  background: white;
  padding: 90px 0 70px;
  position: relative;
  z-index: 5;
}

.booking-title {
  text-align: center;
  margin-bottom: 100px;
}

.booking-title h2 {
  font-size: 52px;
  color: #D4A437;
  margin-bottom: 10px;
}

.booking-title p {
  color: #666;
  font-size: 18px;
}

.book .container {
  background: linear-gradient(135deg,
      #161616,
      #2d2d2d);

  border-radius: 30px;

  padding: 40px;

  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 20px;

  align-items: end;

  box-shadow: 0 20px 45px rgba(0, 0, 0, .25);

  margin-top: -60px;
}

.book .box {
  display: flex;
  flex-direction: column;
}

.book label {
  color: #D4A437;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
}

.book input {
  width: 100%;
  height: 60px;

  border: none;
  outline: none;

  border-radius: 14px;

  background: rgba(255, 255, 255, .1);

  color: white;

  padding: 0 18px;

  font-size: 16px;
}

.book input:focus {
  border: 2px solid #D4A437;
}

.book .search {
  display: flex;
  align-items: end;
}

.book .search button {
  width: 100%;
  height: 60px;

  border: none;
  border-radius: 14px;

  background: #D4A437;

  color: white;

  font-size: 18px;
  font-weight: bold;

  cursor: pointer;

  transition: .3s;
}

.book .search button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 164, 55, .4);
}

/* ================= GLOBAL ================= */

.flex {
  display: flex;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.top {
  margin-top: 10%;
}

.mtop {
  margin-top: 5%;
}

.left,
.right {
  width: 50%;
}

/* ================= ABOUT ================= */

.about {
  margin-bottom: 50px;
  background: #f8f5ef;
  padding: 100px 0;
}

.about .img {
  position: relative;
}

.about .image1 {
  width: 310px;
  height: 450px;
}

.about .image2 {
  width: 325px;
  height: 220px;
  position: absolute;
  bottom: 5px;
  right: 30%;
}

.heading {
  position: relative;
}

.heading::after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100px;
  height: 4px;
  background: #C1B086;
}

.heading h5 {
  font-weight: 400;
  letter-spacing: 2px;
  padding-top: 20px;
  color: #5f5f5f;
}

.heading h2 {
  font-size: 30px;
  font-weight: 400;
  margin: 20px 0 40px;
}

.heading p {
  margin-bottom: 20px;
  line-height: 25px;
  color: #5f5f5f;
}

.btn1 {
  background: #C1B086;
  color: white;
}


/* ================= ROOM ================= */

.room {
  background: #f8f5ef;
  padding: 90px 0;
}

.room .heading h2 {
  font-size: 48px;
  color: #111;
}

.room .heading h5 {
  color: #444;
  letter-spacing: 4px;
}

.room .btn1 {
  padding: 8px 14px;
  border: 2px solid #111;
  background: #c1a46b;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 60px;
}

.room-card {
  background: #d9aa5f;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
  overflow: hidden;
  border-radius: 20px;
  transition: 0.4s;
}

.room-img {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: .4s;
}

.room-card:hover .room-img img {
  transform: scale(1.08);
}

.room-price {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(201, 154, 64, .85);
  color: white;
  padding: 18px 28px;
  font-size: 20px;
  font-weight: bold;
}

.room-info {
  padding: 30px;
  background: white;
}

.room-info h3 {
  font-size: 30px;
  margin-bottom: 10px;
  color: #111;
}

.room-info p {
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  margin-bottom: 30px;
}

.room-info button {
  width: 100%;
  padding: 16px;
  border: 2px solid #111;
  background: transparent;
  color: #111;
  font-size: 18px;
  cursor: pointer;
  transition: .3s;
}

.room-info button:hover {
  background: #111;
  color: #d9aa5f;
}

.room-card:first-child .room-info button {
  background: #111;
  color: #d9aa5f;
}

.room-card:hover {
  transform: translateY(-10px);
}

/* ================= WRAPPER ================= */

.wrapper {
  background-image: url("image/ami.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 650px;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 80px;
}

.wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.wrapper .container {
  position: relative;
  z-index: 2;
}

.wrapper .text {
  background: rgba(26, 40, 46, 0.92);

  width: 550px;
  max-width: 100%;

  padding: 50px;
  border-radius: 20px;

  color: white;

  box-shadow: 0 15px 35px rgba(0, 0, 0, .3);
}

.wrapper .text h2 {
  font-size: 38px;
  margin-bottom: 20px;
  color: #D4A437;
}

.wrapper .text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.luxury-quote {
  margin: 25px 0 35px;
  padding: 20px 25px;
  border-left: 4px solid #D4A437;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 18px;
  font-style: italic;
  line-height: 1.8;
  border-radius: 0 12px 12px 0;
}

.wrapper .content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.wrapper .content .box {
  background: rgba(255, 255, 255, 0.08);
  padding: 15px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  gap: 10px;

  transition: 0.3s;
}

.wrapper .content .box:hover {
  background: #D4A437;
  transform: translateY(-3px);
}

.wrapper .content i {
  font-size: 20px;
}

.wrapper .content span {
  font-size: 15px;
}

.wrapper .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.amenity-image {
  width: 45%;
}

.amenity-image img {
  width: 100%;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .3);
}

@media screen and (max-width:768px) {

  .wrapper {
    min-height: auto;
    padding: 60px 0;
  }

  .wrapper .text {
    width: 100%;
    padding: 30px;
  }

  .wrapper .content {
    grid-template-columns: 1fr;
  }

  .wrapper .text h2 {
    font-size: 28px;
  }

}

/* ================= RESTAURANT ================= */

.restaurant {
  background: #f8f5ef;
  padding: 120px 0;
}

.restaurant .container {
  align-items: center;
  gap: 60px;
}

.restaurant .left img {
  width: 100%;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .2);
}

.restaurant .right {
  padding: 0;
}

.restaurant-desc {
  margin: 25px 0;
  color: #555;
  line-height: 1.9;
  font-size: 17px;
}

.restaurant-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
  transition: .3s;
}

.feature-box:hover {
  transform: translateX(10px);
}

.feature-box i {
  font-size: 28px;
  color: #D4A437;
}

.feature-box h3 {
  margin-bottom: 5px;
  color: #111;
}

.feature-box p {
  color: #666;
}

.restaurant-btn {
  margin-top: 30px;
  padding: 15px 35px;
  border: none;
  border-radius: 50px;
  background: #D4A437;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
}

.restaurant-btn:hover {
  transform: translateY(-3px);
  background: #111;
}

.restaurant-images {
  position: relative;
}

.main-img {
  width: 100%;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .2);
}

.small-img {
  width: 220px;
  height: 160px;
  object-fit: cover;
  position: absolute;
  bottom: -30px;
  right: -30px;
  border: 6px solid white;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}

/* ================= GALLERY ================= */

.gallery {
  background: #f8f5ef;
  padding: 100px 0;
}

.owl-carousel .owl-next,
.owl-carousel .owl-prev {
  height: 50px;
  position: absolute;
  width: 50px;
  cursor: pointer;
  top: 35%;
  background: white !important;
}

.owl-carousel .owl-prev {
  left: 33px;
}

.owl-carousel .owl-next {
  right: 33px;
}

/* ================= FOOTER ================= */

footer {
  background: #111;
  color: white;
  padding: 80px 0;
}

footer p,
footer li {
  color: #cfcfcf;
}

footer {
  background: #111;
  color: white;
  padding: 90px 0 0;
}

footer .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

footer h3 {
  color: #D4A437;
  margin-bottom: 25px;
  font-size: 22px;
}

footer p {
  color: #cfcfcf;
  line-height: 1.8;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #cfcfcf;
  transition: .3s;
}

.footer-links a:hover {
  color: #D4A437;
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: #cfcfcf;
}

.contact-info i {
  color: #D4A437;
}

.socials {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.socials i {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #1f1f1f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .3s;
}

.socials i:hover {
  background: #D4A437;
  transform: translateY(-5px);
}

.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
  padding: 25px;
}

.footer-bottom p {
  color: #888;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
  line-height: 1.8;
}

.contact-info i {
  color: #D4A437;
  width: 20px;
  font-size: 18px;
}

.contact-info li:hover {
  transform: translateX(5px);
  transition: .3s;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(227, 213, 213, 0.1);
  margin-top: 50px;
  padding-top: 25px;
}

.footer-bottom p {
  color: #999;
  font-size: 14px;
}

/* ================= RESPONSIVE ================= */

@media screen and (max-width:992px) {

  .home .text {
    padding-left: 50px;
    padding-right: 30px;
  }

  .home h1 {
    font-size: 52px;
  }

  .home h2 {
    font-size: 24px;
  }

  .home p {
    font-size: 16px;
  }

  .home .image_item {
    right: 30px;
  }

  .book .container {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -40px;
  }

  .wrapper .text {
    width: 70%;
  }

}

@media screen and (max-width:768px) {

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    width: 100%;
    background: #1a282e;
    flex-direction: column;
    text-align: center;
    gap: 25px;
    padding: 30px 0;
    transition: 0.3s;
  }

  .nav-menu.active {
    left: 0;
  }

  .hambuger {
    display: block;
    cursor: pointer;
    z-index: 2000;
  }

  header {
    position: fixed;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
  }

  .home {
    min-height: auto;
    padding-bottom: 80px;
  }

  .home .text {
    padding: 120px 25px 40px;
    max-width: 100%;
  }

  .home h1 {
    font-size: 42px;
  }

  .home h2 {
    font-size: 20px;
  }

  .home p {
    font-size: 15px;
    line-height: 1.7;
  }

  .home .image_item {
    display: none;
  }

  .booking-title h2 {
    font-size: 38px;
  }

  .book .container {
    grid-template-columns: 1fr;
    margin-top: -30px;
    padding: 25px;
  }

  .left,
  .right {
    width: 100%;
  }

  .about .container,
  .restaurant .container {
    flex-direction: column;
  }

  .room .grid {
    grid-template-columns: 1fr;
  }

  .wrapper {
    height: auto;
    padding: 50px 0;
  }

  .wrapper .text {
    position: static;
    width: 100%;
    height: auto;
    padding: 30px;
  }

  .restaurant .right {
    padding: 20px;
    margin-top: 30px;
  }

  footer .grid {
    grid-template-columns: 1fr;
  }

  .room-grid {
    grid-template-columns: 1fr;
  }

  .room-img {
    height: 260px;
  }

  .room .heading h2 {
    font-size: 36px;
  }

  /* ================= ANIMATION ================= */

  .room-card,
  .about,
  .wrapper,
  .restaurant,
  .gallery {
    opacity: 1;
    transform: translateY(0);
  }

}