/* Gaya Umum */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(
    to bottom right,
    rgb(227, 251, 252),
    rgb(123, 205, 252),
    rgb(104, 248, 241),
    rgb(75, 217, 252)
  );
  color: #fff;
}

/* Navbar */
header {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  color: rgb(248, 247, 247);
  padding: 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .logo {
  padding: 0;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
}

header nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  transition: 0.1s;
  font-weight: bold;
}

header nav a:hover {
  color: #ffd700;
  text-decoration: underline;
}

.banner-utama {
  text-align: center;
  padding: 20px;
  margin: 0 auto -10px;
  /* pakai margin-top: -10px jika ingin rapat */
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: transparent;

  /* Dulu hanya 2px → dinaikkan agar proporsional */

  position: center;
  max-width: 1100px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.banner-utama img {
  height: auto;
  /* Batasi tinggi logo agar tidak terlalu kecil atau terlalu besar */

  width: 100%;
  margin-bottom: 1px;
  border-radius: 12px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.banner-utama p {
  font-size: 16px;
  color: #0d5f58;
  margin: 0;
  max-width: 90%;
  font-weight: bold;
}

/* Swiper umum */
.swiper {
  width: 100%;
  max-width: 1100px;
  margin: 30px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 20px rgba(0, 0, 0, 0.16);
}

.swiper-slide {
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.swiper-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
}

/* Produk Promosi */
.produk-1 {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  background: transparent;
  border-radius: 12px;
}

.produk-1 h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: #fff;
}

.produk-card {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.produk-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
  border-radius: 10px;
}

.produk-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 2;
  max-width: 90%;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  margin-top: 60px;
}

/* Container utama */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

h2.section-title {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #222;
}

/* Grid produk */
.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  padding: 1px;
}

/* Kartu produk */
.produk-card2 {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
  cursor: pointer;
  position: relative;
}

.produk-card2:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Gambar produk */
.produk-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1; /* Rasio persegi, bisa ubah ke 3/4 jika mau tampilan ala Shopee */
  overflow: hidden;
  position: relative;
  background-color: #f9f9f9; /* fallback agar tidak putih kosong */
}

.produk-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #f9f9f9;
  display: block;
}

/* Label diskon */
.diskon-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: red;
  color: white;
  font-size: 25px;
  padding: 3px 3px;
  border-radius: 4px;
  z-index: 2;
}

/* Konten produk */
.produk-content {
  padding: 10px;
  text-align: center;
}

.produk-nama {
  color: black !important;
  font-size: 16px !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 10 !important;
}

/* Harga produk */
.produk-harga {
  font-size: 13px;
}

.harga-lama {
  text-decoration: line-through;
  color: #999;
  display: block;
}

.harga-diskon {
  color: #d60000;
  font-weight: bold;
  font-size: 14px;
}

.harga-normal {
  font-weight: bold;
  color: #222;
}

/* Tombol */
.produk-button {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  background-color: #d6ad4f;
  /* warna emas khas Navella */
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
  pointer-events: auto;
  z-index: 10;
  position: relative;
}

