/* Reset and base styles */
body, h1, h2, h3, h4, h5, h6, p, ul, li, form, label, input, textarea, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    line-height: 1.6;
    overflow-x: hidden;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
}
.logo{
    font-size: 1.5rem;
    font-weight: bold;
}
/* Header */
header {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s;
}
header.scrolled {
    background: rgba(51, 51, 51, 0.9);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.nav-links {
    list-style: none;
    display: flex;
}
.nav-links li {
    margin-left: 1rem;
}
.nav-links a {
    text-decoration: none;
    font-weight: bold;
     transition: color 0.3s, text-decoration 0.3s;
      display: flex;
    align-items: center; /* Center icons vertically */
    gap: 5px; /* Space between icon and text */
     padding: 10px 0;
}
.nav-links a:hover {
    text-decoration: underline;
}
.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}
.theme-toggle {
    cursor: pointer;
}
.nav-overlay {
     position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
     z-index: 998;
}
.nav-overlay.active{
     display: block;
}
.nav-close{
    position: absolute;
      top: 1rem;
   right: 1rem;
   cursor: pointer;
   font-size: 1.5rem;
   display: none; /* Hidden by default on large screens */
}
/* Hero Section */
.hero {
    height: 100vh;
    background: url('../images/main.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero-content {
    position: relative;
    max-width: 600px;
    z-index: 1;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.cta {
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
    margin: 0.5rem;
    border-radius: 4px;
}
.cta:hover {
    background: #e5533d;
    text-decoration: none;
}
/* Rooms Section */
.rooms .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    padding: 2rem;
}
.room-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.room-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.room-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.room-info {
    padding: 1rem;
}
.room-info h3 {
    margin: 0;
    font-size: 1.5rem;
}
.room-info p {
    margin: 0.5rem 0;
}
.price {
    font-weight: bold;
}
.details-btn, .book-btn {
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    margin-right: 0.5rem;
    border-radius: 4px;
}
.details-btn:hover, .book-btn:hover {
    background: #555; /* Placeholder, overridden by themes */
}
/* Amenities styles */
.amenities {
    padding: 2rem;
    text-align: center;
}
.amenities h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.amenities-slider {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    overflow-x: auto;
}
.amenity {
    flex: 0 0 auto;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.amenity:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.amenity i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.amenity p {
    margin: 0;
    font-size: 1rem;
}
/* Gallery styles */
.gallery {
    padding: 2rem;
    text-align: center;
}
.gallery h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-grid a:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
}
/* Contact styles */
.contact {
    padding: 2rem;
    text-align: center;
}
.contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
#contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc; /* Placeholder, overridden by themes */
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
}
.form-group label {
 position: absolute;
  top: -0.75rem;
  left: 0.75rem;
     font-size: 0.75rem;
    padding: 0 0.25rem;
     pointer-events: none;
     transition: all 0.3s;
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.75rem;
    left: 0.75rem;
    font-size: 0.75rem;
  padding: 0 0.25rem;
}
/* Booking styles */
.booking {
    padding: 2rem;
    text-align: center;
}
.booking h2 {
   font-size: 2rem;
  margin-bottom: 1rem;
}
#booking-form {
    max-width: 600px;
   margin: 0 auto;
   text-align: left;
}
#booking-form .form-group {
    margin-bottom: 1.5rem;
}
#booking-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
   top: 0;
    left: 0;
    font-size: 1rem;
   pointer-events: none;
    transition: all 0.3s;
     padding: 0px;
}
#booking-form .form-group input {
  width: 100%;
     padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  font-size: 1rem;
     box-sizing: border-box;
}
#map {
    margin-top: 2rem;
    height: 300px;
}
/* Testimonials styles */
.testimonials {
    padding: 2rem;
   text-align: center;
 }
.testimonial-slider {
    width: 100%;
  display: inline-block;
}
.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.testimonial-slider .testimonial:hover {
   transform: scale(1.15);
   box-shadow: 3 8px 16px rgba(0, 0, 0, 0.2);
}
.testimonial-slider .testimonial {
    display: inline-block;
     width: 20%;
   padding: 1rem;
   border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 0.5rem;
    align-items: center;
   justify-content: center;
  text-align: center;
}
.testimonial .stars {
    font-size: 1.5rem;
}
.testimonial .comment {
   margin: 0.5rem 0;
   font-size: 1rem;
}
.testimonial .author {
    font-size: 0.875rem;
}
/* Footer */
.footer {
   padding: 2rem 0;
    text-align: center;
 }
.footer-content {
     display: flex;
   flex-direction: column;
     align-items: center;
  justify-content: center;
}
.social-media {
  margin-bottom: 1rem;
}
.social-icon {
  font-size: 1.5rem;
  margin: 0 0.5rem;
   transition: color 0.3s;
}
.contact-info p {
    margin: 0.5rem 0;
}
/* Responsive Design */
@media (max-width: 768px) {
   nav {
       flex-direction: row;
     align-items: center;
   }
   .nav-links {
      display: none;
    flex-direction: column;
     position: absolute;
     top: 100%;
        left: 0;
    width: 100%;
   text-align: center;
     z-index: 999;
    }
  header.scrolled .nav-links{
   }
   .nav-links.active{
   display: flex;
    }
   .nav-links li {
    margin-left: 0;
     }
 .hamburger-menu {
       display: block;
 }
 .nav-links li a{
       padding: 15px 0px;
  }
  .nav-links li a:hover {
      background-color: rgba(0, 0, 0, 0.1);
     text-decoration: none;
   }
   .nav-close{
    display: block; /* show on small screens*/
     }
    .hero h1 {
       font-size: 2.5rem;
     }
  .rooms .container {
       grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     padding: 1rem;
     }
 .amenities-slider {
   flex-wrap: wrap;
      justify-content: flex-start;
   }
    .amenity {
        flex: 0 0 45%;
  }
  .testimonial-slider{
    text-align: center;
    display: inline-block;
    height: 90%;
  }
       .testimonial-slider .testimonial {
     width: 100%;
     height: 90%;
     text-align: center;
    }
}
 @media (max-width: 500px) {
  .amenity {
        flex: 0 0 100%;
    }
 }