/* Font dan reset */
body {
  margin: 0;
  font-family: 'Hedvig Letters Serif', serif;
  color: #333;
}

html {
  scroll-behavior: smooth;
}


/* Container global */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  background: #FF7070;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  color: #FFFFFF;
}

.logo-img {
  height: 35px;
  margin-right: 8px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  transition: color 0.3s ease;
}

header.scrolled .nav-links a:hover {
  color: #333;
}

.nav-links a:hover {
  color: #FF7070;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

header.scrolled .hamburger span {
  background: #FFFFFF;
}

/* NAV MOBILE */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.hamburger span {
  width: 28px;      /* seragam biar proporsional */
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Versi X yang rapih */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


/* Hero Section */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #FF7070 0%, #FFB3B5 100%);
  position: relative;
  padding-top: 80px; /* biar tidak ketutup navbar */
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 50%;
  color: white;
}

.hero-text h1 {
  font-size: 40px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline {
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: #FF7070;
}

.btn-filled {
  background: white;
  color: #FF7070;
}

.btn-filled:hover {
  background: #FF7070;
  color: white;
  border: 2px solid white;
}

.hero-image {
  flex: 1 1 40%;
  text-align: right;
}

.hero-image img {
  max-width: 90%;
  height: auto;
  opacity: 0.7;
}

/* Section Tentang Kami */
#tentang {
  padding: 80px 0;
}

.section-title {
  font-size: 28px;
  color: #FF7070;
  position: relative;
  margin-bottom: 20px;
}

.section-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 5px;
  background: #FF7070;
  margin-top: 8px;
  border-radius: 3px;
}

.sub-title {
  font-size: 22px;
  color: #FF7070;
  margin-top: 30px;
}

.tentang-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.tentang-text {
  text-align: justify;
  flex: 1 1 55%;
}

.tentang-images {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tentang-images img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

/* Visi & Misi */
.visi, .misi {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
}

.icon-small {
  width: 20px;
  height: 20px;
  margin-top: 4px;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  margin-top: 75px;
  margin-bottom: 75px;
  gap: 20px;
}

.service-item {
  display: flex;
  flex-direction: column; /* icon di atas, teks di bawah */
  align-items: center;
}

.service-item .service-icon {
  width: 85px;   /* ukuran icon */
  height: auto;
  margin-bottom: 15px;
}

.service-item p {
  margin-top: 8px;     /* jarak teks dari icon */
  font-size: 14px;
  color: #333;
  max-width: 85px;    /* biar teks panjang tetap rapi */
  text-align: center;  /* teks rata tengah */
}

/* Produk Kami Section */
.produk-kami {
  background-color: #FF7070;
  padding: 60px 20px;
  color: #fff;
  font-family: "Hedvig Letters Serif", serif;
}

.produk-kami .produk-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
}

/* Layout */
.produk-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

/* Slider */
.produk-slider {
   flex: 0 0 50%;        /* lebar fix 50% */
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;   /* Fix supaya tidak overflow */
}

.produk-swiper {
  width: 100%;
  aspect-ratio: 4 / 3;   /* bikin gambar proporsional */
  border-radius: 12px;
  overflow: hidden;
}

.produk-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* biar crop rapi, ga melebar */
  border-radius: 12px;
}

/* Panah */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Thumbnails */
.produk-thumbs {
  display: flex;
  margin-top: 12px;
  width:100%;
  overflow: hidden;
  gap: 12px;
  justify-content: center;
}

.produk-thumbs .swiper-slide {
  width: 90px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.produk-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.produk-thumbs img {
  width: 100%;
  border-radius: 8px;
}

/* Detail Produk */
.produk-detail {
  flex: 1 1 40%;
  min-width: 0;
}

.produk-info {
  display: none;
}

.produk-info.active {
  display: block;
}

.produk-detail h3 {
  font-size: 24px;
  margin-bottom: 5px;
  font-weight: 600;
}

.produk-detail h4 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 400;
}

/* Tombol WhatsApp */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #FF7070;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 25px;
  transition: background 0.3s, transform 0.2s;
}

.btn-whatsapp:hover {
  background: #FFB3B5;
  transform: translateY(-2px);
}

.wa-icon {
  width: 20px;
  margin-right: 10px;
}

/* Section Testimoni */
.testimoni {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
  font-family: "Hedvig Letters Serif", serif;
}

.section-header {
  font-size: 28px;
  color: #FF7070;
  margin-bottom: 40px;
}

/* Swiper Container */
.testimoni-swiper {
  padding: 20px 50px;
  position: relative;
  overflow: visible; /* biar panah bisa keluar */
}

/* Card sejajar */
.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

/* Card Testimoni */
.testimoni-card {
  background: #fff;
  border: 1px solid #FF7070;
  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;
}

.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; }




/* Section Contact */
.contact {
  position: relative;
  background: url("../Assets/Kontak\ BG.png") center/cover no-repeat;
  padding: 80px 20px;
  color: #fff;
  text-align: center;
}

.contact .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.contact .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
}

.contact-title {
  font-size: 32px;
  margin-bottom: 10px;
  font-family: "Hedvig Letters Serif", serif;
}

.contact-subtitle {
  font-size: 16px;
  margin-bottom: 50px;
}

/* Konten */
.contact-content {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-card {
  background: rgba(255, 255, 255, 0.35); /* transparan */
  border-radius: 10px;
  padding: 25px;
  color: #fff;
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);

  margin-bottom: 50px;

  /* efek blur */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* buat Safari */
  border: 1px solid rgba(255, 255, 255, 0.3); /* biar lebih "frosted glass" */
}

/* Info Card */
.info-card p {
  font-size: 15px;
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.info-card .icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Map Card */
.map-card {
  height: 300px;
  padding: 0;
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* Footer */
.footer {
  background-color: #FF7070;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: "Hedvig Letters Serif", serif;
}

.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;
}
