@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #2c5530;
  --secondary-color: #4a7856;
  --accent-color: #8fb996;
  --text-color: #1c2e13;
  --light-green: #e8f3e8;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__subheader {
  margin-bottom: 0.5rem;
  position: relative;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-dark);
}

.section__subheader::after {
  position: absolute;
  content: "";
  top: 50%;
  transform: translate(1rem, -50%);
  height: 2px;
  width: 4rem;
  background-color: var(--primary-color);
}

.section__header {
  max-width: 600px;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 3rem;
  color: var(--primary-color);
}

.section__description {
  max-width: 600px;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background-color: var(--secondary-color);
}

.btn.nav__btn {
  background-color: var(--secondary-color); /* Change button color to match footer */
  display: inline-block; /* Ensure the button is displayed properly */
  width: auto; /* Allow the button to adjust its width dynamically */
  max-width: 200px; /* Optional: Limit the maximum width */
}

.btn.nav__btn:hover {
  background-color: #FFD700; /* Change hover color to yellow */
}

.crd__btn {
  width: 150px;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.crd__btn:hover {
  background-color: #FFD700; /* Change hover color to yellow */
}

a {
  text-decoration: none;
}

a:hover {
  color: var(--primary-color); /* Change text color to primary color green on hover */
}

.logo {
  max-width: 120px;
}

.logo img {
  width: auto; /* Ensure the logo maintains its aspect ratio */
  height: auto; /* Ensure the logo maintains its aspect ratio */
  max-width: 100%; /* Ensure the logo does not exceed the container width */
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--light-green);
  color: var(--text-color);
}

.header {
  background-image: url("assets/WhatsApp%20Image%202024-12-28%20at%2018.15.34.jpeg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.header__description {
  color: #FFD700; /* Yellow color */
  max-width: 800px;
  margin: 1rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Optional: adds shadow for better readability */
}

nav {
  position: fixed;
  isolation: isolate;
  top: 0;
  width: 100%;
  /* max-width: var(--max-width); */
  margin: auto;
  z-index: 9;
  backdrop-filter: blur(20px);
  padding: 0;
}

.nav__bar {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background-color: var(--primary-color);

}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  list-style: none;
  position: absolute;
  width: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--primary-color); /* Change background color to match primary color */
  transform: translateY(-100%);
  transition: 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(0);
}

.nav__links a {
  position: relative;
  isolation: isolate;
  padding-bottom: 8px;
  color: rgb(0, 0, 0);
  transition: 0.3s;
  font-weight: 800;
  font-size: 1rem;
}

.nav__links a:hover {
  color: #FFD700; /* Yellow color on hover */
}

.nav__links a::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #FFD700; /* Yellow underline */
  transition: 0.3s;
  transform-origin: left;
}

.nav__btn {
  display: none;
}

.header__container {
  padding-block: 10rem 15rem;
  text-align: center;
}

.header__container p {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #f8f8f8; /* Change to dark brown for better readability */
  text-align: center;
  opacity: 0.8; /* Reduce transparency by 10% */
}

.header__container h1 {
  font-size: 2.9rem;
  font-weight: 400;
  line-height: 4.5rem;
  color: var(--white);
}

.header__container h1 span {
  color: #FFD700; /* Yellow color for Misty Night */
  font-weight: 500;
}

.booking__container {
  padding-block: 0;
}

.booking__form {
  padding: 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background-color: var(--white);
  border-radius: 10px;
  transform: translateY(-50%);
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap; /* Ensure proper wrapping on smaller screens */
  justify-content: space-between; /* Adjust alignment for better spacing */
}

