* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f7f5f0;
  color: #222;
}


/* NAVBAR */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 8%;

  background: rgba(0,0,0,.7);
  backdrop-filter: blur(10px);

  color: white;
}

.logo {
  font-size: 23px;
  font-weight: bold;
  letter-spacing: 2px;
}

.logo span {
  color: #d6b36a;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  color: white;
  text-decoration: none;
}

nav a:hover {
  color: #d6b36a;
}


/* HERO */

.hero {
  min-height: 100vh;

  display: flex;
  align-items: center;

  padding: 100px 8%;

  background:
    linear-gradient(
      rgba(0,0,0,.55),
      rgba(0,0,0,.65)
    ),
    url("https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=2000&q=80");

  background-size: cover;
  background-position: center;

  color: white;
}

.hero-content {
  max-width: 700px;
}

.hero small {
  color: #d6b36a;
  letter-spacing: 4px;
}

.hero h1 {
  font-size: 60px;
  margin: 20px 0;
}

.hero p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #eee;
}


/* BUTTON */

.btn {
  display: inline-block;

  padding: 14px 28px;

  background: #d6b36a;
  color: #111;

  border-radius: 6px;

  text-decoration: none;
  font-weight: bold;

  border: none;

  cursor: pointer;
}


/* SECTION */

section {
  padding: 90px 8%;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title small {
  color: #b08a45;
  letter-spacing: 3px;
  font-weight: bold;
}

.section-title h2 {
  font-size: 40px;
  margin-top: 10px;
}


/* ROOMS */

.rooms {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));

  gap: 30px;
}

.room-card {
  background: white;

  border-radius: 12px;

  overflow: hidden;

  box-shadow:
    0 10px 30px rgba(0,0,0,.08);
}

.room-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.room-content {
  padding: 25px;
}

.room-content h3 {
  font-size: 23px;
  margin-bottom: 10px;
}

.room-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.room-content strong {
  color: #b08a45;
  font-size: 19px;
}


/* SERVICES */

.services {
  background: #171717;
  color: white;
}

.service-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(200px, 1fr));

  gap: 25px;
}

.service {
  background: #222;

  padding: 30px;

  border-radius: 10px;

  text-align: center;
}

.service .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.service p {
  color: #aaa;
  margin-top: 10px;
  line-height: 1.5;
}


/* BOOKING */

#booking {
  background: #eeeae2;
}

.booking-container {
  max-width: 850px;
  margin: auto;

  background: white;

  padding: 40px;

  border-radius: 15px;

  box-shadow:
    0 15px 40px rgba(0,0,0,.08);
}

.form-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-weight: bold;
}

input,
select,
textarea {
  padding: 14px;

  border: 1px solid #ddd;

  border-radius: 7px;

  font-size: 15px;

  outline: none;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

#submitBtn {
  width: 100%;

  margin-top: 25px;

  padding: 16px;

  border: none;

  border-radius: 7px;

  background: #171717;

  color: white;

  font-size: 16px;

  font-weight: bold;

  cursor: pointer;
}

#submitBtn:disabled {
  background: #888;
}


/* MODAL */

.modal {
  position: fixed;

  inset: 0;

  display: none;

  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,.7);

  z-index: 2000;
}

.modal-box {
  background: white;

  width: 90%;
  max-width: 450px;

  padding: 40px;

  text-align: center;

  border-radius: 15px;
}

.success {
  font-size: 60px;
  margin-bottom: 20px;
}

.booking-id {
  display: inline-block;

  padding: 12px 20px;

  margin: 20px 0;

  background: #eeeae2;

  border-radius: 8px;

  font-weight: bold;

  letter-spacing: 2px;
}


/* FOOTER */

footer {
  background: #111;

  color: white;

  text-align: center;

  padding: 40px;
}

footer p {
  color: #aaa;
  margin-top: 10px;
}


/* MOBILE */

@media(max-width: 768px) {

  nav ul {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }

  .booking-container {
    padding: 25px;
  }

}

