/* styles.css — Minimalis, pro, abu-abu/ hitam theme */
:root{
  --bg:#f6f6f7;
  --card:#ffffff;
  --muted:#9b9b9b;
  --text:#111111;
  --accent:#1f2937; /* very dark gray */
  --accent-2:#2b2b2b;
  --border:#e6e6e6;
  --radius:10px;
  --container:1100px;
  --transition:250ms ease;
  --max-width:1200px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:var(--text);
  
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
  font-size:16px;
}

/* layout container */
.container{
  width:90%;
  max-width:var(--container);
  margin:0 auto;
}

/* header */
.site-header{
  background:transparent;
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(6px);
}

.site-header.company{
  position:absolute;width:100%;
}

.nav.company a{
  color:#fff;
}

.nav.company a:hover{
  color:#000;
}

.nav.company a.active:hover{
  color:#fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0; /* tinggi normal desktop */
  transition: padding 0.3s ease;
}
.logo{
  font-weight:700;
  color:var(--accent-2);
  text-decoration:none;
  font-size:1.15rem;
  letter-spacing:0.6px;
}

.nav{
  display:flex;
  gap:18px;
  align-items:center;
}
.nav a{
  color:var(--accent-2);
  text-decoration:none;
  padding:8px 12px;
  border-radius:8px;
  transition:var(--transition);
  font-weight:500;
}
.nav a:hover{background:#efefef}
.nav a.active{background:var(--accent-2); color:#fff}
.nav-toggle{display:none; background:none; border:0; font-size:20px}






/* info grid */
.info-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  padding-top:120px ;
  padding-bottom:100px;
}

.info-card{
  text-align:center;
  padding:35px 25px;
  border:1px solid #eee;
  border-radius:8px;
  background:#fff;
  transition:all .3s ease;
}

.info-card:hover{
  transform:translateY(-5px);
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* ICON */

.info-card i{
  font-size:52px;
  color:#c40000;
  margin-bottom:18px;
}

/* TITLE */

.info-card h3{
  font-size:20px;
  margin-bottom:10px;
}

/* TEXT */

.info-card p{
  font-size:14px;
  color:#666;
  line-height:1.6;
}

/* product cards */
.section{padding:30px 0}
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.product-card{cursor: pointer;background:var(--card);border-radius:12px;overflow:hidden;padding:0 0 14px; text-align:center;box-shadow:0 8px 24px rgba(16,24,40,0.04)}
.product-card img{width:100%;height:170px;object-fit:cover;display:block}
.product-card h4{margin:12px 12px 6px;font-size:1rem}
.center{text-align:center;margin-top:12px}

/* ===== Produk Unggulan - hover bounce effect ===== */
.product-card {
  transition: transform 360ms cubic-bezier(.2,.8,.2,1), box-shadow 360ms ease;
  will-change: transform;
  /* pastikan origin transform di tengah agar naik terlihat rapi */
  transform-origin: center bottom;
}

/* hover & focus (keyboard) */
.product-card:hover,
.product-card:focus-within,
.product-card:focus {
  animation: bounceUp 420ms both;
  transform: translateY(-12px);
  box-shadow: 0 18px 36px rgba(16,24,40,0.18), 0 6px 12px rgba(16,24,40,0.08);
  z-index: 5; /* supaya tidak tertutup elemen lain saat naik */
}

/* definisi keyframes bounce (naik lalu sedikit turun untuk efek 'loncat') */
/*@keyframes bounceUp {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-18px); }
  60%  { transform: translateY(-8px); }
  100% { transform: translateY(-12px); } /* settle a bit up */
}*/

/* jika ingin efek sedikit lebih halus pada hover cepat (opsional) */
.product-card img {
  transition: transform 360ms cubic-bezier(.2,.8,.2,1);
}
.product-card:hover img { transform: scale(1.03); }

/* ACCESSIBILITY: nonaktifkan animasi jika pengguna memilih reduced motion */
@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-card img {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    box-shadow: 0 6px 18px rgba(16,24,40,0.06);
  }
}
/* =========================================================
   PRODUK UNGGULAN GRID + CARD TERAKHIR (Lihat Semua Produk)
   ========================================================= */