.input__group {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.input__group span {
  font-size: 1.75rem;
  color: var(--primary-color);
}

.input__group label {
  font-weight: 500;
  color: var(--text-dark);
}

.input__group input {
  display: block;
  width: 100%;
  max-width: 150px;
  padding-block: 5px;
  color: var(--text-dark);
  font-size: 0.9rem;
  outline: none;
  border: none;
}

.input__group input::placeholder {
  color: var(--text-light);
}

.input__group input[type="date"] {
  display: block;
  width: 100%;
  max-width: 150px;
  padding-block: 5px;
  color: var(--text-dark);
  font-size: 0.9rem;
  outline: none;
  border: none; /* Remove border */
  border-radius: 5px;
  /*background-color: var(--light-green); /* Add background color */
  padding: 0.5rem; /* Add padding */
  box-shadow: 0 1px 4px rgba(0.1, 0.1, 0.1, 0.1); /* Add subtle shadow */
}

.input__group.input__btn {
  flex: 1 1 100%; /* Ensure the button spans full width on smaller screens */
  text-align: center; /* Center-align the button */
  margin-top: 1rem; /* Add spacing above the button */
}

.about__container {
  overflow: hidden;
  display: grid;
  gap: 2rem;
}

.about__image img {
  max-width: 450px;
  margin: auto;
  border-radius: 5px;
}
.about__btn .btn  {
  width: 140px;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.room__grid {
  margin-top: 4rem;
  display: flex; /* Use flexbox for precise alignment */
  justify-content: space-evenly; /* Equal space between the cards */
  align-items: flex-start; /* Align cards at the top */
  gap: 2rem; /* Optional: Add extra spacing between the cards */
}

  .room__card {
    width: 500px;
    height: 700px;
    background-color: var(--white);
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Modern shadow effect */
    padding: 1rem; 
    border: 1px solid var(--accent-color);
     /* text-align: center; */
   /* Restrict card width for a consistent layout */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .room__card:hover {
    transform: translateY(-5px); /* Subtle hover effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }


.room__card__image {
  position: relative;
  isolation: isolate;
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.room__card__image img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Ensure the image scales without distortion */
}

.room__card__icons {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  z-index: 1;
}

.room__card__icons span {
  display: inline-block;
  padding: 2px 8px;
  font-size: 1.5rem;
  background-color: var(--white);
  border-radius: 100%;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.room__card__icons span:nth-child(1) {
  color: #f472b6;
}

.room__card__icons span:nth-child(2) {
  color: #c084fc;
}

.room__card__icons span:nth-child(3) {
  color: #60a5fa;
}

.room__card__details {
  padding: 1rem;
}

.room__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  
}

.room__card p {
  margin-bottom: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.room__card h5 {
  margin-bottom: 1rem;
  font-size: 0.5rem;
  font-weight: 300;
  color: var (--text-light);
}

.room__card h5 span {
  font-size: 1.1rem;
  color: var(--text-dark);
}
.crd__btn{
  width: 150px;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
  .room__grid {
    display: flex;
    flex-wrap: nowrap; /* Prevent cards from wrapping */
    overflow-x: auto; /* Enable horizontal scrolling */
    flex-direction: column; /* Stack cards vertically */
    gap: 1rem; /* Add spacing between the cards */
    scroll-snap-type: x mandatory; /* Smooth snapping to each card */
  }

  .room__card {
    flex: 0 0 100%; /* Each card takes up 100% of the viewport width */
    width: 100%; /* Full width of the screen */
  }

  .room__grid::-webkit-scrollbar {
    display: none; /* Optional: Hide scrollbar for a cleaner look */
  }
  .room__card h5, .crd__btn { /* Ensure amount and button are visible */
    display: block;
  }

  .booking__form {
    flex-direction: column; /* Stack inputs and button vertically */
    align-items: center; /* Center-align all elements */
  }
  .input__group {
    flex: 1 1 100%; /* Ensure inputs span full width */
    max-width: 300px; /* Optional: Limit input width for better appearance */
  }
  .input__group.input__btn {
    margin-top: 1.5rem; /* Add more spacing for better visibility */
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .room__card {
    width: 100%; /* Single card per row */
    height: auto;
  }

  .room__card p { /* Show description */
    display: block;
  }
}

.btn:hover {
  background-color: #4a7856;
}

.service {
  background-color: var(--accent-color);
}

.service__container {
  padding-block: 0;
  display: grid;

  grid-template-columns: repeat(2, 1fr);
}

.service__content {
  grid-column: 1/3;
  padding: 2rem 4rem;
  background-color: var(--white);
}

.service__list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
}

.service__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
}

.service__list span {
  padding: 5px 12px;
  font-size: 1.75rem;
  color: var(--text-dark);
  background-color: var(--text-light);
  border-radius: 100%;
}

.service__list li:nth-child(1) span {
  color: #60a5fa;
  background-color: #dbeafe;
}

.service__list li:nth-child(2) span {
  color: #f472b6;
  background-color: #fce7f3;
}

.service__list li:nth-child(3) span {
  color: #c084fc;
  background-color: #f3e8ff;
}

.service__list li:nth-child(4) span {
  color: #fb7185;
  background-color: #ffe4e6;
}

.banner__content {
  padding: 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.banner__card {
  text-align: center;
  flex: 1 1 180px;
}

.banner__card h4 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.banner__card p {
  color: var(--text-light);
}

.explore :is(.section__subheader, .section__header) {
  text-align: center;
  margin-inline: auto;
}

.explore__bg {
  margin-top: 4rem;
  padding-block: 3rem;
  display: grid;
  grid-template-columns:
    minmax(1rem, 1fr)
    minmax(0, var(--max-width))
    minmax(1rem, 1fr);
  background-image: url("assets/explore.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.explore__content {
  grid-column: 2/3;
  max-width: 400px;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 5px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.explore__content p {
  margin-bottom: 0.5rem;
}

.explore__content h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5rem;
  color: var(--text-dark);
}

.explore__content .btn {
  color: var(--primary-color);
  background-color: var(--white);
  border: 1px solid var(--primary-color);
}

.explore__content .btn:hover {
  color: var(--white);
  background-color: var(--primary-color);
}

.footer {
  background-color: var(--primary-color);
  color: var(--white);
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
}

.footer__col .section__description {
  margin-block: 2rem;
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}

.footer__links {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.footer__links a {
  color: var(--text-light);
  transition: 0.3s;
}

.footer__col p{
  margin-bottom: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}
.footer__links a:hover {
  color: var(--white);
}
.footer__links li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}
.footer__links li:hover{
  color: var(--white);
}
.footer__links p:hover{
  color: var(--white);
}

.footer__socials {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__socials img {
  max-width: 25px;
  opacity: 0.8;
  transition: 0.3s;
}

.footer__socials img:hover {
  opacity: 1;
}

.footer__socials a {
  color: #ffffff;
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.footer__socials a:hover {
  color: #4a90e2;
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

.copyright-text {
  margin-top: 0.5rem;
  color: var(--primary-color); /* Hard green color */
}

.link-hover {
  color: #ff7f00; /* Change color to #ff7f00 */
  text-decoration: none;
  position: relative;
}

.link-hover:hover {
  color: var(--white); /* Change color to white on hover */
}

.link-hover::after {
  content: attr(data-hover-text);
  position: absolute;
  left: 0;
  bottom: -1.5rem;
  width: 100%;
  color: var(--secondary-color);
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.link-hover:hover::after {
  opacity: 1;
}

@media (width > 576px) {
  .room__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width > 768px) {
  nav {
    padding: 1rem 1rem;
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav__bar {
    padding: 0;
    background-color: transparent;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    padding: 0;
    width: unset;
    position: static;
    transform: none;
    flex-direction: row;
    background-color: transparent; /* Ensure uniform color */
  }

  .nav__btn {
    display: block;
  }

  .nav__links a::after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: var(--primary-color);
    transition: 0.3s;
    transform-origin: left;
  }

  .nav__links a:hover::after {
    width: 100%;
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .room__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service__content {
    grid-column: 2/3;
  }

  .footer__container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (width > 1024px) {
  .room__grid {
    gap: 2rem;
  }
}
.footer__links p{
  color:var(--text-light);
}

.activities__section {
  padding: 20px 0;
}

.card__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 cards per row for larger screens */
  gap: 20px;
  padding: 20px;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  text-align: center;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card img {
  width: 100%; /* Image fully fills the card width */
  height: 200px; /* Fixed height for consistent sizing */
  object-fit: cover; /* Ensures the image scales without distortion */
  border-radius: 8px 8px 0 0; /* Rounded corners for the top */
}

.card h3 {
  margin-top: 15px;
  font-size: 18px;
  font-family: 'Roboto', sans-serif; /* Modern, clean font style */
  color: #333;
  font-weight: 500;
  text-transform: capitalize; /* Capitalizes the first letter */
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.card p {
  font-size: 14px;
  font-family: 'Open Sans', sans-serif; /* Subtle font for descriptions */
  color: #555;
  line-height: 1.5;
  margin-top: 10px;
}
.card__btn{
  width: 150px;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
  /* Tablet View: 2 cards per row */
  .card__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Mobile View: 1 card per row */
  .card__container {
    grid-template-columns: repeat(1, 1fr);
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* Adds a smooth snapping effect */
    -webkit-overflow-scrolling: touch;
  }

  .card {
    scroll-snap-align: center; /* Ensures smooth alignment during scroll */
  }
}


.section__content {
  margin-bottom: 2rem;
  padding: 20px 0;
  padding-left: 30px;
}

/* Centered alignment */
.section--centered {
  text-align: center;
}

.section--centered .section__subheader::after {
  left: 50%;
  transform: translateX(-50%);
}

.section--centered .section__header {
  margin: 0 auto;
}

/* Gallery Container Styles */
.gallery__container {
  padding: 4rem 2rem;
  background-color: #f5f5f5;
  text-align: center;
}

.gallery__container .section__header {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
}

/* Flexible Grid Layout */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  justify-items: center;
  align-items: center;
}

/* Gallery Items */
.gallery__item {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Images Styled for Full Fit */
.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensures the entire image is visible */
  background-color: #000; /* Optional for a better appearance */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effects */
.gallery__item img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .gallery {
    gap: 8px;
  }
}

.attractions__container {
  background-color: var(--light-green);
  padding: 4rem 2rem;
}

.attractions__wrapper {
  margin-top: 2rem;
}

.attractions__list {
  list-style: none;
  margin: 2rem auto;
  padding: 0;
  max-width: 800px;
}

.attractions__list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.attractions__list li:hover {
  transform: translateY(-5px);
}

.attractions__list span {
  font-size: 1.5rem;
  color: var(--primary-color);
  background: var(--light-green);
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.attractions__list strong {
  display: block;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.attractions__list p {
  color: var(--text-color);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 768px) {
  .attractions__list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .attractions__list span {
    margin-bottom: 1rem;
  }
}

.sustainability__container {
  padding: 4rem 2rem;
  background-color: var(--light-green);
  text-align: center;
}

.sustainability__list {
  list-style: none;
  margin: 2rem auto;
  padding: 0;
  max-width: 800px;
  text-align: left;
}

.sustainability__list li {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
}

.sustainability__list li strong {
  color: var(--primary-color);
}