:root {
  /* Color System */
  --bg-cream: #FAF3E8;
  --primary-red: #C62828;
  --accent-orange: #F4A261;
  --accent-green: #6B8E23;
  --text-dark: #2B2B2B;
  --text-gray: #6D6D6D;
  --white: #FFFFFF;
  --font-main: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); background-color: var(--bg-cream); color: var(--text-dark); line-height: 1.6; }
a { text-decoration: none; color: var(--primary-red); transition: all 0.2s ease; }
a:hover { color: #a02020; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { color: var(--text-dark); font-weight: 800; line-height: 1.2; }
.text-gray { color: var(--text-gray); }
ul { list-style: none; }

/* Buttons */
.btn { display: inline-block; padding: 10px 24px; border-radius: 6px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; font-size: 0.95rem; text-align: center; }
.btn-primary { background-color: var(--primary-red); color: var(--white); }
.btn-primary:hover { background-color: #a02020; color: var(--white); }
.btn-outline { border: 1px solid var(--primary-red); color: var(--primary-red); background: transparent; }
.btn-outline:hover { background-color: rgba(198, 40, 40, 0.05); }
.btn-dark { background-color: #556B5C; color: var(--white); }
.btn-dark:hover { background-color: #3e5044; color: var(--white); }
.btn-full { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px;}
.btn-whatsapp { background-color: #25D366; color: white; }
.btn-whatsapp:hover { background-color: #1ea952; color: white; }
.btn-gofood { background-color: #E2142D; color: white; }
.btn-gofood:hover { background-color: #b31024; color: white; }
.btn-grabfood { background-color: #00B14F; color: white; }
.btn-grabfood:hover { background-color: #008a3d; color: white; }

/* Header & Nav */
header { background-color: var(--bg-cream); padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,0.05); position: relative; z-index: 100;}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--accent-green); display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--text-dark); }
.nav-wrapper { display: flex; align-items: center; gap: 40px; }
.nav-menu { display: flex; gap: 30px; }
.nav-menu a { color: var(--text-dark); font-weight: 500; font-size: 0.95rem; }
.nav-menu a:hover { color: var(--primary-red); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }

/* Hero Section */
.hero { padding: 80px 0; background-color: var(--bg-cream); overflow: hidden;}
.hero-container { display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; }
.hero-tag { font-size: 0.8rem; font-weight: 700; color: var(--accent-green); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; }
.hero h1 span { color: var(--accent-green); }
.hero p { color: var(--text-gray); margin-bottom: 30px; font-size: 1.1rem; }
.hero-actions { display: flex; gap: 15px; }
.hero-carousel-container { flex: 1; position: relative; width: 100%; height: 400px; border-radius: 12px; overflow: hidden;}
.hero-carousel { width: 100%; height: 100%; position: relative;}
.carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s ease-in-out; object-fit: cover; border-radius: 12px;}
.carousel-slide.active { opacity: 1; z-index: 1;}

/* Main Layout (Split Content & Sidebar) */
.main-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; padding: 60px 0; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 40px; position: sticky; top: 20px; }

/* Kenapa Memilih Kami */
.features-section { margin-bottom: 60px; }
.section-header { margin-bottom: 30px; }
.section-header h2 { font-size: 1.8rem; }
.section-header h2 span { color: var(--accent-green); }
.section-header p { color: var(--text-gray); font-size: 0.9rem; margin-top: 10px; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-card { display: flex; gap: 15px; padding: 20px; background: var(--white); border-radius: 8px; border: 1px solid rgba(0,0,0,0.05); }
.feature-icon { color: var(--accent-green); }
.feature-content h4 { font-size: 1rem; margin-bottom: 5px; }
.feature-content p { font-size: 0.85rem; color: var(--text-gray); margin: 0; }

/* Produk Kami */
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.product-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.03); display: flex; flex-direction: column; }
.product-img { width: 100%; height: 200px; background: #eee; object-fit: cover; }
.product-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.product-title { font-size: 1.1rem; margin-bottom: 5px; }
.product-meta { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; }
.product-price-label { font-size: 0.75rem; color: var(--text-gray); display: block; }
.product-price { font-size: 1.25rem; font-weight: 800; color: var(--text-dark); }
.btn-detail { font-size: 0.85rem; font-weight: 600; color: var(--accent-green); display: flex; align-items: center; gap: 5px; }
.btn-detail:hover { color: #556B5C; }

/* Sidebar Widgets */
.gofood-banner { background: #E2142D; border-radius: 12px; padding: 30px; color: white; text-align: center; box-shadow: 0 10px 20px rgba(226, 20, 45, 0.2); }
.gofood-banner h3 { color: white; margin-bottom: 10px; }
.gofood-banner p { color: rgba(255,255,255,0.9); font-size: 0.9rem; margin-bottom: 20px; }
.testimonial-widget h3 { font-size: 1.4rem; margin-bottom: 20px; }
.testimonial-img { width: 100%; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

/* Blog Section & Article */
.blog-section { padding: 60px 0; border-top: 1px solid rgba(0,0,0,0.05); }
.blog-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.blog-main .blog-img { width: 100%; height: 300px; border-radius: 12px; object-fit: cover; margin-bottom: 20px; }
.blog-title { font-size: 1.5rem; margin-bottom: 10px; }
.blog-meta { font-size: 0.85rem; color: var(--accent-green); font-weight: 600; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.blog-meta span { color: var(--text-gray); font-weight: 400; }
.blog-list { display: flex; flex-direction: column; gap: 20px; }
.blog-item { display: flex; gap: 15px; align-items: center; }
.blog-item img { width: 120px; height: 80px; border-radius: 8px; object-fit: cover; }
.blog-item-info h4 { font-size: 1rem; margin-bottom: 5px; line-height: 1.3; }

.article-body h2 { font-size: 1.8rem; margin: 30px 0 15px; color: var(--text-dark); }
.article-body h3 { font-size: 1.4rem; margin: 25px 0 10px; color: var(--text-dark); }
.article-body p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 20px; color: #444; }
.article-body ul { list-style: disc; margin-left: 20px; margin-bottom: 20px; font-size: 1.05rem; line-height: 1.8; color: #444; }
.article-body strong { color: var(--text-dark); }
.article-featured-img { width: 100%; height: auto; max-height: 500px; object-fit: cover; border-radius: 12px; margin-bottom: 30px; }
.article-title { font-size: 2.5rem; margin-bottom: 15px; line-height: 1.2; }

/* Product Landing Page Specifics */
.breadcrumb { margin: 20px 0; font-size: 0.85rem; color: var(--text-gray); }
.breadcrumb a { color: var(--text-dark); }
.breadcrumb a:hover { color: var(--primary-red); }
.product-detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; padding-bottom: 60px; align-items: start; }
.product-detail-title { font-size: 2.5rem; margin-bottom: 20px; }
.product-detail-carousel { position: relative; width: 100%; height: 450px; border-radius: 12px; overflow: hidden; margin-bottom: 30px;}
.product-carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.8); border: none; border-radius: 50%; width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; cursor: pointer; z-index: 10; box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: background 0.2s;}
.product-carousel-btn:hover { background: white; }
.btn-prev { left: 10px; }
.btn-next { right: 10px; }
.product-detail-desc { font-size: 1.05rem; margin-bottom: 30px; }
.product-detail-list h4 { margin-bottom: 15px; font-size: 1.2rem; }
.product-detail-list ul { list-style: disc; margin-left: 20px; margin-bottom: 30px; }
.product-detail-list ul li { margin-bottom: 8px; color: var(--text-dark); }
.addon-list { border-top: 1px solid rgba(0,0,0,0.05); padding-top: 20px; }
.addon-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed rgba(0,0,0,0.1); }
.addon-info { display: flex; flex-direction: column; }
.addon-name { font-weight: 500; }
.addon-price { color: var(--primary-red); font-weight: 700; font-size: 0.9rem; }
.addon-action input[type="checkbox"] { display: none; }
.addon-btn { border: 1px solid var(--accent-green); color: var(--accent-green); background: transparent; padding: 4px 12px; border-radius: 4px; cursor: pointer; font-size: 0.8rem; font-weight: 600; transition: all 0.2s;}
.addon-action input[type="checkbox"]:checked + .addon-btn { background: var(--accent-green); color: white; }

.order-box { background: var(--white); padding: 30px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); position: sticky; top: 20px;}
.order-box h3 { font-size: 1.5rem; margin-bottom: 5px; }
.order-box p { color: var(--text-gray); font-size: 0.85rem; margin-bottom: 20px; }
.order-price { font-size: 2rem; color: var(--text-dark); font-weight: 800; margin-bottom: 25px; }
.order-bullets { margin-top: 25px; }
.order-bullet-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.85rem; color: var(--text-gray); align-items: flex-start;}
.order-bullet-item svg { color: var(--accent-green); flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px;}

/* Footer */
footer { background-color: var(--white); padding: 60px 0 20px; border-top: 1px solid rgba(0,0,0,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 1.5rem; font-weight: 800; color: var(--accent-green); margin-bottom: 15px; display: inline-block; }
.footer-logo span { color: var(--text-dark); }
.footer-col p { color: var(--text-gray); font-size: 0.9rem; }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-gray); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary-red); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.05); font-size: 0.85rem; color: var(--text-gray); }

