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*/
}

.hero {
  background-image: url("../img/polexhotrl-back.jpg"); /* Background image for first homepage */
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  background-color: rgba(68, 9, 78, 0.7); /* Purple overlay with transparency */
  width: 100%;
  height: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-content {
  color: white;
  max-width: 700px;
  text-align: left;
  margin-left: 90px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* signup button on overlay text*/
.booking-btn {
  background: linear-gradient(to right, orange, orangered);
  color: white;
  border: none;
  padding: 12px 22px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 10px;
  font-weight: bolder;
}

.container {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.main-text {
  flex: 2;
}

.main-text h1 {
  font-size: 24px;
  color: #222;
}

.main-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.sidebar {
  flex: 1;
  background: white;
  border-radius: 8px;
  box-shadow: 8px 8px 8px rgb(104, 101, 101);
  padding: 20px;
  border-bottom: solid 5px rgb(83, 4, 83);
}

.sidebar h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 14px;
}

.social-icons {
  margin-top: 20px;
}

.social-icons button {
  margin-right: 10px;
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
}

.tripadvisor {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}

.subscribe-button {
  margin-top: 20px;
  display: block;
  width: 100%;
  background: #008000;
  color: white;
  text-align: center;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.fa {
  padding: 20px;
  font-size: 30px;
  width: 30px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 4px;
}

.fa:hover {
  opacity: 0.7;
}

.fa-facebook {
  background: #314b85;
  color: white;
}

.fa-twitter {
  background: #000000;
  color: white;
}

.fa-linkedin {
  background: #55acee;
  color: white;
}

.fa-instagram {
  background: #b30f1c;
  color: white;
}

.fa-whatsapp {
  background: #20df0f;
  color: white;
}

.food-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  background-color: white;
}

.food-left {
  flex: 1;
  padding: 80px 60px;
  background-color: rgb(231, 225, 225);
}

.food-left h2 {
  font-size: 32px;
  font-weight: bold;
  color: #4b0082;
  margin-bottom: 10px;
}

.food-left h2 span {
  color: #ffa500; /* Orange */
}

.underline {
  width: 180px;
  height: 2px;
  background-color: white;
  margin-bottom: 30px;
}

.food-left p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 550px;
}

.food-right {
  flex: 1;
  background: url("../img/polexhotel-poundedyam.jpg") no-repeat center center;
  background-size: cover;
  min-height: 78vh;
  border-left: solid 8px rgb(83, 4, 83);
}

@media (max-width: 768px) {
  .food-section {
    flex-direction: column;
  }
  .food-left,
  .food-right {
    flex: unset;
    width: 100%;
    padding: 40px 20px;
    min-height: 50vh;
  }
}

i {
  color: orange;
}

.facilities {
  text-align: center;
  padding: 40px 20px;
}

.facilities h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.facilities p {
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.facility-box {
  background: white;
  padding: 25px 10px;
  border: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  cursor: default;
}

.facility-box:hover {
  transform: translateY(-5px);
}

.facility-box i {
  color: orange;
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.facility-box span {
  display: block;
  margin-top: 5px;
  font-size: 14px;
}

.room-section {
  display: flex;
  min-height: 85vh;
}

.room-image {
  flex: 1;
  background: url("../img/polexhotel-room.jpg") no-repeat center center/cover;
}

.room-text {
  flex: 1;
  background: #fff;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgb(231, 225, 225);
  border-right: solid 8px rgb(83, 4, 83);
}

.room-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.room-text h2 span.orange {
  color: orange;
}

.room-text h2 span.purple {
  color: purple;
}

.room-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.team-section {
  background: url("../img/Ambassador_Suite_Hotel_Principe.jpg") no-repeat center
    center/cover;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  position: relative;
}

.team-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(64, 0, 100, 0.6); /* Purple overlay */
  z-index: 1;
}

.team-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.team-content h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.team-content p {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 40px;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item i {
  font-size: 30px;
  margin-bottom: 10px;
}

.stat-item h3 {
  margin: 5px 0;
  font-size: 24px;
}

.stat-item span {
  display: block;
  font-size: 16px;
  margin-top: 5px;
}

.media-section {
  text-align: center;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.media-section h2 {
  font-size: 26px;
}

.media-section h2 span {
  color: #6b2f9b;
}

.media-section p {
  color: #777;
  font-size: 15px;
  max-width: 750px;
  margin: 10px auto 40px;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  text-align: left;
}

.media-item {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.media-item img {
  width: 100%;
  height: 400px;
  display: block;
}

.media-text {
  padding: 20px;
  display: flex;
  gap: 20px;
}

.media-date {
  font-weight: bold;
  color: #333;
  min-width: 100px;
}

.media-date span {
  display: block;
  color: #6b2f9b;
  font-size: 20px;
  margin-top: 5px;
}

.media-description {
  color: #555;
  font-size: 14px;
}

@media (max-width: 768px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
}

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