/* ===== PENGATURAN DASAR & FONT ===== */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&family=Playfair+Display:wght@700&display=swap");

:root {
  --primary-color: #e6a4b4; /* Pink lembut */
  --secondary-color: #f3d7ca; /* Peach muda */
  --logo-color: #c47a8d; /* Pink keunguan */
  --text-color: #5d4037; /* Coklat tua */
  --nav-link: #7b6868; /* Abu-coklat */
  --bg-color: #fff8f3; /* Krem sangat muda */
  --card-bg: #ffffff; /* Putih */
  --green: #5cb85c;
  --green-bg: #e6f7ec;
  --red: #d9534f;
  --red-bg: #fbe9e9;
}

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

body {
  font-family: "Nunito", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  /* max-width: 1140px; Dihapus */
  /* margin: 0 auto; Dihapus */
  width: 100%; /* Menjadi 100% lebar */
  padding: 0 30px; /* Ganti padding dari 20px ke 30px */
}
a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
.logo {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 40px;
}

/* ===== TOMBOL (BUTTONS) ===== */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 700;
  font-family: "Nunito", sans-serif;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}
.btn-primary:hover {
  background-color: #d18a9b; /* Pink lebih tua */
}

.btn-secondary {
  background-color: #fdd5df;
  color: var(--text-color);
}
.btn-secondary:hover {
  background-color: var(--logo-color); /* Peach lebih tua */
}

.btn-tertiary {
  background-color: var(--primary-color);
  color: white;
  width: 100%;
  margin-top: 10px;
}
.btn-tertiary:hover {
  background-color: #d18a9b;
}

/* ===== HEADER / NAVIGASI ===== */
/* ===== HEADER (TATA LETAK SEPERTI DISSERTCAKEKINIAN) ===== */
header {
  background-color: #fdd5df;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 0 30px;
}

/* Flex utama header */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* ===== LOGO KIRI ===== */
.logo {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-color);
}
.logo span {
  color: var(--logo-color);
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: 18px;
}

/* ===== MENU NAVIGASI TENGAH ===== */
nav ul {
  display: flex;
  align-items: center;
  gap: 35px;
}

nav ul li {
  list-style: none;
}

nav a {
  font-weight: 700;
  color: var(--text-color);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding-bottom: 4px;
  transition: color 0.3s, border-bottom 0.3s;
}

nav a.active,
nav a:hover {
  color: var(--logo-color);
  border-bottom: 2px solid var(--logo-color);
}

/* ===== BAGIAN KANAN (IKON SOSIAL + LOGIN) ===== */
.navbar-icon {
  display: flex;
  align-items: center;
  gap: 18px;
}

.navbar-icon a {
  font-size: 1.125rem;
  color: var(--text-color);
  transition: color 0.3s ease;
}
.navbar-icon a:hover {
  color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
  /* PENTING: Ganti 'path/to/hero-image.jpg' 
      dengan path ke gambar hero Anda! 
    */
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  height: 450px;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===== PROMO SECTION ===== */
#promo-container {
  padding: 60px 0;
  background: linear-gradient(135deg, #fff8f3 0%, #fdd5df 100%);
}

#promo-container .section-title {
  color: var(--text-color);
  font-size: 2rem;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

#promo-container .section-title i {
  color: var(--primary-color);
}

.promo-section-item {
  background: white;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 40px rgba(93, 64, 55, 0.1);
}

.promo-header {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px dashed var(--secondary-color);
}

.promo-badge-large {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--logo-color) 100%);
  color: white;
  padding: 20px 25px;
  border-radius: 15px;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 5px 20px rgba(196, 122, 141, 0.3);
}

.promo-info h3 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 8px;
}

.promo-info p {
  color: var(--nav-link);
  font-size: 1rem;
  margin-bottom: 10px;
}

.promo-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff3cd;
  color: #856404;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.promo-timer i {
  color: #e67e22;
}

.promo-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.promo-product-card {
  background: #fafafa;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #f0f0f0;
}