.produk-unggulan {
  background: #f6f6f7;
  padding: 100px 20px;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 50px;
}

/* Grid kartu produk */
.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 8px;
}

.product-card a {
  text-decoration:none;
  color:#000;
}

.product-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* ===== Card terakhir (Lihat Semua Produk) ===== */
.product-more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1f2937, #0e1114);
  background:#fff;
  border:0px;
  padding: 24px;
  box-shadow: 0 0px 0px ;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.see-all-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #000;
  text-decoration: none;
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.see-all-link i {
  font-size: 3rem;
  transition: transform 0.4s ease;
}

.product-more:hover .see-all-link i {
  transform: scale(1.15) rotate(10deg);
}

.product-more:hover .see-all-link span {
  text-decoration: underline;
}

/* Responsif */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }
  .see-all-link i {
    font-size: 2.4rem;
  }
}


/* cta */
.cta{background:var(--accent-2);color:#fff;padding:26px 0;border-radius:0px;margin:0px 0;margin-bottom:0px;}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cta-inner h3{margin:0}

/* footer */
.site-footer h5{font-size: 1rem;font-weight: 500; ;margin-top:15px}
.site-footer a{color:#000;text-decoration:none;}
.site-footer{background-color:#f2f2f2;margin-top:0px; font-size: 0.9rem;line-height: 2;padding:30px 0 15px;}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px}
.footer-bottom{border-top:1px solid var(--border); padding:12px 0; text-align:center; margin-top:52px;margin-bottom:0px;padding-bottom:0px}


/* product page */
.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;padding-top:14px}
.product-item{background:var(--card);padding:12px;border-radius:10px;box-shadow:0 6px 18px rgba(16,24,40,0.04)}
.product-item img{width:100%;height:160px;object-fit:cover;border-radius:6px}

/* catalog */
.catalog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.catalog-item{display:block;background:var(--card);border-radius:10px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 6px 18px rgba(16,24,40,0.04)}
.catalog-item img{width:100%;height:170px;object-fit:cover;display:block}
.catalog-meta{padding:10px}

.catalog-download{
   float:right;
  font-size:18px;
  color:#333;
  opacity:0.7;
}

.catalog-item:hover .catalog-download{
  opacity:1;
}

/* company */
.company-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.company-grid h2{margin-top:0}

/* contact */
.contact-grid{display:grid;grid-template-columns:1fr 380px;gap:20px}
.contact-form{background:var(--card);padding:16px;border-radius:10px;box-shadow:0 6px 18px rgba(16,24,40,0.04)}
.contact-details{background:transparent;padding:8px}
.contact-form label{display:block;margin-bottom:10px}
.contact-form input, .contact-form textarea, .contact-form select{
  width:100%; padding:10px;border:1px solid var(--border);border-radius:8px;background:#fff
}
.form-actions{display:flex;justify-content:flex-end}
.map iframe{width:100%;height:220px;border-radius:8px}

/* utilities */
.muted{color:var(--muted)}
.btn{background:var(--accent-2);color:#fff;padding:10px 16px;border-radius:8px;border:0;text-decoration:none;display:inline-block}
.btn-outline{border:1px solid var(--accent-2);color:var(--accent-2);padding:8px 12px;border-radius:8px;text-decoration:none}
.center{text-align:center}
.section h2{margin:0 0 12px}

/* responsive */
@media (max-width:900px){
  .cta-inner{flex-direction:column;align-items:flex-start}
  .company-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .nav{display:none}
  .nav-toggle{display:block}
  .header-inner{gap:10px}
  .slider-caption{padding:18px}
}


/* ===== Logo area (header & footer) ===== */
.logo-area {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 8px;
}

.site-footer ul{
  list-style: none;
  padding:0;
  margin:0;
}

.site-footer li{
  list-style:none;
  position:relative;
  padding-left:18px;
}

.site-footer li::before{
  content:"";
  position:absolute;
  left:0;
  top:6px;
  width:15px;
  height:15px;
  background:url("../images/bullet.png") no-repeat center;
  background-size:contain;
}

.site-footer a{
  color:#000;
  text-decoration:none;
  font-size:14px;
}

.site-footer a:hover{
  color:#000;
}

.fa-solid{
  margin-right:10px;
}

.logo-footer-img {
  height: 42px;
  width: auto;
}

.logo-img {
  height: 36px;
  width: auto;
}

.logo-footer-text {
  font-weight: 500;         /* lebih ramping daripada 700 */
  color: var(--accent-2);
  font-size: 1.3rem;       /* sedikit lebih kecil agar seimbang dengan logo */
  letter-spacing: 0.3px;    /* beri jarak tipis antar huruf */
  line-height: 1.2;
}

.logo-text {
  font-weight: 500;         /* lebih ramping daripada 700 */
  color: var(--accent-2);
  font-size: 1.05rem;       /* sedikit lebih kecil agar seimbang dengan logo */
  letter-spacing: 0.3px;    /* beri jarak tipis antar huruf */
  line-height: 1.2;
}

.logo-text.company{
  color:#fff;
}
@media (max-width: 900px) {
  .logo-text.company{
  color:#000;
  }
}

/* Partner links di footer bawah */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.partner-links {
  font-size: 0.9rem;
  color: var(--muted);
}
.partner-links a {
  color: var(--accent-2);
  text-decoration: none;
}
.partner-links a:hover {
  text-decoration: none;
}


/* ===== Welcome Banner dengan font putih penuh ===== */
/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Container Utama heros */
.heros {
    position: relative;
    height: 100vh; /* Memenuhi tinggi layar */
    width: 100%;
    display: flex;
    align-items: center; /* Teks di tengah vertikal */
    justify-content: flex-start; /* Teks di kiri */
    padding-left: 10%;
    background: url('../images/welcome2.jpg') no-repeat center center/cover;
    overflow: hidden;
}

/* Overlay Gelap agar teks putih menonjol */
.heros-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Kegelapan 40% */
    z-index: 1;
}

/* Konten Teks */
.heros-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 600px;
}

.heros-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Garis Horizontal Putih */
.line {
    width: 100px;
    height: 4px;
    background-color: white;
    margin-bottom: 25px;
}

.heros-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Tombol (Opsional untuk interaksi) */
.btn-cta {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-cta:hover {
    background-color: white;
    color: #333;
}

/* RESPONSIVE (Untuk HP) */
@media (max-width: 768px) {
    .heros {
        padding-left: 5%;
        justify-content: center; /* Di HP teks di tengah */
        text-align: center;
    }

    .heros-content h1 {
        font-size: 2.2rem;
    }

    .line {
        margin: 0 auto 20px auto; /* Garis di tengah */
    }

    .heros-content p {
        font-size: 1rem;
    }
}

  /* hero1 Section */
  .hero1 {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .slide1 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
  }

  .slide1.active {
    opacity: 1;
  }

  /* Title hero1 */
  .hero1-title {
    position: relative;
    text-align: center;
    z-index: 10;
  }

  .hero1-title h1 {
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #ff6a00, #ee0979);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 2s ease;
  }

  .hero1-title p {
    font-size: 1.2rem;
    color: #ccc;
    animation: fadeIn 3s ease;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
    /* About Us */
  .about-container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 80px 20px;
      text-align: center;
  }
  
  .about-section {
      background-color: #ffffff;
  }
  
  /* Tipografi Angka 60 Tahun */
  .big-title {
      font-size: 4.25rem; /* Ukuran sangat besar */
      color: #010101; /* Warna biru gelap korporat */
      font-weight: 800;
      margin-bottom: 10px;
  }
  
  /* Paragraf Deskripsi */
  .description {
      font-size: 1.25rem;
      color: #555;
      line-height: 1.6;
      margin-bottom: 50px;
      font-weight: 400;
  }
  
  /* Styling Gambar agar melengkung di sudut (Rounded) */
  .image-wrapper {
      width: 100%;
      overflow: hidden;
      border-radius: 20px; /* Membuat sudut tumpul sesuai gambar */
      box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Efek bayangan halus */
  }
  
  .image-wrapper img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
  }
  
  /* RESPONSIVE: Untuk Layanan Mobile */
  @media (max-width: 768px) {
      .big-title {
          font-size: 3.5rem;
      }
      
      .description {
          font-size: 1rem;
          padding: 0 10px;
      }
  
      .container {
          padding: 50px 15px;
      }
      
      .image-wrapper {
          border-radius: 12px; /* Melengkung lebih kecil di HP */
      }
}
  /* Klo discroll top menu jd hitam */
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.85);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled .logo-text,
.site-header.scrolled .nav a {
  color: #fff;
}

