/* ====== Global Styles ====== */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: #fff;
  color: #333;
}

/* ====== Container Section ====== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== Header Section ====== */
header {
  background-color: #000; /* Warna hitam tema Apple */
  padding: 30px;
  color: white;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px; /* Sama dengan container */
  margin: 0 auto;
  position: relative; /* Untuk positioning nav-links */
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

.menu-toggle {
  display: none; /* Sorok button toggle untuk desktop */
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #000;
    position: absolute;
    top: 60px; /* Jarak bawah header */
    right: 0;
    width: 150px;
    border-radius: 4px;
    padding: 10px 0;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
/* ====== Hero Section ====== */
.hero {
  background: url('https://e1.pxfuel.com/desktop-wallpaper/251/838/desktop-wallpaper-full-mac-group-maca.jpg') no-repeat center center;
  background-size: cover; /* pastikan gambar penuh tutup area */
  height: 80vh; /* tinggi ikut viewport, boleh adjust */
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center content */
  align-items: flex-start; /* teks sebelah kiri */
  padding: 0 40px;
  color: white;
  position: relative;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7); /* bagi teks nampak jelas */
}
.hero .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.5); /* gelap separuh */
  z-index: 0;
}
.hero h1, .hero p, .hero .btn-primary {
  position: relative; /* supaya di atas overlay */
  z-index: 1;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 600px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 500px;
  font-weight: 400;
}

.hero .btn-primary {
  background-color: #0071e3; /* Apple Blue */
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.hero .btn-primary:hover {
  background-color: #005bb5;
}

/* Responsive hero */
@media (max-width: 768px) {
  .hero {
    height: 60vh;
    padding: 0 20px;
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.2rem;
    max-width: 90%;
  }

  .hero p {
    font-size: 1rem;
    max-width: 90%;
  }
}
/* ====== Section: Why Choose Us (Left-Right Layout) ====== */
.why-choose {
  background-color: #f5f5f7;
  padding: 60px 20px;
}

.why-choose .item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.why-choose .item:nth-child(even) {
  flex-direction: row-reverse;
}

.why-choose .text {
  flex: 1;
  min-width: 280px;
}

.why-choose .text h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #000;
}

.why-choose .text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.why-choose .image {
  flex: 1;
  min-width: 280px;
  height: 280px;
  background-position: center;
  background-size: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .why-choose .item {
    flex-direction: column !important;
    text-align: center;
  }
}
/* ====== Section: Apa Kami Repair ====== */
.repair-section {
  background-color: #f5f5f7; /* Soft grey Apple style */
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #000;
}

.repair-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.repair-item {
  background: white;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.repair-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.repair-item img {
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.repair-item h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

.repair-item p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .repair-item img {
    height: 60px;
  }

  .repair-item h4 {
    font-size: 1.2rem;
  }

  .repair-item p {
    font-size: 0.85rem;
  }
}
/* ========================
   SECTION START: Tentang Kami + Gambar + Statistik Pelanggan
========================= */
.about-image-counter.new-look {
  background: linear-gradient(135deg, #101d3d, #1f2a48);
  color: #ffffff;
  padding: 80px 30px;
}

.about-image-counter .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.about-image-counter .aic {
  flex: 1 1 30%;
  min-width: 280px;
  text-align: center;
}

.about-image-counter .about h2,
.about-image-counter .counter h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff;
}

.about-image-counter .about p {
  font-size: 18px;
  line-height: 1.9;
  color: #dce3f2;
  font-family: 'Segoe UI', sans-serif;
}

.about-image-counter .image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: scale(1.2);
  transition: all 0.4s ease;
}

.about-image-counter .image img:hover {
  transform: scale(1.28);
}

.about-image-counter .counter ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.about-image-counter .counter li {
  font-size: 20px;
  padding: 16px 0;
  color: #f2f2f2;
  border-bottom: 2px solid rgba(255,255,255,0.12);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: color 0.3s ease;
}

.about-image-counter .counter li strong {
  font-size: 28px;
  color: #4fc3f7;
  font-weight: 800;
}

.about-image-counter .counter li:hover {
  color: #81d4fa;
  cursor: default;
}
/* ========================
   SECTION END: Tentang Kami + Gambar + Statistik Pelanggan
========================= */
/* ========================
   TAGLINE BIG STYLE START (Sesuai saiz)
========================= */
.tagline-big {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;  /* jarak antara baris supaya tak terlalu rapat */
  margin-top: 10px;  /* ruang atas, adjust ikut suka */
  margin-bottom: 20px; /* ruang bawah */
  max-width: 600px; /* hadkan lebar supaya tak terlalu panjang */
}

/* ========================
   TAGLINE BIG STYLE END
========================= */

/* ====== START: Testimonial Section CSS (Jasli Edition) ====== */
.testimonial-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f0f5ff 0%, #d9e4ff 100%);
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #003366;
}
.testimonial-section .section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #0047cc;
  text-shadow: 1px 1px 3px rgba(0, 71, 204, 0.5);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 35px 25px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.testimonial-grid > :nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}
.testimonial-grid > :nth-child(2) {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}
.testimonial-grid > :nth-child(n+3) {
  grid-row: 2 / 3;
}
.testimonial-item {
  background: white;
  padding: 25px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 71, 204, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}
