/* RESET */
*{margin:0;padding:0;box-sizing:border-box;font-family:'Segoe UI',sans-serif}

/* GLOBAL */
.container{width:90%;max-width:1200px;margin:auto}
body{color:#333}

/* HEADER */
header{background:#fff;border-bottom:1px solid #eee;position:sticky;top:0;z-index:1000}
.header-flex{display:flex;align-items:center;justify-content:space-between}
.logo img{height:70px}

/* MENU */
.menu{list-style:none;display:flex;gap:20px}
.menu a{text-decoration:none;color:#333;font-weight:500}
.menu a:hover{color:#0066cc}

/* DROPDOWN */
.dropdown{position:relative}
.dropdown-menu{
  display:none;
  position:absolute;
  background:#fff;
  box-shadow:0 5px 15px rgba(0,0,0,.1);
  list-style:none;
}
.dropdown:hover .dropdown-menu{display:block}
.dropdown-menu li a{padding:10px 15px;display:block}

/* HERO */
.hero{
  height:60vh;
  background:url('../img/hero.jpg') center/cover no-repeat;
  display:flex;
  justify-content:center;
  align-items:center;
}
.hero-text{
  background:rgba(0,0,0,.55);
  padding:30px;
  color:#fff;
  text-align:center;
}
.hero-text h1{font-size:36px}

/* CONTENT */
.content{padding:60px 0}

/* FOOTER */
footer{
  background:#f5f5f5;
  text-align:center;
  padding:20px;
  font-size:14px;
}

/* WHATSAPP */
.wa-float{
  position:fixed;
  bottom:20px;
  right:20px;
}
.wa-float img{width:55px}

/* MOBILE MENU */
#menu-toggle{display:none}
.menu-icon{display:none;font-size:26px;cursor:pointer}

@media(max-width:768px){
  .menu{flex-direction:column;display:none;background:#fff;position:absolute;right:5%;top:60px;padding:15px}
  #menu-toggle:checked + .menu-icon + nav .menu{display:block}
  .menu-icon{display:block}
  .hero-text h1{font-size:24px}
}

/* ================= PRODUCT GRID ================= */
.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
  margin-top:30px;
}

.product-card{
  border:1px solid #eee;
  border-radius:10px;
  overflow:hidden;
  transition:.3s;
  background:#fff;
}

.product-card:hover{
  box-shadow:0 10px 25px rgba(0,0,0,.1);
  transform:translateY(-5px);
}

.product-card img{
  width:100%;
  height:200px;
  object-fit:cover;
}

.product-card .card-body{
  padding:15px;
}

.product-card h3{
  font-size:18px;
  margin-bottom:8px;
}

.product-card p{
  font-size:14px;
  color:#666;
}

/* ================= CONTACT ================= */
.contact-info{
  line-height:1.8;
  margin-bottom:30px;
}

.map iframe{
  width:100%;
  height:350px;
  border:0;
  border-radius:10px;
}

/* ===== MATIKAN STYLE LINK DEFAULT ===== */
.product-card,
.product-card:hover,
.product-card:visited {
  text-decoration: none;
  color: #222;
}

/* ===== GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* ===== CARD ===== */
.product-card {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* ===== IMAGE ===== */
.img-box {
  position: relative;
  overflow: hidden;
}

.img-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* ===== OVERLAY TRANSPARAN ===== */
.img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* hitam transparan */
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* ===== HOVER EFFECT ===== */
.product-card:hover .img-overlay {
  opacity: 1;
}

.product-card:hover img {
  transform: scale(1.06);
}

/* ===== TEXT ===== */
.card-body {
  padding: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.card-body h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #222;
}

.card-body p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* ===== DESC ===== */
.section-desc {
  margin-bottom: 30px;
  color: #555;
}

/* ===============================
   FIX LINK STYLE PRODUCT CARD
   =============================== */

/* matikan underline & warna biru */
.product-grid a,
.product-grid a:link,
.product-grid a:visited,
.product-grid a:hover,
.product-grid a:active {
  text-decoration: none !important;
  color: inherit !important;
}

/* judul produk */
.product-grid .card-body h3 {
  color: #222 !important;
  font-weight: 600;
  text-decoration: none !important;
}

/* deskripsi produk */
.product-grid .card-body p {
  color: #666 !important;
  text-decoration: none !important;
}

/* ===============================
   ABOUT US
   =============================== */

.about {
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #222;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 18px;
  text-align: justify;
}

/* mobile */
@media (max-width: 768px) {
  .section-title {
    font-size: 26px;
  }

  .about-text p {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* ===============================
   PRODUCT BY BRAND
   =============================== */

.section-title {
  font-size: 32px;
  margin-bottom: 10px;
  color: #222;
}

.section-desc {
  margin-bottom: 40px;
  color: #555;
}

.brand-section {
  margin-bottom: 50px;
}

.brand-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  border-left: 4px solid #ddd;
  padding-left: 12px;
}

/* brand list (simple text) */
.brand-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.brand-list li {
  background: #f7f7f7;
  padding: 10px 14px;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  color: #444;
}

/* product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 14px;
}

.card-body h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #222;
}

.card-body p {
  margin: 0;
  font-size: 14px;
  color: #666;
}


/* ===============================
   BRAND GRID
   =============================== */

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}

.brand-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.brand-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.brand-body {
  padding: 14px;
  text-align: center;
}

.brand-body h3 {
  margin: 0;
  font-size: 18px;
  color: #222;
  font-weight: 600;
}

/* hover */
.brand-card:hover {
  box-shadow: 0 14px 32px rgba(0,0,0,0.15);
}

.brand-card:hover img {
  transform: scale(1.08);
}

/* matikan style link */
.brand-card,
.brand-card * {
  text-decoration: none !important;
  color: inherit;
}

/* ===============================
   BRAND GRID – 3 KOLOM & FOTO LEBIH KECIL
   =============================== */

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 kolom desktop */
  gap: 22px;
}

/* kartu brand */
.brand-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

/* FOTO LEBIH KECIL */
.brand-card img {
  width: 100%;
  height: 150px;   /* <<< DIPERKECIL */
  object-fit: cover;
  transition: transform 0.35s ease;
}

/* teks */
.brand-body {
  padding: 12px;
  text-align: center;
}

.brand-body h3 {
  margin: 0;
  font-size: 16px; /* sedikit lebih kecil */
  color: #222;
  font-weight: 600;
}

/* hover tetap elegan */
.brand-card:hover {
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

.brand-card:hover img {
  transform: scale(1.05);
}

/* ===============================
   RESPONSIVE
   =============================== */

/* tablet */
@media (max-width: 900px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* mobile */
@media (max-width: 600px) {
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .brand-card img {
    height: 140px;
  }
}

/* ===============================
   BRAND GRID – 5 KOLOM + FOTO PORTRAIT
   =============================== */

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 kolom desktop */
  gap: 18px;
}

/* card */
.brand-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  transition: all 0.25s ease;
  
}

/* FOTO PORTRAIT */
.brand-card img {
  width: 100%;
  height: 220px;        /* LEBIH TINGGI (portrait) */
  object-fit: contain;
  transition: transform 0.35s ease;
}

/* teks */
.brand-body {
  padding: 10px;
  text-align: center;
}

.brand-body h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  letter-spacing: 0.3px;
}

/* hover */
.brand-card:hover {
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.brand-card:hover img {
  transform: scale(1.04);
}

/* ===============================
   RESPONSIVE
   =============================== */

/* laptop kecil / tablet landscape */
@media (max-width: 1200px) {
  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* tablet */
@media (max-width: 992px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* mobile */
@media (max-width: 600px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-card img {
    height: 200px;
  }
}

/* ===============================
   TOP ACTION BUTTON
   =============================== */

.top-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-back,
.btn-download {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* tombol back */
.btn-back {
  background: #f2f2f2;
  border: 1px solid #ddd;
  color: #333;
}

.btn-back:hover {
  background: #e6e6e6;
}

/* tombol download */
.btn-download {
  background: #0d6efd;
  color: #fff;
  border: none;
}

.btn-download:hover {
  background: #084298;
}

/* mobile */
@media (max-width: 600px) {
  .top-action {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-back,
  .btn-download {
    text-align: center;
    width: 100%;
  }
}

.grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.card{background:#fff;padding:15px;border-radius:12px;box-shadow:0 8px 20px rgba(0,0,0,.08)}
.card img{width:100%;height:220px;object-fit:cover;border-radius:10px}