/* =========================================================
   1. FONT & GLOBAL VARIABLES
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #1a2942;
    --accent-color: #FFC72C;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow-small: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-medium: 0 8px 16px rgba(0,0,0,0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.nav-links a, .cta-button, .submit-button, .lang-btn {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--primary-color);
}

p, li, input, textarea {
    font-family: 'Open Sans', sans-serif;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================================================= */
/* 2. NAVBAR & MOBILE MENU */
/* ========================================================= */
.navbar {
    background: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition); /* Tambahkan transisi */
}

/* Style ketika scroll */
.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background-color: var(--white);
}

.navbar.transparent {
    background: transparent; /* Awalnya transparan */
    box-shadow: none;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 800; /* Dibuat lebih tebal */
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}





/* WHATSAPP ( code wa pada beranda ) */
/* Tombol WhatsApp Premium */
.cta-button.whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: linear-gradient(135deg, #25d366, #1ebe57);
  color: #fff;

  padding: 12px 22px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;

  /* Glow keemasan halus */
  box-shadow: 0 0 10px rgba(255, 200, 0, 0.45),
              0 4px 12px rgba(37, 211, 102, 0.35);

  transition: 
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

/* Hover efek zoom & glow emas */
.cta-button.whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(135deg, #2eea75, #24c963);

  box-shadow: 
    0 0 22px rgba(255, 210, 40, 0.9),
    0 6px 18px rgba(37, 211, 102, 0.45);
}

/* Animasi floating ringan */
.cta-button.whatsapp {
  animation: floatWA 2.5s ease-in-out infinite;
}

@keyframes floatWA {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

/* GHOST */
.cta-button.ghost {
  border: 2px solid rgba(255,255,255,0.75);
  color: #fff;
  background: transparent;
}
.cta-button.ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}




/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.submit-button:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.map {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.google-map {
    width: 100%;
    height: 100%;
    border: 0;
}


/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}


/* Tombol CTA lebih mewah ( code konsultasi gratis ) */
/* ---- CARD CONTAINER ---- */
.cta-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  padding: 20px 25px;
  border-radius: 14px;
  width: fit-content;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  display: inline-flex;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* ---- Konsistensi ukuran tombol ---- */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

/* ---- Gold Glow Button ---- */
.cta-button.gold-glow {
  background: linear-gradient(135deg, #ffdf40, #ffb200);
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(255,200,0,0.6);

  /* --- Animasi naik turun (floating) --- */
  animation: floatButton 2.2s ease-in-out infinite;
}

.cta-button.gold-glow:hover {
  transform: translateY(-6px) scale(1.07);
  box-shadow: 0 0 25px rgba(255,200,0,0.9);
}

/* ---- Floating Effect ---- */
@keyframes floatButton {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* === Footer Enhancement === */
.footer {
  background: #101b2d;
  color: #dce3ef;
  text-align: center;
  padding: 2.5rem 0;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}
.footer p {
  opacity: 0.85;
}

/* Hero tweaks */
.hero .container { max-width: 980px; }
.hero-tagline {
  display:inline-block; margin-bottom: .8rem; padding:.25rem .6rem;
  font-size:.9rem; letter-spacing:.3px; color:#e6ecf5;
  background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12);
  border-radius: 999px;
}
.hero-sub { font-size:1.15rem; opacity:.9; margin-bottom: 2rem; }

.hero-cta { display:flex; gap:.8rem; justify-content:center; flex-wrap:wrap; }
.cta-secondary, .cta-ghost {
  display:inline-block; padding: .95rem 1.5rem; border-radius: 50px;
  font-weight:600; text-decoration:none; transition: var(--transition);
}
.cta-secondary {
  background:#25D366; color:#fff;
}
.cta-secondary:hover { filter: brightness(.95); transform: translateY(-3px); }
.cta-ghost {
  border:1px solid rgba(255,255,255,.55); color:#fff; background:transparent;
}
.cta-ghost:hover { background:rgba(255,255,255,.12); transform: translateY(-3px); }

/* Trust row */
.hero-trust {
  display:flex; gap:1.2rem; justify-content:center; list-style:none;
  margin-top:1.6rem; color:#e6ecf5; flex-wrap:wrap;
}
.hero-trust li { padding:.4rem .8rem; background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1); border-radius:10px; }
.hero-trust strong { color:#fff; }

/* Scroll cue */
.scroll-down{
  display:inline-block; margin-top:24px; color:#fff; text-decoration:none; 
  font-size:1.5rem; opacity:.75; transition:opacity .2s ease;
}
.scroll-down:hover{ opacity:1; }

/* Responsive refinements */
@media (max-width: 640px){
  .hero-sub { font-size:1rem; }
  .hero-cta a { width:100%; text-align:center; }
  .hero-trust { gap:.6rem; }
}

/* --- HERO BERSIHKAN OVERLAY & BUAT GRID 2 KOLOM --- */
.hero {
    min-height: 100vh;
    background: url('images/d.jpg'); /* gambar background kamu */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Matikan overlay gelap */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent !important;
}

/* Grid kiri–kanan */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* KIRI */
.hero-left {
    color: #fff;
}

.hero-left h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.hero-left .hero-sub {
    margin-bottom: 2rem;
    opacity: 0.95;
}


/* KANAN : PRODUK DALAM GAMBAR - VERSI FINAL */
/* 1. DEFINISI KEYFRAMES UNTUK ANIMASI GAMBAR (ZOOM) */
@keyframes product-zoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08); /* Zoom In 8% */
    }
    100% {
        transform: scale(1);
    }
}

