/* Hotel Mayur Palace - Main CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1a365d;
  --secondary-color: #2c5282;
  --accent-color: #d69e2e;
  --text-dark: #2d3748;
  --text-light: #718096;
  --white: #ffffff;
  --light-bg: #f7fafc;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gold-gradient: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ANIMATION KEYFRAMES - NEW ADDITIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-180deg);
  }
  to {
    opacity: 1;
    transform: rotate(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes wiggle {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
  100% { transform: rotate(0deg); }
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-100px) rotate(360deg); }
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgb(52, 86, 100);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  animation: fadeInDown 0.8s ease-out;
}



.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-left: 2rem;
  animation: fadeInLeft 1s ease-out 0.2s both;
}

#main-nav {
  display: flex;
  align-items: center;
  /* animation: fadeInRight 1s ease-out 0.4s both; */
}

.nav-toggle-btn {
  display: none;
  background: transparent;
  border: 2px solid rgb(255, 255, 255);
  font-size: 1.1rem;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 999;
  position: relative;
  width: 65px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.nav-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.188);
  transform: scale(1.1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding-right: 3rem;
}



.nav-links li a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 670;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--white);
  background: var(--gradient);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}


/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
              url('../images/Reception/img3.avif') ;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><g fill-opacity="0.1"><circle fill="%23fff" cx="30" cy="30" r="2"/></g></svg>');
  animation: float 22s infinite linear;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-content {
  max-width: 1200px;
  padding: 2rem;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h2 {
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  font-weight: 400;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 550;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--white);
  /* box-shadow: 0 8px 25px rgba(246, 208, 82, 0.4); */
}

.btn-primary:hover {
  background: var(--gold-gradient);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(246, 211, 101, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

/* About Section */
.about {
  padding: 4rem 0;
  background: var(--light-bg);
  position: relative;
  
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--light-bg));
}

.about h2 {
  font-size: 2.7rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
  z-index: 1;
  
}

.about h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.about p {
  font-size: 1.3rem;
  padding: 0 1.5rem;
  font-weight: 400;
  font-style:inherit;
  text-align: center;
  color: #2d2d2de7;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}


/* Image Slider */
  .image-slider {
  padding: 2rem 0;
  background: var(--light-bg);
  overflow: hidden;
  padding-bottom: 2;
}

.slider-wrapper {
  position: relative;
  max-width: 1450px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

.slider {
  display: flex;
  width: 100%; /* 6 images × 100% = 600% total width */
  animation: slideAnim 30s linear infinite;
  height: 600px;
}

.slider img {
  background:#000;
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Fixed Slider Animation Based on Percentage */
@keyframes slideAnim {
  0%, 16.66% {
    transform: translateX(0%);
  }
  20%, 36.66% {
    transform: translateX(-100%);
  }
  40%, 56.66% {
    transform: translateX(-200%);
  }
  60%, 76.66% {
    transform: translateX(-300%);
  }
  80%, 96.66% {
    transform: translateX(-400%);
  }
  100% {
    transform: translateX(-500%);
  }
}


/* Popular Rooms */
.popular-rooms {
  padding: 4rem 0;
  background: var(--light-bg);
}

.popular-rooms h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 5rem;
  color: var(--primary-color);
  position: relative;
}

.popular-rooms h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.room-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.room-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.283);
}

.room-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.room-card:hover img {
  transform: scale(1.02);
}

.room-card h3 {
  padding: 1rem 1.9rem 0.9rem;
  font-size: 1.6rem;
  color: var(--primary-color);
  font-weight: 650;
}

.room-card p {
  padding: 0 1.9rem 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1rem;
}

.buttons {
  padding: 0.8rem 1.9rem 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
 
}

.buttons .primary,
.buttons .secondary {
  flex: 1;
  min-width: 100px;
  padding: 0.8rem 1.5rem;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;

}

.buttons .primary {
  background: var(--gradient);
  color: var(--white);
}

.buttons .primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(112, 135, 235, 0.4);

}

