/* Global Styles */
:root {
  --primary: #d35400;
  /* Warna Orange sesuai screenshot */
  --bg: #f9f9f9;
  --card-bg: #ffffff;
  --text: #333333;
  --muted: #666666;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--card-bg);
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  margin: 0;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: bold;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  margin-left: 20px;
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 40px 20px;
  margin-top: 20px;
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.hero h2 {
  margin: 10px 0;
  font-size: 1.8rem;
}

.hero p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 20px auto;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.btn:hover {
  background: #e65e00;
}

/* Features */
.features {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

.features article {
  flex: 1;
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.features h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.features p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.product-card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.product-card h4 {
  margin: 10px 0 5px 0;
  font-size: 1rem;
}

.product-card .price {
  color: var(--primary);
  font-weight: bold;
  font-size: 1.1rem;
  margin: 5px 0;
}

.product-card .desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 15px;
  min-height: 40px;
  /* Ensure alignment */
}

.product-card .btn {
  width: 100%;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 30px 0;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .features {
    flex-direction: column;
  }
}

/* Filters Container for Menu Page */
.filters {
  display: flex;
  gap: 15px;
  /* Jarak antar tombol */
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* Mobile Navigation Toggle (Hamburger) */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 5px;
}

@media (max-width: 768px) {
  .site-header .container {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 15px;
    border-top: 1px solid #eee;
  }

  .main-nav.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }

  .main-nav a {
    margin: 0;
    padding: 15px;
    border-bottom: 1px solid #f9f9f9;
    width: 100%;
    display: block;
    text-align: center;
    background: #fff;
    color: var(--text);
  }

  .main-nav a:hover {
    background-color: #fcefe8;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}