body, html {
  font-family: poppins;
  scroll-behavior: smooth;
  cursor: url(''),auto;
  margin: 0;
  height: 100%;

}
body a {
  font-family: poppins;
}

:root {
    --primary-color: #845644;
    --secondary-color: #F4EBDD;
    --third-color: #BAA291;

}

/* top section */
.section1{
  height: 100vh;
}

header nav.mobile {
  display: block;
  text-align: right;    
  background-color: transparent;


}
header nav.mobile .active {
  background-color: transparent;
}

header nav.mobile .hamburger {
  display: inline-block;
  cursor: pointer;
  z-index: 110;

}

header nav.mobile .hamburger.active {
  display: inline-block;
  cursor: pointer;
  z-index: 110;
  position: relative;
}

header nav.mobile .hamburger.active span:nth-child(1) {
  display: none;
}

header nav.mobile .hamburger.active span:nth-child(2) {
  transform: rotate(180deg) ;
}

header nav.mobile .hamburger.active span:nth-child(3) {
  display: none;
}

header nav.mobile .hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  border-radius: 2.5px;
  transition: 1s;
}
header nav.mobile .hamburger.active span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 10px 0;
  border-radius: 2.5px;
}



header nav.mobile ul {
  display: none;
  list-style-type: none;
  line-height: 2rem;

  
  
}


header nav.mobile ul.show {
  display: block;
  position: absolute;
  background: whitesmoke;
  box-sizing: border-box;
  top: 0px;
  left: 0px;
  right: 0px;
  height: 500vh;
  text-align: center;
  padding-top: 20vh; 
  margin: 0;
  z-index: 100;
  animation: mymove 1s forwards;
  width: 100%; 
  padding-left: 0; 
  padding-right: 0; 
  }
  



@keyframes mymove {
  0% {
      transform: translateY(-100%);
  }
  100% {
      transform: translateY(0%);
  }
  
}

header nav.mobile ul.show li {

display: grid;
grid-template-rows: 1fr 1fr 1fr;
text-align: center;
font-size: 18px;

}   

header nav.mobile ul.show li a {
  text-decoration: none;
  color: var(--primary-color);
}
  


  header nav.desktop {
    display: none;
}

/* .headerimgnav {
  display: grid;
  grid-template-columns: 1fr 1fr;
} */

#headerimgnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

#headerimgnav img {
  width: 110px;
  height: 90px;
}

.hamburger {
  margin-right: 20px;


}

#background-video {
  object-fit: cover;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
  opacity: 0.8;  
  color: white;
  overflow: hidden;
  background: #C04848;  /* fallback for old browsers */
  background: linear-gradient(to right, #C04848, #480048); /* modern browsers */
  background-size: cover;
  background-repeat: no-repeat;
}



.homes1{
  border-bottom: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-size: 30px;
 
}
.homes2{
  margin-top: -15px;
  color: var(--secondary-color);
  font-weight: normal;
  
}

#bookbutton1 {
  color: var(--secondary-color);
  background-color: var(--third-color);
  border-radius: 5px;
  padding: 10px;
  margin: 80px;
  margin-top: -20px;
}

.home2 {
  background-color: transparent;
  padding: 10px;
}

.hometext {
  padding: 10px;
  text-align: center;
  margin: 0 auto;
  padding-top: 80px;
}

.home2 a {
  text-decoration: none;
  background-color: var(--secondary-color);
  padding: 10px;
  color: var(--primary-color);
  display: block;
  text-align: center;
  width: 100px;
  margin: 0 auto;
  border-radius: 5px;
}
.home2 a:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: scale(1.1);
  transition: transform 0.3s, background-color 0.3s, color 0.3s;
}

/* get to know about us */



.section2 {
  display: grid;
  grid-template-columns: 1fr; /* Single-column layout for stacking */
  grid-template-rows: auto auto auto auto; /* Four rows: one for each element */
  background-color: var(--secondary-color);
  padding: 10px;
  overflow: hidden;
  text-align: center; /* Center align content horizontally */
}

.section2 img {
  grid-row: 1/2; /* Place image in the first row */
  height: auto;
  width: 300px;
  border-radius: 5px;
  justify-self: center; /* Center the image */
}

.section2 h1 {
  color: var(--primary-color);
  grid-row: 2/3; /* Place h1 in the second row */
  margin: 10px 0; /* Add spacing above and below */
}

.section2 p {
  color: var(--primary-color);
  grid-row: 3/4; /* Place p in the third row */
  margin: 10px 0; /* Add spacing above and below */
}

