body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  position: relative; /* position relative yaparak ::before kapsaması için */
  z-index: 0;
  /* body'nin background kaldırıldı */
  /* background: #84170a12; */
}

/* Arka plan için sabit görsel ::before ile */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('https://menu.muratiskender.com/assets/uploads/arkaplankebap.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
   opacity: 0.1;
   
  /* opacity eklersen şeffaf yapabilirsin, örn: opacity: 0.8; */
}
.banner {
  position: relative;
  background: url('../uploads/banner.jpg') center center/cover no-repeat;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 0 20px;
  box-shadow: inset 0 0 0 2000px rgba(0,0,0,0.4);
}
.banner h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}
.banner p {
  font-size: 1.4rem;
  font-weight: 500;
  max-width: 700px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}
.category-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 15px;
  flex-grow: 1;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
  transition: transform 0.25s ease;
  background: #f9f9f9;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.category-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgb(0 0 0 / 0.25);
}
.category-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
}
.category-name {
  width: 100%;
  padding: 14px 0;
  background: rgba(132,23,10);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  border-radius: 0 0 12px 12px;
  user-select: none;
}
footer {
  background-color: #800000;
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9rem;
  user-select: none;
  margin-top: auto;
}
@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner h1 {
    font-size: 2rem;
  }
  .banner p {
    font-size: 1rem;
  }
  .category-card img {
    height: 140px;
  }
}


@media (max-width: 600px) {
.category-name {
  width: 100%;
  padding: 14px 0;
  background: rgba(132, 23, 10);
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
  border-radius: 0 0 12px 12px;
  user-select: none;
}
  }





footer {

  padding: 20px;
  text-align: center;
}

.footer-contact a {
  color: white;
  text-decoration: none;
  display: inline-block;
  margin: 8px;
}

.footer-contact a:hover {
  text-decoration: underline;
}