:root {
  --primary: #003366;    /* Biru dongker */
  --accent: #ff9933;     /* Oranye aksen */
  --light: #f9f9f9;      /* Latar terang */
  --text: #333333;       /* Warna teks utama */
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: var(--light);
  color: var(--text);
}

/* Typography */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
}
h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.3rem; }

p, li, a, label, input, textarea, button {
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive Typography */
html { font-size: 16px; }
@media (max-width: 768px) { html { font-size: 15px; } }
@media (max-width: 480px) { html { font-size: 14px; } }

/* Header */
header {
  background: var(--primary);
  color: white;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo img {
  width: 40px;
}
nav a {
  color: white;
  margin-left: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}
.nav-toggle {
  display: none;
  background: none;
  font-size: 1.8rem;
  color: white;
  border: none;
  cursor: pointer;
}
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 1rem;
    z-index: 999;
  }
  nav.show { display: flex; }
  .nav-toggle { display: block; }
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.3)), url('/images/hero 2.png') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  min-height: 90vh; /* Tambahkan ini */
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  font-size: 3rem;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.75);
}
.hero p {
  font-size: 1.2rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}
.cta {
  margin-top: 1.5rem;
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}
.cta:hover { opacity: 0.9; }

/* Section Wrapper */
.section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: auto;
}
.section-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
}

/* Grid untuk proses pembuatan */
.proses-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* Card untuk proses */
.proses-card {
  width: 260px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background-color: white;
  transition: transform 0.3s ease;
  text-align: center;
}
.proses-card:hover {
  transform: translateY(-5px);
}
.proses-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.proses-title {
  background-color: var(--accent);
  color: var(--primary); /* Warna biru dongker */
  font-weight: bold;
  padding: 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* Mobile Responsive Grid */
@media (max-width: 768px) {
  .proses-card {
    width: 75%;
  }
}
@media (max-width: 480px) {
  .proses-card {
    width: 90%;
  }
  .proses-img {
    height: 160px;
  }
}

/* Misi list */
.misi-list {
  padding-left: 1.2rem;
  list-style: none;
}
.misi-list li::before {
  content: '✔ ';
  color: var(--accent);
  margin-right: 0.4rem;
}

/* Why section */
.why {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}
.why-item {
  flex: 1 1 250px;
  background: white;
  padding: 1.5rem;
  border-left: 5px solid var(--accent);
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Form */
form input,
form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Footer */
footer {
  background: var(--primary);
  color: #eee;
  text-align: center;
  padding: 1.25rem;
  font-size: 0.9rem;
}
.proses-desc {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
}
@media (max-width: 480px) {
  .proses-desc {
    font-size: 0.9rem;
  }
}

/* ==== Produk Section ==== */
.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-items: center;
}

.produk-card {
  background-color: white;
  border: 5px solid var(--accent); /* Oranye stroke */
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  max-width: 260px;
}

.produk-card:hover {
  transform: translateY(-5px);
}

.produk-img {
  height: 350px; /* Sebelumnya 150px */
  object-fit: contain;
  margin-bottom: 1rem;
}
.produk-img:hover {
  transform: scale(1.05);
  transition: 0.3s;
  border-color: #8B0000; /* stroke berubah saat hover */
}


/* Responsive */
@media (max-width: 480px) {
  .produk-img {
    height: 120px;
  }
}

/* === Toggle Resep Detail === */
/* ==== RESEP SECTION ==== */
.resep-section {
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 80px;
}

.resep-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.resep-card {
  width: 360px;
  min-height: 500px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: 0.3s;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resep-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.resep-card h3 {
  margin: 15px 0 5px;
}

.resep-card p {
  padding: 0 15px;
  font-size: 14px;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background: var(--accent);
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

.btn-back {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent);
  cursor: pointer;
  font-weight: bold;
}

.detail-resep {
  display: none;
  margin-top: 30px;
}

.detail-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.detail-img {
  width: 300px;
  border-radius: 10px;
}

.detail-text {
  max-width: 600px;
  text-align: left;
}

.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .detail-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .detail-text {
    text-align: center;
  }
}

/* ==================== Blog Section ==================== */
/* ================== BLOG SECTION ================== */
/* Komentar ini penting: CSS khusus halaman blog. Pastikan tidak menimpa resep */

.blog-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.blog-section h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #002855;
  font-weight: 700;
}

.blog-section p {
  color: #555;
  margin-bottom: 40px;
}

.blog-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 24px;
  max-width: 320px;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card h3 {
  font-size: 1.1rem;
  color: #002855;
  font-weight: 700;
  margin-bottom: 12px;
}

.blog-card p {
  font-size: 0.95rem;
  color: #333;
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.detail-blog {
  display: none;
  margin-top: 40px;
  padding: 20px;
  background-color: white;
  border-radius: 12px;
  text-align: justify;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.detail-blog img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
  object-fit: cover;
}

.detail-blog h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #002855;
  font-weight: 700;
}

.detail-blog p {
  margin-bottom: 16px;
  color: #333;
}

.hidden {
  display: none !important;
}
.kontak-box {
  background-color: #fff;
  border: 2px dashed #f7941e;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  max-width: 500px;
}

.alert-kontak {
  background-color: #e6ffed;
  color: #10723f;
  border-left: 5px solid #28a745;
  padding: 16px;
  margin-bottom: 24px;
  border-radius: 6px;
}

form label {
  display: block;
  margin-top: 16px;
  font-weight: bold;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 4px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

form button.cta {
  margin-top: 20px;
  padding: 10px 24px;
  background-color: #f7941e;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

form button.cta:hover {
  background-color: #e9830c;
}

.maps-box {
  margin-top: 32px;
  border: 2px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  max-width: 600px;
}
