* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f8f5f2;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ================= TOP HEADER ================= */
.top-header {
  background: #3e2f26;
  color: #e6dcd2;
}

.top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 55px;
}

.brand span {
  font-size: 20px;
  letter-spacing: 2px;
}

.contact {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
}

.btn-chat {
  background: #e6d3b3;
  color: #3e2f26;
  padding: 8px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
}

/* ================= NAV ================= */
.main-header {
  background: #2f221b;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  height: 60px;
  align-items: center;
}

.nav-item {
  color: #e6dcd2;
  text-decoration: none;
  padding: 8px 15px;
  transition: 0.3s;
  border-radius: 5px;
}

.nav-item:hover {
  background: #e6d3b3;
  color: #2f221b;
}

/* ================= HERO ================= */
.hero {
  padding: 80px 0;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(
    rgba(60,45,35,0.85),
    rgba(60,45,35,0.85)
  );
  color: #f5efe6;
}

.hero-inner {
  max-width: 600px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.hero p {
  margin-bottom: 20px;
}

/* BUTTON */
.hero-cta a {
  text-decoration: none;
}

.btn-primary {
  background: #e6d3b3;
  color: #3e2f26;
  padding: 12px 25px;
  border-radius: 30px;
  display: inline-block;
}

.btn-secondary {
  border: 1px solid #e6d3b3;
  color: #e6d3b3;
  padding: 12px 25px;
  border-radius: 30px;
  display: inline-block;
}

/* CTA BUTTON WRAP */
/* DEFAULT = DESKTOP */
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* MOBILE */
@media(max-width:768px){
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta a {
    width: 100%;
    text-align: center;
  }
}

/* BUTTON MAPS */
.btn-maps {
  background: #e6d3b3;
  color: #3e2f26;
  padding: 12px 25px;
  border-radius: 30px;
  display: inline-block;
}

/* BENEFITS */
/* DESKTOP */
.hero-benefits {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* MOBILE */
@media(max-width:768px){
  .hero-benefits {
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }
}
/* ================= BEFORE AFTER ================= */
.before-after {
  padding: 80px 0;
  min-height: 400px;
  background: #f3ece6; /* cream soft */
  text-align: center;
  
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

/* WRAPPER */
/* ================= BEFORE AFTER ================= */
.before-after {
  padding: 80px 0;
  min-height: 400px;
  text-align: center;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

/* WRAPPER */
.compare {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
  cursor: ew-resize;
}

.compare img {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* AFTER */
.img-after {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BEFORE */
.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.img-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* GARIS TENGAH CLEAN */
.drag-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: #fff;
  z-index: 3;
}

/* ================= VIDEO ================= */
.video {
  padding: 80px 0;
  background: linear-gradient(#efe7df, #e6ddd4);
  min-height: 400px;
  text-align: center;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.video-box {
  position: relative;
  display: block;
}

.video-box img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  border-radius: 10px;
}

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: white;
}

/* ================= FOOTER ================= */
footer {
  background: #3e2f26;
  color: #e6dcd2;
  text-align: center;
  padding: 30px 20px;
  margin-top: 0px;
}

.before-after h2,
.video h2 {
  color: #3e2f26; /* coklat brand */
  font-weight: 600;
  letter-spacing: 1px;
}

/* ================= MOBILE ================= */
@media(max-width:768px){

  .top-content {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
  }

  .contact {
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
    gap: 15px;
    height: auto;
    padding: 10px 0;
  }

  .hero h1 {
    font-size: 28px;
  }

  .compare-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

@media(max-width:768px){

  /* HEADER WRAPPER */
  .top-content {
    position: relative;
    display: flex;
    padding: 0;
    min-height: 120px;
  }

  /* LOGO JADI PANEL KIRI */
  .brand {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    margin: 0;
    padding: 0;
  }

  .brand img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* FULL BLOCK */
    display: block;
  }

  /* KANAN (GESER KE SAMPING) */
  .contact {
    margin-left: 40%; /* PENTING */
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    text-align: center;
    padding: 10px;
  }

  /* HAPUS TEXT DI LOGO */
  .brand span {
    display: none;
  }

}

  /* TITLE */
  .contact::before {
    content: "SHOEZEN\A PREMIUM SHOE CARE";
    white-space: pre-line;
    font-weight: 600;
    font-size: 14px;
  }

  /* BUTTON */
  .btn-chat {
    margin-top: 5px;
  }

}

}