/* Reset and variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Scheme Updated with Pink Palette */
  --primary-gold: #D49E8D; /* UPDATED to Primary Pink */
  --light-gold: #E8C3B9;   /* UPDATED to Light Pink */
  --accent-gold: #C58A7A; /* UPDATED to Accent Pink */
  --dark-brown: #6B4F4F;     /* A soft, dark brown for text */
  --medium-brown: #D2B48C; /* Tan */
  --light-brown: #E5DCCB;  /* Dust Storm */
  --rose-beige: #F5E3E3;    /* Pastel Pink nuance */
  --cream-beige: #E5DCCB;  /* Dust Storm */
  --light-cream: #F5F5F5;  /* White Smoke */
  --white: #ffffff;
  
  /* Legacy mappings for backward compatibility (pointing to new colors) */
  --primary-green: var(--primary-gold);
  --light-green: var(--light-gold);
  --accent-green: var(--accent-gold);
  --dark-charcoal: var(--dark-brown);
  --medium-charcoal: var(--medium-brown);
  --light-charcoal: var(--light-brown);
  --wood-brown: var(--dark-brown);
  --cream: var(--light-cream);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background: var(--light-cream); /* White Smoke */
  color: var(--dark-brown);
}

/* Style for subpage headers to prevent overlap with fixed nav */
header {
  padding-top: 120px;
}

/* Particles layer and content wrapper */
#particles-js {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}
.content-wrapper {
  position: relative;
  z-index: 1;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: blur(0px);
  padding: 25px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
nav.scrolled {
  background: linear-gradient(135deg, rgba(245, 245, 245, 0.9), rgba(229, 220, 203, 0.9)); /* White Smoke to Dust Storm */
  backdrop-filter: blur(15px);
  padding: 18px 50px;
  box-shadow: 0 8px 40px rgba(212, 158, 141, 0.2);
  border-bottom: 2px solid var(--accent-gold);
}
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: transform .3s;
}
.logo:hover {
  transform: scale(1.05);
}

/* UPDATED .logo-circle STYLE */
.logo-circle {
  height: 55px; /* Maintain vertical size */
  width: auto;  /* Adjust width to keep aspect ratio */
  border: none; /* Remove border */
  background: transparent; /* Remove background */
}

.logo-text {
  color: var(--dark-brown);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}

.nav-menu {
  display: flex;
  gap: 35px;
  align-items: center;
  list-style: none;
}
.nav-menu li a {
  color: var(--dark-brown);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .3s;
  position: relative;
  padding: 5px 0;
}
.nav-menu li a:hover {
  color: var(--accent-gold);
}
.nav-menu li a.active {
  color: var(--accent-gold);
}
.nav-menu li a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-gold), var(--accent-gold));
  transition: width .3s;
}
.nav-menu li a:hover::before,
.nav-menu li a.active::before {
  width: 100%;
}
.search-icon {
  color: var(--dark-brown);
  font-size: 20px;
  cursor: pointer;
  transition: all .3s;
  padding: 10px;
  border-radius: 50%;
}
.search-icon:hover {
  color: var(--accent-gold);
  background: rgba(212, 158, 141, 0.1);
  transform: scale(1.1);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 10px;
  z-index: 1001;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--dark-brown);
  border-radius: 3px;
  transition: all .25s; /* PERBAIKAN: Dipercepat agar serasi */
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, rgba(245, 227, 227, 0.6), rgba(210, 180, 140, 0.5) 50%, rgba(229, 220, 203, 0.6));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(212, 158, 141, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(245, 227, 227, 0.15) 0%, transparent 40%);
  animation: particleFloat 15s ease-in-out infinite alternate;
}
@keyframes particleFloat {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-20px, -30px) scale(1.1);
    opacity: 0.5;
  }
  100% {
    transform: translate(20px, 30px) scale(1);
    opacity: 0.3;
  }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: auto;
}
.hero-subtitle {
  color: var(--primary-gold);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}
.hero-title {
  color: var(--dark-brown);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
}
.hero-title span {
  background: linear-gradient(135deg, var(--accent-gold), var(--light-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-description {
  font-size: 18px;
  color: var(--dark-brown);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}
.cta-button {
  background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
  color: var(--dark-brown);
  padding: 20px 50px;
  border: 2px solid var(--accent-gold);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 40px rgba(212, 158, 141, 0.3);
  position: relative;
  overflow: hidden;
}
.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left .5s;
}
.cta-button:hover::before {
  left: 100%;
}
.cta-button:hover {
  background: linear-gradient(135deg, var(--light-gold), var(--accent-gold));
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 50px rgba(212, 158, 141, 0.5);
}
.cta-button::after {
  content: "→";
  font-size: 20px;
  transition: transform .3s;
}
.cta-button:hover::after {
  transform: translateX(8px);
}
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--primary-gold);
  font-size: 30px;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity .3s;
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-15px);
  }
  60% {
    transform: translateX(-50%) translateY(-7px);
  }
}

/* Sections */
section {
  padding: 100px 50px;
  position: relative;
  background: var(--light-cream); /* White Smoke */
}

