/* BAGIAN HOME */
.home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 100px;
  min-height: calc(100vh - 140px);
}

.home-content {
  flex: 1;
  max-width: 600px;
}

.home-content h1 {
  font-size: 48px;
  margin-bottom: 30px;
  line-height: 1.3;
}

.home-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 40px;
}

.shop-now {
  display: inline-block;
  padding: 15px 40px;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s;
}

.shop-now:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.home-image {
  flex: 1;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;

}

.home-image img {
  margin-top: 10px;
}

.circle-logo {
  width: 360px;
  height: 360px;
  border: 3px solid #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5),
    0 0 40px rgba(255, 255, 255, 0.3), 0 0 60px rgba(255, 255, 255, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.circle-logo::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.5),
    transparent,
    rgba(255, 255, 255, 0.5)
  );
  z-index: -1;
}

/* AKHIR BAGIAN HOME */


section.produk {
  padding: 40px 20px;
  text-align: center;
}

section.produk h1.title {
  margin: 0 0 50px 0;
}

.carousel-radio {
  display: none;
}

.carousel-container {
  z-index: 1;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1.5rem;
}

.carousel-track {
  display: flex;
  width: 300%;
  transition: transform 0.5s ease;
}

#slide1:checked ~ .carousel-container .carousel-track {
  transform: translateX(0);
}

#slide2:checked ~ .carousel-container .carousel-track {
  transform: translateX(-33.333%);
}

#slide3:checked ~ .carousel-container .carousel-track {
  transform: translateX(-66.666%);
}

.carousel-slide {
  width: 33.333%;
  padding: 10px;
  flex-shrink: 0;
}

.accordion-wrapper {
  display: flex;
  gap: 0.5rem;
  height: 350px;
}

details {
  flex: 1;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: flex 0.5s ease;
}

details[open] {
  flex: 2.5;
}

details summary {
  list-style: none;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  position: relative;
}

details summary::-webkit-details-marker {
  display: none;
}

/* ===== BACKGROUND IMAGE ===== */
details summary img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: filter 0.5s ease, transform 0.5s ease;
}

details[open] summary img {
  filter: brightness(0.35);
  transform: scale(1.05);
}

details summary span {
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0.7rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;
}

details[open] summary span {
  opacity: 0;
  transform: scale(0);
}

.details-content-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  text-align: left;
  color: white;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.details-content-wrapper h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  transform: translateY(1rem);
  opacity: 0;
  transition: all 0.4s ease 0.15s;
}

details[open] .details-content-wrapper h3 {
  transform: translateY(0);
  opacity: 1;
}

.details-content-wrapper p {
  font-size: 0.85rem;
  line-height: 1.5;
  transform: translateY(1rem);
  opacity: 0;
  transition: all 0.4s ease 0.25s;
}

details[open] .details-content-wrapper p {
  transform: translateY(0);
  opacity: 1;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 25px;
}

.carousel-nav label {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(128, 128, 128, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-nav label:hover {
  background: rgba(128, 128, 128, 0.7);
  transform: scale(1.1);
}

#slide1:checked ~ .carousel-nav label[for="slide1"],
#slide2:checked ~ .carousel-nav label[for="slide2"],
#slide3:checked ~ .carousel-nav label[for="slide3"] {
  background: #333;
  transform: scale(1.3);
}

.carousel-arrows {
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.carousel-arrows label {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: black;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  opacity: 0;
}

.carousel-container:hover .carousel-arrows label {
  opacity: 1;
}

.carousel-arrows label:hover {
  background: white;
  transform: scale(1.1);
}

section.contact {
  padding: 40px 80px;
  text-align: center;
  background-color: #000000;
}

section.contact h1.title {
  margin: 0 0 50px 0;
}

section.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

section.contact .information {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: start;
}

section.contact .information p {
  margin-top: 5px;
  font-size: 16px;
  text-align: justify;
  margin-bottom: 20px;
}

section.contact .information .email p,
section.contact .information .telpon p {
  margin-top: 15px;
  font-size: 17px;
}

section.contact form {
  background-color: white;
  padding: 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

section.contact form input,
section.contact form textarea {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

section.contact form button {
  padding: 8px;
  border: none;
  border-radius: 5px;
  background-color: black;
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

section.contact form button:hover {
  background-color: #555;
}