.promo-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.promo-product-image {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.promo-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.discount-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--logo-color) 100%);
  color: white;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(196, 122, 141, 0.3);
}

.promo-product-info {
  padding: 15px;
}

.promo-product-info h4 {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 10px;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
}

.price-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 10px;
}

.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.85rem;
  line-height: 1;
}

.discounted-price {
  color: var(--logo-color);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.discount-savings {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  color: #2e7d32;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 2px;
}

.outlet-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--nav-link);
  font-size: 0.85rem;
  background: var(--secondary-color);
  padding: 6px 12px;
  border-radius: 20px;
}

.outlet-info i {
  color: var(--primary-color);
}

.no-promo-products {
  text-align: center;
  color: var(--nav-link);
  font-style: italic;
  padding: 20px;
}

@media (max-width: 768px) {
  .promo-header {
    flex-direction: column;
    text-align: center;
  }
  
  .promo-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .promo-products {
    grid-template-columns: 1fr;
  }
}

/* ===== LOADING TEXT ===== */
.loading-text {
  text-align: center;
  color: var(--nav-link);
  font-size: 1rem;
  padding: 40px 0;
}

.no-data {
  text-align: center;
  color: var(--nav-link);
  font-size: 1rem;
  padding: 40px 0;
}

/* ===== CABANG SECTION ===== */
.cabang {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.cabang-header {
  text-align: center;
  margin-bottom: 40px;
}

.cabang-header h2 {
  font-size: 2.25rem;
  color: var(--text-color);
  margin-bottom: 10px;
}

.cabang-header p {
  font-size: 1.1rem;
  color: var(--nav-link);
}

.cabang-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.cabang-card {
  background-color: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(93, 64, 55, 0.08);
  width: 400px;
}

.cabang-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.cabang-card p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--nav-link);
}

.cabang-card p i {
  color: var(--primary-color);
  font-size: 18px;
}

.jam-buka {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.jam-buka p {
  margin-bottom: 0;
}

span[class^="status-"] {
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.875rem;
  font-weight: 700;
}

.status-buka {
  background-color: var(--green-bg);
  color: var(--green);
}

.status-tutup {
  background-color: var(--red-bg);
  color: var(--red);
}

/* ===== PRODUK POPULER SECTION ===== */
.produk {
  padding: 40px 0;
}

.produk-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.produk-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(93, 64, 55, 0.05);
  text-align: center;
  padding: 20px;
  flex-basis: 23%; /* Membagi 4 kolom */
}

.produk-card img {
  /* Ganti path/to/produk.png 
      dengan gambar produk Anda 
    */
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 15px;
}

.produk-card h4 {
  font-family: "Nunito", sans-serif; /* Produk pakai font sans-serif */
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  min-height: 40px; /* Jaga tinggi agar sama */
}

.harga {
  display: block;
  background-color: var(--secondary-color);
  color: var(--text-color);
  padding: 8px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 1rem;
}

/* ===== FOOTER ===== */
footer {
  background-color: #fdd5df;
  padding: 40px 0;
  margin-top: 60px;
}

