body {
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  margin: 0;
  padding: 0;
  animation: fadeIn 1s ease-in;
  min-height: 100vh;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

header {
  background: linear-gradient(90deg, #0a0101 0%, #333 100%);
  color: white;
  padding: 15px; /* Mobilde daha az padding */
  text-align: center;
  font-size: 1.8rem; /* Mobilde küçültüldü */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.img {
  height: 40px; /* Mobilde küçültüldü */
  margin-right: 10px;
  border-radius: 50%;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 30px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.category-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  height: 220px;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 1, 1, 0.4), rgba(10, 1, 1, 0.7));
  z-index: 1;
  transition: all 0.4s ease;
}

.category-card:hover::before {
  background: linear-gradient(135deg, rgba(10, 1, 1, 0.2), rgba(10, 1, 1, 0.5));
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  filter: brightness(0.9);
}

.category-card:hover img {
  transform: scale(1.15);
  filter: brightness(1.1);
}

.category-card-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 1px;
  z-index: 2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  width: 90%;
  transition: all 0.3s ease;
}

.category-card-title::after {
  content: '👉 Görüntüle';
  display: block;
  font-size: 0.9rem;
  margin-top: 10px;
  opacity: 0;
  transition: all 0.3s ease;
  font-weight: 600;
}

.category-card:hover .category-card-title {
  font-size: 1.5rem;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.7);
}

.category-card:hover .category-card-title::after {
  opacity: 1;
}

.category-card.active {
  border: 4px solid #0a0101;
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(10, 1, 1, 0.4);
}

.category-card.active::before {
  background: linear-gradient(135deg, rgba(10, 1, 1, 0.5), rgba(10, 1, 1, 0.8));
}

.category-card.active .category-card-title {
  font-size: 1.5rem;
}

.menu {
  display: none; /* Başlangıçta gizli */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 30px 20px;
  max-width: 1400px;
  margin: 0 auto;
  animation: fadeIn 0.5s ease-in;
}

.back-button {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #0a0101, #333);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  max-width: 300px;
  justify-self: center;
}

.back-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #333, #555);
}

.category {
  font-weight: 800;
  font-size: 1.8rem;
  color: #0a0101;
  grid-column: 1 / -1;
  border-bottom: 4px solid #0a0101;
  padding-bottom: 12px;
  margin-top: 25px;
  margin-bottom: 10px;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.item {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 2px solid transparent;
}

.item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border: 2px solid #0a0101;
}

.item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.item:hover img {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.item-info {
  flex: 1;
}

.item-name {
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #0a0101;
  letter-spacing: 0.5px;
}

.item-desc {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
  min-height: 40px;
}

.item-price {
  color: white;
  background: linear-gradient(135deg, #0a0101, #333);
  font-weight: 700;
  font-size: 1.4rem;
  padding: 8px 20px;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(10, 1, 1, 0.2);
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px 15px;
    max-width: 600px;
    margin: 0 auto;
  }
  .category-card {
    height: 160px;
  }
  .category-card-title {
    font-size: 1rem;
    letter-spacing: 0.5px;
  }
  .category-card:hover .category-card-title {
    font-size: 1.1rem;
  }
  .category-card.active .category-card-title {
    font-size: 1.1rem;
  }
  .menu {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 15px;
    max-width: 600px;
    margin: 0 auto;
  }
  .item {
    padding: 20px;
  }
  .item img {
    width: 130px;
    height: 130px;
  }
  .item-name {
    font-size: 1.2rem;
  }
  .item-desc {
    font-size: 0.9rem;
  }
  .item-price {
    font-size: 1.3rem;
    padding: 6px 18px;
  }
  .category {
    font-size: 1.4rem;
    margin-top: 20px;
  }
  .back-button {
    font-size: 1rem;
    padding: 12px 25px;
  }
  header {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
    max-width: 400px;
  }
  .category-card {
    height: 180px;
  }
  .category-card-title {
    font-size: 1.2rem;
  }
  .menu {
    max-width: 400px;
  }
  .item {
    padding: 18px;
  }
  .item img {
    width: 120px;
    height: 120px;
  }
  .item-name {
    font-size: 1.1rem;
  }
  .item-desc {
    font-size: 0.85rem;
  }
  .item-price {
    font-size: 1.2rem;
    padding: 6px 16px;
  }
  .category {
    font-size: 1.3rem;
    margin-top: 15px;
  }
  .back-button {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}

/**  body {
    font-family: 'Montserrat', sans-serif;
    background: #f7f7f7;
    margin: 0;
    padding: 0;
  }


  header {
    background: #0a0101;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 2rem;
    padding: 20px;
    margin: auto;
  }

  .img {
    max-width: 100%; 
    height: auto;   
  }

  .filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
  }

  .filter-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    background: #0a0101;
    color: white;
    cursor: pointer;
    transition: 0.3s;
  }

  .filter-buttons button:hover {
    background: #0a0101;
  }

  .menu {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .category {
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: 2px solid #0a0101;
    padding-bottom: 5px;
    margin-top: 20px;
  }

  .item {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
  }

  .item:hover {
    transform: translateY(-3px);
  }

  .item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
  }

  .item-info {
    flex: 1;
  }

  .item-name {
    font-weight: bold;
    margin-bottom: 5px;
  }

  .item-desc {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
  }

  .item-price {
    color: #0a0101;
    font-weight: bold;
  }
  **/