.buttons .secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.buttons .secondary:hover {
  transform: translateY(-2px);
  background: var(--primary-color);
  color: var(--white);
  animation: wiggle 0.5s ease-in-out;
}

/* Amenities */
.amenities {
  padding: 4rem 0;
  background: var(--white);
  
}

.amenities h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--primary-color);
  position: relative;
}

.amenities h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.amenities-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 2rem;    
  list-style: none;
}

.amenities-list li {
  text-align: center;
  padding: 2rem;
  background: #ffffff;
  border-radius: 200px;
  transition: all 0.3s ease;
}

.amenities-list li:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.amenities-list li img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  padding: 10px;
  background: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.254);

}

/* Testimonials */
.testimonials {
  padding: 4rem 0;
  background: var(--light-bg);
}

.testimonials h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 5rem;
  color: var(--primary-color);
  position: relative;
}

.testimonials h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow:0 4px 15px rgba(0, 0, 0, 0.254);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--accent-color);
  font-family: serif;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  line-height: 1.6;
}

.testimonial-card h4 {
  color: var(--primary-color);
  font-weight: 700;
}

/* CTA Book */
.cta-book {
  padding: 5rem 0;
  background:url('../images/Reception/img3.avif');
  background-size: cover;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-book::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><g fill-opacity="0.1"><circle fill="%23fff" cx="30" cy="30" r="2"/></g></svg>');
  animation: float 25s infinite linear;
}

.cta-book h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.cta-book p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.cta-book .btn-primary {
  background: var(--gold-gradient);
  color: #000;
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
}

.cta-book .btn-primary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

/* Footer */
.footer {
  background: #2c3e50;
  color: var(--white);
  padding: 4rem 2.5rem 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-about h3 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-left: 2rem;
}

