@charset "utf-8";
/* CSS Document */
/* Reset default margin */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-image: url("image/bg.jpg");
}


/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

#cooking-header {
height: 40px; /* Reduce height */
padding: 10px 20px; /* Less padding top/bottom */
display: flex; /* Keep items aligned */
align-items: center; /* Vertically center items */
justify-content: space-between; /* Space between logo/menu */
background-color: #f28fb3; /* Or your preferred color */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Light shadow */
}

.gambar-logo {
max-height: 50px; /* Limit logo height */
width: auto; /* Keep proportions */
}

/* Header text (title) */
header h1 {
    font-size: 1.5rem; /* Reduce text size */
    margin: 0; /* Remove extra space */
    line-height: 1.2;
}

/* Navigation menu links */
header nav a {
    font-size: 0.95rem; /* Smaller font size for menu */
    padding: 5px 10px; /* Compact padding */
    color: #333;
    text-decoration: none;
}

/* Navigation hover effect */
header nav a:hover {
    color: #007bff; /* Change to your theme color */
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto; /* Let it adjust naturally */
        padding: 10px;
    }

    header img {
        max-height: 40px;
    }

    header nav {
        margin-top: 5px;
    }
}

#nav {
width:60%; /*minimize the width size of the navigation*/
margin:0 auto; /*centered width*/
text-align:center;
display:flex; /*used together with align-items t*/
align-items:center; /*put the text vertically align-must used together with
display:flex;*/
padding:0 1%;
}

a {
flex:1; /* Allow text to grow and take available space */
text-decoration: none;
color: #333;
padding:1%;
}

.here
{
flex:1;
color:#F36;
font-weight:bold;
padding:1%;
}

a:hover { color:white; }

/* Banner Section */
#banner {
  position: relative;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#banner-image {
  position: absolute;
  width: 1010;
  height: 100%;
  object-fit: cover;
}

#banner-content {
  position: relative;
  color: white;
  text-align: center;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#banner-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease forwards;
}

#banner-btn {
  background-color: #007bff;
  color: white;
  padding: 12px 24px;
  font-size: 18px;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

#banner-btn:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* Gallery Section */
#gallery {
  display: flex;
  justify-content: center;
  gap: 30px; /* slightly larger gap between items */
  padding: 50px 20px; /* more padding */
  flex-wrap: wrap;
}

.gallery-item {
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  padding: 15px; /* slightly bigger padding */
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img {
  width: 250px; /* bigger image */
  height: 250px; /* bigger image */
  object-fit: cover;
  border-radius: 10px;
}

.gallery-item:hover {
  transform: scale(1.08); /* slightly stronger hover effect */
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.gallery-item p {
  margin-top: 12px;
  font-weight: bold;
  color: #333;
  font-size: 18px; /* slightly bigger text */
}

/* Testimonial Section */
.testimonial-section {
  background-color: #ffe6e6;
  padding: 60px 20px;
  text-align: center;
}

.testimonial-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.testimonial-card {
  background:white;
  padding:20px;
  border-radius:12px;
  box-shadow:0 4px 15px rgba(0,0,0,0.1);
  width:250px;
}

.testimonial-name {
  margin-top: 10px;
  font-weight: bold;
  color: #ff4d6d;
}

/* CTA Section */
.cta-section {
  padding:50px 5%;
  text-align:center;
  background:#f8e1d4;
}

.cta-section h2 {
  font-size:2rem;
  margin-bottom:30px;
}

.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 15px 30px;
  background-color: #fff;
  color: #ff4d6d;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: background-color 0.3s, color 0.3s;
}

.cta-btn:hover {
  background-color: #ff1a4d;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  #gallery {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-container {
    flex-direction: column;
    align-items: center;
  }

.btn-admin-icon {
  font-size: 1.4rem;
  color: #333;
  padding: 6px;
  border-radius: 5px;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-admin-icon:hover {
  background-color: #ffe4ec;
  color: #ff69b4;
}
}

/* About Us Section */
.about {
  background-color: #faeff3;
  padding: 60px 20px;
}

.about-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 32px;
  color: #ff4d6d;
  margin-bottom: 20px;
}

.about-text h3 {
  font-size: 24px;
  color: #ff4d6d;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-text p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333;
}

.about-text ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.about-text ul li {
  margin-bottom: 8px;
  font-size: 16px;
  color: #444;
}

