:root {
  --primary-red: #dc2626;
  --primary-green: #16a34a;
  --accent-orange: #ea580c;
  --wood-brown: #92400e;
  --cream-white: #fef7ed;
  --dark-text: #1f2937;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  overflow-x: hidden;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/hero.jpg");
  color: white;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 50px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}
.img-hero-logo {
  height: 350px;
}
/* Floating Elements Animation */
.floating-chili {
  position: absolute;
  font-size: 3rem;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-chili:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-chili:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-chili:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Buttons */
.btn-primary-custom {
  background: var(--primary-red);
  border: none;
  padding: 15px 30px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  color: #e5e7eb;
}

.btn-primary-custom:hover {
  background: #ee4d2d;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(238, 77, 45, 0.4);
}

.btn-shopee {
  background: #ee4d2d;
  border: none;
  color: white;
  padding: 12px 25px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-shopee:hover {
  background: #d63917;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(238, 77, 45, 0.4);
}

/* Section Styling */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--dark-text);
  position: relative;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Product Cards */
.product-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  height: 100%;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.product-card.red {
  border-color: var(--primary-red);
}

.product-card.red:hover {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.product-card.green {
  border-color: var(--primary-green);
}

.product-card.green:hover {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.product-card.coming-soon {
  border-color: var(--wood-brown);
  opacity: 0.8;
}

.product-card.coming-soon:hover {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}
.img-produk {
  width: 200px;
  border-radius: 15px;
}

.product-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-top: 1rem;
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(10deg);
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--cream-white);
  border-radius: 15px;
  padding: 30px;
  margin: 15px;
  border-left: 5px solid var(--primary-red);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Gallery */
.gallery-img {
  border-radius: 15px;
  transition: all 0.4s ease;
  cursor: pointer;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Form Styling */
.form-section {
  background: var(--cream-white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
  border-radius: 10px;
  padding: 12px 15px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.25);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 15px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: white;
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* FAQ Accordion */
.accordion-button {
  background: var(--cream-white);
  color: var(--dark-text);
  font-weight: 600;
  border-radius: 10px !important;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-red);
  color: white;
}

.accordion-body {
  background: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-padding {
    padding: 50px 0;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }

  .floating-chili {
    display: none;
  }
  .img-produk {
    width: 200px;
    border-radius: 15px;
  }
}

/* Loading Animation */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