.site-header.scrolled .nav a.btn-outline {
  border-color: #fff;
  color: #fff;
}

.site-header.scrolled .nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .logo-img {
  filter: brightness(0) invert(1);
}

/* ===== NAV TOGGLE ===== */

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 22px;
  cursor: pointer;
  color: #000; /* default putih di posisi atas */
  transition: color 0.3s ease;
}


/* Saat scroll (header putih) ubah jadi hitam */
.site-header.scrolled .nav-toggle {
  color: #fff;
}

/* ===== NAVIGASI MOBILE ===== */
@media (max-width: 1000px) {
  .nav {

    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    width: 100%;
    text-align: center;

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  /* Saat tombol ditekan */
  .nav.open {
    display: flex;
  }

  .nav a {
    color: #000;
    padding: 12px 0;
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: block;
    color: #000;
  }
}
}

/* Logo putih saat di atas banner */
.logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

/* Saat header di-scroll (jadi putih), logo tampil warna normal */
.site-header.scrolled .logo-img,
.header-solid .logo-img,
.header-opacity .logo-img {
  filter: none;
}

/* ======= MOBILE MODE ======= */
@media (max-width: 1000px) {
  .logo-img {
    height: 28px; /* logo mengecil */
  }
  .logo-text {
    font-size: 0.85rem; /* teks nama perusahaan mengecil */
  }
  .nav-toggle {
    display: block;
    font-size: 22px; /* ikon sedikit lebih kecil */
  }
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    color: #000;
    font-size: 0.95rem;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
}