.highlight {
  color: #ff4d6d;
  font-weight: bold;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.about-image img:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  background-color: #f78da7;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    max-width: 80%;
    margin-top: 20px;
  }
}

  .page-title {
    text-align: center;
    margin-bottom: 20px;
    color: black;
  }
  
  .pages {
    max-width: 1200px;
    margin: auto;
  }
  
  .page {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .page.active {
    display: grid;
  }
  
  .product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 15px;
    text-align: center;
    transition: transform 0.3s;
  }
  
  .product-card:hover {
    transform: translateY(-5px);
  }
  
  .product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .product-card h2 {
    font-size: 1.2em;
    margin: 10px 0;
    color: #444;
  }
  
  .product-card p {
    font-size: 0.9em;
    color: #666;
  }
  
  .price {
    font-size: 1.1em;
    font-weight: bold;
    margin: 8px 0;
    color: #e53935;
  }
  
  .order-link {
    display: inline-block;
    background: #1e88e5;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
  }
  
  .order-link:hover {
    background: #1565c0;
  }
  
  .pagination {
    text-align: center;
    margin-top: 20px;
  }
  
  .pagination button {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    border-radius: 8px;
    background: #1e88e5;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .pagination button:hover {
    background: #1565c0;
  }
  

    /* WhatsApp button */
    .order-link {
      display: inline-block;
      margin: 10px 0 20px;
      padding: 10px 20px;
      background: #25d366; /* WhatsApp green */
      color: #fff;
      text-decoration: none;
      border-radius: 5px;
      font-weight: bold;
      transition: background 0.3s ease;
    }

    .order-link:hover {
      background: #1ebe57;
    }

 /* Main white box */
    .promo-section {
      max-width: 1100px;
      margin: 40px auto;
      background: #D6A99D;
      border-radius: 15px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.1);
      padding: 30px;
    }

    .promo-section h1 {
      text-align: center;
      font-size: 28px;
      color: #4a2c2a;
      margin-bottom: 30px;
    }

    /* Grid layout */
    .promo-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    /* Each promo card */
    .promo-card {
      background: #fff;
      border: 1px solid #eee;
      border-radius: 10px;
      box-shadow: 0 3px 8px rgba(0,0,0,0.05);
      overflow: hidden;
      text-align: center;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      padding-bottom: 20px;
    }

    .promo-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 15px rgba(0,0,0,0.12);
    }

    .promo-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-bottom: 1px solid #eee;
    }

    .promo-card h2 {
      font-size: 18px;
      margin: 12px 8px 5px;
      color: #4a2c2a;
    }

    .promo-card p {
      font-size: 14px;
      color: #666;
      padding: 0 10px;
      min-height: 40px;
    }

    /* Price styling */
    .price {
      font-size: 16px;
      font-weight: bold;
      color: #e63946;
      margin: 12px 0;
      background: #fff3f3;
      display: inline-block;
      padding: 6px 14px;
      border-radius: 8px;
    }

    /* WhatsApp button */
    .order-link {
      display: inline-block;
      margin-top: 8px;
      padding: 10px 18px;
      background: #25d366;
      color: #fff;
      text-decoration: none;
      border-radius: 6px;
      font-weight: bold;
      transition: background 0.3s ease;
    }

    .order-link:hover {
      background: #1ebe57;
    }

/* Header Section */
header {
  text-align: center;
  padding: 3rem 1rem;
  background: #f8e1d4;
}

header h1 {
  font-size: 2.5rem;
  color: #4b2e2e;
}

header p {
  font-size: 1.2rem;
  color: #6b4f4f;
  margin-top: 0.5rem;
}

/* Testimonials Grid */
.testimonial-container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.testimonial-name {
  font-weight: bold;
  color: #4b2e2e;
  font-size: 1.1rem;
}

.testimonial-location {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
}

.stars {
  color: #f5b50a;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
}
.cta-section {
  width: 100%;
  height: 50vh;
  display: flex;
  flex-direction: column;       /* stack vertikal */
  justify-content: center;      /* tengah secara vertikal */
  align-items: center;          /* tengah secara horizontal */
  text-align: center;
}

/* Jangan biar Flexbox stretch anak-anak */
.cta-section > * {
  flex: 0 0 auto;   /* ❌ penting: anak tidak stretch */
}

.cta-btn {
  display: inline-block;        /* pastikan saiz ikut content */
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  background-color: #ff6b6b;
  color: #fff;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  line-height: normal;          /* elak button tinggi berlebihan */
  text-align: center;
  min-width: 0;                 /* pastikan tidak stretch */
}

.cta-btn:hover {
  background-color: #ff4b4b;
  transform: scale(1.08);
}



header {
  text-align: center;
  padding: 2rem 1rem;
  background: #f8e1d4;
}

header h1 {
  font-size: 2.5rem;
  color: #4b2e2e;
}

header p {
  font-size: 1.1rem;
  color: #6b4f4f;
}

main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  text-align: center; /* ini buat teks dalam main align tengah */
}

h2 {
  text-align: center;
  font-size: 28px;
  color: #333;
  margin-bottom: 10px;
}

main > p {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

/* Reset supaya semua elemen ikut width parent */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Bagi flex anak duduk elok */
.map-container, .form-container {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

/* Elak form terkeluar */
form input, form textarea {
  width: 100%;
  max-width: 100%;  /* elak overflow */
  display: block;
}

.map-container, .form-container {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 8px;
}

.form-container h3 {
  margin-top: 0;
  color: #333;
}

form input, form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

form button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: #0056b3;
}

.contact-links {
  margin-top: 20px;
  font-size: 15px;
  color: #444;
}

.contact-links a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.contact-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}

.whatsapp-btn {
  display: inline-block;
  background-color: #25D366; /* warna hijau WhatsApp */
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
  margin-top: 20px;
}

.whatsapp-btn:hover {
  background-color: #1ebd5a;
}

/* Pusatkan butang */
.cta-whatsapp {
  text-align: center; /* ❗ ini kunci untuk butang berada di tengah */
  margin: 40px 0;
}

footer {
  background-color: black;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9em;
  color: white;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}