* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}


/* Home Page */

body {
  /* background-color: #fff8f1; */
  color: #333;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* agar tetap di atas elemen lain */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  background-color: white;
  /* pastikan ada background */
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  padding: 5px 15px;
  border-radius: 20px;
  transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover {
  background-color: #fde6d2;
}

nav ul li a.active {
  background-color: #fec89a;
  color: #000;
}

nav li:last-child {
  margin-right: auto;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 999;
  padding: 50px 20px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10Px);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.sidebar li {
  width: 100%;
}

.sidebar a {
  width: 100%;
}

.menu-button {
  display: none;
}

.bg-landing {
  position: absolute;
  z-index: 0;
}

.img-landing {
  width: 1510px;
  width: 100%;
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

.img-logo {
  width: 30%;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px;
  padding-top: 150px;
  /* Menambahkan padding atas agar tidak tertutup header */
  position: relative;
}

.hero-text {
  max-width: 40%;
}

.hero-text h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-text p {
  margin-bottom: 30px;
}

.hero-text button {
  background-color: #f4a261;
  border: none;
  padding: 12px 25px;
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.hero-text button:hover{
  transform: scale(1.1);
}

.hero-img {
  position: relative;
  overflow: hidden;
  margin-top: 5%;
}


.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Animasi mengambang */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

.produk-section {
  padding: 100px 60px;
  background-color: #fff;
  text-align: center;
}

.produk-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 50px;
}

.produk-title span {
  color: #f4a261;
}

.produk-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.produk-card {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 50px;
  width: 300px;
  text-align: center;
  transition: all 1s ease;
}

.produk-card:hover {
  transform: scale(1.1);
}

.produk-card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
}

.produk-card h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.produk-card p {
  font-size: 14px;
  color: #555;
}

.about-section {
  background-color: #fff;
  padding-top: 80px;
  /* Padding untuk spasi dari header */
}

.about-container {
  padding: 100px 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  gap: 60px;
}

.about-text {
  flex: 1;
  max-width: 600px;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-text .bold {
  font-weight: 800;
  color: #000;
}

.about-text .highlight {
  color: #f4a261;
  font-weight: 800;
}

.about-text p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.about-image-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg-oval {
  position: absolute;
  width: 450px;
  height: 300px;
  background-color: #FFE3B2;
  border-radius: 50% / 50%;
  z-index: 1;
  margin-right: 50%;
}

.about-image {
  width: 450px;
  margin-bottom: 100px;
  z-index: 2;
  position: relative;
  margin-right: 50%;
}

.about-bg-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}

.about-section {
  position: relative;
  overflow: hidden;
}

.about-container {
  position: relative;
  z-index: 2;
  /* Supaya di atas background */
}

.testimonial-section {
  background-color: #FFF9F0;
  padding: 100px 30px 60px;
  /* Padding atas untuk spasi dari header */
  text-align: center;
  font-family: sans-serif;
}

/* ... Sisa CSS Anda tetap sama ... */
.testimonial-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 30px;
  color: #000;
}

.testimonial-scroll-wrapper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonial-container {
  display: flex;
  gap: 30px;
  width: max-content;
  padding-bottom: 20px;
  padding-left: 10px;
  margin-top: 5%;
}

.testimonial-card {
  scroll-snap-align: start;
  background-image: url('images/Rectangle 10.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 500px;
  height: 300px;
  padding: 90px 20px 20px;
  position: relative;
  text-align: center;
  color: #333;
  flex-shrink: 0;
  transition: all 1s ease;

}

.testimonial-card:hover{
  transform: scale(1.1);
}



.testimonial-photo {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid white;
}

.testimonial-text {
  margin-top: 40px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.testimonial-name {
  font-weight: bold;
  margin-top: 20px;
  color: #000;
}

.testimonial-nim {
  color: #666;
  font-size: 13px;
}

.testimonial-scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}

.testimonial-scroll-wrapper::-webkit-scrollbar-track {
  background: #ffeeda;
  border-radius: 10px;
}

.testimonial-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #f5c48c;
  border-radius: 10px;
}

.testimonial-scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: #f1aa5b;
}


.contact-section {
  padding: 100px 2rem 2rem;
  /* Padding atas untuk spasi dari header */
}

.contact-container {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  max-width: 100%;
}

.contact-bg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2rem;
}