/* 2. DEFINISI KEYFRAMES UNTUK ANIMASI KARTU PRODUK (SLIDE IN & FADE IN) */
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100%); /* Mulai dari luar kanan */
    }
    100% {
        opacity: 1;
        transform: translateX(0); /* Berakhir di posisi normalnya */
    }
}


/* KANAN : PRODUK DALAM GAMBAR - VERSI FINAL */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; 
}

/* -------------------- KARTU PRODUK -------------------- */
.hero-product {
    display: flex;
    align-items: center;
    gap: 1.25rem; 
    padding: 1.5rem; 
    
    /* Efek Glassmorphism */
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 16px; 
    border: 1px solid rgba(255, 255, 255, 0.3); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); 
    
    color: #fff;
    cursor: pointer; 
    
    /* Transisi untuk efek hover */
    transition: all 0.3s ease-in-out; 

    /* ------ Animasi Muncul dari Kanan (Slide In & Fade In) ------ */
    opacity: 0; /* Mulai dengan transparan */
    animation-name: slideInFromRight;
     animation-duration: 0.7s;          /* CEPAT & HALUS */
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1); /* premium feel */ /* Percepatan saat mulai, melambat saat berakhir */
    /* Mengambil delay dari HTML untuk efek berurutan */
    animation-delay: var(--product-delay, 0s); 
}

/* EFEK HOVER: Mengangkat kartu dan memperkuat bayangan */
.hero-product:hover {
    transform: translateY(-5px); 
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4); 
    background: rgba(255, 255, 255, 0.15); 
}

/* -------------------- GAMBAR PRODUK -------------------- */
.hero-product img {
    width: 80px; 
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
    border: 3px solid #f9f9f9; 
    
    /* Terapkan Animasi Zoom Kontinu */
    animation-name: product-zoom;
    animation-duration: 10s; 
    animation-iteration-count: infinite; 
    animation-timing-function: ease-in-out; 

    transform: scale(1);
}

