/* === RESET & GLOBAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body { color: #333; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================
   NAVBAR
========================================= */
header {
  background: #0f2d59; /* Biru tua */
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-img {
  height: 50px;
  width: auto;
  border-radius: 4px;
}
.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
}
.logo-text span {
  color: #f8c444; /* Kuning emas */
}

/* Menu */
.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #f8c444;
}

/* Menu aktif */
.nav-links a.active {
  color: #f8c444;
}

/* =========================================
   MAIN
========================================= */
main {
  min-height: calc(100vh - 160px);
  padding: 2rem 0;
}

/* =========================================
   SLIDER
========================================= */
.slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.slider-dot.active {
  background: #ff4444;
  width: 14px;
  height: 14px;
}

/* Text inside slider */
.slide-content {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  padding: 20px 30px;
  border-radius: 10px;
  color: white;
  text-align: center;
  z-index: 5;
}
.slide-content h2 {
  font-size: 2rem;
}

/* =========================================
   PRODUK
========================================= */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-top: 3rem;
  color: #1a3a6c;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.product-card h3 {
  color: #1a3a6c;
  margin-bottom: 0.5rem;
}

/* =========================================
   FOOTER
========================================= */
footer {
  background: #112240;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

/* =========================================
   WHATSAPP FLOAT BUTTON
========================================= */
.live-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 999;
}

.live-chat:hover {
  background: #128C7E;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 768px) {
  .slider {
    height: 300px;
  }
  .slide-content h2 {
    font-size: 1.5rem;
  }
}
