/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: #fff;
  color: #1a1a1a;
  line-height: 1.4;
}
header { background: #f8f9fa; padding: 15px 0; text-align: center; border-bottom: 1px solid #eee; }
.sticky-nav { position: sticky; top: 0; z-index: 1020; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1); overflow-x: auto; white-space: nowrap; padding: 10px; }
.banner-img { width: 100%; border-radius: 10px; margin-bottom: 20px; max-height: 200px; object-fit: cover; }
.logo img{ max-height: 50px; }

.anasayfa-menubilgi{
  height: 100%;
margin: 18px auto;
width: 100%;
text-align: center;
}
.anasayfa-menubilgi .baslik{
      font-size: 40px;
      margin-top: 20px;
}
.anasayfa-menubilgi .fiyat{
  line-height: 33px;
margin-top: 20px;
}
footer{
  height: 100%;
margin: 18px auto;
width: 100%;
text-align: center;
}
.footer-bilgi a{
  text-decoration: none;
  color: #024da0;
  /*font-weight: bold;*/
}
/* ==========Kategori Arkaplan ========== */
/* Arka planlı kategori */
.accordion-item.kat-bg {
  position: relative;
      background-position: center;
      border-radius: 0px;
      margin-bottom: 20px;
      overflow: hidden;
      object-fit: cover !important;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
}

/* Overlay */
.accordion-item.kat-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0%);
  z-index: 1;
  pointer-events: none; /* Butonun tıklanmasını engellemez */
}

.kat-bg::after {
  content: ''; position: absolute; inset:0; background: rgba(0,0,0,0.4);
}


.cat-bg-header {
  background-size: cover;
  background-position: center;
  position: relative;
}


/* Butonun arkaplan resmi üzerinde okunabilir olması için */
.bg-btn {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 100%;
  text-align: left;
  padding: 15px;
}

.bg-btn:hover {
  /*background: rgb(0 0 0 / 35%);*/
  border: 1px solid #000;
}
/* ========== ACCORDION CONTAINER ========== */
.menu-accordion {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* ========== ACCORDION ITEMS ========== */
.accordion-item {
  margin-bottom: 1rem;
  border-radius: 0px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.2s ease;
}

/* Accordion Button */
.accordion-btn {
  position: relative;
  z-index: 2; /* Overlay’in üstünde */
  width: 100%;
  height: 90px;
  border: none;
  color: #000 !important;
  background: #dedfe0;
  border: 1px solid #828384;
  padding: 15px;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bg-btn {
  background: rgb(0 0 0 / 0%);
  color: #fff;
}
.accordion-btn i {
   margin-right: 20px;
}
.accordion-btn:hover {
  /*background: rgba(0,0,0,0.7);*/
}

.accordion-btn.active {
  /*background: #fff;
  border-bottom-color: #e2e6e0;*/
}

/* Icon */
.accordion-icon {
  font-size: 1.6rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.accordion-btn.active .accordion-icon {
  transform: rotate(45deg);
  opacity: 1;
}

/* Panel */
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #fff;
}

.accordion-panel.open {
  max-height: none; /* JS ile dinamik ayarlanacak */
  border: 0px solid #000;
}

/* ========== MENU CONTENT ========== */
.menu-section {
  padding: 2rem 1.5rem 2rem 1.5rem;
}

.category-title h2{
  font-size: 1.8rem;
      font-weight: 700;
      color: #000;
      margin-bottom: 1.8rem;
      padding-bottom: 0.5rem;
      /* border-bottom: 3px solid #e7cba5; */
      letter-spacing: -0.5px;
      text-align: center !important;
      font-size: 28px !important;
      letter-spacing: -1px;
      /*text-transform: uppercase;*/
}
.category-title span:before {
    display: inline-block;
    position: relative;
    left: 0;
    bottom: 0;
    content: "";
    height: 9px;
    width: 40px;
    border-top: medium #c17b2e double;
    margin-right: 10px;
    width: 20% !important;
}
.category-title span:after {
    display: inline-block;
    position: relative;
    left: 0;
    bottom: 0;
    content: "";
    height: 9px;
    width: 40px;
    border-top: medium #c17b2e double;
    margin-left: 10px;
    width: 20% !important;
}

/* Grid layout - modern & responsive */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.8rem;
}

/* Product Card - clean, borderless, soft */
.product-card {
  display: flex;
  background: #fdfdf9;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  border: 1px solid #f0f0ea;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.1);
  border-color: #e2dbc8;
}

/* Left side (info) */
.product-info {
  flex: 1.3;
  padding: 1.2rem 1rem 1.2rem 1.2rem;
  background: #ffffff;
}

.product-title {
  text-align: left;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2d3e2b;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.8rem;
  color: #5a5a4e;
  text-align: left;
  line-height: 1.45;
  margin-bottom: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  text-align: left;
  font-weight: 700;
  font-size: 1.25rem;
  color: #c17b2e;
  margin-bottom: 0.6rem;
}

.price-unit {
  font-size: 0.75rem;
  font-weight: 500;
  color: #8f8f7a;
}

/* Alerjen */
.alerjen {
  text-align: left;
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.alerjen {
      display: block;
  color: #f5b042;
  font-size: 0.7rem;
  letter-spacing: 1px;
}
/* rating stars (visual only) */
.stars {
  text-align: left;
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.star {
  color: #f5b042;
  font-size: 0.7rem;
  letter-spacing: 1px;
}

/* Right side (image) */
.product-media {
  flex: 0.9;
  background: #fbfaf5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.product-media a {
  display: block;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  transition: opacity 0.2s;
}

.product-media img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.product-media a:hover img {
  transform: scale(1.02);
}

/* ========== MOBILE FIRST ========== */
@media (max-width: 700px) {
  .menu-accordion {
    padding: 0.8rem;
  }
  .accordion-btn {
    padding: 1rem 1.2rem;
    font-size: 1.2rem;
  }
  .menu-section {
    padding: 1.2rem;
  }
  .category-title {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
  }
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .product-info {
    padding: 0.9rem;
  }
  .product-title {
    font-size: 1rem;
  }
  .product-desc {
    font-size: 0.75rem;
    -webkit-line-clamp: 2;
  }
  .product-price {
    font-size: 1.1rem;
  }
  .product-media img {
    height: 90px;
  }
}

@media (max-width: 480px) {
  .product-card {
    flex-direction: row;
  }
  .product-media {
    padding: 0.5rem;
  }
  .product-media img {
    height: 80px;
    width: 100%;
  }
}

/* subtle animation */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-grid .product-card {
  animation: fadeSlide 0.3s ease backwards;
}

/* accessory */
.note-extra {
  font-size: 0.7rem;
  color: #9b8e6e;
  margin-top: 6px;
  font-style: italic;
}