.footer-about p {
  opacity: 0.9;
  line-height: 1.6;
  padding-left: 2rem;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 0.8rem;
  color: var(--accent-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-links ul li a:hover {
  opacity: 1;
  color: #f27451;
}

.footer-contact p {
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  opacity: 0.7;
}


/* Large Tablet (992px - 1199px) */
@media (max-width: 1199px) {
  .navbar {
    padding: 1rem 1.5rem;
  }
  
  .logo {
    font-size: 1.6rem;
    padding-left: 1rem;
  }
   .nav-toggle-btn {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 100%;
    right:-100%;
    width: 220px;
    height: 30vh;
    background: rgb(52, 86, 100);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transition: right 0.3s ease;
    padding: 0rem;
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li a {
    font-size: 1rem;
    padding: 0.6rem 3.5rem;
    width: 180px;
    text-align: center;
    /* border: 2px solid rgb(0, 255, 166); */
    margin: 0.5rem 0;
  }
  
  .hero-content h2 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .about h2,
  .popular-rooms h2,
  .amenities h2,
  .testimonials h2,
  .cta-book h2 {
    font-size: 2.4rem;
  }
  
  .slider {
    height: 500px;
  }
  
  .room-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .amenities-list {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
  }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  .navbar {
    padding: 0.8rem 1rem;
  }
  
   .nav-toggle-btn {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 50px;
    right: -100%;
    width: 220px;
    height: 30vh;
    background: rgb(52, 86, 100);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transition: right 0.3s ease;
    padding: 0rem;
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li a {
    font-size: 1rem;
    padding: 0.6rem 3.5rem;
    width: 180px;
    text-align: center;
    /* border: 2px solid rgb(0, 255, 166); */
    margin: 0.5rem 0;
  }
  
  .hero {
    background-attachment: scroll;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    padding: 1rem;
    font-size: 1rem;
  }
  
  .about,
  .popular-rooms,
  .amenities,
  .testimonials {
    padding: 3rem 0;
  }
  
  .about h2,
  .popular-rooms h2,
  .amenities h2,
  .testimonials h2,
  .cta-book h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }
  
  .about p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }
  
  .slider {
    height: 400px;
  }
  
  .room-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .room-card img {
    height: 240px;
  }
  
  .amenities-list {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
  }
  
  .amenities-list li {
    padding: 1.5rem 1rem;
  }
  
  .amenities-list li img {
    width: 50px;
    height: 50px;
  }
  
  .testimonial-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer {
    padding: 3rem 1.5rem 2rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-about h3 {
    padding-left: 0;
  }
  
  .footer-about p {
    padding-left: 0;
  }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
  .container {
    padding: 5px 15px;
  }
  
  .navbar {
    padding: 0.5rem 1rem;
  }
  
  .logo {
    font-size: 1.4rem;
    padding-left: 0;
  }
  
   .nav-toggle-btn {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 50px;
    right: -100%;
    width: 220px;
    height: 30vh;
    background: rgb(52, 86, 100);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transition: right 0.3s ease;
    padding: 0rem;
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li a {
    font-size: 1rem;
    padding: 0.6rem 3.5rem;
    width: 180px;
    text-align: center;
    /* border: 2px solid rgb(0, 255, 166); */
    margin: 0.5rem 0;
  }


  .hero {
    height: 100vh;
    min-height: 500px;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero-content h2 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .about h2,
  .popular-rooms h2,
  .amenities h2,
  .testimonials h2,
  .cta-book h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .about h2::after,
  .popular-rooms h2::after,
  .amenities h2::after,
  .testimonials h2::after {
    width: 40px;
    height: 3px;
  }
  
  .about p {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  
  .slider {
    height: 300px;
  }
  
  .room-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .room-card {
    margin: 0 10px;
  }
  
  .room-card img {
    height: 200px;
  }
  
  .room-card h3 {
    font-size: 1.4rem;
    padding: 1rem 1.5rem 0.5rem;
  }
  
  .room-card p {
    padding: 0 1.5rem 0.5rem;
    font-size: 0.9rem;
  }
  
  .buttons {
    padding: 0.8rem 1.5rem 1.5rem;
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .amenities-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .amenities-list li {
    padding: 1rem 0.5rem;
  }
  
  .amenities-list li img {
    width: 40px;
    height: 40px;
  }
  
  .amenities-list li span {
    font-size: 0.8rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonial-card p {
    font-size: 1rem;
  }
  
  .cta-book {
    padding: 3rem 0;
  }
  
  .cta-book h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .cta-book p {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  
  .cta-book .btn-primary {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
}

/* Mobile Small (320px - 575px) */
@media (max-width: 575px) {
  .container {
    padding: 5px 15px;
  }
  
  .navbar {
    padding: 0.8rem 0.9rem;
  }
  
  .logo {
    font-size: 1.3rem;
  }
  
 .nav-toggle-btn {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 50px;
    right:-100%;
    width: 220px;
    height: 30vh;
    background: rgba(52, 86, 100, 0.915);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transition: right 0.3s ease;
    padding: 0rem;
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li a {
    font-size: 1rem;
    padding: 0.6rem 3.5rem;
    width: 180px;
    text-align: center;
    /* border: 2px solid rgb(0, 255, 166); */
    margin: 0.5rem 0;
  }


  .hero {
    min-height: 450px;
  }
  
  .hero-content {
    padding: 0.8rem;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
    min-width: 120px;
  }
  
  .about,
  .popular-rooms,
  .amenities,
  .testimonials {
    padding: 2.5rem 0;
  }
  
  .about h2,
  .popular-rooms h2,
  .amenities h2,
  .testimonials h2,
  .cta-book h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  
  .about h2::after,
  .popular-rooms h2::after,
  .amenities h2::after,
  .testimonials h2::after {
    width: 35px;
    height: 2.5px;
  }
  
  .about p {
    font-size: 0.95rem;
    padding: 0;
  }
  
  .slider {
    height: 250px;
  }
  
  .slider-wrapper {
    border-radius: 15px;
  }
  
  .room-card {
    margin: 0 5px;
    border-radius: 20px;
  }
  
  .room-card img {
    height: 180px;
  }
  
  .room-card h3 {
    font-size: 1.2rem;
    padding: 0.8rem 1.2rem 0.4rem;
  }
  
  .room-card p {
    padding: 0 1.2rem 0.4rem;
    font-size: 0.89rem;
  }
  
  .buttons {
    padding: 0.6rem 1.5rem 1.2rem;
    gap: 0.6rem;
  }
  
  .buttons .primary,
  .buttons .secondary {
    padding: 0.7rem 1.9rem;
    font-size: 0.9rem;
  }
  
  .amenities-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  
  .amenities-list li {
    padding: 0.8rem 0.3rem;
    border-radius: 15px;
  }
  
  .amenities-list li img {
    width: 60px;
    height: 60px;
    margin-bottom: 0.3rem;
  }
  
  .amenities-list li span {
    font-size: 0.75rem;
  }
  
  .testimonial-card {
    padding: 1.2rem;
    border-radius: 20px;
  }
  
  .testimonial-card::before {
    font-size: 3rem;
    top: -5px;
    left: 15px;
  }
  
  .testimonial-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .testimonial-card h4 {
    font-size: 0.9rem;
  }
  
  .cta-book {
    padding: 2.5rem 1.5rem;
  }
  
  .cta-book h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }
  
  .cta-book p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .cta-book .btn-primary {
    font-size: 0.9rem;
    padding: 0.7rem 1.6rem;
  }
  
  .footer {
    padding: 2.5rem 1rem 1.5rem;
  }
  
  .footer-about h3 {
    font-size: 1.4rem;
  }
  
  .footer-about p {
    font-size: 0.9rem;
  }
  
  .footer-links h4,
  .footer-contact h4 {
    font-size: 1rem;
  }
  
  .footer-contact p {
    font-size: 0.9rem;
  }
  
  .footer-bottom {
    font-size: 0.8rem;
    padding-top: 1.5rem;
  }
}

/* Extra Small Mobile (280px - 319px) */
@media (max-width: 319px) {
  .hero-content h2 {
    font-size: 1.3rem;
  }
  
  .hero-content p {
    font-size: 0.85rem;
  }
  
  .about h2,
  .popular-rooms h2,
  .amenities h2,
  .testimonials h2,
  .cta-book h2 {
    font-size: 1.4rem;
  }
  
  .about p {
    font-size: 0.9rem;
  }
  
  .slider {
    height: 220px;
  }
  
  .room-card img {
    height: 160px;
  }
  
  .amenities-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  
  .amenities-list li {
    padding: 0.6rem 0.2rem;
  }
  
  .amenities-list li img {
    width: 30px;
    height: 30px;
  }
  
  .amenities-list li span {
    font-size: 0.7rem;
  }
  
  .cta-book h2 {
    font-size: 1.3rem;
  }
  
  .cta-book p {
    font-size: 0.85rem;
  }
}

/* Hover Effects for Touch Devices */
@media (hover: none) and (pointer: coarse) {
  .room-card:hover {
    transform: none;
  }
  
  .room-card:hover img {
    transform: none;
  }
  
  .amenities-list li:hover {
    transform: none;
  }
  
  .testimonial-card:hover {
    transform: none;
  }
  
  .nav-links li a:hover {
    transform: none;
  }
  
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
  
  .buttons .primary:hover,
  .buttons .secondary:hover {
    transform: none;
  }
}

/* Landscape Mode for Mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    height: 100vh;
    min-height: 400px;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero-content h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }
  
  .cta-buttons {
    flex-direction: row;
    gap: 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    width: auto;
    min-width: 140px;
  }
}
/* Custom Animations for Mobile */
@keyframes mobileSlideIn {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes mobileBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Mobile-specific animations */
@media screen and (max-width: 768px) {
  .about,
  .room-cards,
  .amenities-list li img{
    animation: mobileSlideIn 0.6s ease-out;
  }
  
  .amenities-list li img {
    animation: mobileBounce 2s infinite;
  }
  
  .logo {
    animation: mobileBounce 3s infinite;
  }
}

/* High DPI/Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero,
  .cta-book {
    background-size: cover;
    background-position: center;
  }
}