/* -------------------- TIPOGRAFI YANG MENONJOL -------------------- */
/* JUDUL PRODUK: Kuning dengan Stroke Hitam (Disempurnakan) */
.hero-product h3 {
    margin: 0;
    font-size: 1.15rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    
    /* Warna Dasar Judul */
    color: #FFC300; 
    
    /* Efek Garis Tepi/Stroke Hitam menggunakan text-shadow (dengan perbaikan sintaks) */
    text-shadow: 
        -1px -1px 0 #1a2942,
        1px -1px 0 #1a2942,  
        -1px 1px 0 #1a2942,   
        1px 1px 0 #1a2942,    
        0 0 8px rgba(26, 41, 66, 0.6); /* Menggunakan rgba untuk bayangan luar agar lebih halus */
}

/* DESKRIPSI PRODUK: Bold & Italic, warna #1a2942 */
.hero-product p {
    margin: 0;
    font-size: .95rem; 
    opacity: 1; 
    font-weight: 650; /* Bold */
    
    color: #ffffff; 
    
    /* MODIFIKASI: Bayangan hitam tipis */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.75); 
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 768px) {
    .hero-right {
        gap: 1.2rem;
        align-items: center;
    }
    .hero-product {
        max-width: 90%; 
        width: 100%;
        padding: 1.2rem;
        /* Di mobile, nonaktifkan animasi slide-in & hover */
        transform: none; 
        animation: none; /* Nonaktifkan animasi muncul */
        opacity: 1; /* Pastikan terlihat */
    }
    .hero-product:hover {
        transform: none; 
    }
    .hero-product img {
        width: 65px;
        height: 65px;
        /* Nonaktifkan animasi zoom di mobile */
        animation: none; 
        transform: none;
    }
    .hero-product h3 {
        font-size: 1rem;
        letter-spacing: 0.5px;
        text-shadow: -0.5px -0.5px 0 #1a2942, 0.5px -0.5px 0 #1a2942, -0.5px 0.5px 0 #1a2942, 0.5px 0.5px 0 #1a2942;
    }
    .hero-product p {
        font-size: .85rem;
    }
}

/* Navbar default (putih) */
.navbar {
    background: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

/* Transparan hanya di beranda (bagian atas) */
.navbar.transparent {
    background: transparent !important;
    box-shadow: none !important;
}

/* Saat discroll → jadi putih solid */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}


.navbar.transparent .mobile-menu span {
    background: white;
}

/* Hover tetap kuning */
.navbar.transparent .nav-links a:hover {
    color: var(--accent-color) !important;
}

/* Garis aktif + hover */
.nav-links a {
    position: relative;
    font-weight: 600;
    padding: 0.5rem 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -10px;
    left: 50%;
    background: var(--accent-color);
    border-radius: 3px;
    transition: width 0.4s ease;
    transform: translateX(-50%);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 90%;
}
.nav-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}


/* BIAR TULISAN HERO SELALU JELAS — APA PUN BACKGROUNDNYA */
.hero-left h1,
.hero-left .hero-tagline,
.hero-left .hero-sub {
    color: #ffffff !important;                    /* Putih murni */
    text-shadow: 
        0 2px 8px rgba(0,0,0,0.7),                 /* Bayangan hitam tebal */
        0 4px 20px rgba(0,0,0,0.6);
    position: relative;
    z-index: 2;
}
.hero-left .hero-tagline,
.hero-left .hero-sub {
    color: #0c0c0c !important;                    /* Putih murni */
    text-shadow: 
        0 2px 8px rgba(249, 243, 243, 0.7),                 /* Bayangan hitam tebal */
        0 4px 20px rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 2;
}


/* <<< INI YANG MENGATUR UKURAN GAMBAR >>> */
.hero-product img {
    width: 110px;        /* ← UBAH ANGKA INI SESUKA HATI */
    height: 110px;       /* ← UBAH ANGKA INI SESUKA HATI */
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}



/* ==================================================================
   SECTION TENTANG KAMI – CV. NOVAL PUTRA
   ================================================================== */

/* ABOUT – FINAL & RAPI BANGET */

