/* ===============================
   RESET & BASE
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f5f5f5;
  color: #222;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ===============================
   COLOR VARIABLE
================================ */
:root {
  --primary: #b71c1c;
  --dark: #1e1e1e;
  --gray: #f2f2f2;
  --text: #333;
}

/* ===============================
   NAVBAR
================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 15px rgba(0,0,0,.08);
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 48px;
}

.navbar nav a {
  margin-left: 28px;
  font-weight: 600;
  color: #333;
  position: relative;
}

.navbar nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: .3s;
}

.navbar nav a:hover::after,
.navbar nav a.active::after {
  width: 100%;
}

/* ===============================
   HERO
================================ */
.hero-slider {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  transform: scale(1.05);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Overlay gelap */
.hero-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,.55),
    rgba(0,0,0,.65)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  z-index: 2;
}

/* Animasi teks */
.hero-content h1,
.hero-content p,
.hero-content .hero-btn {
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== PRODUK UNGGULAN — UKURAN KECIL & RAPI ===== */

.featured-products {
  padding: 50px 20px;
  background: #f8f8f8;
}

.featured-products .container {
  max-width: 1100px;
  margin: auto;
}

.featured-products .section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 35px;
  color: #222;
}

/* grid kecil & padat */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  align-items: start;
}

/* card kompak */
.featured-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform .25s ease;
  padding-bottom: 12px;
}

/* hover lembut */
.featured-card:hover {
  transform: translateY(-4px);
}

/* gambar lebih kecil */
.featured-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #eee;
}

/* judul kecil & rapi */
.featured-card h3 {
  font-size: 16px;
  margin: 10px 8px;
  color: #222;
  min-height: 44px;
}

/* tombol kecil */
.btn-small {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  background: #c62828;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.btn-small:hover {
  background: #a61f1f;
}

/* responsive */
// tablet
@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .featured-card img {
    height: 130px;
  }
}
// mobile
@media (max-width: 768px) {
  .featured-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  .featured-card img {
    height: 120px;
  }
}

/* ===============================
   BUTTON
================================ */
.btn,
.btn-outline,
.btn-cta {
  padding: 14px 34px;
  border-radius: 40px;
  font-weight: 600;
  transition: .3s;
  display: inline-block;
}

.btn {
  background: var(--primary);
  color: #fff;
}

.btn:hover {
  background: #8e1616;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-cta {
  background: #111;
  color: #fff;
  padding: 15px 45px;
}

.btn-cta:hover {
  background: var(--primary);
}

/* ===============================
   SECTION
================================ */
.section {
  padding: 90px 20px;
}

.section.gray {
  background: var(--gray);
}

.section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 10px;
}

.subtext {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
}

.center-btn {
  text-align: center;
  margin-top: 40px;
}

/* ===========================
   KATALOG PRODUK
=========================== */
/* =============================
   WRAPPER & CONTAINER
============================= */
.product-wrapper {
  padding: 60px 20px;
  background: #f8f8f8;
}

.container {
  max-width: 1200px;
  margin: auto;
}

/* =============================
   KATEGORI
============================= */
.category-title {
  font-size: 26px;
  margin: 60px 0 25px;
  border-left: 5px solid #c62828;
  padding-left: 15px;
  color: #222;
}

/* =============================
   GRID PRODUK
============================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

/* =============================
   CARD PRODUK
============================= */
.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
}

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

/* IMAGE FIX (ANTI LOMPAT) */
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #eee;
}

/* TITLE */
.product-card h3 {
  font-size: 17px;
  margin: 15px;
  min-height: 44px;
  color: #222;
}

/* =============================
   BUTTON
============================= */
.btn-group {
  margin-top: auto;
  padding: 0 15px 18px;
  display: flex;
  gap: 10px;
}

.btn {
  flex: 1;
  padding: 10px 0;
  font-size: 14px;
  text-align: center;
  background: #c62828;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover {
  background: #a61f1f;
}

.btn.outline {
  background: transparent;
  border: 2px solid #c62828;
  color: #c62828;
}

