/* =========== TEMEL AYARLAR =========== */
:root {
  --primary: #ff5a5f;
  --primary-dark: #e63946;
  --primary-light: #ffb5b8;
  --secondary: #2a2d34;
  --secondary-light: #4a4d54;
  --accent: #ffa62b;
  --accent-dark: #f08c00;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --white: #ffffff;
  --shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.15);
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-sm: 0.25rem;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Sayfa Sıfırlama */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
  animation: pageLoad 0.5s ease-in-out;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* =========== SCROLL INDICATOR =========== */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  z-index: 9999;
  width: 0%;
  transition: width 0.2s ease;
}

/* =========== HEADER =========== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-lg);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  max-height: 60px;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0;
  padding: 0;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: var(--secondary);
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
}

/* =========== ANA SAYFA HERO =========== */
.hero-section {
  position: relative;
  padding: 6rem 0;
  background-color: var(--white);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
  transform: scale(1.05);
  animation: subtle-zoom 20s infinite alternate ease-in-out;
}

@keyframes subtle-zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.hero-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 3px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* style.css dosyanızdaki btn ve btn-primary sınıflarını güncelleyin */

.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* Metin gölgesi ekledik */
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1); /* Daha koyu overlay */
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  color: var(--white);
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(255, 90, 95, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark); /* Daha koyu arka plan */
  border-color: var(--primary-dark);
  color: white; /* Beyaz rengi koruyoruz */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 90, 95, 0.4);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Hover durumunda daha belirgin metin gölgesi */
}

/* Alternatif buton stilleri */
.btn-primary-alt {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  box-shadow: 0 4px 10px rgba(255, 90, 95, 0.3);
}

.btn-primary-alt:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-dark));
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 90, 95, 0.5);
}
/* =========== MENÜ SAYFASI =========== */
.menu-header {
  text-align: center;
  padding: 4rem 0 2rem;
  position: relative;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), 
                    url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
}

.menu-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  z-index: 5; /* Daha yüksek z-index değeri */
  padding: 0 50px; /* Yan çizgiler için boşluk ekledik */
}

/* Yanlardaki çizgiler */
.menu-title::before,
.menu-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: linear-gradient(to right, var(--light-gray), var(--primary));
  transform: translateY(-50%);
  z-index: 2;
}

.menu-title::before {
  left: 10px; /* Pozisyonu ayarladık */
}

.menu-title::after {
  right: 10px; /* Pozisyonu ayarladık */
}

/* Alttaki çizgi - farklı bir adla tanımladık */
.menu-title .title-underline {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 3px;
  transform: translateX(-50%);
  z-index: 2;
}

.menu-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 1.5rem auto 2.5rem;
  position: relative;
  z-index: 5; /* Daha yüksek z-index değeri */
}

/* Mobil cihazlarda title çizgilerini kaldır */
@media (max-width: 576px) {
  .menu-title {
    padding: 0; /* Mobilde padding'i kaldır */
  }
  
  .menu-title::before,
  .menu-title::after {
    display: none; /* Mobilde yan çizgileri kaldır */
  }
  
  .menu-title .title-underline {
    width: 40px; /* Mobilde daha kısa alt çizgi */
  }
}
/* =========== KATEGORİ FİLTRELERİ =========== */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  padding: 0.5rem 0;
  position: relative;
}

.category-filter {
  background-color: var(--white);
  color: var(--secondary);
  border: 2px solid var(--light-gray);
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.category-filter:hover {
  background-color: var(--light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.category-filter.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 5px 15px rgba(255, 90, 95, 0.25);
}

.category-filter.active:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Kategori sayacı */
.category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 0.7rem;
  margin-left: 0.5rem;
  transition: var(--transition);
}

.category-filter:not(.active) .category-count {
  background-color: var(--light-gray);
  color: var(--gray);
}

.category-filter:hover:not(.active) .category-count {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

/* =========== KATEGORİ BÖLÜMÜ =========== */
.category-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.category-section:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.category-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-top-left-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
}

.category-header {
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-gray);
}

.category-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  padding-left: 15px;
}

.category-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 70%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 5px;
}

.category-description {
  color: var(--gray);
  font-size: 1rem;
}

/* =========== MENÜ ÖĞELERİ =========== */
.menu-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-item {
  display: flex;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--light-gray);
  flex-direction: row;
  opacity: 0;
  transform: translateY(20px);
  animation: menuItemFadeIn 0.5s ease forwards;
}

@keyframes menuItemFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sıralı animasyon gecikmeleri */
.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: var(--shadow);
  border-color: var(--primary-light);
}

.menu-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.menu-item:hover::after {
  transform: scaleX(1);
}

.menu-item-image {
  width: 120px;
  min-width: 120px;
  height: 120px;
  object-fit: cover;
  transition: var(--transition);
}

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