.contact-elements {
  position: absolute;
  bottom: 7rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wa-icon-outside {
  width: 80px;
  height: 80px;
}

.chatbox {
  background-color: white;
  border-radius: 999px;
  padding: 1.5rem 4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-left: 10px;
}

.wa-input {
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
}

body {
  margin: 0;
  font-family: sans-serif;
  background: #fff;
}

.footer {
  background: white;
  color: #4b5563;
  padding: 60px 20px 30px;
  border-top: 1px solid #eee;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.footer-brand {
  flex: 2;
  min-width: 300px;
}

.brand-logo {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.brand-text h2 {
  font-size: 20px;
  margin: 0;
}

.brand-text span {
  color: #fbbf24;
  font-weight: bold;
}

.description {
  font-size: 14px;
  line-height: 1.6;
}

.opening-hours h3 {
  margin-top: 20px;
  font-weight: bold;
}

.hours-grid {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-top: 5px;
  max-width: 300px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h4 {
  font-weight: bold;
  margin-bottom: 10px;
}

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

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

.footer-section a {
  color: #4b5563;
  text-decoration: none;
  font-size: 14px;
}

.footer-section a:hover {
  text-decoration: underline;
}

.social-title {
  margin-top: 25px;
  margin-bottom: 10px;
}

.social-icons a img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  font-size: 13px;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.square-icon {
  width: 10px;
  height: 10px;
  background-color: #4b5563;
  display: inline-block;
}

@media (max-width: 800px) {
  html {
    font-size: 14px;
  }

  body {
    background-color: #FEFBF6;
  }

  header {
    padding: 1rem 1.5rem;
    background-color: #FEFBF6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .logo .img-logo {
    width: 2.5rem;
  }

  nav .hideOnMobile {
    display: none;
  }

  nav .menu-button {
    display: block;
  }

  .sidebar {
    width: 100%;
    background-color: rgba(254, 251, 246, 0.9);
    backdrop-filter: blur(5px);
  }

  .hero {
    flex-direction: column;
    padding: 6rem 1.5rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, #FFE3B2 0%, #FEFBF6 70%);
    position: relative;
    z-index: 1;
  }

  .hero-text {
    max-width: 100%;
    order: 2;
  }

  .hero-img {
    order: 1;
    margin-bottom: 2rem;
    width: 90%;
  }

  .bg-landing {
    display: none;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .res-button {
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.4);
    transform: scale(1.05); 
  }



  .produk-section,
  .about-section,
  .testimonial-section,
  .contact-section {
    padding-top: 5rem;
    /* Menyamakan padding atas untuk mobile */
  }

  .produk-section {
    background-color: #ffffff;
    border-radius: 40px 40px 0 0;
    margin-top: -30px;
    position: relative;
    z-index: 2;
    padding-bottom: 4rem;
  }

  .produk-wrapper {
    gap: 1.5rem;
  }

  .produk-card {
    width: calc(50% - 0.75rem);
    padding: 1rem;
    border: 1px solid #f0f0f0;
    border-bottom: 4px solid #fec89a;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .produk-card:active {
    transform: translateY(2px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .about-section {
    background-color: #FFF9F0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 4rem;
  }

  .about-container {
    flex-direction: column;
    padding: 0;
    gap: 2rem;
  }

  .about-text {
    text-align: center;
    order: 1;
  }

  .about-image-wrapper {
    order: 2;
    width: 100%;
    height: auto;
    margin-bottom: 0;
  }

  .bg-oval {
    width: 100%;
    height: 15rem;
    margin-right: 0;
    background-color: #FFE3B2;
  }

  .about-image {
    width: 15rem;
    margin-right: 0;
    margin-bottom: 0;
  }

  .about-bg-wave {
    display: none;
  }

  .testimonial-section {
    background-color: #FFF9F0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 4rem;
  }

  .testimonial-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    gap: 1rem;
  }

  .testimonial-card {
    width: 85vw;
    height: auto;
    padding: 4rem 1.5rem 1.5rem;
  }

  .testimonial-photo {
    width: 4rem;
    height: 4rem;
    top: -2rem;
  }

  .testimonial-text {
    margin-top: 1rem;
  }

  .contact-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: #FEFBF6;
  }

  .contact-elements {
    bottom: 2rem;
    left: 1rem;
    right: 1rem;
    gap: 0.5rem;
  }

  .wa-icon-outside {
    width: 3.5rem;
    height: 3.5rem;
  }

  .chatbox {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    margin-left: 0;
  }

  .wa-input {
    font-size: 0.9rem;
    width: 100%;
  }

  .footer {
    padding: 3rem 1.5rem 1.5rem;
    border-top: 5px solid #f4a261;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .footer-brand,
  .footer-section {
    min-width: 100%;
  }

  .brand-logo {
    justify-content: center;
  }

  .description {
    text-align: justify;
  }

  .footer-section a,
  .footer-bottom a {
    transition: color 0.2s ease;
  }

  .footer-section a:hover,
  .footer-bottom a:hover {
    color: #f4a261;
  }

  .hours-grid {
    flex-direction: column;
    gap: 0.5rem;
    max-width: 100%;
    align-items: center;
  }

  .social-icons {
    justify-content: center;
    display: flex;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-right {
    flex-direction: column;
    gap: 0.5rem;
  }

  .square-icon {
    background-color: #f4a261;
  }
}