/* ============================================ */
/* MENÜ SAYFASI ÖZEL STİLLERİ */
/* ============================================ */

.page-section {
  min-height: 100vh;
  padding-top: 100px;
  background: linear-gradient(135deg, #fff9f5 0%, #ffe8d6 100%);
}

.menu-content {
  background: linear-gradient(135deg, #fff9f5, #ffe8d6);
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  max-width: 1400px;
  margin: 0 auto;
}

.menu-category {
  margin-bottom: 60px;
  animation: fadeInUp 1s ease;
}

.menu-category h3 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #8b4513, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  font-weight: 900;
  position: relative;
}

.menu-category h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #ffd93d, #ff6b35);
  border-radius: 10px;
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 2px solid #ffd4b3;
  background: white;
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  opacity: 0;
  animation: slideInFromSide 0.6s ease forwards;
}

.menu-item:nth-child(odd) {
  transform: translateX(-100px);
}

.menu-item:nth-child(even) {
  transform: translateX(100px);
}

@keyframes slideInFromSide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-item:nth-child(3) { animation-delay: 0.3s; }
.menu-item:nth-child(4) { animation-delay: 0.4s; }
.menu-item:nth-child(5) { animation-delay: 0.5s; }
.menu-item:nth-child(6) { animation-delay: 0.6s; }

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
  border-left: 5px solid #ff6b35;
}

.menu-item-info {
  flex: 1;
}

.menu-item-info h4 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #3d2817;
  font-weight: 800;
}

.menu-item-info p {
  font-size: 14px;
  color: #7d6b5c;
  line-height: 1.5;
}

/* Ürün Görselleri */
.menu-item-image {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  position: relative;
}

.menu-item-image::before {
  content: "🔍";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.menu-item-image:hover::before {
  opacity: 1;
}

.menu-item-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.menu-item-image:hover::after {
  background: rgba(0, 0, 0, 0.3);
}

.menu-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.menu-item-image:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.menu-item-image:hover img {
  transform: scale(1.2);
}

/* Modal Stilleri */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

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

.modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.5);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.5);
  }
  to {
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #ffd93d;
  font-size: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2001;
}

.modal-close:hover {
  transform: rotate(90deg) scale(1.2);
  color: #ff6b35;
}

/* Geri Dön Butonu */
.back-button {
  display: inline-block;
  margin-bottom: 2rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #6b3410, #8b4513);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
  background: linear-gradient(135deg, #8b4513, #da7033);
  transform: translateX(-10px) scale(1.05);
  box-shadow: 0 12px 35px rgba(139, 69, 19, 0.5);
}

.back-button i {
  margin-right: 8px;
}

/* ============================================ */
/* MOBİL RESPONSIVE */
/* ============================================ */

@media (max-width: 768px) {
  .menu-content {
    padding: 30px 20px;
  }

  .menu-category h3 {
    font-size: 1.8rem;
  }

  .menu-items {
    grid-template-columns: 1fr !important;
  }

  .menu-item {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 20px;
  }

  .menu-item-info {
    width: 100%;
  }

  .menu-item-info h4 {
    font-size: 1.4rem;
  }

  .menu-item-info p {
    font-size: 0.95rem;
  }

  .menu-item-image {
    width: 100%;
    height: 200px;
    margin-top: 10px;
    border-radius: 15px;
  }

  .modal-close {
    top: 20px;
    right: 20px;
    font-size: 40px;
  }

  .modal-content {
    max-width: 95%;
    max-height: 80%;
  }
}

@media (max-width: 480px) {
  .menu-category h3 {
    font-size: 1.5rem;
  }

  .menu-item-info h4 {
    font-size: 1.2rem;
  }

  .menu-item-image {
    height: 180px;
  }
}

/* ============================================ */
/* TABLET RESPONSIVE */
/* ============================================ */

@media (min-width: 769px) and (max-width: 1024px) {
  .menu-content {
    padding: 40px;
  }

  .menu-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .menu-item-image {
    width: 70px;
    height: 70px;
  }
}