* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  background-color: #f7f7f7;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px;
}

/* Header Section */
.header {
  position: relative;
  margin-bottom: 20px;
}

.back-button {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  width: 40px; /* Atur lebar dan tinggi sama */
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.back-button a {
  color: black;
  font-size: 18px; /* Atur ukuran ikon */
}

/* Header Section */
.header {
  position: relative;
  margin-bottom: 20px;
  height: 300px; /* Tentukan tinggi gambar */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Pastikan gambar menyesuaikan dengan area header */
  filter: brightness(70%);
  border-radius: 20px;
}

.header-content {
  position: absolute;
  padding: 15px;
  z-index: 2; /* Pastikan berada di atas gambar */
  text-align: center;
}

.header-content h1 {
  font-size: 45px;
  margin-bottom: 5px;
  color: #fff;
}

.header-content p {
  color: #fff;
  font-size: 16px;
}

/* Search and Filter Section */
.search-filter {
  background: white;
  padding: 15px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.search-bar {
  display: flex;
  align-items: center;
  background-color: #f1f1f1;
  border-radius: 50px;
  padding: 15px;
}

.search-bar i {
  margin-right: 10px;
  color: #aaa;
}

.search-bar input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 16px;
}

.filter-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.filter-buttons button {
  background: #f1f1f1;
  border: none;
  border-radius: 10px;
  padding: 10px 15px;
  cursor: pointer;
}

.filter-buttons i {
  font-size: 20px;
  cursor: pointer;
}

/* Kuliner List */
.kuliner-list {
  background: white;
  padding: 15px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.kuliner-item {
  display: flex;
  align-items: center;
}

.kuliner-image {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  margin-right: 15px;
}

.kuliner-info {
  flex-grow: 1;
}

.kuliner-info h2 {
  font-size: 18px;
  margin-bottom: 5px;
  color: black;
  text-decoration: none;
}

.kuliner-info p {
  font-size: 13px;
  margin-bottom: 8px;
  text-decoration: none;
  color: #969696;
  width: 500px; /* Tentukan lebar elemen */
  display: -webkit-box; /* Menggunakan Flexbox untuk mengatur elemen teks */
  -webkit-line-clamp: 2; /* Membatasi hanya satu baris yang ditampilkan */
  -webkit-box-orient: vertical; /* Orientasi Flexbox vertikal */
  overflow: hidden; /* Menghilangkan teks yang melebihi batas elemen */
  text-overflow: ellipsis; /* Menambahkan "..." pada teks yang terpotong */
}

.rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000;
  font-weight: bold;
  font-size: 15px;
}

a:link {
  text-decoration: none;
}
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
a:active {
  text-decoration: none;
}

.notfound {
  padding: 15px;
  text-align: center;
}

@media (max-width: 768px) {
  .kuliner-info p {
    width: 230px; /* Tentukan lebar elemen */
    font-size: 11px;
  }

  .kuliner-info h2 {
    font-size: 16px;
  }

  .rating {
    font-size: 13px;
  }
}
