body{
    font-family: sans-serif;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    background-color: #fef2e2;
}

#wrapper{
    scroll-behavior: smooth;
    overflow-y: auto;
    overflow-x: hidden;
    perspective: 100px;
    height: 100vh;
    position: relative;
    background: transparent;
}

#header{
    position: absolute;
    font-family: 'arial';
    font-weight: 400;
    font-size: 80px;
    left: 60px;
}

#header h1{
    margin-bottom: -120px;
}

#header h2{
    font-size: 32px;
    margin-top: 150px;
    margin-bottom: -80px;
}

#header h3{
  font-size: 26px;
  margin-top: 150px;
  width: 92vh;
}

#home{
    text-align: end;
    background-color: #fef2e2;
    background-size: cover;
    background-position: center 15%;
    position: relative;
    z-index: -1;
    height: 100%;
    transform: translateZ(-50px) scale(1.7);
}

#home img{
    position: relative;
    top: 6vh;
    right: 50px;
    height: 95vh;
}

.page {
    transform: translateZ(0);
    position: relative;
    background-color: white;
    z-index: 0;
    height: 100vh;
}

#NavBar{
    transform: translateZ(0);
    position: absolute;
    z-index: 1;
    top: -16px;
    gap: 70px;
    width: 100%;
    display: flex;
    height: 75px;
    text-align: center;
    align-items: center;
    transform-style: preserve-3d;
    list-style: none;
    justify-content: center;
    background-color: #fef2e2;
}

#NavBar img{
    height: 60px;
    position: absolute;
    left: 25px;
    border-radius: 100%;
    top: 7.5px;
}
#NavBar span{
    color: black;
    position: absolute;
    left: 95px;
    top: 29.5px;
    font-family: 'great vibes';
    font-size: 20px;
    margin-right: -60px;
}

#NavBar li a{
    transition: 0.3s ease;
    font-family:'Times New Roman', Times, serif;
    font-size: 18px;
    list-style: none;
    padding: 5px 15px;
    border-bottom: 2px solid transparent;
    color: rgb(26, 26, 26);
    text-decoration: none;
}

#NavBar li a:hover{
    color: rgb(17, 17, 17);
    border-color: rgb(17, 17, 17);
    padding: 5px 15px;
    transition: 0.3s ease;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 40px;
    height: 100vh;
    align-items: center;
    scroll-behavior: smooth;

    /* mask gradient fade on the right side */
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.carousel img {
  height: 70vh;
  margin-top: -9vh;
  scroll-snap-align: center;
  border-radius: 20px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

#photos{
    background: #ffffff;
background: linear-gradient(191deg,rgba(255, 255, 255, 1) 0%, rgba(255, 249, 245, 1) 50%, rgba(245, 226, 196, 1) 100%);
}

#services{
    height: 130vh;
}

