


/* Produk Page Styles */

.produk-page {
  min-height: 100vh;
  background: #f5f7fa;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 400px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/assets/images/hero/toyota-logo-black.png') center/contain no-repeat;
  opacity: 0.05;
}

.hero-content {
  position: relative;
  text-align: center;
  color: white;
  z-index: 1;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.3rem;
  color: #e0e0e0;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Filter Section */
.filter-section {
  background: white;
  padding: 2rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 64px;
  z-index: 40;
}

.filter-wrapper {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  color: #666;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: #eb0a1e;
  color: #eb0a1e;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #eb0a1e;
  border-color: #eb0a1e;
  color: white;
}

.filter-btn svg {
  width: 20px;
  height: 20px;
}

.filter-result {
  text-align: center;
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
}

.filter-result span {
  color: #eb0a1e;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Products Section */
.products-section {
  padding: 3rem 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.badge-terlaris {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #eb0a1e;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(235, 10, 30, 0.3);
}

.product-image-link {
  display: block;
  overflow: hidden;
  background: #f9fafb;
}

.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #eb0a1e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-spec {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #eb0a1e;
  margin-bottom: 1.5rem;
}

.product-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: auto;
}

.btn-detail,
.btn-promo {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.btn-detail svg,
.btn-promo svg {
  width: 16px;
  height: 16px;
  margin-right: 0.3rem;
}

.btn-detail {
  background: white;
  border: 2px solid #eb0a1e;
  color: #eb0a1e;
}

.btn-detail:hover {
  background: #eb0a1e;
  color: white;
}

.btn-promo {
  background: #25d366;
  color: white;
  border: 2px solid #25d366;
}

.btn-promo:hover {
  background: #20ba5a;
  border-color: #20ba5a;
}

/* Tips Section */
.tips-section {
  background: white;
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.tip-card {
  background: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.tip-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #e5e7eb;
}

.tip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tip-card:hover .tip-image img {
  transform: scale(1.05);
}

.tip-content {
  padding: 1.5rem;
}

.tip-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.tip-content p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tip-link {
  display: inline-block;
  color: #eb0a1e;
  font-weight: 600;
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 4rem 0;
}

.cta-section .container {
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  color: #e0e0e0;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #25d366;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(37, 211, 102, 0.4);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .filter-section {
    top: 0;
  }

  .filter-wrapper {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .filter-btn svg {
    width: 16px;
    height: 16px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .cta-section p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 300px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .filter-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }

  .product-info {
    padding: 1rem;
  }

  .product-name {
    font-size: 1.1rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .btn-detail,
  .btn-promo {
    width: 100%;
  }
}
