/* style.css */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #222;
  line-height: 1.6;
  padding-top: 5rem; /* space for offer banner and navbar */
}

h2 {
  color: blue;
  text-align: center;
  margin-bottom: 1rem;
}

.offer-banner {
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  overflow: hidden;
  white-space: nowrap;
}

.scrolling-text {
  display: inline-block;
  animation: scroll-left 15s linear infinite;
  font-weight: bold;
  will-change: transform;
}

@keyframes scroll-left {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f1f1f1;
  padding: 0.3rem 1.5rem;
  border-bottom: 1px solid #ccc;
  position: fixed;
  top: 1.5rem; /* below offer banner */
  width: 100%;
  z-index: 999;
}

.nav-brand a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #b8860b;
  font-weight: bold;
  font-size: 1.5rem;
}

.nav-logo {
  width: 60px;
  margin-right: 0.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  margin-left: auto;
  margin-right: 1rem;
  padding: 0;
  gap: 1.5rem;
}

.nav-links li a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  padding: 0.5rem;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #b8860b;
  border-bottom: 2px solid #b8860b;
}

.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 5rem);
  background-image: url('assets/hero-bg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero h1,
.hero .tagline,
.hero .intro-text {
  position: relative;
  z-index: 1;
}

.tagline {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-style: italic;
  color: orange;
}

.intro-text {
  max-width: 700px;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.75;
  color: yellowgreen;
  text-align: center;
  font-style: italic;
}

.brochure-link {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  font-size: small;
  color: lightblue;
  z-index: 2;
}

.brochure-link a {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, text-decoration 0.3s ease;
  display: inline-block;
}

.brochure-link a:hover {
  text-decoration: underline;
  transform: scale(1.1);
}

.about-section {
  max-width: 800px;
  margin: 1rem auto;
  padding: 1rem 2rem;
  text-align: center;
  color: #333;
}

.gallery h2 {
  text-align: center;
  font-size: 2rem;
  margin: 2rem 0 1rem;
  color: #b8860b;
}

.gallery-grid {
  display: flex;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  margin: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.75);
}

.rooms-section {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
  text-align: center;
}

.rooms-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.room-card {
  max-width: 600px;
  text-align: center;
}

.room-card h3,
.room-card p {
  margin-bottom: 0.75rem;
}

.room-card img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 8px;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.room-card img:hover {
  transform: scale(1.75);
}

.zoomed {
  transform: scale(2);
  transition: transform 0.3s ease;
  z-index: 10;
  position: relative;
}

footer {
  background: #f0f0f0;
  padding: 0.3rem;
  color: #555;
  text-align: right;
  font-size: 0.5rem;
}

.menu-toggle {
  display: none;
}

/*@media (max-width: 768px) {*/
/*  body {*/
/*    padding-top: 6rem;*/
/*  }*/

/*  .menu-toggle {*/
/*    display: block;*/
/*    color: #b8860b;*/
/*    margin-left: auto;*/
/*  }*/

/*  .nav-links {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    width: 100%;*/
/*    margin-top: 1rem;*/
/*    gap: 0.5rem;*/
/*  }*/

/*  .nav-links.show {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*  }*/

/*  .nav-links li a {*/
/*    padding: 0.75rem 1rem;*/
/*    background: #fff;*/
/*    color: #444;*/
/*    border-radius: 4px;*/
/*  }*/

/*  .nav-links li a:hover {*/
/*    background-color: #eee;*/
/*  }*/


/* Add this at the top of your media query */

@media screen and (max-width: 768px){
    .scrolling-text {
        animation-duration: 20s;
    }
  nav ul {
    text-align: right;
  }
  .navbar {
    flex-wrap: wrap;
    padding: 0.5rem;
  }
  
  .nav-links {
    display: none; /* Hidden by default */
    width: 100%;
    margin: 0;
    padding: 0.5rem 0;
    align-items: flex-end;
  }
  
  .nav-links.show {
    display: flex; /* Shown when menu is toggled */
    flex-direction: column;

  }
  
    .nav-links li {
    width: 100%;
    text-align: right; /* ✅ ensures text aligns right */
    padding-right: 1rem;
  }
  
  .menu-toggle {
    display: block;
    background: none;
    color: #b8860b;
    margin-left: auto;
    border: none;
    font-size: 2rem;
    cursor: pointer;
  }
  

  .about-section,
  .rooms-section {
    padding: 0.5rem 1rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .intro-text {
    font-size: 1rem;
  }
} 