.footer-wrapper {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-info i {
  font-size: 1.5rem;
  color: var(--text-color);
}

.footer-info span {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
}

.footer-social a {
  margin-left: 15px;
  font-size: 1.25rem;
  color: var(--text-color);
  transition: color 0.3s;
}
.footer-social a:hover {
  color: var(--primary-color);
}

.footer-copy p {
  font-size: 0.875rem;
  color: var(--nav-link);
}

/* ===== STYLE UNTUK HALAMAN TENTANG ===== */
/* ----- KHUSUS UNTUK HERO DI HALAMAN TENTANG ----- */
.page-tentang .hero {
  /* Ini akan menimpa style di atas, HANYA di halaman tentang */
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../img/hero-bg.jpg");
}

/* Style untuk breadcrumbs di dalam hero */
.hero .breadcrumbs {
  margin-top: 10px;
  font-size: 1rem;
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  letter-spacing: 1px; /* Sedikit jarak antar huruf */
}

.hero .breadcrumbs a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero .breadcrumbs a:hover {
  /* Warna peach muda saat di-hover */
  color: var(--secondary-color);
}

.hero .breadcrumbs span {
  /* Warna peach muda untuk halaman aktif */
  color: var(--secondary-color);
  font-weight: 700;
}

/* Style untuk bagian konten di bawah hero */
.tentang-content {
  padding: 60px 0;
  background-color: var(--card-bg); /* Latar belakang putih */
}

.tentang-content .container {
  max-width: 900px; /* Buat teks lebih mudah dibaca (tidak terlalu lebar) */
  text-align: center; /* Pusatkan teks */
  margin: 0 auto; /* Tambahkan ini agar blok teks tetap di tengah */
}

.tentang-content h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.tentang-content p {
  font-size: 17px;
  color: var(--nav-link); /* Warna abu-coklat */
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: left; /* Ratakan teks paragraf */
}

/* ===== STYLE UNTUK BAGIAN TENTANG KAMI DENGAN GAMBAR ===== */
.about-us-section {
  padding: 80px 0;
  background-color: var(--bg-color); /* Krem sangat muda */
}

.about-us-container {
  display: flex; /* Menggunakan Flexbox untuk tata letak samping-menyamping */
  align-items: center; /* Pusatkan item secara vertikal */
  gap: 60px; /* Jarak antara gambar dan teks */
}

.about-us-images {
  flex: 1; /* Memberi ruang fleksibel untuk gambar */
  display: flex;
  justify-content: center; /* Pusatkan grid gambar */
}

.img-grid {
  display: grid; /* Menggunakan Grid untuk 2x2 gambar */
  grid-template-columns: repeat(2, 1fr); /* 2 kolom yang sama lebarnya */
  gap: 20px; /* Jarak antar gambar */
  max-width: 500px; /* Batasi lebar grid gambar */
}

.img-grid img {
  width: 100%;
  height: 220px; /* Tinggi tetap untuk semua gambar */
  object-fit: cover; /* Pastikan gambar mengisi kotak tanpa terdistorsi */
  border-radius: 10px; /* Sudut sedikit membulat pada gambar */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-us-text {
  flex: 1.5; /* Memberi lebih banyak ruang untuk teks */
}

.about-us-text .section-subtitle {
  font-family: "Playfair Display", serif;
  color: var(--primary-color); /* Pink lembut */
  font-size: 1.25rem;
  margin-bottom: 5px;
  position: relative;
  display: inline-block; /* Agar garis bisa menempel */
}

.about-us-text .section-subtitle::before {
  content: "";
  position: absolute;
  bottom: 5px; /* Sesuaikan posisi garis */
  left: 100%; /* Mulai dari akhir teks */
  width: 40px; /* Panjang garis */
  height: 2px;
  background-color: var(--primary-color);
  margin-left: 10px; /* Jarak antara teks dan garis */
}

.about-us-text h2 {
  font-size: 2.75rem;
  color: var(--text-color); /* Coklat tua */
  line-height: 1.2;
  margin-bottom: 25px;
  text-align: left; /* Teks judul rata kiri */
}

.about-us-text h2 span i {
  color: var(--primary-color); /* Warna pink untuk ikon garpu & pisau */
  font-size: 2.375rem; /* Ukuran ikon */
  margin-left: 15px; /* Jarak dari teks judul */
}

.about-us-text p {
  font-size: 1rem;
  color: var(--nav-link); /* Abu-coklat */
  line-height: 1.7;
  margin-bottom: 15px;
}

/* Penyesuaian untuk tampilan mobile (responsive) */
@media (max-width: 992px) {
  .about-us-container {
    flex-direction: column; /* Ubah tata letak menjadi kolom */
    text-align: center;
  }

  .about-us-images,
  .about-us-text {
    flex: none; /* Hapus fleksibilitas */
    width: 100%; /* Ambil lebar penuh */
  }

  .about-us-text h2,
  .about-us-text p {
    text-align: center; /* Pusatkan teks pada mobile */
  }

  .about-us-text .section-subtitle::before {
    display: none; /* Sembunyikan garis di mobile */
  }
}
/* ===== LOGO WRAPPER ===== */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--logo-color);
}

