@charset "UTF-8";

:root {
  --bg-dark: #0f0d0e;
  --bg-card: #181516;
  --bg-card-hover: #221d1f;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 158, 11, 0.3);
  --primary-red: #e11d24;
  --accent-gold: #f59e0b;
  --text-main: #f9fafb;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(225, 29, 36, 0.18), transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(245, 158, 11, 0.08), transparent 35%);
  background-attachment: fixed;
}

.app-container {
  max-width: 650px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: 70px;
}

/* HERO */
.home-hero {
  padding: 24px 20px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(225, 29, 36, 0.15);
  border: 1px solid rgba(225, 29, 36, 0.35);
  color: #ff7675;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* Logo Kapsayıcısı ve Işıma Efekti Ayarı */
.logo-wrapper {
  position: relative;
  width: 200px; /* Logonun genişliğini buradan büyütebilirsiniz (Örn: 120px veya 140px) */
  height: 200px; /* Genişlik ile aynı yaparak düzgün oranlayın */
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-glow {
  position: absolute;
  inset: -10px;
  background: var(--primary-red);
  filter: blur(15px); /* Arkadaki ışımanın bulanıklık derecesi */
  opacity: 0.35;
  border-radius: 50%;
  z-index: 1;
}

.main-logo-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Logonun kesilmeden, net ve tam oturmasını sağlar */
  border-radius: 16px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.7));
}

.hero-title {
  font-family: 'Lobster', cursive;
  font-size: 2.2rem;
  font-weight: 400; /* Lobster standart olarak kalın olduğu için weight ayarı sıfırlanır */
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.hero-title span {
    font-family: 'Lobster', cursive;
  color: var(--primary-red);
}

.hero-subtitle {
  font-family: 'Lobster', cursive;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 auto 20px;
  line-height: 1.45;
}

/* CARDS */
.home-cards-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 16px;
  margin-bottom: 24px;
}

.action-card {
  position: relative;
  border-radius: 18px;
  padding: 16px 18px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.action-card:active {
  transform: scale(0.98);
}

.card-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-text-box h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-text-box p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.card-arrow-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.card-menu {
  background: linear-gradient(135deg, #1e1315 0%, #2b1114 100%);
  border: 1px solid rgba(225, 29, 36, 0.4);
  box-shadow: 0 6px 20px rgba(225, 29, 36, 0.2);
}

.card-menu .card-icon-box {
  background: linear-gradient(135deg, #e11d24, #f59e0b);
}

.badge-featured {
  background: #e11d24;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
}

.card-instagram {
  background: linear-gradient(135deg, #19121d 0%, #201326 100%);
  border: 1px solid rgba(225, 48, 108, 0.3);
}

.card-instagram .card-icon-box {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.card-google {
  background: linear-gradient(135deg, #13171f 0%, #151d28 100%);
  border: 1px solid rgba(66, 133, 244, 0.3);
}

.card-google .card-icon-box {
  background: #ffffff;
}

.stars-rating {
  color: #fbbf24;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.stars-rating span {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-right: 4px;
}

/* QUICK INFO */
.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 16px;
  margin-bottom: 24px;
}

.info-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.info-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.info-text strong {
  display: block;
  font-size: 0.82rem;
  color: #fff;
}

.info-text span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* MENU SECTION */
.menu-section {
  padding-top: 10px;
}

.menu-sticky-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 13, 14, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  padding: 12px 16px 10px;
}

.menu-top-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.menu-top-title h2 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-container {
  position: relative;
  margin-bottom: 10px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 10px 14px 10px 38px;
  color: #fff;
  font-size: 0.86rem;
  outline: none;
}

.search-input:focus {
  border-color: var(--primary-red);
}

.categories-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.category-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  user-select: none;
}

.category-pill:active,
.category-pill.active {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #fff;
}

.menu-content-area {
  padding: 16px;
}

.category-section-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin: 22px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-section-title:first-of-type {
  margin-top: 4px;
}

.count-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.food-items-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* DETAILS & SUMMARY FOOD CARDS */
details.food-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

details.food-card[open] {
  border-color: var(--border-gold);
  background: #1c181a;
}

summary.food-card-summary {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 12px;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  outline: none;
}

summary.food-card-summary::-webkit-details-marker {
  display: none;
}

.food-img-container {
  width: 82px;
  height: 82px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: #252023;
}

.food-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-tag {
  position: absolute;
  top: 3px;
  left: 3px;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-spicy { background: #e11d24; color: #fff; }
.badge-special { background: #f59e0b; color: #000; }
.badge-popular { background: #10b981; color: #fff; }

.food-summary-info {
  flex: 1;
  min-width: 0;
}

.food-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.food-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.food-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-gold);
  white-space: nowrap;
}

.food-teaser {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

.food-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.expand-prompt {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.expand-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease;
}

details[open] summary .expand-arrow {
  transform: rotate(180deg);
  background: var(--accent-gold);
  color: #000;
}

details[open] summary .expand-prompt {
  color: var(--accent-gold);
}

.btn-add-quick {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.food-details-accordion {
  padding: 14px;
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid var(--border-color);
}

.details-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-section-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--accent-gold);
  margin-bottom: 3px;
  display: block;
}

.detail-desc-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.ingredients-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ingredient-chip {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  color: var(--text-main);
  padding: 2px 7px;
  border-radius: 6px;
}

.details-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.meta-pill {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px 8px;
}

.meta-pill-label {
  color: var(--text-muted);
  display: block;
  font-size: 0.66rem;
}

.meta-pill-value {
  color: #fff;
  font-weight: 600;
  font-size: 0.74rem;
}

.detail-action-btn {
  width: 100%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  text-decoration: none;
  padding: 10px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.restaurant-meta-box {
  margin: 20px 16px 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-color);
  border-radius: 14px;
  padding: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* --- YORUM BUTONU VE MODAL STİLLERİ --- */
.review-trigger-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 6px 0;
  display: block;
  text-align: center;
  width: 100%;
  margin-top: 6px;
}

.review-trigger-btn:hover {
  color: var(--accent-gold);
}

.review-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 16px;
}

.review-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.review-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  width: 100%;
  max-width: 400px;
  padding: 24px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.review-modal-backdrop.active .review-modal-content {
  transform: scale(1);
}

.review-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.review-modal-close:hover {
  background: var(--primary-red);
}

.review-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  text-align: center;
}

.review-modal-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 16px;
}

.review-textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  color: #fff;
  font-size: 0.9rem;
  min-height: 100px;
  resize: vertical;
  outline: none;
  font-family: inherit;
  margin-bottom: 14px;
}

.review-textarea:focus {
  border-color: var(--accent-gold);
}

.review-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-red), #b91c1c);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.review-submit-btn:hover {
  opacity: 0.9;
}