/* ========== Global Reset & Base Styles ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  height: 100%;
  font-family: 'Helvetica Neue', sans-serif;
  overflow: auto; /* ✅ allow scrolling */
}

/* ========== Layout Structure ========== */
.container {
  display: flex;
  height: 100vh;
  background-color: #fff;
}

/* ========== Left Panel ========== */
.left-panel {
  width: 20%;
  padding: 40px 20px;
  position: fixed;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  z-index: 10;
}

.left-panel .logo img {
  max-width: 100%;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 50px;
}

/* tulisan diatas home shop contact */
.tagline {
  margin-top: 20px;
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  color: #63422e;
  line-height: 1.4;
}


/* font teks shop contact dkk */

.nav-links a {
  font-family: 'Lexend', sans-serif;
  color: #63422e;
  font-size: 16px;      /* adjust size as needed */
  letter-spacing: 1px;  /* optional: for spacing between letters */
  text-transform: uppercase;
  font-weight: normal;  /* Bebas Neue has only one weight */
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #999;
}

/* socials edits */
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.social-links img {
  width: 24px;
  height: 24px;
  object-fit: contain;


}



/* ========== Right Panel ========== */
.right-panel {
  margin-left: 20%;
  width: 80%;
  height: 100vh;
  overflow-y: scroll;
  -ms-overflow-style: none;  /* IE/Edge */
  scrollbar-width: none;     /* Firefox */
}

.right-panel::-webkit-scrollbar {
  display: none;             /* Chrome/Safari */
}

/* ========== Hero Slider ========== */
.hero-slider {
  width: 100%;
  height: 80vh;
  position: relative;
}

.swiper-slide img {
  width: 100%;
  height: 80%;
  object-fit: cover;
  border-radius: 0;
}

/* ========== Slider Text (Optional Overlay) ========== */
.slider-text {
  position: absolute;
  top: 20%;
  left: 5%;
  z-index: 5;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.slider-text h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
}

.slider-text p {
  font-size: 20px;
}

/* ========== Product Grid ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 40px;
  background-color: #fff;
}

.product-card {
  background: #f2f2f2;
  height: 300px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* product pics */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  padding: 20px;
  background-color: #fff;
}

.product-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-card {
  width: 100%;
  background: #f2f2f2;
  border-radius: 10px;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.product-name {
  margin-top: 10px;
  font-size: 12px;
  font-weight: bold;
  color: #63422e;
}





/* ========== Hamburger Button ========== */
.hamburger {
  display: none; /* hidden on desktop */
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 20;
  background: transparent;
  border: none;
  font-size: 30px;
  cursor: pointer;
  user-select: none;
  color: #63422e; /* <-- set hamburger color here */
}

}

/* ========== Responsive (Mobile) ========== */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  /* Hide left panel off screen initially */
  .left-panel {
    position: fixed;
    top: 0;
    left: -250px; /* hide left panel */
    width: 250px;
    height: 100vh;
    padding: 20px;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    flex-direction: column;
    justify-content: flex-start;
    transition: left 0.3s ease;
    z-index: 15;
  }

  /* Show left panel when active */
  .left-panel.active {
    left: 0;
  }

  /* Show hamburger button */
  .hamburger {
    display: block;
  }

  /* Right panel full width */
  .right-panel {
    margin-left: 0;
    width: 100%;
    height: auto;
    overflow-y: visible;
  }

  .hero-slider {
    height: 40vh;
  }

  .slider-text h1 {
    font-size: 24px;
  }

  .slider-text p {
    font-size: 14px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 20px;
  }

  .product-card {
    height: 200px;
    font-size: 14px;
  }

  /* Adjust nav-links for mobile menu */
  .nav-links {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }

  .nav-links a {
    font-size: 14px;
  }

  /* Optional: Limit logo size on mobile */
  .left-panel .logo img {
    max-width: 120px;
    height: auto;
  }
}

/* Hide mobile-topbar on desktop */
.mobile-topbar {
  display: none;
}

/* Show mobile-topbar on mobile */
@media (max-width: 768px) {
  .mobile-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 25;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  /* Hamburger in mobile-topbar */
  .mobile-topbar .hamburger {
    display: block;
    font-size: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  /* Logo in mobile-topbar */
  .mobile-topbar .mobile-logo img {
    max-height: 40px;
    height: auto;
  }

  /* Adjust hero-slider position to be below mobile-topbar */
  .hero-slider {
    margin-top: 60px; /* height of mobile-topbar + some padding */
    height: 40vh !important; /* override if needed */
  }

  /* Left panel sidebar */
  .left-panel {
    top: 60px; /* below mobile-topbar */
    left: -250px;
    width: 250px;
    height: calc(100vh - 60px);
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 15;
  }

  .left-panel.active {
    left: 0;
  }

  /* Right panel full width */
  .right-panel {
    margin-left: 0;
    width: 100%;
    height: auto;
    overflow-y: visible;
  }
}
