:root {
  --primary: #CC0000;
  --primary-dark: #8B0000;
  --primary-light: #FFF5F5;
  --accent: #FF4444;
  --hover: #AA0000;
  --text-on-primary: #FFFFFF;
  --text-dark: #333333;
  --text-muted: #666666;
  --border: #E0E0E0;
  --bg-light: #FFF8F8;
  --shadow: 0 2px 15px rgba(204,0,0,0.1);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ============ NAVBAR ============ */
.navbar-mazzoni {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  padding: 0.6rem 0;
}
.navbar-mazzoni .navbar-brand {
  color: var(--text-on-primary) !important;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 1px;
}
.navbar-mazzoni .navbar-brand span {
  color: #FFD700;
}
.navbar-mazzoni .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  padding: 0.6rem 1rem !important;
  transition: all 0.3s;
  border-radius: 5px;
  font-size: 1.05rem;
}
.navbar-mazzoni .nav-link:hover,
.navbar-mazzoni .nav-link.active {
  background: rgba(255,255,255,0.15);
  color: #fff !important;
}
.navbar-mazzoni .navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}
.navbar-mazzoni .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
  border-top: 3px solid var(--primary);
  box-shadow: var(--shadow);
}
.dropdown-item:active {
  background: var(--primary);
}

/* ============ HERO SLIDER ============ */
/* Rekomendasi ukuran gambar: 1920x800 pixels (rasio 2.4:1) */
.hero-slider .carousel-item img {
  width: 100%;
  height: auto;
}
.hero-slider .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
}

/* ============ BUTTONS ============ */
.btn-mazzoni {
  background: var(--primary);
  color: var(--text-on-primary);
  border: none;
  padding: 10px 28px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s;
}
.btn-mazzoni:hover {
  background: var(--hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(204,0,0,0.3);
}
.btn-outline-mazzoni {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 28px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s;
}
.btn-outline-mazzoni:hover {
  background: var(--primary);
  color: #fff;
}

/* ============ SECTION TITLE ============ */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
}
.section-title p {
  color: var(--text-muted);
  margin-top: 10px;
}

/* ============ FEATURES / SECTIONS ============ */
.bg-mazzoni-light {
  background: var(--bg-light);
}
.bg-mazzoni-dark {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--text-on-primary);
}

/* ============ PRODUCT CARDS ============ */
.product-card, .recipe-card, .article-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  margin-bottom: 30px;
  background: #fff;
}
.product-card:hover, .recipe-card:hover, .article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(204,0,0,0.15);
}
.product-card .card-img-top, .recipe-card .card-img-top, .article-card .card-img-top {
  height: 220px;
  object-fit: cover;
}
.product-card .card-body, .recipe-card .card-body, .article-card .card-body {
  padding: 1.2rem;
}
.product-card .card-title, .recipe-card .card-title, .article-card .card-title {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.1rem;
}
.product-card .category-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ============ CATEGORY FILTER ============ */
.category-filter .btn {
  border-radius: 25px;
  margin: 3px;
  padding: 6px 18px;
  font-size: 0.9rem;
}
.category-filter .btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ============ JOB CARDS ============ */
.job-card {
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s;
}
.job-card:hover {
  box-shadow: var(--shadow);
}
.job-card .job-type {
  background: var(--primary-light);
  color: var(--primary);
  padding: 3px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ============ FOOTER ============ */
.footer-mazzoni {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #4A0000 100%);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 0 1.5rem;
}
.footer-mazzoni h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.footer-mazzoni a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: all 0.3s;
}
.footer-mazzoni a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-mazzoni .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  margin-right: 10px;
  transition: all 0.3s;
  font-size: 1.2rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}
