/* GridGum Landing Styles */
:root{
  --bg:#f6f7f9; --ink:#0f172a; --muted:#6b7280; --brand:#000; --accent:#16a34a; --radius:16px;
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg)}
.container{width:min(1120px,92%);margin-inline:auto}
img{max-width:100%;display:block;border-radius:var(--radius)}
a{text-decoration:none;color:inherit}
h1,h2,h3,h4,h5{margin:0}

/* Navbar */
.site-header{position:sticky;top:0;background:#fff;border-bottom:1px solid #eee;z-index:20}
.nav{display:flex;align-items:center;gap:20px;height:64px}
.brand{font-weight:800;font-size:20px}
.nav-links{display:flex;gap:20px;margin-left:auto}
.nav-links a{color:var(--muted);font-weight:600}
.nav-links a:hover{color:var(--accent)}
.hamburger{display:none;background:none;border:none;font-size:22px;margin-left:auto}

/* Hero */
.hero{position:relative;min-height:80vh;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0}
.scrim{position:absolute;inset:0;background:rgba(0,0,0,.6)}
.hero-content{position:relative;z-index:2}
.hero h1{font-size:clamp(32px,6vw,52px);margin-bottom:10px}
.hero p{margin-bottom:20px;color:#f3f4f6}
.hero-btns{display:flex;gap:12px;justify-content:center}
.btn{background:var(--accent);color:#fff;padding:12px 18px;border-radius:999px;font-weight:700}
.btn-outline{border:2px solid #fff;padding:10px 16px;border-radius:999px;color:#fff}

.hero-extra {
  margin-top: 20px;
  text-align: center;
  color: #fff;
}

.hero-subtext {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.arrow-down {
  font-size: 2rem;
  color: #ffcc00; /* kuning biar kontras */
  margin-bottom: 15px;
  animation: bounce 1.5s infinite;
}

.btn-cta {
  display: inline-block;
  padding: 15px 35px;   /* lebih besar */
  background: #ff6600;
  color: #fff;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  font-size: 1.2rem;     /* perbesar teks */
  text-transform: uppercase; /* huruf kapital */
  letter-spacing: 1px;   /* beri jarak antar huruf */
}

.btn-cta:hover {
  background: #e65c00;
}


/* animasi panah */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* About CNC Section */
.about-cnc {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #38bdf8;
}

.about-text p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: #e5e7eb;
}

.btn-learn {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 24px;
  background: #38bdf8;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-learn:hover {
  background: #0284c7;
}

/* Gambar */
.about-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* Responsive */
@media (max-width: 960px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-img {
    margin-top: 20px;
  }
}


/* Services Section */
.services {
  padding: 80px 0;
  background: linear-gradient(135deg, #1e293b, #0f172a); /* abu baja industrial */
  color: #f8fafc;
}

.services h2 {
  color: #fff;
  font-size: 36px;
  font-weight: 800;
}

.services .muted {
  color: #cbd5e1;
}

/* Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

/* Card */
.svc {
  background: #111827;
  padding: 35px 25px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  transition: all .3s ease;
}

.svc:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 16px 35px rgba(0,0,0,0.6);
  background: #1f2937;
}

/* Icon */
.svc i {
  font-size: 56px;
  color: #16a34a; /* hijau CNC */
  margin-bottom: 18px;
}

.svc h4 {
  color: #fff;
  margin: 15px 0 10px;
  font-size: 20px;
  font-weight: 700;
}

.svc p {
  color: #d1d5db;
  font-size: 15px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 960px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; }
}


/* Features Section */
.features {
  padding: 80px 0;
  background: #f1f5f9; /* abu terang industrial */
}

.features h2 {
  font-size: 34px;
  font-weight: 800;
  color: #0f172a;
}

.features .muted {
  color: #475569;
}

/* Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* Card */
.feat-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.feat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

/* Icon */
.icon-wrap {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #16a34a; /* hijau CNC */
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrap i {
  font-size: 34px;
  color: #fff;
}

.feat-card h4 {
  font-size: 18px;
  margin: 12px 0;
  font-weight: 700;
  color: #0f172a;
}

.feat-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* Produk Section */
.produk {
  padding: 80px 0;
  background: #111827; /* tema industrial gelap */
  color: #fff;
}

.produk h2 {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
}

.produk .muted {
  color: #9ca3af;
}

/* Grid produk */
.produk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

/* Card produk */
.produk-card {
  background: #1f2937;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  transition: transform .3s ease, box-shadow .3s ease;
}

.produk-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(0,0,0,.4);
}

.produk-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 18px;
}

.produk-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.price {
  font-size: 18px;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 16px;
}

/* List fitur */
.produk-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.produk-card ul li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #d1d5db;
}

/* Tombol */
.btn-produk {
  background: #16a34a;
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: background .3s;
}

.btn-produk:hover {
  background: #15803d;
}

/* Highlight produk */
.produk-card.featured {
  border: 2px solid #16a34a;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 960px) {
  .produk-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .produk-grid { grid-template-columns: 1fr; }
}


/* Contact Section */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
}

