/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f8f1e9;
  color: #2b2b2b;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  max-width: 80px;
  height: auto;
}

.logo h1 {
  color: #1e7d32;
  font-size: 30px;
  font-weight: 700;
}

.navbar {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #1e7d32;
  font-weight: 500;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background-color: #c8facc;
  color: #1e7d32;
}

.nav-links .btn-store {
  background-color: #d4a017;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-links .btn-store:hover {
  background-color: #b88b14;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #1e7d32;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-links.active a {
  display: block;
  text-align: center;
  padding: 12px 0;
}

.nav-links.active .btn-store {
  width: 100%;
  margin-top: 10px;
  padding: 12px 0;
}

/* Beranda Section */
.beranda {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 125, 50, 0.9), rgba(43, 79, 43, 0.9)), url('logo/clover-logo.png') no-repeat center center;
  background-size: 50%, cover;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.beranda-container {
  max-width: 1400px;
  padding: 50px;
  z-index: 1;
}

.beranda-text h2 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 25px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.beranda-text p {
  font-size: 22px;
  margin-bottom: 50px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.btn-beranda {
  display: inline-block;
  padding: 16px 35px;
  background-color: #d4a017;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 35px;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-beranda:hover {
  background-color: #b88b14;
  transform: translateY(-3px);
}

/* Product Section */
.products {
  padding: 100px 50px;
  text-align: center;
  background-color: #fff;
}

.products h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1e7d32;
  letter-spacing: 1px;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.categories button {
  padding: 12px 30px;
  border: none;
  background-color: #c8facc;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  border-radius: 35px;
  transition: all 0.3s ease;
}

.categories button:hover {
  background-color: #1e7d32;
  color: #fff;
}

.categories button.active {
  background-color: #1e7d32;
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.product-card {
  background: #fff;
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.product-card img {
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 15px;
  margin-bottom: 25px;
}

.product-card h3 {
  margin: 15px 0;
  font-size: 22px;
  font-weight: 600;
  color: #1e7d32;
}

.product-card p {
  font-size: 16px;
  color: #666;
}

.price-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
}

.price-discount {
  text-decoration: line-through;
  color: #999;
  font-weight: 500;
  font-size: 16px;
}

.price-new {
  color: #d4a017;
  font-weight: 700;
  font-size: 20px;
}

.chat-sales-btn {
  display: inline-block;
  padding: 14px 35px;
  background: linear-gradient(90deg, #1e7d32, #2b4f2b);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 35px;
  box-shadow: 0 5px 15px rgba(30, 125, 50, 0.3);
  transition: all 0.4s ease;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
}

.chat-sales-btn:hover {
  background: linear-gradient(90deg, #2b4f2b, #1e7d32);
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 8px 20px rgba(30, 125, 50, 0.4);
  color: #fff;
}

/* Call-to-Action Section */
.cta {
  padding: 80px 50px;
  background: linear-gradient(135deg, #d4a017, #b88b14);
  text-align: center;
  color: #fff;
}

.cta-container {
  max-width: 1400px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta p {
  font-size: 20px;
  margin-bottom: 40px;
  font-weight: 300;
}

.btn-cta {
  display: inline-block;
  padding: 16px 35px;
  background-color: #1e7d32;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 35px;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
  background-color: #2b4f2b;
  transform: translateY(-3px);
}

/* Tentang Kami Section */
.tentang-kami {
  background-color: #f8f1e9;
  padding: 100px 50px;
  text-align: center;
}

.tentang-kami-container {
  max-width: 1400px;
  margin: 0 auto;
}

.tentang-kami h2 {
  font-size: 40px;
  font-weight: 700;
  color: #1e7d32;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.tentang-kami p {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1e7d32, #2b4f2b);
  padding: 50px 50px 20px;
  color: #fff;
  text-align: center;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 50px;
}

.footer-logo img {
  max-width: 70px;
  margin-bottom: 15px;
}

.footer-logo h3 {
  font-size: 26px;
  font-weight: 700;
}

.footer-links, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links a, .footer-social a {
  color: #c8facc;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer-links a:hover, .footer-social a:hover {
  color: #d4a017;
}

footer p {
  font-size: 14px;
  margin-top: 30px;
}

/* Responsive Design */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  header {
    padding: 15px 30px;
  }

  .logo img {
    max-width: 60px;
  }

  .logo h1 {
    font-size: 26px;
  }

  .nav-links a {
    font-size: 15px;
    padding: 8px 15px;
  }

  .nav-links .btn-store {
    padding: 10px 20px;
  }

  .beranda {
    height: 80vh;
    background-size: 60%, cover;
  }

  .beranda-text h2 {
    font-size: 44px;
  }

  .beranda-text p {
    font-size: 20px;
  }

  .btn-beranda {
    padding: 14px 30px;
    font-size: 16px;
  }

  .products, .tentang-kami, .cta {
    padding: 80px 30px;
  }

  .products h2, .cta h2, .tentang-kami h2 {
    font-size: 36px;
  }

  .categories button {
    padding: 10px 25px;
    font-size: 15px;
  }

  .product-card {
    padding: 25px;
  }

  .product-card img {
    height: 180px;
  }

  .product-card h3 {
    font-size: 20px;
  }

  .price-discount, .price-new {
    font-size: 18px;
  }

  .chat-sales-btn {
    padding: 12px 30px;
    font-size: 15px;
  }

  .cta p {
    font-size: 18px;
  }

  .btn-cta {
    padding: 14px 30px;
    font-size: 16px;
  }

  .tentang-kami p {
    font-size: 16px;
  }

  .footer-container {
    gap: 30px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo img {
    max-width: 50px;
  }

  .logo h1 {
    font-size: 22px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 16px;
    padding: 12px 0;
    text-align: center;
  }

  .nav-links .btn-store {
    padding: 12px 0;
    width: 100%;
    margin-top: 10px;
  }

  .beranda {
    height: 70vh;
    background-size: 80%, cover;
  }

  .beranda-container {
    padding: 30px;
  }

  .beranda-text h2 {
    font-size: 36px;
  }

  .beranda-text p {
    font-size: 18px;
    margin-bottom: 40px;
  }

  .btn-beranda {
    padding: 12px 25px;
    font-size: 15px;
  }

  .products, .tentang-kami, .cta {
    padding: 60px 20px;
  }

  .products h2, .cta h2, .tentang-kami h2 {
    font-size: 32px;
  }

  .categories {
    gap: 15px;
  }

  .categories button {
    padding: 8px 20px;
    font-size: 14px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 10px;
  }

  .product-card {
    padding: 20px;
  }

  .product-card img {
    height: 160px;
  }

  .product-card h3 {
    font-size: 18px;
  }

  .price-discount {
    font-size: 14px;
  }

  .price-new {
    font-size: 16px;
  }

  .chat-sales-btn {
    padding: 10px 25px;
    font-size: 14px;
  }

  .cta p {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .btn-cta {
    padding: 12px 25px;
    font-size: 15px;
  }

  .tentang-kami p {
    font-size: 15px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-logo img {
    max-width: 60px;
  }

  .footer-logo h3 {
    font-size: 22px;
  }

  .footer-links a, .footer-social a {
    font-size: 15px;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  header {
    padding: 10px 15px;
  }

  .logo img {
    max-width: 40px;
  }

  .logo h1 {
    font-size: 20px;
  }

  .nav-links {
    padding: 15px;
  }

  .nav-links a {
    font-size: 14px;
    padding: 10px 0;
  }

  .nav-links .btn-store {
    padding: 10px 0;
  }

  .beranda {
    height: 60vh;
    background-size: 100%, cover;
  }

  .beranda-container {
    padding: 20px;
  }

  .beranda-text h2 {
    font-size: 28px;
  }

  .beranda-text p {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .btn-beranda {
    padding: 10px 20px;
    font-size: 14px;
  }

  .products, .tentang-kami, .cta {
    padding: 40px 15px;
  }

  .products h2, .cta h2, .tentang-kami h2 {
    font-size: 28px;
  }

  .categories {
    gap: 10px;
  }

  .categories button {
    padding: 6px 15px;
    font-size: 13px;
  }

  .product-card {
    padding: 15px;
  }

  .product-card img {
    height: 140px;
  }

  .product-card h3 {
    font-size: 16px;
  }

  .price-discount {
    font-size: 13px;
  }

  .price-new {
    font-size: 15px;
  }

  .chat-sales-btn {
    padding: 8px 20px;
    font-size: 13px;
  }

  .cta p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .btn-cta {
    padding: 10px 20px;
    font-size: 14px;
  }

  .tentang-kami p {
    font-size: 14px;
  }

  .footer-logo img {
    max-width: 50px;
  }

  .footer-logo h3 {
    font-size: 20px;
  }

  .footer-links a, .footer-social a {
    font-size: 14px;
  }

  footer {
    padding: 30px 15px 10px;
  }

  footer p {
    font-size: 12px;
  }
}