/* ===================================================
   RESET & BASE
=================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #FFFFFF;
  --text: #111111;
  --primary: #6E0D25;
  --primary-hover: #8B1538;
  --bg-light: #F8F8F8;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
section { padding: 100px 8%; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 10px; }
.section-header p { color: #555; font-size: 1rem; }

/* ===================================================
   BUTTONS
=================================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(110, 13, 37, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.btn-sm { padding: 10px 22px; font-size: 0.85rem; width: 100%; text-align: center; }

/* ===================================================
   REVEAL ANIMATION
=================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   NAVBAR
=================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  transition: all var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8%;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}
.logo span { color: var(--primary); }

.nav-menu ul {
  display: flex;
  gap: 34px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-link:hover::after { width: 100%; }

.nav-cta { font-size: 0.85rem; padding: 11px 26px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--text);
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================
   HERO
=================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-light);
  overflow: hidden;
  padding: 0 8%;
}

.hero-bg-shape {
  position: absolute;
  width: 700px; height: 700px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
  opacity: 0.08;
  top: -150px; right: -150px;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, 30px) rotate(15deg); }
}

.hero-container { max-width: 700px; }

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-title span { color: var(--primary); }

.hero-desc {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================================================
   PRODUCT / COLLECTION
=================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.product-img { overflow: hidden; height: 280px; }
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.08); }

.product-info { padding: 20px; }
.product-info h3 { font-size: 1.1rem; margin-bottom: 6px; }
.product-info .price { color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.stars { color: #E8B923; font-size: 0.9rem; margin-bottom: 14px; }

.rate-stars span {
  cursor: pointer;
  color: #ddd;
  font-size: 1.1rem;
  transition: color 0.15s ease, transform 0.1s ease;
}
.rate-stars span:hover { transform: scale(1.15); }
.rate-stars.voted span { cursor: default; }
.rate-stars.voted span:hover { transform: none; }
.rate-stars span.active { color: #E8B923; }

.rate-info {
  font-size: 0.78rem;
  color: #888;
  margin-top: -10px;
  margin-bottom: 14px;
}

/* ===================================================
   ABOUT
=================================================== */
.about { background: var(--bg-light); }
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-text h2 { font-size: 2.2rem; margin-bottom: 20px; }
.about-text p { color: #444; font-size: 1.05rem; }
.about-img img { border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* ===================================================
   WHY US
=================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 16px;
  background: var(--bg-light);
  transition: transform var(--transition), background var(--transition);
}
.why-card:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.why-icon {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  color: var(--primary);
}
.why-icon svg { width: 100%; height: 100%; }

.why-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.why-card p { font-size: 0.9rem; color: #555; }

/* ===================================================
   ORDER STEPS / TIMELINE
=================================================== */
.order-steps { background: var(--bg-light); text-align: center; }

.timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.timeline-step {
  background: #fff;
  border-radius: 14px;
  padding: 20px 40px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  width: 100%;
}
.step-number {
  width: 36px; height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 10px;
}
.timeline-step h3 { font-size: 1rem; }
.timeline-arrow { font-size: 1.4rem; color: var(--primary); }

/* ===================================================
   PAYMENT
=================================================== */
.payment-container { text-align: center; }
.payment-container h2 { font-size: 2rem; margin-bottom: 10px; }
.payment-container p { color: #555; margin-bottom: 30px; }
.qris-img {
  max-width: 280px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
.payment-note {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}
.payment-alt {
  margin-top: 6px;
  font-size: 0.82rem;
  color: #666;
}

/* ===================================================
   TESTIMONI
=================================================== */
.testimoni { background: var(--bg-light); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testi-card {
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.testi-card p { font-style: italic; color: #444; margin-bottom: 16px; }
.testi-card h4 { color: var(--primary); font-size: 0.95rem; }

/* ===================================================
   FAQ / ACCORDION
=================================================== */
.accordion { max-width: 750px; margin: 0 auto; }

.accordion-item {
  border-bottom: 1px solid #e5e5e5;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-icon {
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform var(--transition);
}

.accordion-item.active .accordion-icon { transform: rotate(45deg); }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding var(--transition);
}
.accordion-content p { padding: 0 4px 20px; color: #555; }

/* ===================================================
   CTA
=================================================== */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  text-align: center;
}
.cta h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 30px;
}
.cta .btn-primary {
  background: #fff;
  color: var(--primary);
}
.cta .btn-primary:hover {
  background: var(--bg-light);
}

/* ===================================================
   FOOTER
=================================================== */
.footer {
  background: var(--text);
  color: #fff;
  padding: 60px 8% 20px;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-brand h3 { font-size: 1.5rem; margin-bottom: 10px; }
.footer-brand span { color: var(--primary-hover); }
.footer-brand p { color: #aaa; font-size: 0.9rem; }

.footer-social { display: flex; gap: 24px; }
.footer-social a {
  color: #ddd;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-social a:hover { color: var(--primary-hover); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #888;
}

/* ===================================================
   BACK TO TOP
=================================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 900;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--primary-hover); }

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .about-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 70px 6%; }

  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 75%; height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right var(--transition);
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
  }
  .nav-menu.active { right: 0; }
  .nav-menu ul { flex-direction: column; gap: 28px; text-align: center; }

  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-title { font-size: 2.3rem; }
  .hero-desc { font-size: 1rem; }

  .product-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .btn { padding: 12px 24px; font-size: 0.88rem; }
  .section-header h2 { font-size: 1.7rem; }
}