.footer-mazzoni .social-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: scale(0);
  border-radius: 50%;
  transition: transform 0.3s;
}
.footer-mazzoni .social-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  text-decoration: none;
}
.footer-mazzoni .social-icon:hover::before {
  transform: scale(1);
}
.footer-mazzoni .social-icon .fab { position: relative; z-index: 1; }
.social-icon-facebook { background: #1877F2; }
.social-icon-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon-twitter { background: #1DA1F2; }
.social-icon-youtube { background: #FF0000; }
.social-icon-facebook:hover { background: #0d6efd; }
.social-icon-instagram:hover { background: linear-gradient(45deg, #e8892e, #d85d34, #c9233d, #b81f5a, #a8157a); }
.social-icon-twitter:hover { background: #0d8bd4; }
.social-icon-youtube:hover { background: #cc0000; }
.footer-mazzoni .store-icon {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  margin: 3px;
  transition: all 0.3s;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-mazzoni .store-icon:hover {
  background: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}
.footer-mazzoni .copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.2rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

/* ============ ABOUT PAGE ============ */
.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}
.about-content {
  padding: 3rem 0;
}
.about-content h3 {
  color: var(--primary);
  font-weight: 700;
  margin-top: 2rem;
}

/* ============ CONTACT ============ */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info-item .icon {
  width: 45px;
  height: 45px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  font-size: 1.1rem;
}

/* ============ BREADCRUMB ============ */
.breadcrumb-area {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}
.breadcrumb-area h1 {
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.breadcrumb-area .breadcrumb {
  background: transparent;
  justify-content: center;
}
.breadcrumb-area .breadcrumb-item,
.breadcrumb-area .breadcrumb-item a {
  color: rgba(255,255,255,0.8);
}
.breadcrumb-area .breadcrumb-item.active {
  color: #fff;
}
.breadcrumb-area .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.5);
}

/* ============ RECIPE DETAIL ============ */
.recipe-ingredients {
  background: var(--primary-light);
  border-radius: 12px;
  padding: 2rem;
  border-left: 4px solid var(--primary);
}
.recipe-steps {
  counter-reset: step;
}
.recipe-steps li {
  list-style: none;
  position: relative;
  padding-left: 40px;
  margin-bottom: 1rem;
  line-height: 1.8;
}
.recipe-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

/* ============ WHATSAPP FLOATING BUTTON ============ */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover {
  background: #128C7E;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  
  .hero-slider .carousel-caption h1 { font-size: 1.8rem; }
  .hero-slider .carousel-caption p { font-size: 1rem; }
  .section-title h2 { font-size: 1.5rem; }
}

/* ============ VIDEO WRAPPER ============ */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ============ SEARCH BAR ============ */
.search-bar {
  max-width: 500px;
  margin: 0 auto 2rem;
}
.search-bar .input-group {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.search-bar .form-control {
  border: 1px solid var(--border);
  border-right: none;
  padding: 0.7rem 1.2rem;
}
.search-bar .btn {
  border-radius: 0;
  padding: 0.7rem 1.5rem;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
}
.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 60px;
}
.timeline-year {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 6px 16px;
  border-radius: 20px;
  min-width: 70px;
  text-align: center;
  z-index: 2;
}
.timeline-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.timeline-content h4 {
  color: var(--primary);
  margin-bottom: 5px;
}

/* ===== WHY CONTENT ===== */
.why-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  line-height: 1.8;
}
.why-content h2, .why-content h3, .why-content h4 {
  color: var(--primary);
  margin-top: 20px;
}
.why-content ul, .why-content ol {
  padding-left: 20px;
  margin-bottom: 15px;
}
.why-content li {
  margin-bottom: 8px;
}
.why-content p {
  margin-bottom: 12px;
}

/* ===== WHY CHOOSE CARDS ===== */
.why-card {
  background: #fff;
  border-radius: 10px;
  height: 100%;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.why-card:hover {
  transform: translateY(-5px);
}

/* ===== CERTIFICATION CARDS ===== */
.cert-card {
  background: #fff;
  border-radius: 10px;
  height: 100%;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.cert-card:hover {
  transform: translateY(-5px);
}

/* ===== PARTNER LOGO GRID ===== */
.partner-item {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.partner-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}
.partner-logo {
  max-height: 75px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(0%);
  transition: filter 0.3s;
}
@media (max-width: 576px) {
  .partner-item { height: 90px; padding: 15px 10px; }
  .partner-logo { max-height: 50px; }
}

/* ===== TESTIMONI CARDS ===== */
.testimoni-card {
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.testimoni-card:hover {
  transform: translateY(-5px);
}
.testimoni-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

/* ===== MARKETPLACE ICONS ===== */
.marketplace-icon {
  display: inline-block;
  color: var(--text-dark);
  text-decoration: none;
  transition: transform 0.3s, color 0.3s;
}
.marketplace-icon:hover {
  transform: scale(1.15);
  color: var(--primary);
  text-decoration: none;
}

/* ===== CONTACT SOCIAL ===== */
.contact-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  color: #fff !important;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  text-decoration: none !important;
}
.contact-social i { font-size: 1.1rem; }
.contact-social:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  color: #fff !important;
  text-decoration: none !important;
}
.contact-social.social-icon-facebook { background: #1877F2; }
.contact-social.social-icon-facebook:hover { background: #0d6efd; }
.contact-social.social-icon-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.contact-social.social-icon-instagram:hover { background: linear-gradient(45deg, #e8892e, #d85d34, #c9233d, #b81f5a, #a8157a); }
.contact-social.social-icon-twitter { background: #1DA1F2; }
.contact-social.social-icon-twitter:hover { background: #0d8bd4; }
.contact-social.social-icon-youtube { background: #FF0000; }
.contact-social.social-icon-youtube:hover { background: #cc0000; }

/* ===== CERTIFICATION / LISENSI ===== */
.cert-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px 15px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cert-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