/* ===== HAMBURGER MENU ===== */
.hamburger-menu {
  display: none;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 8px;
  color: var(--text-color);
  transition: color 0.3s;
}

.hamburger-menu:hover {
  color: var(--primary-color);
}

/* ===== SIDEBAR OVERLAY ===== */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* ===== SIDEBAR MOBILE ===== */
.sidebar-mobile {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 1200;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
  transition: left 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.sidebar-mobile.active {
  left: 0;
}

/* Sidebar Header */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #fdd5df;
  border-bottom: 1px solid var(--secondary-color);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-logo {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--logo-color);
}

.sidebar-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-color);
}

.sidebar-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s, transform 0.3s;
}

.sidebar-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

/* Sidebar Navigation */
.sidebar-nav {
  flex: 1;
  padding: 20px 0;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block !important;
}

.sidebar-nav li {
  margin: 0;
  display: block !important;
}

.sidebar-link {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 15px 25px;
  color: var(--text-color) !important;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  visibility: visible !important;
  opacity: 1 !important;
}

.sidebar-link i {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
  color: var(--nav-link);
  transition: color 0.3s;
}

.sidebar-link:hover {
  background: var(--bg-color);
  border-left-color: var(--primary-color);
  color: var(--logo-color);
}

.sidebar-link:hover i {
  color: var(--primary-color);
}

.sidebar-link.active {
  background: linear-gradient(90deg, rgba(230, 164, 180, 0.2) 0%, transparent 100%);
  border-left-color: var(--primary-color);
  color: var(--logo-color);
}

.sidebar-link.active i {
  color: var(--primary-color);
}

/* Sidebar Social Media */
.sidebar-social {
  padding: 25px;
  border-top: 1px solid var(--secondary-color);
  background: var(--bg-color);
}

.sidebar-social-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--nav-link);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.sidebar-social-icons {
  display: flex;
  gap: 15px;
}

.sidebar-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  color: var(--text-color);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-social-icons a:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

/* ===== PAGINATION ===== */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pagination-info,
.page-info {
  padding: 8px 16px;
  font-weight: 600;
  color: #5a3c3c;
}

.pagination-info span,
.page-info span {
  color: #e6a4b4;
}