.btn.outline:hover {
  background: #c62828;
  color: #fff;
}
/* ===== FOOTER ===== */
.footer-main {
  background: #111;
  color: #ddd;
  padding: 60px 20px 0;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-col h3,
.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  line-height: 1.7;
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}

.footer-col a:hover {
  color: #25d366;
}

.btn-wa {
  display: inline-block;
  margin-top: 10px;
  background: #25d366;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
}

.footer-bottom {
  margin-top: 40px;
  padding: 18px 10px;
  text-align: center;
  font-size: 13px;
  background: #000;
  color: #aaa;
}
/* =============================
   RESPONSIVE
============================= */
@media (max-width: 768px) {
  .product-card img {
    height: 200px;
  }
}
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   LAYANAN
================================ */
/* SECTION LAYANAN */
.layanan {
  text-align: center;
  padding: 60px 20px;
}

/* LIST */
.layanan-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
}

/* ITEM */
.layanan-list li {
  background: #f7f7f7;
  padding: 18px 20px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: 0.3s ease;
}

/* ICON */
.layanan-list i {
  font-size: 22px;
  color: #b71c1c;
}

/* HOVER */
.layanan-list li:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
}

/* CTA CENTER */
.cta-center {
  text-align: center;
}

.btn-cta {
  display: inline-block;
  background: #b71c1c;
  color: #fff;
  padding: 14px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-cta:hover {
  background: #8e1414;
  transform: scale(1.05);
}


/* ===============================
   FOOTER
================================ */
.footer-main {
  background: #111;
  color: #ccc;
  padding: 70px 20px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-col h3,
.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-col a {
  display: block;
  margin-bottom: 6px;
  color: #bbb;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 13px;
  color: #888;
}

/* ===============================
   FLOATING WHATSAPP
================================ */
.wa-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: #25d366;
  color: white;
  font-size: 26px;
  padding: 14px 16px;
  border-radius: 50%;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 30px;
  }

  .navbar {
    flex-direction: column;
    gap: 10px;
  }
}
/* ===========================
   HEADER SMALL (KATALOG)
=========================== */
.header-small {
  position: relative;
  height: 320px;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
              url("../assets/images/hero2.jpg") center/cover no-repeat;
  color: #fff;
}

.header-small .navbar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
}

.header-small .hero-text {
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.header-small .hero-text h1 {
  font-size: 42px;
  margin-bottom: 10px;
  font-weight: 700;
}

.header-small .hero-text p {
  font-size: 18px;
  opacity: 0.9;
}


/* ===========================
   PRODUK GRID
=========================== */

.product-wrapper {
  padding: 70px 5%;
  background: #f7f7f7;
}

#product-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}


/* CARD PRODUK */
.product-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  transition: .35s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,.15);
}

/* GAMBAR */
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* BODY */
.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #222;
}

.product-body p {
  font-size: 14px;
  color: #666;
  flex-grow: 1;
}

/* BUTTON */
.product-body a {
  margin-top: 15px;
  text-align: center;
  background: #b71c1c;
  color: #fff;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 14px;
  text-decoration: none;
  transition: .3s;
}

.product-body a:hover {
  background: #8e1414;
  transform: scale(1.05);
}


/* ===========================
   FOOTER
=========================== */

.footer-main {
  background: #111;
  color: #ddd;
  padding: 60px 5% 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-col h3,
.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  color: #bbb;
  text-decoration: none;
  margin-bottom: 8px;
  display: block;
}

.footer-col a:hover {
  color: #fff;
}

.btn-wa {
  display: inline-block;
  background: #25d366;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  transition: .3s;
}

.btn-wa:hover {
  background: #1da851;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  font-size: 13px;
  color: #aaa;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 40px;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 768px) {
  .header-small {
    height: 260px;
  }

  .header-small .hero-text h1 {
    font-size: 30px;
  }

  .product-wrapper {
    padding: 40px 20px;
  }
}
/* ===============================
   SERVICE PAGE
================================ */

.service-section {
  padding: 80px 6%;
  background: #f8f8f8;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
}

.service-box {
  background: #fff;
  padding: 35px 30px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  transition: .35s ease;
  position: relative;
  overflow: hidden;
}

.service-box::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 100%;
  left: 0;
  top: 0;
  background: #b71c1c;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,.15);
}