.services-content {
    padding: 60px 10%;
    background: linear-gradient(191deg, rgba(255,255,255,1) 0%, rgba(255,249,245,1) 50%, rgba(245,226,196,1) 100%);
    font-family: 'Poppins', sans-serif;
    color: #333;
  }

  .services-title {
    font-family: 'Great Vibes', cursive;
    text-align: center;
    font-size: 48px;
    color: #cf8a57;
    margin-bottom: 50px;
  }

  .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
  }

  .services-left,
  .services-right {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .service-block {
    margin-bottom: 20px;
  }

  .service-block h3 {
    font-size: 28px;
    color: #444;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
  }

  .table-wrapper {
    display: flex;
    justify-content: center;
  }

  .service-table {
    width: 420px;
    max-width: 90%;
    border-collapse: collapse;
    font-size: 16px;
  }

  .service-table th,
  .service-table td {
    padding: 14px 16px;
    border: 1px solid #d8b998;
  }

  .service-table th {
    background-color: #f4e4d7;
    color: #7f4f24;
  }

  .service-table tr:nth-child(even) {
    background-color: #fff9f2;
  }

  .service-table tr:nth-child(odd) {
    background-color: #ffffff;
  }

  .note {
    font-size: 14px;
    color: #b24d4d;
    margin-top: 8px;
    text-align: center;
  }

  ul {
    padding-left: 20px;
  }

  ul li {
    margin-bottom: 10px;
    font-size: 16px;
  }

  ul li span {
    color: #cc6f4a;
    font-weight: bold;
  }

  @media (max-width: 900px) {
    .services-grid {
      flex-direction: column;
    }
  }

  .footer {
    border-top: 15px solid #cf895773;
    background: linear-gradient(191deg, rgba(255,255,255,1) 0%, rgba(255,249,245,1) 50%, rgba(245,226,196,1) 100%);
    color: #5a3e2b;
    padding: 60px 20px 30px;
    font-family: 'Poppins', sans-serif;
  }

  .footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .footer-section {
    flex: 1 1 250px;
    margin: 20px;
  }

  .footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #cf8a57;
  }

  .footer-section ul {
    list-style: none;
    padding: 0;
  }

  .footer-section ul li {
    margin-bottom: 10px;
  }

  .footer-section ul li a {
    color: #5a3e2b;
    text-decoration: none;
    transition: color 0.3s;
  }

  .footer-section ul li a:hover {
    color: #cf8a57;
  }

  .footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #d4b89f;
    padding-top: 20px;
    font-size: 14px;
    color: #7f644c;
  }

@keyframes appear {
  from {
    scale: 1;
  }
  to {
    transform: translateX(10vh);
    scale: 0.8;
  }
}

#home img{
  animation: appear 5s linear;
  animation-timeline: view();
}

.carousel, .service-block{
  animation: appear-img 5s linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

@keyframes appear-img {
  from {
    scale: 0.8;
    opacity: 0.5;
  }
  to {
    scale: 1;
    opacity: 1;
  }
}

@media (max-width: 431px) {
  #NavBar{
    display: none;
  }
  #hamburger-menu {
      display: block;
      font-size: 50px;
      cursor: pointer;
      padding: 10px 20px;
      position: relative;
      color: rgb(0, 0, 0);
      top: 10px;
  }
  #side-nav {
      height: 100%;
      width: 0;
      position: fixed;
      top: 0;
      left: 0;
      background-color: white;
      overflow-x: hidden;
      transition: 0.3s;
      padding-top: 60px;
      box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  }
  
  #side-nav.open {
      width: 250px;
  }
  
  #side-nav ul {
      list-style: none;
      padding: 0;
  }
  
  #side-nav li {
      padding: 15px;
      text-align: left;
  }
  
  #side-nav a {
      text-decoration: none;
      color: black;
      font-size: 20px;
  }
  
  #close-btn {
      position: absolute;
      top: 15px;
      right: 25px;
      font-size: 30px;
      cursor: pointer;
  }
  
  .fade-in {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
  }
  #header{
    position: absolute;
    font-family: 'arial';
    font-weight: 400;
    font-size: 35px;
    width: 100vw;
    left: 20px;
  }
  #header h1{
    margin-bottom: -150px;
  }
  
  #header h2{
    font-size: 22px;
    margin-top: 8vh;
    margin-bottom: -25px;
  }

  #header h3{
    font-size: 20px;
    margin-top: 150px;
    width: 90vw;
  }
  
  #home img{
    position: relative;
    top: 25vh;
    right: 50px;
    height: 75vh;
  }
  .carousel img {
    height: 70vh;
    margin-top: -9vh;
    scroll-snap-align: center;
    border-radius: 20px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }
  #services{
    height: 220vh;
  }
  .service-block {
    scale: 0.9;
    margin-left: -1.5vh;
  }

  .service-block{
    animation: appear-img 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
  }

  .carousel{
    animation: none;
  }

  @keyframes appear-img {
    from {
      scale: 0.8;
      opacity: 0.5;
    }
    to {
      scale: 0.9;
      opacity: 1;
    }
  }
}