.about { padding: 120px 0; background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); }
.section-title { text-align:center; font-size:2.5rem; font-weight:800; color:#1e293b; margin-bottom:1rem; position:relative; }
.section-title::after { content:''; width:200px; height:7px; background:#f59e0b; display:block; margin:0px auto; border-radius:3px; }

.about-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 5rem; 
  align-items: start; 
}

.about-left .about-intro { 
  font-size: 1.05rem;     /* lebih kecil */
  line-height: 1.7;       /* lebih rapi */
  color: #374151; 
  margin-bottom: 2rem;
  text-align: center;     /* rata tengah */
  max-width: 600px;       /* biar tidak melebar */
  margin-left: auto; 
  margin-right: auto;     /* biar benar-benar center */
}


.stats-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.8rem; margin:3rem 0; }
.stat-box { background:#ffffff; padding:2rem; border-radius:20px; text-align:center; box-shadow:0 15px 35px rgba(0,0,0,0.08); }
.counter { font-size:4rem; font-weight:900; color:#f59e0b; line-height:1; margin-bottom:0.5rem; }
.stat-box p { color:#64748b; font-weight:600; font-size:1.1rem; }

.features-list { list-style:none; padding:0; }
.features-list li { 
  font-size:1.15rem; padding:1.2rem 1.2rem 1.2rem 3.5rem; position:relative; color:#374151;
  margin:0.8rem 0; background:rgba(251,146,60,0.05); border-radius:12px;
}
.features-list i { position:absolute; left:1rem; top:1.3rem; color:#f59e0b; font-size:1.6rem; }

.image-wrapper { position:relative; border-radius:24px; overflow:hidden; box-shadow:0 25px 50px rgba(0,0,0,0.2); }
.image-wrapper img { width:100%; display:block; }
.img-caption { 
  position:absolute; bottom:1.5rem; left:1.5rem; background:#f59e0b; color:white; 
  padding:0.9rem 1.5rem; border-radius:50px; font-weight:700; font-size:1rem;
}
/* Grid 2 gambar / video */
.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Wrapper animasi */
.image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);

  /* Animasi muncul */
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideUp 1.2s ease forwards;
}

/* Delay otomatis setiap item grid agar naik satu-satu */
.image-wrapper:nth-child(1) { animation-delay: 0.2s; }
.image-wrapper:nth-child(2) { animation-delay: 0.4s; }
.image-wrapper:nth-child(3) { animation-delay: 0.6s; }
.image-wrapper:nth-child(4) { animation-delay: 0.8s; }

/* Gambar animasi float */
.image-wrapper img {
  width: 100%;
  display: block;
  animation: gentleFloat 6s ease-in-out infinite;
}

/* Video ikut animasi float juga (lebih halus) */
.image-wrapper video {
  animation: gentleFloat 7s ease-in-out infinite;
}

/* Caption */
.img-caption {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: #f59e0b;
  color: #ffffff;
  padding: 0.4rem 0.9rem;   /* LEBIH KECIL */
  border-radius: 999px;
  font-size: 0.75rem;      /* FONT DIPERKECIL */
  font-weight: 600;        /* sedikit lebih ringan */
  line-height: 1;
}


/* VIDEO MODE LANDSCAPE */
.image-wrapper.video-landscape {
  aspect-ratio: 16 / 9;
}

.image-wrapper.video-landscape video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* ===================== KEYFRAMES ANIMASI ===================== */

/* Muncul dari bawah */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* bagian produk */
/* SECTION PRODUK */
.products {
  padding: 100px 0;
  background: #f8fafc;
}

.section-subtitle {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem auto;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* GRID PRODUK */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

/* KARTU PRODUK */
.product-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

/* Animasi hover */
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

/* GAMBAR PRODUK */
.product-img {
  width: 100%;
  max-width: 180px;
  margin: 0 auto 1.5rem;
  display: block;
  transition: transform 0.3s ease;
}

/* Zoom gambar saat hover kartu */
.product-card:hover .product-img {
  transform: scale(1.08);
}

/* JUDUL PRODUK */
.product-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

/* DESKRIPSI */
.product-card p {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Tombol */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  background: #f59e0b;
  color: white;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #d97706;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    padding: 1.6rem;
  }
  .product-img {
    max-width: 160px;
  }
}

/* ==================================================================
   SECTION LEGALITAS – VERSI FINAL SESUAI REQUEST TERAKHIR
   ================================================================== */
.legal {
    padding: 120px 0;
    background: var(--light-bg);
    text-align: center; /* biar semua teks di section ini rata tengah */
}

/* Judul utama section – rata tengah */
.legal .section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}
.legal .section-title::after {
    content: '';
    width: 180px;
    height: 7px;
    background: var(--accent-color);
    display: block;
    margin: 1rem auto 3.5rem;
    border-radius: 4px;
}

.legal > .container > p {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem;
    font-size: 1.15rem;
    color: #555;
    line-height: 1.7;
}

/* Grid */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* Card */
.legal-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(26,41,66,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;

    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.7s ease forwards;
}

.legal-grid .legal-card:nth-child(1) { animation-delay: 0.15s; }
.legal-grid .legal-card:nth-child(2) { animation-delay: 0.30s; }
.legal-grid .legal-card:nth-child(3) { animation-delay: 0.45s; }
.legal-grid .legal-card:nth-child(4) { animation-delay: 0.60s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.legal-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(26,41,66,0.15);
    border-color: var(--accent-color);
}

.legal-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-color), #ffd700);
    border-radius: 18px 18px 0 0;
}