.pagination-controls,
.page-numbers {
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-pagination {
  padding: 8px 16px;
  background: #f38ca3;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-family: "Nunito", sans-serif;
  transition: background 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-pagination:hover:not(:disabled) {
  background: #e6a4b4;
}

.btn-pagination:disabled {
  background: #f0f0f0;
  color: #999;
  cursor: not-allowed;
}

.page-btn {
  padding: 8px 12px;
  min-width: 36px;
  background: white;
  color: #5a3c3c;
  border: 1px solid #f3d7ca;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-family: "Nunito", sans-serif;
  transition: all 0.3s;
}

.page-btn:hover:not(.active) {
  background: #ffe6f0;
  border-color: #e6a4b4;
}

.page-btn.active {
  background: #e6a4b4;
  color: white;
  border-color: #e6a4b4;
}

.pagination-ellipsis {
  padding: 8px;
  color: #5a3c3c;
}

@media (max-width: 600px) {
  .pagination-container {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .btn-pagination {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .page-btn {
    padding: 6px 10px;
    min-width: 32px;
    font-size: 13px;
  }
  
  .pagination-info,
  .page-info {
    width: 100%;
    text-align: center;
    order: -1;
  }
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Desktop */
@media (min-width: 1200px) {
  .cabang-wrapper {
    gap: 30px;
  }
  
  .cabang-card {
    width: 350px;
    flex-shrink: 0;
  }
}

/* Laptop */
@media (max-width: 1199px) {
  .container {
    padding: 0 25px;
  }
  
  header {
    padding: 0 25px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .cabang-card {
    width: 320px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .container {
    padding: 0 20px;
  }
  
  header {
    padding: 0 20px;
  }
  
  .nav-container {
    height: 70px;
  }
  
  .logo {
    font-size: 1.3rem;
  }
  
  nav ul {
    gap: 25px;
  }
  
  nav a {
    font-size: 0.85rem;
  }
  
  .hero {
    height: 380px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
    padding: 0 20px;
  }
  
  /* Promo Section */
  #promo-container {
    padding: 50px 20px;
  }
  
  .promo-section-item {
    padding: 25px;
    margin: 0 0 25px 0;
  }
  
  .promo-header {
    flex-direction: column;
    text-align: center;
  }
  
  .promo-badge-large {
    padding: 15px 20px;
    font-size: 1.3rem;
  }
  
  .promo-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  /* Outlet Section */
  .cabang {
    padding: 50px 0;
  }
  
  .cabang-header h2 {
    font-size: 1.8rem;
  }
  
  .cabang-wrapper {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 20px 0;
    gap: 20px;
    justify-content: flex-start;
  }
  
  .cabang-wrapper::-webkit-scrollbar {
    height: 6px;
  }
  
  .cabang-wrapper::-webkit-scrollbar-track {
    background: var(--secondary-color);
    border-radius: 3px;
  }
  
  .cabang-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
  }
  
  .cabang-card {
    scroll-snap-align: center;
    flex-shrink: 0;
    width: 300px;
  }
  
  /* Footer */
  .footer-wrapper {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }
  
  .footer-info {
    flex-direction: column;
    gap: 8px;
  }
}

/* Tablet Kecil & HP Besar */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  header {
    padding: 0 15px;
  }
  
  .nav-container {
    height: 60px;
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  /* Hide nav menu, show hamburger */
  nav ul {
    display: none;
  }
  
  .hamburger-menu {
    display: block;
  }
  
  /* Hide social icons in navbar (moved to sidebar) */
  .navbar-icon {
    display: none;
  }
  
  /* Hero */
  .hero {
    height: 300px;
  }
  
  .hero-content h1 {
    font-size: 1.6rem;
    line-height: 1.4;
    padding: 0 15px;
  }
  
  /* Promo Section */
  #promo-container {
    padding: 40px 15px;
    overflow-x: hidden;
  }
  
  #promo-container .section-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }
  
  .promo-section-item {
    padding: 20px;
    margin: 0 0 20px 0;
    border-radius: 15px;
  }
  
  .promo-header {
    gap: 15px;
    padding-bottom: 15px;
  }
  
  .promo-badge-large {
    padding: 12px 18px;
    font-size: 1.1rem;
    min-width: 100px;
  }
  
  .promo-info h3 {
    font-size: 1.2rem;
  }
  
  .promo-info p {
    font-size: 0.9rem;
  }
  
  /* Promo products - horizontal scroll */
  .promo-products {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 10px;
  }
  
  .promo-products::-webkit-scrollbar {
    height: 4px;
  }
  
  .promo-products::-webkit-scrollbar-track {
    background: var(--secondary-color);
    border-radius: 2px;
  }
  
  .promo-products::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
  }
  
  .promo-product-card {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 160px;
  }
  
  .promo-product-image {
    height: 120px;
  }
  
  .promo-product-info {
    padding: 12px;
  }
  
  .promo-product-info h4 {
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .original-price {
    font-size: 0.75rem;
  }
  
  .discounted-price {
    font-size: 1rem;
  }
  
  .discount-savings {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  
  .outlet-info {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
  
  /* Outlet Section */
  .cabang {
    padding: 40px 0;
  }
  
  .cabang-header {
    margin-bottom: 25px;
  }
  
  .cabang-header h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }
  
  .cabang-header p {
    font-size: 0.95rem;
  }
  
  .cabang-wrapper {
    padding: 5px 15px 15px 15px;
    gap: 15px;
  }
  
  .cabang-card {
    width: 280px;
    padding: 25px 20px;
    border-radius: 15px;
  }
  
  .cabang-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
  }
  
  .cabang-card p {
    font-size: 0.9rem;
    gap: 8px;
    margin-bottom: 12px;
  }
  
  .cabang-card p i {
    font-size: 16px;
    width: 20px;
  }
  
  .jam-buka {
    margin-bottom: 20px;
  }
  
  span[class^="status-"] {
    padding: 4px 10px;
    font-size: 0.8rem;
  }
  
  .cabang-card .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  /* Footer */
  footer {
    padding: 30px 0;
    margin-top: 40px;
  }
  
  .footer-wrapper {
    gap: 20px;
  }
  
  .footer-info i {
    font-size: 1.3rem;
  }
  
  .footer-info span {
    font-size: 0.8rem;
  }
  
  .footer-social a {
    margin-left: 12px;
    font-size: 1.1rem;
  }
  
  .footer-copy p {
    font-size: 0.8rem;
  }
}

/* HP */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  header {
    padding: 0 12px;
  }
  
  .nav-container {
    height: 55px;
  }
  
  .logo {
    font-size: 1.1rem;
  }

  .sidebar-link {
    font-size: 0.9rem;
    padding: 12px 20px;
  }
  
  .sidebar-link i {
    font-size: 1rem;
  }
  
  .navbar-icon {
    gap: 10px;
  }
  
  .navbar-icon a {
    font-size: 0.95rem;
  }
  
  /* Hero */
  .hero {
    height: 250px;
  }
  
  .hero-content h1 {
    font-size: 1.2rem;
    line-height: 1.3;
    padding: 0 10px;
  }
  
  /* Promo */
  #promo-container {
    padding: 35px 12px;
  }
  
  #promo-container .section-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  
  .promo-section-item {
    padding: 15px;
    margin: 0 0 15px 0;
    border-radius: 12px;
  }
  
  .promo-header {
    gap: 12px;
    padding-bottom: 12px;
  }
  
  .promo-badge-large {
    padding: 10px 15px;
    font-size: 1rem;
    min-width: 80px;
    border-radius: 10px;
  }
  
  .promo-info h3 {
    font-size: 1.05rem;
  }
  
  .promo-info p {
    font-size: 0.85rem;
  }
  
  .promo-timer {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
  
  .promo-product-card {
    width: 145px;
  }
  
  .promo-product-image {
    height: 100px;
  }
  
  .promo-product-info {
    padding: 10px;
  }
  
  .promo-product-info h4 {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }
  
  .original-price {
    font-size: 0.7rem;
  }
  
  .discounted-price {
    font-size: 0.9rem;
  }
  
  .discount-tag {
    font-size: 0.75rem;
    padding: 3px 8px;
  }
  
  .outlet-info {
    font-size: 0.7rem;
    padding: 4px 8px;
  }
  
  /* Outlet */
  .cabang {
    padding: 35px 0;
  }
  
  .cabang-header {
    margin-bottom: 20px;
    padding: 0 12px;
  }
  
  .cabang-header h2 {
    font-size: 1.35rem;
  }
  
  .cabang-header p {
    font-size: 0.9rem;
  }
  
  .cabang-wrapper {
    padding: 5px 12px 12px 12px;
    gap: 12px;
  }
  
  .cabang-card {
    width: 260px;
    padding: 20px 15px;
    border-radius: 12px;
  }
  
  .cabang-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
  }
  
  .cabang-card p {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }
  
  .cabang-card p i {
    font-size: 14px;
  }
  
  .jam-buka {
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  span[class^="status-"] {
    padding: 3px 8px;
    font-size: 0.75rem;
  }
  
  .cabang-card .btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  
  /* Footer */
  footer {
    padding: 25px 0;
    margin-top: 30px;
  }
  
  .footer-wrapper {
    gap: 15px;
  }
}

/* HP Kecil */
@media (max-width: 360px) {
  .hero {
    height: 220px;
  }
  
  .hero-content h1 {
    font-size: 1.05rem;
    line-height: 1.3;
  }
  
  .promo-product-card {
    width: 130px;
  }
  
  .promo-product-image {
    height: 90px;
  }
  
  .cabang-card {
    width: 240px;
    padding: 18px 12px;
  }
  
  .cabang-card h3 {
    font-size: 1.05rem;
  }
}
