/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

/* //////////////////// Header styles //////////////// */

header {
  position: relative;
  height: 100vh;
  /* Full viewport height */
  /* background-image: url('./assets/bannerbg.jpg'); */
  /* Replace with your image path */
  background-size: cover;
  background-position: center;
}

/* Banner styles */
.banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  /* Full height */
  color: white;
  text-align: center;
}

/* Navbar styles */
.navbar {
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  /* background: rgba(0, 0, 0, 0.5); */
  /* Semi-transparent background */
  position: fixed;
  top: 0;
  width: 100%;
}

.logo img {
  height: 50px;
  width: 60px;
  object-fit: contain;
  border-radius: 50%;
  background-position: center;
}

/* Burger menu */
.burger {
  display: none;
  /* Hidden by default */
  font-size: 24px;
  cursor: pointer;
  color: #080808;
}

/* Close icon */
.close {
  display: none;
  /* Hidden by default */
  font-size: 24px;
  color: #080808;
  cursor: pointer;
}

/* Navigation links */
.nav-links {
  display: flex;
  list-style: none;
  
}

.navlink-items {
  margin: 0 15px;
}

.navlink-items a {
  font-size: 20px;
  color: #080808;
  text-decoration: none;
  transition: color 0.3s;
}

.navlink-items a:hover {
  color: #ffd700;
  /* Change color on hover */
}

.book-now {
  padding: 10px 20px;
  background-color: #ffd700;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.book-now:hover {
  background-color: #f5c20a;
}

/* ////////////////// 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;
  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;
  /* font-size: 20px; */
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 10px 11px;
  border-radius: 50%;
}

.controls button:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .controls button {
    font-size: 8px;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .controls button {
    font-size: 16px;
    padding: 6px;
  }
}

/* /////////////////////////// Center text of banner ///////////////////// */
.banner-details {
  user-select: none;
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 60vw;
  justify-content: center;
  align-items: center;
}

/* Banner title and description styles */
.banner-title {
  font-size: 4rem;
  font-weight: bold;
  margin: 20px;
  filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.9));
}

.banner-description {
  font-size: 1.5rem;
  max-width: 600px;
  letter-spacing: 3px;
  filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.9));
}

/* Responsive styles */
@media (max-width: 768px) {
  header {
    height: 70vh;
  }

  .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.5); */
    background-color: #fff;
    position: absolute;
    top: 66px;
    left: 0;
  }

  .nav-links.active {
    display: flex;
    /* Show links when active */
    align-items: center;
    gap: 15px;
    padding: 10px 0;
  }

  .close {
    display: none;
    /* Hidden by default */
  }

  .nav-links.active ~ .close {
    display: block;
    /* Show close icon when nav is active */
  }

  .navbar {
    flex-direction: row;
    align-items: center;
    row-gap: 15px;
  }

}

@media (max-width: 480px) {
  .banner-title {
    font-size: 2rem;
  }

  .banner-description {
    font-size: 1rem;
  }

  .book-now {
    width: 100%;
    /* Full width button */
  }
}

/* /////////////////////////// Form  of banner ///////////////////// */
/* General form styling */
.form-head {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(128, 128, 128, 0.1);
}

.detailform {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

/* Styling for form inputs and labels */
.forminput {
  display: flex;
  flex-direction: column;
  width: 15%;
  max-width: 300px;
  gap: 8px;
}

.forminput label {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
}

input[type="date"],
input[type="number"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s;
  background-color: #f9f9f9;
  color: #333;
}

/* Styling for hover and focus effects */
input[type="date"]:focus,
input[type="number"]:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
  outline: none;
}

input[type="date"]:hover,
input[type="number"]:hover {
  border-color: #555;
}

/* Button styling */
.book-now {
  padding: 12px 24px;
  font-size: 1rem;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}

.book-now:hover {
  background-color: #0056b3;
}

/* Responsive design for tablets and mobile */
@media (max-width: 768px) {
  .detailform {
    flex-direction: column;
    /* align-items: stretch; */
  }

  .forminput {
    width: 100%;
  }
}

/* //////////////////// Footer styles //////////////// */
.footer {
  height: fit-content;
  padding: 2rem;
  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;
  color: rgba(255, 255, 255, 0.7);
}

.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,
.footer-font {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 24px;
}

.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: 2.2rem;
}

.gridCard-heading span {
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
}

.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-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;
}

.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;
}