#button1 {
  background-color: var(--primary-color);
  padding: 10px;
  border: none;
  border-radius: 5px;
  grid-row: 4/5; /* Place button in the fourth row */
  justify-self: center; /* Center align the button */
  margin: 10px 0; /* Add spacing above */
}

#button1 a {
  text-decoration: none;
  color: var(--secondary-color);
}


/* services */

.section3 {
  display: grid;
  grid-template-columns: 1fr; /* Single-column layout for stacking */
  grid-template-rows: auto auto auto auto; /* Four rows: one for each element */
  background-color: var(--third-color);
  padding: 5px;
  text-align: center; /* Center-align text and button */
}

.section3 img {
  grid-row: 1/2; /* Place image in the first row */
  border-radius: 10px;
  height: auto;
  width: 300px; /* Adjust width to fit the container */
  justify-self: center; /* Center the image */
}

.section3 h1 {
  grid-row: 2/3; /* Place h1 in the second row */
  color: var(--secondary-color);
  margin: 10px 0; /* Add spacing above and below */
}

.section3 p {
  grid-row: 3/4; /* Place p in the third row */
  color: var(--secondary-color);
  margin: 10px 0; /* Add spacing above and below */
}

#button2 {
  grid-row: 4/5; /* Place button in the fourth row */
  background-color: var(--primary-color);
  padding: 10px;
  text-align: center;
  margin: 10px auto; /* Center button with top and bottom spacing */
  border: none;
  border-radius: 5px;
  justify-self: center; /* Center-align the button */
}

#button2 a {
  text-decoration: none;
  color: var(--secondary-color);
}