/* ======= MOBILE MODE ======= */
@media (max-width: 1000px) {
  .header-inner {
    padding: 10px 0; /* lebih ramping di mobile */
  }

  .logo-img {
    height: 26px; /* lebih kecil agar proporsional */
  }

  .logo-text {
    font-size: 0.8rem;
  }

  .nav-toggle {
    font-size: 18px;
  }

  .nav {
    top: 58px; /* disesuaikan agar pas di bawah header yang lebih ramping */
  }
}


/* ======== NAVIGASI MOBILE MINIMALIS  ======== */
@media (max-width: 1000px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 46px; /* pas di bawah header ramping */
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    padding: 8px 20px; /* sedikit ruang kiri-kanan */
    text-align: center; /* rata tgh */
    gap:0px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    color: #000;
    font-size: 0.7rem; /* font lebih kecil */
    padding: 15px ;
    text-transform: uppercase;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;


  }
  /* Hilangkan semua efek active atau border */
  .nav a.active {
    background: none;
    color: #111;
     
  }
  .nav a:first-child {
    border-top: none;
  }
  .nav a:last-child {
    border-bottom: none;
  }

  .nav a:hover {
    background: rgba(0, 0, 0, 0.0);
  }
}

/* ===== REMOVE OUTLINE BUTTON STYLE DI MOBILE ===== */
@media (max-width: 1000px) {
  .nav a.btn-outline {
    border: none;
    text-decoration: none;
  }

  .nav a.btn-outline:hover {
    background: rgba(0, 0, 0, 0);
  }
}

/* ===== MOBILE: WARNA FONT TETAP ===== */
@media (max-width: 1000px) {
  /* Pastikan warna teks logo & nav tidak berubah */


  /* Header scroll state tidak ubah warna di mobile */
.nav a {
    color: #000 !important;
  }

  /* Tetap transparan / putih untuk latar belakang sesuai desain */
  .site-header {
    background: rgba(255, 255, 255, 0.98);
  }
}
/* =========================================================
   CTA SECTION (CALL TO ACTION)
   ========================================================= */
.cta {
  position: relative;
  background: url('../images/cta-bg.jpg') center center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 110px 20px;
  overflow: hidden;
}

/* Overlay lembut agar teks kontras */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Kontainer dalam CTA */
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

/* Judul besar CTA */
.cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
  letter-spacing: 0.5px;
}

