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/contact-polexhotel.jpeg"); /* Banner background image */
  background-size: cover;
  background-position: center;
  height: 150px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* This moves content to the right */
  padding-right: 50px; /* <-- Add padding to create space from edge */
  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: left; /* Align text to the left */
}

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

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

.contact-heading {
  text-align: center;
  font-size: 2rem;
  margin: 40px 20px 10px;
  color: #4a0072;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-info h2,
.contact-form h2 {
  color: #4a0072;
  margin-bottom: 15px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  background: linear-gradient(to right, orange, Purple);
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
}

.contact-form button:hover {
  transform: translateY(-2px);
}

.contact-form button:hover {
  background-color: #4a0072;
}

.map iframe {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}

.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;
}