/* Header kartu */
.legal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}
.legal-head h3 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--primary-color);
    font-weight: 800;
}

/* Badge Valid */
.badge-valid {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid #a5d6a7;
}

/* Isi kartu */
.legal-card p {
    margin: 0.9rem 0;
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
    text-align: left; /* biar isi kartu tetap rapi rata kiri */
}
.legal-card strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* YANG PALING PENTING: Kata “Diterbitkan”, “Terbit”, “Berlaku hingga” jadi kuning emas */
.legal-card p span,
.legal-card p strong:contains("Diterbitkan"),
.legal-card p strong:contains("Terbit"),
.legal-card p strong:contains("Berlaku hingga") {
    color: var(--accent-color) !important;
    font-weight: 700;
}

/* Alternatif yang pasti jalan tanpa :contains (karena :contains tidak ada di CSS) */
.diterbitkan,
.terbit,
.berlaku {
    color: var(--accent-color) !important;
    font-weight: 700;
}

/* Sub judul dalam card */
.legal-card h4 {
    margin: 1.5rem 0 0.8rem;
    font-size: 1.1rem;
    color: var(--primary-color);
    border-bottom: 1px dotted var(--accent-color);
    padding-bottom: 6px;
    display: inline-block;
}

/* List */
.list-clean {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}
.list-clean li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.7rem;
    font-size: 0.98rem;
    color: #444;
}
.list-clean li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .legal { padding: 90px 0; }
    .legal-head { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}
/* Tambahkan ini kalau tidak mau pakai class */
.legal-card p:contains("Diterbitkan"),
.legal-card p:contains("Terbit"),
.legal-card p:contains("Berlaku hingga") {
    color: var(--accent-color);
    font-weight: 700;
}


/* ============================================
   CONTACT SECTION – MODERN & PREMIUM DESIGN
============================================== */

.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* GRID FORM + INFO */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* ================= FORM ================= */
.contact-form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border: 1px solid #e6e9ef;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 6px;
    display: block;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid #ccd3df;
    font-family: inherit;
    background: #fafbff;
    transition: 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 208, 0, 0.25);
}

.submit-button {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    font-size: 1.1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s ease;
    font-weight: 700;
}