/* Deskripsi kecil */
.cta-desc {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* Kalimat ajakan (lebih kecil dari judul) */
.cta-inner h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #fff;
}

/* Tombol utama CTA */
.cta-inner .btn {
  display: inline-block;
  background: #e63946; /* merah profesional */
  color: #fff;
  padding: 14px 34px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Efek hover tombol */
.cta-inner .btn:hover {
  background: #d62828;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 768px) {
  .cta {
    padding: 80px 15px;
  }

  .cta-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .cta-desc {
    font-size: 0.9rem;
    margin-bottom: 22px;
  }

  .cta-inner h3 {
    font-size: 1.1rem;
    margin-bottom: 18px;
  }

  .cta-inner .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }
}

/* Pastikan isi CTA vertikal dan terpusat */
.cta-inner {
  display: flex;
  flex-direction: column; /* dari atas ke bawah */
  align-items: center;    /* posisi horizontal di tengah */
  justify-content: center;/* posisi vertikal di tengah */
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

/* hero / slider */
.heroSlider{padding:18px 0 30px}
.slider{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 8px 28px rgba(16,24,40,0.06);
}
.slides{display:flex; transition:transform 500ms ease;}
.slide{
  min-width:100%;
  min-height:360px;
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:center;
  color:#fff;
  position:relative;
}
.slide::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 50%); /*buat fade to black slider*/
}
.slide-caption{
  position:relative;
  z-index:2;
  padding:40px;
  max-width:560px;
}
.slide-caption h1{margin:0 0 10px; font-size:1.8rem}
.slide-caption p{margin:0 0 16px; color:rgba(255,255,255,0.9)}

/* slider controls */
.slider-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(20,20,20,0.55);
  border:0;
  color:#fff;
  width:44px;
  height:44px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:22px;
}

.slider-btn.prev{left:12px}
.slider-btn.next{right:12px}
.slider-dots{
  position:absolute;
  bottom:12px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:3;
}
.slider-dots button{
  width:10px;height:10px;border-radius:10px;border:0;background:rgba(255,255,255,0.6); cursor:pointer;
}
.slider-dots button.active{width:28px;border-radius:10px;background:rgba(255,255,255,0.95)}


/* =========================================================
   FEATURES SECTION
   ========================================================= */
.produk{
  background-color:#f4f4f4;
 }
  
.features {
  background:#fff;
  display: flex;
  flex-wrap: wrap;
  min-height: 500px;
  margin:80px 0 70px 0;
}

/* KIRI: Info keunggulan */
.features-left {
  flex: 1 1 50%;
  background: #fff;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.features-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #111;
}

/* Setiap item keunggulan */
.feature-item {
  background: #fff;
  margin-bottom: 16px;
  padding: 18px 22px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;

}

.feature-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.feature-item p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: all 0.3s ease;
  margin-top: 0;
}

/* Efek hover buka detail */
.feature-item:hover {
  background: #1f2937;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.feature-item:hover h3 {
  color: #fff;
}

.feature-item:hover p {
  max-height: 200px;
  opacity: 1;
  margin-top: 10px;
  color: #eee;
 
}

/* KANAN: background gambar */
.features-right {
  flex: 1 1 50%;
  background: url('../images/feature-bg.jpg') center center/cover no-repeat;
  min-height: 500px;
}

/* Responsif */
@media (max-width: 900px) {
  .features {
    flex-direction: column;
  }
  .features-left, .features-right {
    flex: 1 1 100%;
    padding: 50px 20px;
  }
  .features-right {
    height: 300px;
  }
  .features-title {
    font-size: 1.6rem;
    text-align: center;
  }
}

/* =========================================================
   HISTORY SECTION (Sejarah Perusahaan)
   ========================================================= */
.history {
  background: #f6f6f7;
  padding: 100px 20px;
  text-align: center;
}

.history-title {
  font-size: 4rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.history-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
}

/* ===== Carousel Foto ===== */
.history-gallery {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  scroll-snap-type:x mandatory;

  padding: 20px 20px 20px 20px;
  scrollbar-width: none;
}

.history-gallery::-webkit-scrollbar {
  display: none;
}