.produk-button:hover {
  background-color: #c49a36;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header nav {
    margin-top: 10px;
  }

  header .logo {
    display: none;
  }

  .produk-card img {
    height: 180px;
  }

  .banner-utama {
    width: 100%;
    text-align: center;
    background-color: transparent;
    padding: 20px 2px;
    /* Dulu hanya 2px → dinaikkan agar proporsional */
    margin: 1px;
    margin-top: 0px;

    max-width: 1100px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .banner-utama img {
    height: auto;
    /* Batasi tinggi logo agar tidak terlalu kecil atau terlalu besar */

    width: 90%;
    margin-bottom: 1px;
    border-radius: 12px;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
  }

  .banner-utama p {
    font-size: 16px;
    color: #0d5f58;
    margin: 0;
    max-width: 90%;
    font-weight: bold;
  }

  .swiper-slide img {
    display: block;
    /* Pastikan bisa diatur margin */
    margin: 0 auto;
    /* Tengah secara horizontal */
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
  }

  /* Swiper umum */
  .swiper {
    width: 100%;
    padding: 0px 0px;
    margin: 30px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.16);
  }

  .slide-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 6px;
    z-index: 100;
    max-width: 90%;
  }

  .swiper-slide img {
    display: block;
    /* Pastikan bisa diatur margin */
    margin: 0 auto;
    /* Tengah secara horizontal */
    width: 90%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
  }

  /* Produk Promosi */
  .produk-1 {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 10px;
    background: transparent;
    border-radius: 12px;
  }

  .produk-1 h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: #155f72;
  }

  .produk-card {
    position: relative;
    overflow: hidden;
    width: 100%;
  }

  /* Tombol */
  .produk-button {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    background-color: #d6ad4f;
    /* warna emas khas Navella */
    color: rgb(255, 250, 250);
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
    pointer-events: auto;
    z-index: 10;
    position: relative;
  }

  .produk-button:hover {
    background-color: #c49a36;
  }

  .produk-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .produk-card img {
    height: 180px;
  }

  .modal-content {
    width: 90%;
    margin-top: 30%;
    padding: 20px;
  }

  .keunggulan {
    padding: 80px 0;
    background: linear-gradient(135deg, rgb(150, 215, 252), #26c6da);
    border-radius: 12px;
  }
}

