body {
  margin: 0;
  padding: 0;
  font-family: "Lato", sans-serif;
}
.logo {
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
}

/* Navigation Layout */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgb(68, 17, 88);
  padding: 10px 20px;
  position: relative;
}

.nav-left {
  display: flex;
  align-items: center;
  flex: 1;
  color: gold;
  font-weight: bold;
}

.nav-center {
  display: flex;
  justify-content: center;
  flex: 1;
  gap: 20px;
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  flex: 1;
  gap: 10px;
  text-decoration: none;
}

.nav-center a {
  color: white;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.nav-right button {
  background: linear-gradient(to right, orange, orangered);
  color: white;
  border: none;
  padding: 10px 12px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 7px;
  font-weight: bolder;
  text-decoration: none;
}

.nav-right button:hover {
  transform: translateY(-2px);
}

.nav-center a:hover,
.nav-right button:hover {
  text-decoration: none;
}

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* Mobile View */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-center {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: rgb(68, 17, 88);
    padding: 10px 0;
    text-align: center;
    z-index: 1000;
    border-bottom: solid 3px orange;
  }

  .nav-center.show {
    display: flex;
  }

  .nav-center a {
    padding: 10px 0;
  }
}

#active {
  color: gold;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
  background: #fff;
  padding: 20px;
  margin: 7% auto;
  width: 80%;
  max-width: 500px;
  height: 300px; /* height for login form */
  position: relative;
}
.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
}

/* The "Forgot password" text */
span.psw {
  float: right;
  padding-top: 16px;
}

/* Full-width inputs */
input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* Button on both login and signup form */
.login-btn,
.signup-btn {
  background: linear-gradient(to right, orange, Purple);
  color: white;
  border: none;
  padding: 10px 12px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 7px;
  font-weight: bolder;
}

#loginModal .modal-content {
  border-top: 5px solid #5c3d99;
}

#signupModal .modal-content {
  border-top: 5px solid #f47c3c;
  height: 470px; /* Height for signup form*/
}

/* ROOMS PAGE BEGINS HERE */

.banner {
  background-image: url("../img/polexhotel-room.jpg"); /* Banner background image */
  background-size: cover;
  background-position: center;
  height: 150px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 50px;
  color: white;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(59, 0, 71, 0.7); /* Dark purple overlay */
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: right;
}

.banner-content h1 {
  font-size: 36px;
  color: #ffeb3b; /* Bright yellow text */
  margin: 0;
}

.banner-content p {
  margin-top: 8px;
  color: #ddd;
  font-size: 14px;
}

/* room Section */
.ourhotel {
  text-align: center;
  padding: 60px;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 18px;
}

.room-section {
  padding: 40px;
  font-family: "Segoe UI", sans-serif;
}

.room-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.room-card {
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.room-card:hover {
  transform: translateY(-5px);
}

.room-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.room-info {
  padding: 15px;
}

.room-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.room-info p {
  color: #666;
  font-size: 14px;
}

.footer {
  background: linear-gradient(to right, #340048, #560065);
  color: white;
  padding: 40px 20px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 200px;
  margin: 10px;
}

.footer-column h4 {
  border-bottom: 2px solid #fff;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 5px 0;
}

.social-column .social-icons i {
  font-size: 20px;
  margin-right: 10px;
  background: #9c27b0;
  padding: 10px;
  border-radius: 50%;
}

.footer-stats {
  display: flex;
  margin-top: 20px;
}

.footer-stats .stat {
  background: #1d0036;
  padding: 10px 20px;
  margin-right: 10px;
}

.footer-stats .purple {
  background: #9c27b0;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}

.footer-bottom span {
  color: #ccc;
}