.history-item {
  flex: 0 0 auto;
  width: 220px;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0.6;
  transform: scale(0.9);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}


.history-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.history-item:hover img {
  transform: scale(1.08);  
}

/* Fokus di tengah */
.history-item.active {
  opacity: 1;
  transform: scale(1.2);
  z-index: 5;
}

/* ===== Info di bawah foto ===== */
.history-info {
  max-width: 700px;
  margin: 40px auto 0;
  text-align: center;
}

.history-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111;
}

.history-info p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 25px;
}

.history-info .btn {
  display: inline-block;
  background: #1f2937;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.history-info .btn:hover {
  background: #111;
  transform: translateY(-3px);
}

/* ===== Responsif ===== */
@media (max-width: 768px) {
  .history {
    padding: 70px 15px;
  }
  .history-title {
    font-size: 1.6rem;
  }
  .history-item {
    width: 160px;
    height: 110px;
  }
  .history-info p {
    font-size: 0.9rem;
  }
}
/* =========================================================
   HERO SECTION DENGAN BACKGROUND RESPONSIVE
   ========================================================= */
.hero-section {
  position: relative; 
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
  margin-top:50px;
  margin-bottom:80px;
  border-radius: 25px;
  height: 70vh; /* tinggi 80% layar */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8%;

  background: url('../images/hero-desktop.jpg') center center/cover no-repeat;
  color: #fff;
  overflow: hidden;

}

/* Overlay lembut agar teks tetap jelas */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Konten teks di atas overlay */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: left;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #f0f0f0;
  line-height: 1.6;
}

/* =========================================================
   MODE MOBILE
   ========================================================= */
@media (max-width: 900px) {
  .hero-section {
    height: 70vh;
    background: url('../images/hero-mobile.jpg') center center/cover no-repeat;
    align-items: flex-end; /* teks pindah ke bawah */
    padding: 0 5% 40px; /* beri jarak bawah */
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
border-radius: 0px;
   
  }

  .hero-content {
    max-width: 100%;
    text-align: left;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* =========================================================
   FUNGSI BENANG DAN TALI — Masonry Style
   ========================================================= */
.fungsi-section {
  background: #fff;
  padding: 100px 20px;
  text-align: center;
}

.fungsi-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.fungsi-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 50px;
}

/* === Masonry layout === */
.fungsi-masonry {
  column-count: 3; /* jumlah kolom */
  column-gap: 20px;
}

.fungsi-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Gambar random tinggi */
.fungsi-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Overlay */
.fungsi-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.fungsi-overlay h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.fungsi-overlay p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.fungsi-item:hover {
  transform: translateY(-3px);
}

.fungsi-item:hover .fungsi-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsif === */
@media (max-width: 992px) {
  .fungsi-masonry {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .fungsi-masonry {
    column-count: 1;
  }
}

/* =========================================================
   PARALLAX EFFECT (Fungsi Benang dan Tali)
   ========================================================= */
.parallax-container {
  perspective: 1000px;
}

.fungsi-item img {
  transform: translateY(0);
  transition: transform 0.4s ease;
  will-change: transform;
}

/* Efek hover tetap */
.fungsi-item:hover img {
  transform: scale(1.03);
}

/* Overlay tetap sama */
.fungsi-item:hover .fungsi-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   COMPANY PROFILE & HISTORY PAGE
   ========================================================= */

/* ===== Hero ===== */
.hero-company {
  height: 70vh;
  background: url('../images/company-hero.jpg') center center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8%;
  color: #fff;
}
.hero-company::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.hero-company .hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-company h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero-company p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #f0f0f0;
}

/* ===== Tentang Kami ===== */
.about-company {
  padding: 80px 20px;
  color: #333;
  line-height: 1.8;
}
.about-company h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  color: #111;
}
.about-company p {
  margin-bottom: 18px;
  text-align: justify;
}

/* ===== Visi & Misi ===== */
.vision-mission {
  background: #f6f6f7;
  padding: 80px 20px;
}
.vision-mission .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.vision, .mission {
  flex: 1 1 45%;
}
.vision h2, .mission h2 {
  font-size: 1.6rem;
  color: #111;
  margin-bottom: 14px;
}
.mission ul {
  padding-left: 20px;
  line-height: 1.8;
}
.mission li {
  margin-bottom: 10px;
  list-style: disc;
}

