:root {
  --color-primary: #fcab3a;
  --color-secondary: #fcf1d2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-secondary);  
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 10px 40px;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 65px;
}

.logo h1 {
  font-size: 18px;
}

.logo h1 span {
  color: var(--color-primary);
}

.nav-and-btn {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  padding: 5px 0;
}

.nav-links a:hover{
    color: var(--color-primary);
}

.btn-contact {
  padding: 10px 18px;
  background-color: var(--color-primary);
  color: white;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
}

.btn-contact:hover {
  background-color: #4d4a47;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

/* Hero Section */
.hero-section {
  background: url('../Assets/Hero\ Section\ BG.png') no-repeat center center/cover;
  height: 100vh; /* memenuhi 1 layar penuh */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  color: white;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.hero-container {
  max-width: 800px;
}

.hero-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-icon img {
  width: 85px;
}

.hero-section h1 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.hero-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: #f0f0f0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.button-lp {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s;
  gap: 2rem;
}

.button-lp:hover {
  background-color: #fac780;
  color: #ffffff;
}

/* About Us Section */
.about-us {
  background-color: var(--color-secondary);
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
}

.section-title {
  text-align: center;
  color: var(--color-primary);
  font-size: 28px;
  margin-bottom: 30px;
}

.section-title-team {
  text-align: center;
  color: var(--color-primary);
  font-size: 28px;
  margin-bottom: 30px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.about-content-2 {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.about-text {
  flex: 1;
  min-width: 300px;
  border-left: 4px solid var(--color-primary);
  padding-left: 16px;
  color: #333;
}

.about-text p {
  width: 85%;
  text-align: justify;
  margin-bottom: 16px;
  line-height: 1.6;
}

.about-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
}

.about-icons {
  margin-top: 75px;
  display: flex;
  justify-content: center;
  gap: 350px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}


.visi-misi-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.visi-misi-text {
  flex: 1 1 55%;
}

.visi-misi-image {
  flex: 1 1 40%;
}

.visi-misi-image img {
  margin-top: 50px;
  margin-left: 145px;
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
}

.heading-line {
  width: 450px;
  height: 4px;
  background-color: var(--color-primary);
  margin-bottom: 15px;
}

.visi h3,
.misi h3 {
  color: var(--color-primary);
  margin: 15px 0;
}

.visi p,
.misi ul {
  color: #222;
  line-height: 1.6;
}

.misi ul {
  padding-left: 20px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.checklist li::before {
  content: '✓'; /* simbol ceklis */
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary); /* bisa diganti */
  font-weight: bold;
}

/* Our Client Section */
.logo-slider-section {
  margin-top: 80px;
  padding: 2rem 1rem;
  overflow: hidden;
  margin-bottom: 45px;
}

.logo-slider-container {
  overflow: hidden;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem
}

.logo-slide-track {
  display: flex;
  animation: slide 20s linear infinite;
  width: calc(250px * 14); /* 4 logo * 2 karena duplikat */
}

.logo-slide {
  width: 250px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-slide img {
  max-width: 180px;
  height: auto;
  object-fit: contain;
}

/* Animasi geser */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Produk Section */
.body-product {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--color-primary);
}

.product-container {
  max-width: 1020px;
  width: 90%;
}

.judul-section {
  font-size: 36px;
  margin-bottom: 50px;
  text-align: center;
  font-weight: 600;
}

.slider-wrapper {
  position: relative;
}

.slider-wrapper .slide-button {
  position: absolute;
  top: 50%;
  height: 50px;
  width: 50px;
  color: var(--color-primary);
  border: none;
  outline: none;
  background: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.slider-wrapper .slide-button:hover {
  background: #2196f3;
}

.slider-wrapper .slide-button#prev-slide {
  left: -20px;
  display: none;
}

.slider-wrapper .slide-button#next-slide {
  right: -20px;
}

.judul-section {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 50px;
}

.slider-wrapper .image-list {
  display: grid;
  gap: 18px;
  font-size: 0;
  margin-bottom: 30px;
  overflow-x: auto;
  scrollbar-width: none;
  grid-template-columns: repeat(20, 1fr);
}

.slider-wrapper .image-list::-webkit-scrollbar {
  display: none;
}

.slider-wrapper .image-list .image-wrapper {
  width: 325px; 
  height: 400px;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.slider-wrapper .image-list .image-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease; 
}

.image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0); 
  transition: background-color 0.3s ease;
}

.image-wrapper::after {
  content: attr(data-description); 
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  color: white;
  font-family: sans-serif;
  font-size: 16px;
  text-align: center;
  font-weight: 500;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); 
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}


.image-wrapper:hover .image-item {
  transform: scale(1.1);
}

.image-wrapper:hover::before {
  background-color: rgba(0, 0, 0, 0.4); 
}