.menu-item-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.menu-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  transition: var(--transition);
  padding-right: 70px; /* Fiyat için yer açma */
}

.menu-item:hover .menu-item-title {
  color: var(--primary);
}

.menu-item-description {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  flex: 1;
}

.menu-item-price {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  background-color: var(--primary);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(255, 90, 95, 0.2);
  transition: var(--transition);
}

.menu-item:hover .menu-item-price {
  transform: scale(1.05);
  background-color: var(--primary-dark);
  box-shadow: 0 4px 8px rgba(255, 90, 95, 0.3);
}

.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  z-index: 5;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.badge-featured {
  background-color: var(--accent);
  color: var(--white);
}

.menu-item.sold-out {
  opacity: 0.7;
}

.menu-item.sold-out .menu-item-image {
  filter: grayscale(1);
}

.menu-item.sold-out::after {
  content: "Tükendi";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  background-color: rgba(220, 53, 69, 0.9);
  color: white;
  padding: 0.25rem 1rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px;
  z-index: 10;
}

/* Boş kategori mesajı */
.empty-category-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: var(--gray);
  font-style: italic;
  background-color: var(--light);
  border-radius: var(--border-radius);
  border: 1px dashed var(--light-gray);
}

/* =========== ÖNE ÇIKAN ÜRÜNLER =========== */
.featured-section {
  padding: 4rem 0;
  background-color: var(--white);
  margin: 3rem 0;
  position: relative;
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
}

.featured-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.featured-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.featured-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
}

.featured-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.featured-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--light-gray);
}

.featured-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.featured-item-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: var(--transition);
}

.featured-item:hover .featured-item-image {
  transform: scale(1.05);
}

.featured-item-content {
  padding: 1.5rem;
  position: relative;
}

.featured-item-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.featured-item:hover .featured-item-title {
  color: var(--primary);
}

.featured-item-description {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.featured-item-price {
  position: absolute;
  top: -20px;
  right: 1rem;
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
  background-color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(255, 90, 95, 0.2);
  transition: var(--transition);
}

.featured-item:hover .featured-item-price {
  transform: scale(1.05);
  background-color: var(--primary-dark);
  box-shadow: 0 4px 8px rgba(255, 90, 95, 0.3);
}

/* =========== RESTORAN BİLGİLERİ =========== */
.restaurant-info {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  padding: 3rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.restaurant-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.info-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.info-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
}

.info-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary);
  margin: 1.5rem 0 0.75rem;
}

.info-text {
  color: var(--gray);
  margin-bottom: 1rem;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

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

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 90, 95, 0.1);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  background-color: var(--primary);
  color: var(--white);
}

/* =========== FOOTER =========== */
.footer {
  background-color: var(--secondary);
  color: var(--light);
  padding: 3rem 0;
  margin-top: 4rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-text {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: var(--light);
  transition: var(--transition);
  position: relative;
  padding-bottom: 3px;
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary);
}

.footer-link:hover::after {
  width: 100%;
}