.contact h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #38bdf8;
}

.contact p.center.muted {
  margin-bottom: 50px;
  color: #cbd5e1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Form */
.contact-form .form-group {
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: #334155;
  color: #fff;
  font-size: 15px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #94a3b8;
}

.btn-contact {
  padding: 12px 24px;
  background: #38bdf8;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-contact:hover {
  background: #0284c7;
}

/* Info */
.contact-info h3 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 700;
  color: #38bdf8;
}

.contact-info p {
  margin: 8px 0;
  color: #e5e7eb;
}

/* Responsive */
@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .map {
    margin-top: 20px;
  }
}



.socials {
  display: flex;
  align-items: center;  /* bikin sejajar vertikal */
  gap: 15px;            /* jarak antar ikon */
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.socials i {
  font-size: 28px;
}

.shopee-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}


/* Testimonials Section */
.testimonials {
  padding: 60px 0;
  background: transparent;
  color: #111;
  overflow: hidden;
}

.testimonials h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 800;
  color: #fff;   /* 🔹 jadi putih */
}

.testimonial-card .author {
  font-weight: 800;
  font-size: 20px;
  color: #000 !important;   /* 🔹 paksa hitam pekat */
}




.testimonial-track {
  display: flex;
  gap: 20px;
  width: max-content;   /* biar panjang otomatis */
  animation: marquee 25s linear infinite;
}

.testimonial-card {
  min-width: 280px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  flex-shrink: 0;
  transition: transform .3s ease;
}

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

.testimonial-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 12px;
}

.testimonial-card .author {
  font-weight: 600;
  font-size: 14px;
  color: #16a34a;
}

/* Animasi jalan terus */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ===============================
   Tambahan Responsif HP & Tablet
   =============================== */

/* Hero section lebih kecil di HP */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* Running Text Promo (biar tidak terlalu besar di HP) */
@media (max-width: 768px) {
  .promo-banner {
    font-size: 18px !important;
    padding: 8px 0 !important;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .promo-banner {
    font-size: 22px !important;
  }
}

/* Gallery image lebih kecil di HP */
@media (max-width: 768px) {
  .gallery-track img {
    height: 150px;
  }
}

/* Navbar mobile: hamburger aktif */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    right: 20px;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: block;
    cursor: pointer;
  }
}
/* Tambahan perbaikan responsif ekstra */

/* Hero button agar tidak bertumpuk di HP */
@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }
  .btn, .btn-outline, .btn-cta {
    width: 100%;
    text-align: center;
  }
}

/* Navbar brand agar tidak kepotong */
@media (max-width: 480px) {
  .brand {
    font-size: 16px;
  }
}

/* About section padding lebih kecil di HP */
@media (max-width: 600px) {
  .about-cnc {
    padding: 60px 15px;
  }
}

/* Contact form agar input lebih lega di HP */
@media (max-width: 600px) {
  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 10px;
  }
}

/* Card produk di tablet jangan terlalu besar */
@media (min-width: 769px) and (max-width: 1024px) {
  .produk-card {
    padding: 18px;
  }
  .produk-card h3 {
    font-size: 18px;
  }
}
