/* ============================================
   1. GLOBAL RESET
   ============================================ */
@import url("https://fonts.googleapis.com/css2?family=Baskervville:ital@0;1&family=Instrument+Sans:wght@700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Instrument Sans", sans-serif;
  overflow-x: hidden;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   2. SECTION HEADER / NAVBAR
   ============================================ */
.navbar-section {
  width: 100%;
  background-color: #071d49;
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-logo img {
  max-height: 75px;
  width: auto;
}

/* ============================================
   3. SECTION HERO
   ============================================ */
.hero-section {
  width: 100%;
  height: 85vh;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
}

.hero-overlay-img {
  position: absolute;
  bottom: 20px;
  right: 100px;
  width: 35%;
  max-width: 400px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.5));
}

/* ============================================
   SECTION PROMO
   ============================================ */
.promo-section {
  width: 100%;
  background-color: #071d49;
  padding: 80px 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  box-sizing: border-box;
}

.promo-image {
  flex: 0 0 50%;
  max-width: 600px;
}

.promo-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  object-fit: cover;
}

.promo-content {
  flex: 0 0 45%;
  max-width: 500px;
  text-align: left;
  font-family: "Instrument Sans", sans-serif;
}

.promo-title {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 20px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.promo-desc {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #e0d5eb;
  line-height: 1.6;
  margin: 0 0 30px 0;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid #ffffff;
  text-decoration: none;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.promo-btn:hover {
  background-color: #ffffff;
  color: #071d49;
}

.promo-btn span {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.promo-btn:hover span {
  transform: translateX(4px);
}

/* ============================================
   SECTION TOP PICKS
   ============================================ */
.top-picks-section {
  width: 100%;
  background-color: #ffffff;
  padding: 60px 20px 80px 20px;
  box-sizing: border-box;
}

.top-picks-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.header-text {
  font-family: "Instrument Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #071d49;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-line {
  flex: 1;
  height: 3px;
  background-color: #eaaa00;
  border-radius: 2px;
}

.top-picks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.pick-item {
  cursor: pointer;
  text-align: center;
}

.pick-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: #f9f9f9;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.pick-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pick-item:hover .pick-img-wrapper {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pick-item:hover .pick-img-wrapper img {
  transform: scale(1.05);
}

.pick-label {
  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  color: #071d49;
  margin: 0;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.pick-label strong {
  font-weight: 700;
}

.pick-label::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: #eaaa00;
  transition: width 0.3s ease;
}

.pick-item:hover .pick-label::after {
  width: 100%;
}

/* ============================================
   MODAL / LIGHTBOX TOP PICKS
   ============================================ */
.tile-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  backdrop-filter: blur(4px);
}

.tile-modal.show {
  display: flex;
}

.tile-modal-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease;
}

.tile-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}

.tile-modal-close:hover {
  color: #eaaa00;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ============================================
   SECTION E-CATALOG
   ============================================ */
.catalog-section {
  width: 100%;
  background-image: url("asset/catalog-bg.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px 30px 20px;
  box-sizing: border-box;
}

.catalog-content {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.catalog-left {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.catalog-title {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 400;
  font-size: 32px;
  color: #ffffff;
  margin: 0 0 30px 0;
  line-height: 1.4;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.catalog-title span {
  font-weight: 700;
  font-style: italic;
}

.catalog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 28px;
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid #ffffff;
  text-decoration: none;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.catalog-btn:hover {
  background-color: #ffffff;
  color: #071d49;
}

.catalog-btn:hover span {
  transform: translateX(4px);
}

.catalog-btn span {
  display: inline-block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.2s ease;
}

.catalog-right {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.catalog-right img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  filter: drop-shadow(15px 15px 25px rgba(0, 0, 0, 0.5));
}

/* ============================================
   SECTION FOOTER
   ============================================ */
.footer-section {
  width: 100%;
  background-color: #071d49;
  color: #ffffff;
  padding: 60px 20px 30px 20px;
  box-sizing: border-box;
  font-family: "Instrument Sans", sans-serif;
}

.footer-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

/* --- BAGIAN ATAS: INFO ALAMAT --- */
.footer-top-info {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.footer-address-col {
  flex: 0 0 50%;
  max-width: 500px;
}

.footer-contact-col {
  flex: 0 0 30%;
}

.footer-top-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #eaaa00;
  margin: 0 0 15px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mt-20 {
  margin-top: 30px !important;
}

.footer-top-info p {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
}

/* Link Alamat (Maps) & WhatsApp */
.map-link {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
  display: block;
}

.map-link:hover {
  color: #eaaa00 !important;
}

.map-link:hover p {
  color: #eaaa00 !important;
}

/* Sosial Media Link */
.social-media-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.social-media-link i {
  font-size: 20px;
}

.social-media-link a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.social-media-link a:hover {
  color: #eaaa00;
}

/* Garis Pemisah */
.footer-divider {
  border: none;
  border-top: 2px solid #ffffff;
  margin: 0 0 30px 0;
  width: 100%;
}

/* --- BAGIAN BAWAH: SERTIFIKASI --- */
.footer-certifications {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.cert-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
}

/* --- BARIS COPYRIGHT & LEGAL --- */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
}

.footer-copyright {
  font-size: 11px;
  color: #a0b0cc;
  margin: 0;
}

.footer-legal {
  font-size: 11px;
  color: #a0b0cc;
}

.footer-legal a {
  color: #a0b0cc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* ============================================
   RESPONSIVE (MOBILE / TABLET)
   ============================================ */
@media (max-width: 768px) {
  /* Navbar & Hero */
  .navbar-logo img {
    max-height: 45px;
  }

  .hero-section {
    height: 60vh;
    min-height: 350px;
  }

  .hero-overlay-img {
    bottom: 15px;
    right: 15px;
    width: 50%;
    max-width: 200px;
  }

  /* Promo */
  .promo-section {
    flex-direction: column;
    padding: 50px 20px;
    gap: 30px;
  }

  .promo-image,
  .promo-content {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .promo-content {
    text-align: center;
  }

  .promo-title {
    font-size: 28px;
  }

  .promo-desc {
    font-size: 14px;
  }

  .promo-desc br {
    display: none; /* Hilangkan enter agar teks mengalir di HP */
  }

  /* Top Picks */
  .top-picks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .header-text {
    font-size: 16px;
  }

  /* Catalog */
  .catalog-section {
    padding: 60px 20px;
    background-position: right center;
  }

  .catalog-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .catalog-left {
    text-align: center;
  }

  .catalog-title {
    font-size: 24px;
  }

  .catalog-right {
    justify-content: center;
    width: 100%;
  }

  .catalog-right img {
    max-width: 100%;
  }

  /* Footer */
  .footer-top-info {
    flex-direction: column;
    gap: 40px;
  }

  .footer-address-col,
  .footer-contact-col {
    flex: 1;
    max-width: 100%;
  }

  .footer-certifications {
    gap: 20px;
  }

  .cert-img {
    max-width: 100%; /* Stiker menyesuaikan layar HP */
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding-top: 20px;
  }
}

/* ============================================
   RESPONSIVE TAMBAHAN (LAYAR SANGAT KECIL)
   ============================================ */
@media (max-width: 480px) {
  .top-picks-grid {
    gap: 15px;
  }

  .header-text {
    font-size: 12px;
  }

  .pick-label {
    font-size: 13px;
  }
}

.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #453213; /* warna background */
  color: #c69671; /* warna ikon */
  font-size: 22px; /* ukuran ikon */
  text-decoration: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
}

.floating-btn:hover {
  background-color: #5a4126;
  color: #fff;
  transform: scale(1.1);
}