/* =========================================================
   TIMELINE: 2 SISI (DESKTOP) + 1 SISI (MOBILE)
   ========================================================= */

/* --- Desktop: dua sisi dengan gambar --- */
.timeline-2sides {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.timeline-2sides::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  background: #1f2937;
  transform: translateX(-50%);
}
.timeline-item {
  width: 100%;
  position: relative;
  margin-bottom: 60px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  top: 15px;/* --- buat titik history  --- */
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: #1f2937;
  border-radius: 50%;
  border: 3px solid #fff;
}
.timeline-content {
  display: flex;
  align-items: center;
  gap: 20px;
}
.timeline-item.left .timeline-content {
  flex-direction: row;
  text-align: right;
}
.timeline-item.right .timeline-content {
  flex-direction: row-reverse;
  text-align: left;
}

/* gambar */
.timeline-image {
  flex: 0 0 240px;
  height: 160px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.timeline-image:hover img {
  transform: scale(1.08);
}

/* teks */
.timeline-text {
  flex: 1;
  background: #fff;
  padding: 20px 24px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.timeline-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
}
.timeline-text p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  text-align: justify;
}

/* --- Mobile: satu sisi tanpa gambar --- */
.timeline-mobile {
  display: none;
  border-left: 3px solid #1f2937;
  margin: 0 auto;
  max-width: 700px;
  padding-left: 20px;
}
.timeline-entry {
  position: relative;
  margin-bottom: 30px;
}

.timeline-entry::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 6px; /* --- Titik sejarah --- */
  width: 12px;
  height: 12px;
  background: #1f2937;
  border-radius: 50%;
}
.timeline-entry h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}
.timeline-entry p {
  color: #444;
  line-height: 1.7;
  text-align: justify;
}

/* --- Responsive Switch --- */
@media (max-width: 900px) {
  .timeline-2sides { display: none; }
  .timeline-mobile { display: block; }
}


.product-section{
  max-width:1200px;
  margin:auto;
  padding:80px 20px;
}

/* ===== HEADER ===== */

.product-header{
  text-align:center;
  margin-bottom:40px;
}

.product-header h2{
  font-size:36px;
  font-weight:600;
  margin-bottom:10px;
}

.product-header p{
  color:#666;
  font-size:16px;
}

/* ===== TOOLS ===== */

.product-tools{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}

/* ===== FILTER ===== */

.product-filter{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.product-filter button{
  border:1px solid #ddd;
  background:white;
  padding:8px 18px;
  border-radius:20px;
  font-size:14px;
  cursor:pointer;
  transition:all .25s ease;
}

.product-filter button:hover{
  border-color:#333;
}

.product-filter button.active{
  background:#111;
  color:white;
  border-color:#111;
}

/* ===== SEARCH ===== */

.product-search input{
  padding:10px 14px;
  border:1px solid #ddd;
  border-radius:6px;
  width:220px;
  font-size:14px;
}

.product-search input:focus{
  outline:none;
  border-color:#333;
}

.product-card{
  transition: all .25s ease;
}

#backToTop{
  position:fixed;
  right:25px;
  bottom:25px;

  width:44px;
  height:44px;

  border:none;
  border-radius:8px;

  background:#333;
  color:#fff;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:16px;
  cursor:pointer;

  opacity:0;
  visibility:hidden;

  transition:opacity .3s ease, transform .3s ease;

  z-index:999;
}

#backToTop.show{
  opacity:0.5;
  visibility:visible;
  transform:translateY(0);
}

#backToTop:hover{
  opacity:1;
}
#backToTop i{
  transform:translateX(2px);
  margin-left:5px;
}

.contact-whatsapp {
  background: #f5f7f9;
  padding: 60px 20px;
  text-align: center;
}

.contact-whatsapp h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.contact-whatsapp p {
  color: #666;
  margin-bottom: 25px;
}

.btn-wa {
  display: inline-block;
  background: #25D366;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-wa:hover {
  background: #1ebe5d;
}

.wa-hours {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}

.wa-hours p {
  margin: 4px 0;
}