:root {
  --bg-color: #0c0f17; /* Derin Lacivert / Siyah */
  --surface: #1a1f2e;
  --surface-light: #252b3d;
  --accent: #ef4444; /* Canlı Kırmızı */
  --accent-light: #f87171;
  --accent-glow: rgba(239, 68, 68, 0.4);
  --accent-secondary: #b91c1c;
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --glass: rgba(26, 31, 46, 0.8);
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --radius: 20px;
}

body.light-theme {
  --bg-color: #f8fafc;
  --surface: #ffffff;
  --surface-light: #e2e8f0;
  --accent: #d4af37;
  --accent-light: #fcd34d;
  --accent-glow: rgba(212, 175, 55, 0.2);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --glass: rgba(255, 255, 255, 0.9);
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  top: 0 !important; /* Force override Google Translate offset */
}

/* Hide Google Translate Banner completely */
.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon, .goog-tooltip {
  display: none !important;
}
body > .skiptranslate {
  display: none !important;
}
.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Language Selector Custom UI */
.lang-selector {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 8px;
  z-index: 100;
}
.lang-btn {
  background: var(--glass);
  backdrop-filter: blur(5px);
  border: 1px solid var(--border);
  color: white;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.lang-btn:hover {
  background: var(--accent);
  color: #000;
}

.hidden { display: none !important; }

/* Scrollbar Customization */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: var(--surface-light); border-radius: 10px; }

/* Loading State */
.screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.loader {
  width: 48px;
  height: 48px;
  border: 3px solid var(--surface-light);
  border-bottom-color: var(--accent);
  border-radius: 50%;
  animation: rotation 1s linear infinite;
}

@keyframes rotation { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Hero Section */
.hero {
  position: relative;
  height: 40vh;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 3rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-color) 0%, rgba(12, 15, 23, 0.6) 40%, rgba(12, 15, 23, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 1.5rem;
}

.logo-wrapper {
  margin-bottom: 1.5rem;
  display: inline-block;
  position: relative;
}

.logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--accent);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
  background: linear-gradient(to right, #fff, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#restaurant-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 1.5rem;
  font-weight: 300;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
  transform: translateY(-5px);
  background: var(--accent);
  color: #000;
}

/* Menu Layout */
.menu-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 15, 23, 0.9);
  backdrop-filter: blur(15px);
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.categories {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.2rem 1.5rem;
  scrollbar-width: none;
}

.categories::-webkit-scrollbar { display: none; }

.category-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  white-space: nowrap;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.category-btn.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.location-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 0.3s;
}

.location-btn:hover {
  background: var(--accent);
  color: #000;
}

/* Search Box */
.search-container {
  padding: 1.5rem;
  margin-top: -30px;
  position: relative;
  z-index: 100;
}

.search-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  height: 50px;
  max-width: 600px;
  margin: 0 auto;
}

.search-box i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-right: 12px;
}

.search-box input {
  background: transparent;
  border: none;
  color: #fff;
  width: 100%;
  height: 100%;
  outline: none;
  font-size: 0.95rem;
}

.search-btn {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 6px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
}

.search-btn:hover {
  background: #fff;
  transform: scale(1.05);
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Menu Items */
.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.menu-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}

.menu-item:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.3);
}

.item-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

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

.item-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  color: var(--accent);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.item-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.item-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  flex: 1;
}

.item-price {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.2rem;
  white-space: nowrap;
  margin-left: 1rem;
}

.item-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  color: var(--text-muted);
}

.footer-brand {
  display: block;
  font-weight: 700;
  color: var(--accent);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
}

/* Animations */
.animate-fade-in { animation: fadeIn 1s forwards cubic-bezier(0.4, 0, 0.2, 1); }
.animate-slide-up { animation: slideUp 0.8s forwards cubic-bezier(0.4, 0, 0.2, 1); }

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

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

/* Mobile Responsive */
@media (max-width: 640px) {
  .hero { height: 35vh; min-height: 320px; }
  h1 { font-size: 2rem; }
  .menu-items { grid-template-columns: 1fr; }
  .menu-item { flex-direction: row; height: 140px; }
  .item-img-container { width: 120px; height: 100%; aspect-ratio: auto; }
  .item-content { padding: 1rem; justify-content: center; }
  .item-desc { -webkit-line-clamp: 1; line-clamp: 1; margin-bottom: 0.5rem; }
  .item-badge { display: none; }
  .item-name { font-size: 1.1rem; }
}