/* Remove top padding from the first section after a header */
header + section {
  padding-top: 0;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--dark-brown);
}
.section-title span {
  background: linear-gradient(135deg, var(--accent-gold), var(--light-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  text-align: center;
  color: var(--primary-gold);
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* About */
.about-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text h3 {
  font-size: 28px;
  color: var(--primary-gold);
  margin: 30px 0 20px;
}
.about-text h3:first-child {
  margin-top: 0;
}
.about-text p,
.about-text ul {
  font-size: 17px;
  line-height: 1.8;
  color: var(--dark-brown);
  margin-bottom: 20px;
}
.about-text ul {
  list-style: none;
  padding-left: 0;
}
.about-text ul li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 15px;
}
.about-text ul li::before {
  content: "✨";
  position: absolute;
  left: 0;
  color: var(--primary-gold);
}
.about-stats {
  background: linear-gradient(135deg, var(--cream-beige), var(--primary-gold));
  padding: 40px;
  border-radius: 20px;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 10px 40px rgba(212, 158, 141, 0.2);
}
.stat-item {
  margin-bottom: 30px;
}
.stat-item:last-child {
  margin-bottom: 0;
}
.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 10px;
}
.stat-label {
  font-size: 16px;
  color: var(--dark-brown);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Export countries + map (about) */
.countries-grid {
  max-width: 1000px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}
.country-item {
  background: linear-gradient(135deg, var(--white), var(--cream-beige));
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  border: 2px solid var(--light-gold);
  transition: all .3s;
  box-shadow: 0 5px 20px rgba(107, 79, 79, 0.1);
}
.country-item:hover {
  background: linear-gradient(135deg, var(--cream-beige), var(--primary-gold));
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(107, 79, 79, 0.2);
  border-color: var(--accent-gold);
}
.countries-map {
  width: 100%;
  margin-top: 30px;
  background: linear-gradient(135deg, var(--white), var(--cream-beige));
  border: 2px solid var(--light-gold);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 40px rgba(107, 79, 79, 0.15);
}
#export-map {
  width: 100%;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

/* Products */
.products-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}
.product-card {
  background: linear-gradient(135deg, var(--white), var(--cream-beige));
  border-radius: 20px;
  overflow: hidden;
  transition: all .4s;
  border: 2px solid var(--light-gold);
  box-shadow: 0 10px 40px rgba(107, 79, 79, 0.15);
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(107, 79, 79, 0.25);
  border-color: var(--accent-gold);
}
.product-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--light-gold), var(--primary-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  overflow: hidden;
  position: relative;
}
.product-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="50" cy="50" r="30" fill="%23C58A7A" opacity="0.1"/><circle cx="150" cy="100" r="40" fill="%23C58A7A" opacity="0.05"/><circle cx="100" cy="150" r="25" fill="%23C58A7A" opacity="0.1"/></svg>');
  background-size: cover;
}
.product-info {
  padding: 30px;
}
.product-info h3 {
  font-size: 26px;
  color: var(--dark-brown);
  margin-bottom: 15px;
  font-weight: 700;
}
.product-info p {
  color: var(--dark-brown);
  line-height: 1.6;
  margin-bottom: 20px;
}
.specs-list {
  list-style: none;
  padding: 0;
}
.specs-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(212, 158, 141, 0.2);
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}
.specs-list li:last-child {
  border-bottom: none;
}
.spec-label {
  color: var(--primary-gold);
  font-weight: 600;
}

/* Gallery */
.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(107, 79, 79, 0.2);
  cursor: pointer;
  aspect-ratio: 1;
  border: 2px solid var(--cream-beige);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(197, 138, 122, 0.8), rgba(232, 195, 185, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay span {
  color: white;
  font-size: 40px;
}

/* Info cards */
.info-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.info-card {
  background: linear-gradient(135deg, var(--white), var(--cream-beige));
  padding: 40px;
  border-radius: 20px;
  border: 2px solid var(--light-gold);
  box-shadow: 0 10px 40px rgba(107, 79, 79, 0.15);
}
.info-card h3 {
  font-size: 28px;
  color: var(--primary-gold);
  margin-bottom: 20px;
}
.info-card p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--dark-brown);
  margin-bottom: 15px;
}

/* Contact */
.contact-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}
.contact-card {
  background: linear-gradient(135deg, var(--white), var(--cream-beige));
  padding: 40px;
  border-radius: 20px;
  border: 2px solid var(--light-gold);
  text-align: center;
  transition: all .3s;
  box-shadow: 0 10px 40px rgba(107, 79, 79, 0.15);
}
.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(107, 79, 79, 0.25);
  border-color: var(--accent-gold);
}
.contact-icon {
  font-size: 60px;
  color: var(--primary-gold);
  margin-bottom: 20px;
}
.contact-card h3 {
  color: var(--primary-gold);
  margin-bottom: 15px;
}
.contact-card a {
  color: var(--dark-brown);
  text-decoration: none;
  transition: color .3s;
}
.contact-card a:hover {
  color: var(--primary-gold);
}

/* Footer */
footer {
  background: var(--cream-beige); /* Dust Storm */
  padding: 40px 50px;
  text-align: center;
  border-top: 1px solid var(--primary-gold);
}
footer p {
  color: var(--dark-brown);
  font-size: 14px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 15px 20px;
  }
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.98), rgba(229, 220, 203, 0.98));
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 25px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.25s cubic-bezier(0.4, 0, 0.2, 1); /* PERBAIKAN: Animasi dipercepat */
    z-index: 999;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-menu li a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(212, 158, 141, 0.2);
  }
  .search-icon {
    display: none;
  }
  .hero-title {
    font-size: 40px;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 60px 20px;
  }
  .section-title {
    font-size: 36px;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }
  .hero-description {
    font-size: 16px;
  }
  .nav-menu {
    width: 80%;
  }
}

