/* =========================
   GLOBAL RESET & VARIABLES
========================= */
:root{
  --primary:#2563eb;
  --secondary:#22c55e;
  --dark:#111827;
  --light:#f8f9fb;
  --text:#1f2937;
  --muted:#6b7280;
  --radius:14px;
  --shadow:0 10px 25px rgba(0,0,0,.06);
  --transition:.25s ease;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

body{
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--light);
  color:var(--text);
  line-height:1.65;
}

a{
  text-decoration:none;
  color:inherit;
}

/* =========================
   HEADER / NAV
========================= */
header{
  background:#fff;
  border-bottom:1px solid #e5e7eb;
  position:sticky;
  top:0;
  z-index:100;
}

.nav{
  max-width:1100px;
  margin:auto;
  padding:16px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo{
  font-weight:700;
  font-size:20px;
  color:var(--primary);
}

.menu a{
  margin-left:22px;
  font-weight:500;
  color:#374151;
  transition:var(--transition);
}

.menu a:hover{
  color:var(--primary);
}

/* =========================
   HERO
========================= */
.hero{
  position:relative;
  background-image:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
    url("../images/hero.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  color:#fff;
  text-align:center;
  padding:110px 20px;
}

.hero h1{
  font-size:40px;
  font-weight:700;
  margin-bottom:14px;
}

.hero p{
  max-width:620px;
  margin:0 auto 30px;
  font-size:18px;
  opacity:.95;
}

/* =========================
   BUTTON
========================= */
.btn{
  display:inline-block;
  background:var(--secondary);
  color:#fff;
  padding:14px 30px;
  border-radius:10px;
  font-weight:600;
  transition:var(--transition);
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(0,0,0,.15);
}
/* =========================
   ORDER BUTTON (ARTICLE)
========================= */
.order{
  margin:32px 0;
}

.order a{
  display:inline-block;
  background:var(--secondary);
  color:#ffffff;
  padding:14px 26px;
  border-radius:12px;
  font-weight:700;
  font-size:16px;
  text-decoration:none;
  transition:var(--transition);
  box-shadow:0 10px 26px rgba(34,197,94,.35);
}

.order a:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 34px rgba(34,197,94,.45);
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(37, 211, 102, 0.7); }
  50% { transform: scale(1.1); box-shadow: 0 0 15px rgba(37, 211, 102, 0.7); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(37, 211, 102, 0.7); }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  animation: pulse 2s infinite;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.2);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
  filter: invert(1);
}

/* =========================
   SECTION
========================= */
.section{
  max-width:1100px;
  margin:auto;
  padding:70px 20px;
}

.section h2{
  font-size:30px;
  margin-bottom:16px;
}

.section p{
  max-width:720px;
  color:var(--muted);
}

/* =========================
   SERVICES
========================= */
.services{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:24px;
  margin-top:32px;
}

.services .card{
  background:#fff;
  padding:26px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:var(--transition);
  text-align:center;
}

.services .card:hover{
  transform:translateY(-6px);
}

.service-icon{
  font-size:42px;
  margin-bottom:14px;
}

.services .card h3{
  font-size:18px;
  margin-bottom:8px;
}

.services .card p{
  font-size:14px;
  color:var(--muted);
}

/* =========================
   PRODUCT GALLERY
========================= */
.product-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:22px;
  margin-top:32px;
}

.product-gallery img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:14px;
  background:#f5f5f5;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  transition:var(--transition);
}

.product-gallery img:hover{
  transform:translateY(-6px);
  box-shadow:0 14px 30px rgba(0,0,0,.12);
}

/* =========================
   ARTICLE PAGE
========================= */
.container{
  max-width:900px;
  margin:auto;
  padding:60px 20px;
}

.article{
  background:#fff;
  padding:36px;
  border-radius:18px;
  box-shadow:var(--shadow);
}

.article-img img{
  width:100%;
  border-radius:14px;
  margin-bottom:28px;
}

.article-content h1{
  font-size:30px;
  margin-bottom:20px;
}

.article-content h3{
  margin-top:24px;
  margin-bottom:12px;
}

.article-content ul{
  padding-left:18px;
  margin-bottom:16px;
}

.article-content li{
  margin-bottom:8px;
}

.article-actions{
  display:flex;
  gap:14px;
  margin-top:32px;
  flex-wrap:wrap;
}

.share-btn{
  background:#1877f2;
  color:#fff;
  border:none;
  padding:12px 18px;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
  transition:var(--transition);
}

.share-btn:hover{
  opacity:.9;
}
/* =========================
   ARTICLE LAYOUT (DESKTOP)
========================= */
.article{
  display:flex;
  gap:32px;
  align-items:flex-start;
}

/* gambar di kiri */
.article-img{
  flex:0 0 38%;
}

.article-img img{
  width:100%;
  border-radius:14px;
}

/* konten di kanan */
.article-content{
  flex:1;
}

/* =========================
   ARTICLE MOBILE
========================= */
@media(max-width:768px){
  .article{
    flex-direction:column;
  }

  .article-img{
    width:100%;
  }
}

/* =========================
   CTA
========================= */
.cta{
  text-align:center;
  background:#eef2ff;
  border-radius:24px;
}

/* =========================
   FOOTER
========================= */
footer{
  background:var(--dark);
  color:#9ca3af;
  padding:50px 20px;
}

.footer-inner{
  max-width:1100px;
  margin:auto;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:24px;
}

footer strong{
  color:#fff;
}

/* =========================
   FLOATING WHATSAPP
========================= */
.floating-wa{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:90;
}

.floating-wa a{
  display:flex;
  align-items:center;
  gap:10px;
  background:#22c55e;
  color:#fff;
  padding:14px 18px;
  border-radius:999px;
  font-weight:700;
  box-shadow:0 10px 30px rgba(0,0,0,.2);
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:768px){
  .menu{display:none}
  .hero{padding:80px 20px}
  .hero h1{font-size:28px}
  .hero p{font-size:16px}
  .section h2{font-size:24px}
  .article{padding:26px}
  .floating-wa span{display:none}
}