.footer-menu {
  background: linear-gradient(to right, #0f0f0f, #1a1a1a);
  color: white;
  text-align: center;
  padding: 40px 20px;
}

.footer-nav {
  margin-bottom: 20px;
}

.footer-nav a {
  color: #ddd;
  margin: 0 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-icons a {
  margin: 0 10px;
  font-size: 24px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-icons a:hover {
  transform: scale(1.2);
}

.footer-icons i,
.footer-icons img {
  color: white;
  height: 24px;
  width: 24px;
  filter: brightness(1000%);
}

/* baris akhir */
.footer {
  background-color: #152235;
  color: #cdd6e0;
  font-family: "Segoe UI", sans-serif;
  padding: 60px 30px 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-brand {
  flex: 1 1 250px;
}

.footer-brand .logo {
  background: #1da3dd;
  color: #fff;
  font-weight: bold;
  font-size: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.footer-brand h3 {
  color: #29b6d1;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 17px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-brand .contact-info {
  list-style: none;
  padding: 0;
  font-size: 17px;
}

.footer-brand .contact-info li {
  margin-bottom: 8px;
}

.footer-brand .contact-info i {
  margin-right: 8px;
  color: #29b6d1;
}

.footer-links {
  display: flex;
  flex: 3 1 600px;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-links h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 17px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  font-size: 17px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #cdd6e0;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  color: #cdd6e0;
  margin-right: 10px;
  font-size: 17px;
  display: inline-block;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 17px;
  color: #9aa9ba;
}

.footer hr {
  border: none;
  border-top: 1px solid #2a3b52;
  margin-top: 40px;
}

.custom-icon {
  vertical-align: middle;
  filter: invert(1);
  /* Biar putih */
}

.slide-link {
  position: relative;
  display: block;
}

.slide-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 6px 12px;
  font-size: 14px;

  z-index: 100;
  max-width: 100%;
}

.swiper-slide img {
  display: block;
  /* Pastikan bisa diatur margin */
  margin: 0 auto;
  /* Tengah secara horizontal */
  width: 90%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

/* Tentang Kami */
.tentang-kami {
  background: transparent;
  padding: 60px 20px;
}

.tentang-kami .container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.tentang-kami h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.tentang-kami p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

/* Keunggulan */
.keunggulan {
  background: transparent;
  padding: 60px 20px;
  border-radius: 12px;
}

.container-keunggulan {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.box {
  flex: 1 1 250px;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  color: rgb(82, 160, 248);
}

h2 {
  text-align: center;
  font-size: 2em;
  margin-top: 40px;
}

h2 span {
  color: #00bcd4;
}

.fitur {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px auto;
  max-width: 1200px;
  gap: 40px;
}

.fitur-item {
  text-align: center;
  max-width: 220px;
}

.fitur-item i {
  font-size: 40px;
  color: #00bcd4;
  background: #e0f7fa;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 10px;
}

.fitur-item h4 {
  margin-bottom: 10px;
  font-weight: bold;
}

.testimoni {
  background: #ffffff;
  padding: 50px 20px;
}

.testimoni h2 span {
  color: #00bcd4;
}

.testimoni-desc {
  text-align: center;
  margin-bottom: 40px;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  background: linear-gradient(135deg, rgb(168, 243, 253), #26c6da);
  padding: 20px;
  border-radius: 20px;
  max-width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card p {
  font-style: italic;
  margin-bottom: 20px;
  color: rgb(9, 134, 184);
}

.card .author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card .author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.card .stars {
  color: rgb(253, 195, 86);
  margin-bottom: 10px;
  font-size: 32px;
  border-radius: 12px;
}

.tentang-navella {
  padding: 80px 0;
  background: linear-gradient(135deg, rgb(150, 215, 252), rgb(120, 236, 252));
  border-radius: 12px;
}

.tentang-navella .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.tentang-navella .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.tentang-navella .col-left {
  flex: 1;
  min-width: 300px;
}

.tentang-navella .col-right {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.tentang-navella h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: rgb(7, 12, 27);
}

.tentang-navella .highlight {
  color: linear-gradient(135deg, rgb(135, 219, 252), rgb(32, 224, 250));
}

.tentang-navella p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: rgb(2, 10, 7);
}

.statistik {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.statistik div {
  background: white;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.statistik h3 {
  font-size: 1.8rem;
  color: #0077b6;
  margin-bottom: 5px;
}

.statistik p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

.col-right img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.hero-navella {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    to bottom right,
    rgb(250, 250, 248),
    rgb(250, 241, 200),
    rgb(146, 133, 99),
    rgb(247, 191, 71)
  );
  padding: 1px 0;
}

.floating-bubbles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;

  border-radius: 50%;

  animation: floatBubble 3s linear infinite;
}

.bubble:nth-child(1) {
  filter: blur(0px);
  background: transparent;
  width: 1000px;
  height: 1000px;
  top: 5%;
  left: 0.1%;
  animation-delay: calc(var(--i) * -2s);
}

.bubble:nth-child(2) {
  filter: blur(20px);
  background: rgba(30, 217, 223, 0.48);
  width: 250px;
  height: 250px;
  top: 15%;
  left: 80%;
  animation-delay: calc(var(--i) * -2s);
}

.bubble:nth-child(3) {
  filter: blur(15px);
  background: rgba(30, 217, 223, 0.48);
  width: 200px;
  height: 200px;
  top: 11%;
  left: 13%;
  animation-delay: calc(var(--i) * -2s);
}

.bubble:nth-child(4) {
  background: rgba(30, 217, 223, 0.48);
  filter: blur(15px);
  width: 400px;
  height: 250px;
  top: 40%;
  left: 60%;
  animation-delay: calc(var(--i) * -2s);
}

.bubble:nth-child(5) {
  background: rgba(30, 217, 223, 0.48);
  top: 2%;
  left: 18%;
  animation-delay: calc(var(--i) * -2s);
}

.bubble:nth-child(6) {
  top: 45%;
  left: 17%;
  animation-delay: calc(var(--i) * -2s);
}

@keyframes floatBubble {
  0% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-40px) scale(1.05);
  }

  100% {
    transform: translateY(0px) scale(1);
  }
}

.newsletter input[type="email"] {
  padding: 10px;
  border-radius: 6px;
  border: none;
  margin-right: 10px;
  width: 250px;
}

.newsletter button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background: white;
  color: #006d77;
  font-weight: bold;
}

footer {
  background: #072540;
  color: white;
  padding: 40px 20px;
  margin-top: 0;
}

footer .footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

footer h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

footer a {
  color: #ccc;
  display: block;
  margin-bottom: 6px;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

html {
  scroll-behavior: smooth;
}