/* Responsive adjustments */
@media (max-width: 992px) {
  .main-layout, .product-detail-layout { grid-template-columns: 1fr; gap: 30px;}
  .sidebar, .order-box { position: static; }
  .hero-container { flex-direction: column; }
  .blog-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-wrapper { display: none; width: 100%; flex-direction: column; position: absolute; top: 100%; left: 0; background: var(--white); padding: 20px 30px; box-shadow: 0 10px 20px rgba(0,0,0,0.08); gap: 10px; z-index: 100;}
  .nav-wrapper.active { display: flex; }
  .nav-menu { flex-direction: column; width: 100%; gap: 0;}
  .nav-menu li { width: 100%; border-bottom: 1px solid rgba(0,0,0,0.05); padding: 15px 0;}
  .nav-menu li:last-child { border-bottom: none;}
  .nav-wrapper .btn { width: 100%; max-width: 250px; margin: 15px auto 0; text-align: center; justify-content: center;}
  .menu-toggle { display: block; }
}
@media (max-width: 768px) {
  .features-grid, .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.5rem; }
  .product-detail-title { font-size: 2rem; }
  .hero-carousel-container, .product-detail-carousel { height: 250px; }
  .blog-list-item { flex-direction: column; align-items: flex-start; }
  .blog-list-item img { width: 100%; height: 200px; }
}

