/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Body styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Header styles */
header {
  background: #333;
  color: #fff;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

h2 {
  margin-left: 20px;
}

.logo h1 {
  margin: 0;
  font-size: 1.5rem;
  font-family: "Merriweather", serif;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links li:hover {
  position: relative;
  top: 5px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-family: "Merriweather", serif;
}

.hero a {
  text-decoration: none;
  color: #333333;
}

/* Hero section styles */
.hero {
  background: url("imgCompress/hero.jpg") center/cover;
  display: flex; /* Use flexbox to center content */
  flex-direction: column; /* Stack content vertically */
  justify-content: center; /* Center vertically */
  align-items: center; /* Center horizontally */
  padding: 0;
  color: #fff;
  height: 100vh;
  text-align: center;
  font-family: "Merriweather", serif;
}

.hero a {
  color: #fff;
}

button {
  background-color: rgb(119, 119, 190);
  margin-top: 20px;
  padding: 15px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
}

button:hover {
  background-color: rgb(42, 42, 123);
}

/* Room section styles */
#Home,
#Galeri,
#Fasilitas,
#Kontak {
  scroll-margin-top: 70px; /* Adjust this value based on your navbar height */
}

#Galeri,
#Fasilitas {
  font-family: "Poppins", sans-serif;
  margin-top: 20px;
}

.container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.rooms {
  padding: 50px;
  width: 100vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.info-tambahan {
  padding: 0 50px 50px;
  width: 100vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.room,
.harga {
  width: 300px;
  margin-bottom: 30px;
  border: 1px solid black;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 7px;
}

.room h3,
.room p {
  margin-left: 2px;
}

.harga {
  width: 500px;
  margin-top: -10px;
  text-align: center;
}

.room img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

#Kontak .rooms {
  font-size: 3rem;
  text-align: center;
}

#Kontak .room i {
  font-size: 4rem;
}

#Kontak .room {
  width: 800px;
}

#Kontak a {
  text-decoration: none;
  color: black;
}

#Kontak a:hover {
  background-color: green;
  color: #fff;
}

/* Footer styles */
footer {
  text-align: center;
  background: #333;
  color: #fff;
  padding: 10px 0;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  .logo {
    margin: 0;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo h1 {
    margin-bottom: 0;
    font-size: 1rem;
  }

  .nav-links {
    margin-top: 5px;
  }

  .nav-links li {
    margin-left: 10px;
    margin-bottom: 0;
    font-size: 0.8rem;
  }

  #Kontak .rooms {
    font-size: 1.3rem;
  }

  #Kontak .room i {
    font-size: 1.3rem;
  }
}