.testimonial-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 71, 204, 0.35);
}
.testimonial-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0047cc;
  box-shadow: 0 4px 12px rgba(0, 71, 204, 0.3);
}
.testimonial-item p {
  font-style: italic;
  font-size: 1.2rem;
  color: #003366;
  line-height: 1.5;
  max-width: 350px;
}
.testimonial-item h4 {
  font-weight: 700;
  font-size: 1rem;
  color: #001a4d;
  margin-top: auto;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
  }
  .testimonial-grid > :nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  .testimonial-grid > :nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }
  .testimonial-grid > :nth-child(n+3) {
    grid-column: span 1;
    grid-row: auto;
  }
}
@media (max-width: 600px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .testimonial-grid > * {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .testimonial-item p {
    max-width: 100%;
  }
}
/* ====== END: Testimonial Section CSS (Jasli Edition) ====== */

/* ========================
   FAQ Section Start
========================= */
.faq-section {
  background: #f4f8ff;
  padding: 70px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1a1a1a;
}

.faq-section .section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
  font-weight: 700;
  color: #0a47a1; /* strong blue */
  letter-spacing: 1px;
}

.faq-item {
  max-width: 820px;
  margin: 0 auto 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.2);
}

.faq-question {
  all: unset;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 22px 30px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #003366;
  background-color: #e6f0ff;
  user-select: none;
  border-bottom: 1px solid #cbd6e5;
  transition: background-color 0.3s ease;
  border-radius: 12px 12px 0 0;
}

.faq-question:hover {
  background-color: #c0d3ff;
}

.faq-icon {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0071e3;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* plus to X */
  color: #004ea3;
}

.faq-answer {
  padding: 20px 30px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #333;
  background-color: #fafcff;
  display: none;
  border-top: 1px solid #cbd6e5;
}

.faq-item.active .faq-answer {
  display: block;
}
/* ========================
   FAQ Section End
========================= */

/* ====== STYLE: CONTACT SPLIT START ====== */
.contact-section.split-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background-color: #1d1d1f;
  color: #ffffff;
  padding: 60px 20px;
}

.contact-image {
  flex: 1 1 400px;
  text-align: center;
  padding: 20px;
}

.contact-image img {
  width: 90%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  object-fit: contain;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  display: block;
  margin: 0 auto;
}

.contact-content {
  flex: 1 1 400px;
  padding: 20px 40px;
  text-align: left;
}

.contact-content h2 {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.contact-info p {
  font-size: 1.1rem;
  margin: 10px 0;
}

.contact-info a {
  color: #0a84ff;
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 25px;
}

.social-icons a {
  color: #ffffff;
  margin-right: 20px;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #0a84ff;
}
/* ====== STYLE: CONTACT SPLIT END ====== */

/* START CSS for article list */
.article-list {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: Arial, sans-serif;
  color: #333;
}

.article-list h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.article-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}

.article-list img {
  width: 140px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 1rem;
}

.article-info h2 {
  margin: 0 0 0.3rem 0;
  font-size: 1.25rem;
  color: #0071e3; /* Apple blue style */
}

.article-info p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.article-list a {
  display: flex;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-list a:hover h2 {
  text-decoration: underline;
  color: #004bb5;
}

/* START Pagination Styles */
.pagination {
  text-align: center;
  margin-top: 2rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pagination a {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 14px;
  border-radius: 20px;          /* bulat */
  border: 2px solid #0071e3;    /* border biru */
  color: #0071e3;               /* teks biru */
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 40px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 113, 227, 0.15);
  cursor: pointer;
}

.pagination a:hover {
  background-color: #0071e3;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.4);
  transform: translateY(-2px);
}

.pagination a.active {
  background-color: #004a99;   /* lebih gelap untuk active */
  color: white;
  border-color: #004a99;
  box-shadow: none;
  cursor: default;
  transform: none;
}

.pagination a.prev, .pagination a.next {
  font-weight: 700;
  padding-left: 14px;
  padding-right: 14px;
  border-radius: 20px;
}
/* END Pagination Styles */

/* END CSS for article list */


/* START Article Content Styles */
.article-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.article-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.article-header h1 {
  flex: 1;
  font-size: 28px;
  font-weight: 700;
  color: #111;
}

.article-header img {
  width: 120px; /* kecil dan kemas */
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  user-select: none;
}

.article-body p {
  margin-bottom: 1rem;
  font-size: 16px;
}

.article-body ul {
  padding-left: 20px;
  margin-bottom: 1rem;
}

.article-body ul li {
  margin-bottom: 0.6rem;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 600px) {
  .article-header {
    flex-direction: column;
    gap: 15px;
  }

  .article-header img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .article-header h1 {
    text-align: center;
  }
}
/* END Article Content Styles */

/* === START: Related Articles Navigation === */
.related-articles {
  margin-top: 3rem;
  padding: 1.5rem;
  background-color: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.related-articles ul {
  list-style: none;
  padding-left: 0;
}

.related-articles ul li {
  margin: 0.5rem 0;
}

.related-articles ul li a {
  text-decoration: none;
  color: #007BFF;
  font-weight: 500;
  transition: all 0.3s ease;
}

.related-articles ul li a:hover {
  text-decoration: underline;
  color: #0056b3;
}
/* === END: Related Articles Navigation === */



/* ====== Footer Section ====== */
.footer {
  background-color: #000; /* Sama warna macam header */
  padding: 10px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: white;
  border-top: 1px solid #333;
}
/* END SECTION: Footer */