.image-wrapper:hover::after {
  opacity: 1; 
  transform: translateY(0); 
}

.product-container .slider-scrollbar {
  height: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}

.slider-scrollbar .scrollbar-track {
  height: 2px;
  width: 100%;
  background: #ccc;
  position: relative;
  border-radius: 4x;
  overflow: hidden;
}

.slider-scrollbar:hover .scrollbar-track {
  height: 4px;

}

.slider-scrollbar .scrollbar-thumb {
  position: absolute;
  height: 100%;
  width: 50%;
  background: #1f2937;
  border-radius: inherit;
  cursor: grab;
}

.slider-scrollbar .scrollbar-thumb:active {
  cursor: grabbing;
  height: 8px;
  top: -2px;
}

.slider-scrollbar .scrollbar-thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  bottom: -10px;
}

/* Section Testimoni */
.testimoni {
  padding: 60px 20px;
  text-align: center;
}

.section-header {
  font-size: 28px;
  color: var(--color-primary);
  margin-bottom: 40px;
}

/* Swiper Container */
.testimoni-swiper {
  padding: 20px 50px;
  position: relative;
  overflow: visible; /* biar panah bisa keluar */
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Card sejajar */
.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

/* Pastikan setiap slide punya tinggi fleksibel dan kartu meregang penuh */
.testimoni-swiper .swiper-slide {
  height: auto;
  display: flex;
}

/* Card Testimoni */
.testimoni-card {
  background: #fff;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.testimoni-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 12px;
}

.testimoni-card h3 {
  font-size: 18px;
  margin: 0;
  color: #333;
}

.rating {
  font-size: 14px;
  color: #FFD700;
}

/* Isi komentar */
.testimoni-text {
  background: #c7c7c7;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  flex-grow: 1;
}

/* Panah Navigasi */
.swiper-button-next,
.swiper-button-prev {
  color: #FF7070;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.swiper-button-prev { left: -30px; }
.swiper-button-next { right: -30px; }

/* Fasilitas Section */
.fasilitas-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.fasilitas-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.underline {
  width: 60px;
  height: 4px;
  background-color: var(--color-primary);
  margin: 0 auto 40px auto;
  border-radius: 4px;
}

.fasilitas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 30px;
}

.fasilitas-card {
  display: flex;
  align-items: flex-start;
  background: #fff;
  padding: 16px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  text-align: left;
  transition: transform 0.2s ease;
  min-height: auto;
}


.fasilitas-card:hover {
  transform: translateY(-5px);
}

.icon-circle {
  min-width: 50px;
  min-height: 50px;
  background-color: #f8dcb1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
}

.icon-circle img {
  width: 24px;
  height: 24px;
}

.card-content h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.card-content p {
  font-size: 14px;
  color: #444;
  margin: 0;
}

/* Contact */
.contact-section {
  background: url('../Assets/Kontak\ BG.png') center/cover no-repeat;
  padding: 60px 20px;
  color: white;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  margin-bottom: 45px;
}

.contact-info h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-info span {
  color: var(--color-primary);
}

.contact-info .info-item {
  margin-bottom: 15px;
  font-size: 16px;
}

.contact-info .map-container {
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
}

.social-media a {
  color: white;
  margin-right: 15px;
  font-size: 20px;
  transition: color 0.3s;
}

.social-media a:hover {
  color: var(--color-primary);
}

.map-container {
  margin-top: 15px;
  border-radius: 12px;
  overflow: hidden; /* biar iframe ikut melengkung */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* bayangan */
  border: 3px solid #fff; /* biar kelihatan kaya frame */
  max-width: 320px; /* biar proporsional */
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 150px;
  border: none;
}

.contact-form {
  margin: 60px auto;
  flex: 1;
  background: white;
  padding: 35px;
  border-radius: 12px;
  color: black;
  max-width: 500px; /* batas lebar biar nggak kepanjangan */
  text-align: center;
  box-shadow: 0px 4px 20px rgba(0,0,0,0.15);
}

.contact-form h3 {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 22px;
}

.contact-form input,
.contact-form textarea {
  width: 100%; /* biar full dalam form */
  padding: 15px;
  margin-bottom: 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.contact-form button {
  width: 100%; /* full width dalam form */
  background: var(--color-primary);
  color: white;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.contact-form button:hover {
  background: #ffdf7f;
  transform: scale(1.02);
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: #fff;
  padding: 40px 20px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer p {
  font-size: 14px;
  line-height: 1.6;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer ul li a:hover {
  text-decoration: underline;
}

/* Sosial Media Icon */
.social-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.social-icon:hover {
  transform: scale(1.2);
}

/* Bagian Bawah */
.footer-bottom {
  text-align: left;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 15px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

/* Fix Height Berlebih */
section:last-of-type {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