/* Blog Specific Additions */
.blog-hero { position: relative; width: 100%; height: 400px; border-radius: 12px; overflow: hidden; margin-bottom: 50px; }
.blog-hero img { width: 100%; height: 100%; object-fit: cover; }
.blog-hero-overlay { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); padding: 40px; color: white; }
.blog-hero-title { font-size: 2.2rem; margin-bottom: 10px; color: white;}
.blog-hero-desc { font-size: 1rem; color: rgba(255,255,255,0.9); margin-bottom: 15px;}

.blog-list-item { display: flex; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.blog-list-item img { width: 220px; height: 140px; border-radius: 8px; object-fit: cover; }
.blog-list-info h3 { font-size: 1.25rem; margin-bottom: 8px; }
.blog-list-info p { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 10px;}

.sidebar-widget { background: var(--white); border-radius: 12px; padding: 25px; margin-bottom: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.sidebar-widget h3 { font-size: 1.2rem; margin-bottom: 20px; border-bottom: 2px solid var(--accent-green); display: inline-block; padding-bottom: 5px;}

.mini-product { display: flex; gap: 15px; margin-bottom: 15px; align-items: center;}
.mini-product img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }
.mini-product h4 { font-size: 0.95rem; margin-bottom: 3px; }
.mini-product span { font-size: 0.85rem; color: var(--accent-green); font-weight: 700; }

.popular-post { display: flex; gap: 15px; margin-bottom: 15px; align-items: center;}
.popular-num { background: #6B8E23; color: white; width: 35px; height: 35px; border-radius: 4px; display: flex; justify-content: center; align-items: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0;}
.popular-post h4 { font-size: 0.95rem; font-weight: 500;}
