/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #f0f0f0;
  /* Light background for the page */
}

/* //////////////////// Header styles //////////////// */

header {
  position: relative;
  height: 100vh;
  background-color: #121212;
  /* Dark background */
  color: #fff;
  /* White text color */
  overflow: hidden;
}

/* Banner styles */
.banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #ffffff;
  text-align: center;
}

/* Navbar styles */
.navbar {
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.7);
  /* Dark semi-transparent background */
  position: absolute;
  top: 0;
  width: 100%;
  transition: background 0.3s ease;
}

.logo img {
  height: 60px;
  width: 60px;
  object-fit: cover;
  border-radius: 50%;
  background-position: center;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
  /* Slight zoom on hover */
}

/* Burger menu */
.burger {
  display: none;
  /* Hidden by default */
  font-size: 28px;
  color: #ffffff;
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Close icon */
.close {
  display: none;
  /* Hidden by default */
  font-size: 28px;
  color: #ffffff;
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Navigation links */
.nav-links {
  display: flex;
  list-style: none;
  font-weight: 500;
  padding: 1rem 0;
}

.navlink-items {
  margin: 0 1.5rem;
}

/* Navigation links */
.navlink-items a {
  font-size: 18px;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navlink-items a:hover,
.navlink-items a.active {
  color: white;
  background-color: #1683e9;
}

/* ////////////////// Banner slider ///////////////////// */

.mainslider {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.slideHead {
  display: flex;
  height: 100%;
  width: 100%;
}

.slideHead img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(80%);
  /* Darken image for better text visibility */
  transition: transform 0.5s ease;
  /* Add transition for smooth sliding */
}

.slide {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}

.controls {
  position: absolute;
  width: 100%;
  top: 50%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1rem;
}

.controls button {
  cursor: pointer;
  background-color: #1683e9;
  color: white;
  border: none;
  padding: 12px 14px;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.controls button:hover {
  background-color: #186fc0;
  transform: scale(1.1);
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .controls button {
    font-size: 10px;
    padding: 10px;
  }

  .burger {
    display: block;
    /* Show burger icon on mobile */
  }

  .nav-links {
    display: none;
    /* Hidden by default */
    z-index: 5;
    flex-direction: column;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 113px;
    left: 0;
    text-align: center;
  }

  .navlink-items {
    margin: 10px 20px;
  }

  .nav-links.active {
    display: flex;
    /* Show links when active */
    padding: 20px 0;
  }

  .close {
    display: none;
    /* Hidden by default */
  }

  .nav-links.active ~ .close {
    display: block;
    /* Show close icon when nav is active */
  }
}

/* /////////////////////////// Center text of banner ///////////////////// */
.banner-details {
  user-select: none;
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 80vw;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

/* Banner title and description styles */
.banner-title {
  color: #ffffffd2;
  font-size: 3.8rem;
  font-weight: 700;
  margin: 20px;
  /* color: #186fc0; */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  transition: color 0.3s ease;
}

.banner-description {
  font-size: 1.4rem;
  max-width: 600px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  line-height: 1.5;
  padding: 0 10px;
}

@media (max-width: 480px) {
  .banner-title {
    font-size: 2.2rem;
  }

  .banner-description {
    font-size: 1.1rem;
  }

  .book-now {
    width: 80%;
    /* Adjusted width for mobile */
  }
}

/* //////////////////// Footer styles //////////////// */
.footer {
  height: fit-content;
  padding: 2rem 14px 3.4rem;
  background: black;
  color: white;
}

.main-footer {
  display: flex;
  gap: 40px;
  justify-content: space-around;
  align-items: flex-start;
  /* Align items at the start */
  flex-wrap: wrap;
  /* Allow items to wrap on smaller screens */
}

.footer-partone {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Change 'start' to 'flex-start' */
  gap: 0.8rem;
  font-size: 14px;
}

.footer-subhead {
  font-size: 26px;
}

.footer-partone p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-partone span a:hover {
  color: rgb(231, 229, 229);
  text-decoration: underline;
}

.footer-parttwo {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Change 'start' to 'flex-start' */
  gap: 1.4rem;
}

.footer-parttwo p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-description {
  display: flex;
  align-items: start;
  gap: 10px;
}

.sub-footer {
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive styles */
@media (max-width: 768px) {
  .main-footer {
    flex-direction: column-reverse;
    /* Stack items vertically */
    align-items: center;
    /* Center align for smaller screens */
    text-align: center;
    /* Center text */
    gap: 2rem;
  }

  .footer-partone,
  .footer-parttwo {
    align-items: center;
    /* Center align items */
    gap: 0.4rem;
    /* Adjust gap for better spacing */
  }

  .footer-subhead {
    font-size: 24px;
    /* Slightly smaller for mobile */
  }

  .footer-partone span {
    font-size: 12px;
    /* Smaller links */
  }

  .footer-parttwo span {
    font-size: 14px;
    /* Smaller phone numbers */
  }
}

@media (max-width: 480px) {
  .footer-subhead {
    font-size: 16px;
    /* Even smaller for very small screens */
  }

  .footer-partone span {
    font-size: 16px;
    /* Smaller links */
  }

  .footer-parttwo span {
    font-size: 16px;
    /* Smaller phone numbers */
  }
}

/* ////////////////////// section first gridCard style ////////////// */

/* Default Styles for Desktop */
.gridCard {
  height: fit-content;
  padding: 2rem 2rem;
}

.gridCard-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.gridCard-heading h2 {
  font-size: 3rem;
}

.gridCard-heading span {
  font-size: 1.3rem;
}

.gridcard-images {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.grid-image {
  height: 100vh;
  width: 32%;
  position: relative;
}

.grid-image img {
  flex: 1;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.grid-image-title {
  z-index: 1;
  width: 70%;
  padding: 0 10px;
  color: white;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 30px;
  font-weight: bold;
  transition: all ease 0.3s;
}

.grid-image a {
  display: none;
  position: absolute;
  cursor: pointer;
  font-size: 20px;
  color: white;
  text-decoration: none;
  width: 10rem;
  border: 2px solid white;
  padding: 8px 14px;
}

.grid-image:hover .grid-image-title {
  bottom: 25vh;
}

.grid-image:hover a {
  display: block;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .grid-image {
    height: 100vh;
    width: 30%;
    position: relative;
  }

  .grid-image img {
    flex: 1;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
  }
}

/* Tablet and Mobile View (max-width: 768px) */
@media (max-width: 768px) {
  .gridCard {
    padding: 1rem;
  }

  .gridCard-heading h2 {
    font-size: 2rem;
    text-align: center;
  }

  .gridCard-heading span {
    font-size: 0.9rem;
    text-align: center;
  }

  .gridcard-images {
    flex-direction: column;
    align-items: center;
  }

  .grid-image {
    align-self: center;
    height: 40vh;
    width: 100%;
    margin: 0 auto;
    /* Center the images */
  }

  .grid-image-title {
    font-size: 18px;
  }
}

/* Mobile View (max-width: 480px) */
@media (max-width: 480px) {
  .gridCard {
    padding: 2rem 0.4rem;
  }

  .gridCard-heading h2 {
    font-size: 1.5rem;
  }

  .gridCard-heading span {
    font-size: 0.8rem;
  }

  .grid-image {
    height: 35vh;
    width: 90%;
    margin: 0 auto;
    /* Center the images */
  }

  .grid-image-title {
    font-size: 16px;
  }
}

/* //////////////////////// Section Second Gallery Card /////////////////////// */

.galleryimages {
  height: fit-content;
  width: 100%;
  padding: 2rem 3rem;
}

.gridimage {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: inline-block;
  object-fit: cover;
}

.gridwrapper > div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gridwrapper > div > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.gridwrapper {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
}

.gridwrapper .wide {
  grid-column: span 2;
}

.gridwrapper .tall {
  grid-row: span 2;
}

.gridwrapper .big {
  grid-column: span 2;
  grid-row: span 2;
}

/* Mobile View (max-width: 480px) */
@media (max-width: 480px) {
  .galleryimages {
    padding: 2rem 1rem;
  }

  .gridwrapper {
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  }
}

a {
  color: white;
}

/* Floating Book Now button */
.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2196f3;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: background 0.3s ease;
}

.floating-button:hover {
    background-color: #1976d2;
}