/* gallery */
.section4 {
  background-color: var(--primary-color);
  padding: 10px;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* .maingallery {
  margin: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overflow-x: scroll;
  overflow-y: hidden;
  display: flex;
  max-width: 300px;
  max-height: 300px;
  scroll-snap-stop: always;
  border-radius: 5px;
} */


.maingallery {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.maingallery img {
  width: 300px;
  height: auto;
  border-radius: 5px;
}

/* get in touch */

.section5 {
  background-color: var(--secondary-color);
  padding: 10px;

}
.section5 h1 {
  color: var(--primary-color);
}


.groupsocials {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.squareone img {
  width: 50px;
  height: 50px;
}

.squaretwo img {
  width: 50px;
  height: 50px;
}

.squarethree img {
  width: 50px;
  height: 50px;
}
.section5 li {
  list-style-type: none;
  margin-bottom: 15px;
  font-size: 14px;
  color: var(--primary-color);
}


#footercopywrite {
  text-align: center;
  color: var(--primary-color);
  padding: 10px;
  font-size: 12px;
  border-top: 1px solid var(--primary-color);
  margin-top: 25px;
}


@media screen and (min-width: 1440px) {
  /* General Styles */
  body, html {
      font-size: 18px; /* Adjust font size for desktop readability */
      line-height: 1.6;
  }

  .section2, .section3, .section4, .section5 {
      padding: 5vw;
 
  }
  .section2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto; /* Define two rows explicitly */
    background-color: var(--secondary-color);
    overflow: hidden;
  }
  
  .section2 h1 {
    color: var(--primary-color);
    grid-column: 3/4; /* Ensure h1 is in column 3 */
    grid-row: 1/2; /* Place h1 in the first row */
    text-align: right;
    justify-self: end;
    margin: 0; /* Remove unnecessary default margin */
  }
  
  .section2 img {
    grid-column: 1/3; /* Spans the first two columns */
    grid-row: 1/3; /* Spans both rows */
    height: auto;
    width: 300px;
    border-radius: 5px;
  }
  
  .section2 p {
    color: var(--primary-color);
    grid-column: 3/4; /* Align with h1 in column 3 */
    grid-row: 2/3; /* Place p directly below h1 */
    text-align: right;
    justify-self: end; /* Match h1 alignment */
    margin: 0; /* Remove default margin for consistent spacing */
  }
  
  
  
  #button1 {
    background-color: var(--primary-color);
    padding: 10px;
    text-align: center; /* Ensure text inside is centered */
    margin: -50px 0 0 auto; /* Reduce top margin */
    border: none;
    border-radius: 5px;
    grid-column: 3/4; /* Ensure it's in column 3 */
    grid-row: 3/4; /* Place it explicitly below the <p> tag */
    justify-self: end; /* Align to the right */
  }
  
  #button1 a {
    text-decoration: none;
    color: var(--secondary-color);
  }
  .section3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Three equal columns */
    grid-template-rows: auto auto auto; /* Three rows for better alignment */
    gap: 15px; /* Add spacing between grid items */
    background-color: var(--third-color);
    padding: 20px; /* Add padding for better spacing */
    overflow: hidden;
    padding: 150px;
  }
  
  .section3 h1 {
    color: var(--secondary-color);
    grid-column: 1/2; /* Place h1 in the first column */
    grid-row: 1/2; /* Place h1 in the first row */
    text-align: left; /* Align text to the left */
    justify-self: start; /* Align the h1 to the left of its grid cell */
    margin: 0 0 10px 0; /* Add bottom margin for spacing below */
  }
  
  .section3 p {
    color: var(--secondary-color);
    grid-column: 1/2; /* Place p in the same column as h1 */
    grid-row: 1/3; /* Place p directly below h1 */
    text-align: left; /* Align text to the left */
    justify-self: start; /* Align the p to the left of its grid cell */
    margin-top: 100px; /* Remove default margin for consistent spacing */
    line-height: 1.5; /* Improve readability */
  }
  
  .section3 img {
    grid-column: 2/3; /* Center the image in the middle column */
    grid-row: 1/4; /* Span the entire height of the section */
    height: auto;
    width: 400px; /* Make the image responsive */
    border-radius: 10px;
    justify-self: center; /* Center the image horizontally */
    align-self: center; /* Center the image vertically */
  }
  
  #button2 {
    background-color: var(--primary-color);
    padding: 10px 20px; /* Add padding for a larger button */
    text-align: center; /* Ensure text inside is centered */
    border: none;
    border-radius: 5px;
    grid-column: 1/3; /* Place it in the same column as h1 and p */
    grid-row: 3/4; /* Place it explicitly below the <p> tag */
    justify-self: start; /* Align to the left */
    margin: -50px 0 0 0; /* Add spacing above the button */
    cursor: pointer; /* Add pointer cursor for better UX */
  }
  
  #button2 a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: bold; /* Make the button text stand out */
  }
  
  
  .section1 {
    padding: 40px;
  }
  .section5 {
    padding: 40px;
  }
  .section2 h1, .section2 p, .section2 button, .section2 img {
    
      margin: 0 auto;
  }
  .desktop {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr ;
  }
  header nav.desktop ul {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      list-style-type: none;
      padding: 0;
      margin: 0;
      text-align: center;
  
  }

  header nav.desktop ul li {
      display: inline-block;
      padding: 10px 20px;
  }

  header nav.desktop ul li a {
      text-decoration: none;
      color: var(--primary-color);
      font-size: 18px;    
  
  }

  header nav.desktop ul li a:hover {
      color: var(--secondary-color);
      background-color: var(--primary-color);
      border-radius: 5px;
      padding: 15px;
      transition: color 0.3s;
  }
  header nav.desktop {
      display: block;
  }

  header nav.mobile {
      display: none;
  }
  .topdesknav {
      padding: 20px 40px;
      background-color: var(--secondary-color);
      border-radius: 5px;
  }
  .groupsocialsdesk {
    display: flex;
    gap: 20px;
    margin-left: 20px;

  }
  .squareonedesk img, .squaretwodesk img, .squarethreedesk img {
      width: 40px;
      height: 40px;
  }


  /* Header Adjustments */
  #headerimgnav {
      justify-content: space-between;
      padding: 20px 40px;
  }

  #headerimgnav img {
      width: 150px;
      height: auto;
 
  }
  #logodesknav {
    width: 250px;
    height: auto;
    margin: 0 auto; /* Center the element horizontally */
    margin-left: 350px;
  }

  /* #section2img {
    width: 300px ;
    height: auto;
    text-align: right;
  } */

  /* Typography */
  h1 {
      font-size: 48px;
  }

  p {
      font-size: 16px;
  }



  .section2 img {
    grid-column: 1/3; /* Spans the first two columns */
    grid-row: 1/3; /* Spans both rows */
    height: auto;
    width: 600px;
    border-radius: 5px;
  }
  .maingallery {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .maingallery img {
    width: 300px;
    height: auto;
    border-radius: 5px;
  }
  

  /* Buttons */
  #bookbutton1, #button1, #button2 {
      padding: 15px 30px;
      font-size: 16px;
  }

  /* Gallery */
  /* .maingallery {
      max-width: 800px;
      max-height: 400px;
      margin: 0 auto;
  } */

  /* Get in Touch Section */
  .groupsocials {
      justify-content: flex-end;
      gap: 80px;
      margin-top: auto;
      margin-bottom: auto;
  }

  .squareone img, .squaretwo img, .squarethree img {
      width: 100px;
      height: 100px;
  }

  /* Footer */
  #footercopywrite {
      font-size: 14px;
  }
}