/* =========== YARDIMCI SINIFLAR =========== */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* =========== ANİMASYONLAR =========== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes pageLoad {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.slide-in-left {
  opacity: 0;
  animation: slideInLeft 0.6s ease forwards;
}

.slide-in-right {
  opacity: 0;
  animation: slideInRight 0.6s ease forwards;
}

.pulse {
  animation: pulse 2s infinite;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* =========== LOADING SPINNER =========== */
.menu-loading {
  text-align: center;
  padding: 3rem 0;
}

.loading-spinner {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 5px solid var(--light-gray);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s ease-in-out infinite;
}

/* =========== MEDYA SORGULARI =========== */
/* Mobil cihazlar için kaydırılabilir kategori filtreleri */
@media (max-width: 768px) {
  .category-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0.5rem 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
  }
  
  .category-filters::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  
  .category-filter {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  
  .menu-items {
    grid-template-columns: 1fr;
  }
  
  .menu-item-image {
    width: 120px;
    min-width: 120px;
    height: 120px;
  }
  
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    justify-content: center;
  }
}

/* Tablet ve Büyük Mobil */
@media (min-width: 768px) {
  .menu-items {
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  }
  
  .menu-item-image {
    width: 150px;
    min-width: 150px;
    height: 150px;
  }
  
  .menu-item-title {
    font-size: 1.2rem;
  }
  
  .menu-item-description {
    font-size: 1rem;
  }
  
  .menu-item-price {
    font-size: 1.1rem;
  }
}

/* Masaüstü */
@media (min-width: 992px) {
  html {
    font-size: 17px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .menu-title {
    font-size: 2.75rem;
  }
  
  .menu-subtitle {
    font-size: 1.2rem;
  }
  
  .menu-items {
    grid-template-columns: repeat(auto-fill, minmax(550px, 1fr));
  }
  
  .restaurant-info {
    padding: 4rem;
  }
  
  .category-section {
    padding: 2.5rem;
  }
}

/* Küçük Mobil */
@media (max-width: 576px) {
  html {
    font-size: 15px;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .hero-section {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .menu-header {
    padding: 2rem 0 1.5rem;
  }
  
  .menu-title {
    font-size: 2rem;
  }
  
  .menu-subtitle {
    font-size: 0.95rem;
  }
  
  .category-filters {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  
  .category-filter {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
  
  .menu-item {
    flex-direction: row;
  }
  
  .menu-item-image {
    width: 100px;
    min-width: 100px;
    height: 100px;
  }
  
  .menu-item-content {
    padding: 0.75rem;
  }
  
  .menu-item-title {
    font-size: 1rem;
    padding-right: 60px; /* Fiyat için yer açma */
  }
  
  .menu-item-description {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }
  
  .menu-item-price {
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.9rem;
    padding: 0.25rem 0.6rem;
  }
  
  .restaurant-info {
    padding: 1.5rem;
  }
  
  .info-title {
    font-size: 1.5rem;
  }
  
  .info-subtitle {
    font-size: 1.2rem;
  }
  
  .footer {
    padding: 2rem 0;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .category-section {
    padding: 1.5rem;
  }
  
  .menu-title::before,
  .menu-title::after {
    display: none; /* Mobilde yanlardaki çizgileri kaldır */
  }
  
  .featured-items {
    grid-template-columns: 1fr;
  }
}

/* Çok Küçük Ekranlar */
@media (max-width: 360px) {
  .menu-item {
    flex-direction: column;
  }
  
  .menu-item-image {
    width: 100%;
    height: 180px;
  }
  
  .menu-item-title {
    padding-right: 0;
    margin-top: 1.5rem;
  }
  
  .menu-item-price {
    top: 150px;
    right: 0.75rem;
  }
  
  .featured-item-price {
    right: 0.5rem;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
  }
  
  .nav-links {
    gap: 0.75rem;
  }
}

/* =========== PRINT STYLES =========== */
@media print {
  .header, .footer, .hero-section, .category-filters {
    display: none;
  }
  
  body {
    background-color: white;
    color: black;
    font-size: 12pt;
  }
  
  .menu-header {
    background-image: none;
    box-shadow: none;
    padding: 1rem 0;
  }
  
  .menu-item {
    break-inside: avoid;
    page-break-inside: avoid;
    border: 1px solid #ddd;
  }
  
  .menu-item-price {
    color: black;
    background-color: transparent;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .category-section {
    page-break-inside: avoid;
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
  }
}

/* =========== UTILITY CLASSES =========== */
.page-transition {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.text-gray {
  color: var(--gray) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}

.bg-accent {
  background-color: var(--accent) !important;
}

.bg-light {
  background-color: var(--light) !important;
}

.shadow {
  box-shadow: var(--shadow) !important;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.rounded {
  border-radius: var(--border-radius) !important;
}

.rounded-lg {
  border-radius: var(--border-radius-lg) !important;
}

.rounded-sm {
  border-radius: var(--border-radius-sm) !important;
}

.border {
  border: 1px solid var(--light-gray) !important;
}

.border-primary {
  border-color: var(--primary) !important;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.d-flex {
  display: flex !important;
}

.flex-column {
  flex-direction: column !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.align-items-center {
  align-items: center !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.gap-1 {
  gap: 0.5rem !important;
}

.gap-2 {
  gap: 1rem !important;
}

.gap-3 {
  gap: 1.5rem !important;
}

/* Yukarı Çık Butonu - Geliştirilmiş Versiyon */
.back-to-top {
  position: fixed;
  bottom: 70px; /* Daha yukarıda */
  right: 25px;  /* Sağdan biraz içeride */
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(255, 90, 95, 0.4);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.back-to-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.back-to-top:hover::before {
  opacity: 1;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 90, 95, 0.5);
}

.back-to-top:active {
  transform: translateY(-2px) scale(0.95);
}

.back-to-top i {
  position: relative;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* Mobil cihazlar için geliştirilmiş tasarım */
@media (max-width: 767px) {
  .back-to-top {
    bottom: 65px; /* Mobilde biraz daha yukarıda */
    right: 20px;  /* Sağdan biraz içeride */
    width: 55px;  /* Daha büyük buton */
    height: 55px; /* Daha büyük buton */
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(255, 90, 95, 0.4);
  }
}

/* Tablet modu için */
@media (min-width: 768px) and (max-width: 1024px) {
  .back-to-top {
    bottom: 70px;
    right: 25px;
  }
}

/* Karanlık mod desteği */
@media (prefers-color-scheme: dark) {
  .back-to-top {
    box-shadow: 0 4px 15px rgba(255, 90, 95, 0.6);
  }
}