.service-box h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #222;
}

.service-box p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #b71c1c, #7f1010);
  color: #fff;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.cta-section p {
  font-size: 16px;
  margin-bottom: 25px;
}

.cta-section .btn {
  background: #fff;
  color: #b71c1c;
  padding: 14px 30px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: .3s;
}

.cta-section .btn:hover {
  transform: scale(1.05);
  background: #f2f2f2;
}

/* Responsive */
@media (max-width: 768px) {
  .service-section {
    padding: 50px 20px;
  }

  .cta-section h2 {
    font-size: 28px;
  }
}
/* ===== FLOATING WHATSAPP ===== */
.wa-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  text-decoration: none;
}

.wa-float:hover {
  background: #1ebe5d;
}
/* ===============================
   CONTACT SECTION
================================ */
.contact-section {
  padding: 70px 20px;
  background: #f7f7f7;
}

.container {
  max-width: 1200px;
  margin: auto;
}

/* GRID */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===============================
   INFO KONTAK
================================ */
.contact-info h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #222;
}

.contact-info p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 12px;
}

.contact-info a {
  color: #c62828;
  text-decoration: none;
  font-weight: 600;
}

.contact-info .btn {
  display: inline-block;
  margin-top: 20px;
}

/* ===============================
   FORM KONTAK
================================ */
.contact-form h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #222;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #c62828;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  background: #c62828;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: #a61f1f;
}

/* ===============================
   FLOATING WHATSAPP
================================ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 55px;
  height: 55px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  z-index: 999;
}

.wa-float img {
  width: 28px;
  height: 28px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .contact-info h2,
  .contact-form h2 {
    font-size: 22px;
  }
}
/* =========================
   FORM KERJASAMA STYLE
   ========================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

/* ===== CONTAINER ===== */
.form-container {
  max-width: 720px;
  margin: 60px auto;
  background: #ffffff;
  padding: 35px 40px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* ===== TITLE ===== */
.form-container h1,
.form-container h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #222;
}

.form-container p {
  text-align: center;
  font-size: 15px;
  color: #666;
  margin-bottom: 30px;
}

/* ===== FORM ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ===== LABEL ===== */
label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

/* ===== INPUT ===== */
input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  transition: all 0.25s ease;
  background: #fafafa;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #25d366;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(37,211,102,0.15);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== BUTTON ===== */
button,
input[type="submit"] {
  margin-top: 10px;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.25s ease;
}

button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37,211,102,0.35);
}

/* ===== NOTE / INFO ===== */
.form-note {
  margin-top: 20px;
  font-size: 13px;
  color: #777;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .form-container {
    margin: 30px 15px;
    padding: 25px 20px;
  }
}
/* ===============================
   FORM KERJA SAMA
================================ */

.form-section {
  max-width: 760px;
  margin: -60px auto 80px;
  background: #fff;
  padding: 40px 45px;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.1);
}

/* FORM */
#formKerjasama {
  display: flex;
  flex-direction: column;
}

/* LABEL */
#formKerjasama label {
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* INPUT, SELECT, TEXTAREA */
#formKerjasama input,
#formKerjasama select,
#formKerjasama textarea {
  width: 100%;
  padding: 13px 15px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #fafafa;
  transition: all .25s ease;
}

/* FOCUS */
#formKerjasama input:focus,
#formKerjasama select:focus,
#formKerjasama textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(183,28,28,0.15);
}

/* TEXTAREA */
#formKerjasama textarea {
  min-height: 120px;
  resize: vertical;
}

/* FILE INPUT */
#formKerjasama input[type="file"] {
  padding: 10px;
  border: 2px dashed #bbb;
  background: #f9f9f9;
  cursor: pointer;
}

#formKerjasama small {
  margin-top: 6px;
  font-size: 12px;
  color: #777;
}

/* BUTTON */
#formKerjasama .btn {
  margin-top: 28px;
  width: 100%;
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), #7f1010);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: .3s ease;
}

#formKerjasama .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(183,28,28,0.35);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .form-section {
    margin: -40px 15px 60px;
    padding: 28px 22px;
  }
}