.submit-button:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ================= RIGHT INFO SIDE ================= */
.contact-info-new {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* BOX INFORMASI */
.info-box {
    display: flex;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    align-items: center;
    gap: 1.2rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.info-icon {
    width: 55px;
    height: 55px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
}

.info-text h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.info-text a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.info-text a:hover {
    color: var(--accent-color);
}

/* MAP BOX */
.info-map {
    width: 100%;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border: 1px solid #e6e9ef;
}

.info-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .info-map {
        height: 260px;
    }
}

@media (max-width: 576px) {
    .contact {
        padding: 70px 0;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
    }

    .info-icon {
        width: 50px;
        height: 50px;
    }
}
/* =======================
   GALERI / PROJECTS GRID
   ======================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Video & image seragam */
.projects-grid img,
.projects-grid video {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Wrapper */
.projects-grid .image-wrapper {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

/* Hover */
.projects-grid .image-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}


/* =======================
   PRODUK FOTO GRID
   ======================= */

.product-gallery {
    padding: 80px 0 90px;
    background: #ffffff;
}

.product-gallery-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1a1a1a;
}

/* GRID PRODUK */
.product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-content: center;
}


/* ITEM */
.product-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 240px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

/* GAMBAR PRODUK */
.product-photo img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

/* HOVER */
.product-photo:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}


/* HERO PRODUCT SLIDER */
.hero-product {
  display: none;
}

.hero-product.active {
  display: flex;
}

.nav-links a {
  position: relative;
  color: #1a2942;
  transition: color 0.3s ease;
}

.nav-links a.active {
  color: #FFC72C; /* emas */
  font-weight: 600;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 4;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #FFC72C, #FFC72C);
}
.lang-btn {
  color: #1a2942;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 6px;
}

.lang-btn.active {
  color: #FFC72C;
  font-weight: 700;
}


/* =========================================================
   RESPONSIVE DESIGN – TAMBAHAN LENGKAP UNTUK SEMUA PERANGKAT
========================================================= */

/* Tablet & Mobile General */
@media (max-width: 1024px) {
    .container {
        width: 95%;
    }

    /* Hero Section */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-left h1 {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-right {
        justify-content: center;
    }

    .hero-product {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Navbar */
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(26, 41, 66, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 3rem;
        transition: left 0.4s ease;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        color: #fff;
        font-size: 1.4rem;
        padding: 1rem 0;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--accent-color);
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    /* Hero */
    .hero {
        padding: 100px 0 80px;
    }

    .hero-tagline {
        font-size: 0.85rem;
    }

    .hero-sub {
        font-size: 1.1rem;
    }

    .hero-trust {
        gap: 0.8rem;
        font-size: 0.9rem;
    }

    .hero-trust li {
        padding: 0.4rem 0.7rem;
    }

    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    /* Products Section */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Legalitas Section */
    .legal-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
    }

    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    /* Projects / Gallery */
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .projects-grid img,
    .projects-grid video {
        height: 180px;
    }

    /* Product Gallery */
    .product-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-photo {
        height: 200px;
    }
}

@media (max-width: 576px) {
    /* General */
    h1, .section-title {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 2rem;
    }

    /* Hero */
    .hero {
        padding: 90px 0 60px;
    }

    .hero-left h1 {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-button,
    .cta-secondary,
    .cta-ghost {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* About */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .counter {
        font-size: 3.2rem;
    }

    /* Products */
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 1.8rem;
    }

    .product-img {
        max-width: 150px;
    }

    /* Projects / Gallery */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .projects-grid img,
    .projects-grid video {
        height: 160px;
    }

    /* Product Gallery */
    .product-gallery-grid {
        grid-template-columns: 1fr;
    }

    .product-photo {
        height: 220px;
    }

    /* Footer */
    .footer {
        padding: 2rem 0;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (≤400px) – untuk layar sangat kecil */
@media (max-width: 400px) {
    .container {
        width: 90%;
    }

    .hero-product img {
        width: 90px;
        height: 90px;
    }

    .hero-product h3 {
        font-size: 1rem;
    }

    .hero-product p {
        font-size: 0.85rem;
    }

    .cta-button {
        padding: 12px 18px;
        font-size: 15px;
    }
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}