/* Topbar dasar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #800000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  z-index: 999;
}

.topbar-text {
  font-size: 25px;
  font-weight: bold;
  color: #ffffff;
}

/* Hidden by default */
.topbar.hidden {
  transform: translateY(-100%);
}

/* Logo dan teks kiri */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;

}

.topbar-logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

/* Navigasi kanan */
.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.nav-links a:hover {
  color: #d33;
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fdfdfd;
  color: #ffffff;
}

/* Landing Section */
.landing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 50px 0px;
  min-height: 100vh;
  background-color: #fff4f4;
}

.text-content {
  flex: 1 1 200px;
  max-width: 600px;
  text-align: center;
  padding: 10px;
}

.text-content h1 {
  font-size: 4rem;
  color: #800000;
  margin-bottom: 20px;
}

.text-content p {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 30px;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 12px 24px;
  background-color: #800000;
  color: white;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #a60000;
}

.btn.secondary {
  background-color: #ffcc00;
  color: #000;
}

.btn.secondary:hover {
  background-color: #ffdd33;
}

.image-content {
  flex: 1 1 300px;
  max-width: 500px;
  text-align: center;
  padding: 20px;
}

.image-content img {
  width: 100%;
  max-width: 500px;
  height: auto;
  /* border-radius: 20px; */
}

/* Responsive */
@media (max-width: 768px) {
  .text-content, .image-content {
    max-width: 100%;
    padding: 10px 20px;
  }

  .button-group {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: auto;
    min-width: 200px;
    margin-bottom: 10px;
  }

  .about-section {
    padding: 30px 20px;
  }

  .about-section .container {
    padding: 0 10px;
  }
}


/* About Section */
.about-section {
  background-color: #ffffff;
  padding: 50px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-section .container {
  max-width: 1000px;
  padding: 0 15px;
}

.about-title {
  font-size: 2rem;
  color: #000;
  margin-bottom: 30px;
  position: relative;
  padding-left: 15px;
}

.about-title::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 6px;
  background-color: #800000;
  left: 0;
  top: 0;
  border-radius: 3px;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333;
  text-align: justify; /* Tambahkan ini */
}


.contact-btn {
  background-color: #ffcc00;
  color: #000;
  border-radius: 12px;
  padding: 10px 20px;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
}

.contact-btn:hover {
  background-color: #ffdd33;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .about-section {
    padding: 30px 10px;
    text-align: center;
  }

  .about-section .container {
    padding: 0;
  }

  .about-title {
    text-align: center;
    padding-left: 0;
  }

  .about-title::before {
    display: none;
  }
}

.why-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff4f4;
}

.why-section h2 {
  font-size: 24px;
  font-weight: bold;
  color: 333;
  margin-bottom: 40px;
}

.why-title {
  font-size: 2rem;
  color: #000;
  margin-bottom: 40px;
  position: relative;
  padding-left: 15px;
  text-align: left;
  display: inline-block;
}

.why-title::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 6px;
  background-color: #800000; /* warna maroon */
  left: 0;
  top: 0;
  border-radius: 3px;
}


.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding: 30px;
}

.card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  padding: 24px;
  width: 420px;
  text-align: left;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}


.card h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 12px;
}

.card p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  text-align: justify;
}

/* Section */
.faq-section {
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff4f4;
}

.faq-container {
  max-width: 800px;
  margin: auto;
}

.faq-title {
  font-size: 2rem;
  color: #000;
  margin-bottom: 40px;
  position: relative;
  padding-left: 15px;
  text-align: left;
  display: inline-block;
}

.faq-title::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 6px;
  background-color: #800000; /* warna maroon */
  left: 0;
  top: 0;
  border-radius: 3px;
}

/* Item */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 10px 20px;
  margin: 5px 10px;
}

/* Question Button */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #1f2937;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #2563eb;
}

/* Icon */
.faq-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.3s ease;
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
  padding: 0 0 20px 0;
  color: #4b5563;
  line-height: 1.6;
}

/* Active State */
.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}



/* Section */
.price-section {
  padding: 60px 20px;
  background: #ffffff;
  font-family: 'Segoe UI', sans-serif;
}

/* Container */
.price-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

/* Title */
.price-title {
  font-size: 2rem;
  color: #000;
  margin-bottom: 40px;
  position: relative;
  padding-left: 15px;
  text-align: left;
  display: inline-block;
}

.price-title::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 6px;
  background-color: #800000; /* warna maroon */
  left: 0;
  top: 0;
  border-radius: 3px;
}

/* Images Wrapper */
.price-images {
  display: flex;
  justify-content: center;
  gap: 30px; /* jarak antar gambar */
  flex-wrap: wrap; /* supaya responsive */
}

/* Image Style */
.price-images img {
  width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.price-images img:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .price-images {
    flex-direction: column;
    align-items: center;
  }

  .price-images img {
    width: 90%;
    max-width: 400px;
  }
}

.contact-section {
  padding: 60px 20px;
  background: #ffffff;
  color: black;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.contact-container {
  max-width: 800px;
  margin: auto;
}

.contact-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 30px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: black;
  font-size: 18px;
  background: #fff4f4;
  padding: 12px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-weight: bold;
}

.contact-item img {
  width: 28px;
  height: 28px;
}

.contact-item:hover {
  background: #bd3b3b;
  transform: translateY(-5px);
}

/* Scroll Animation */
.about-section,
.why-section,
.price-section,
.faq-section,
.contact-section,
.card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}