/* QR Menü – Cadının Evi referanslı, modern ve sade tasarım */

:root {
  --color-bg: #faf9f7;
  --color-surface: #ffffff;
  --color-card: #ffffff;
  --color-text: #2d2d2d;
  --color-text-muted: #6b6b6b;
  --color-accent: #8b6914;
  --color-accent-soft: #c4a035;
  --color-border: #e8e6e3;
  --color-border-light: #f0eeeb;
  --color-badge: #2d5a27;
  --color-badge-bg: rgba(45, 90, 39, 0.1);

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif;

  --font-size-body: 16px;
  --font-size-small: 14px;
  --font-size-tiny: 12px;
  --font-size-h1: 1.875rem;
  --font-size-h2: 1.25rem;
  --line-height-body: 1.55;
  --line-height-tight: 1.35;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.5rem;
  --space-3xl: 3rem;

  --content-max: 48rem;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  font-weight: 400;
}

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header – sade, merkez, logo + isim + slogan */
.header {
  padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  text-align: center;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.header__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.header__logo-wrap {
  margin-bottom: var(--space-md);
}

.header__logo {
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.header__title {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-heading);
  font-size: var(--font-size-h1);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
  line-height: var(--line-height-tight);
}

.header__tagline {
  margin: 0 0 var(--space-xs);
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.header__sub {
  margin: 0;
  font-size: var(--font-size-tiny);
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Main */
.main {
  flex: 1;
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}

.menu {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

/* Kategori başlığı – referans stili */
.category {
  animation: fadeInUp 0.45s ease backwards;
}

.menu .category:nth-child(1) { animation-delay: 0.03s; }
.menu .category:nth-child(2) { animation-delay: 0.06s; }
.menu .category:nth-child(3) { animation-delay: 0.09s; }
.menu .category:nth-child(4) { animation-delay: 0.12s; }
.menu .category:nth-child(5) { animation-delay: 0.15s; }
.menu .category:nth-child(6) { animation-delay: 0.18s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category__title {
  margin: 0 0 var(--space-lg);
  padding-bottom: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.03em;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.category__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Ürün kartı – Cadının Evi tarzı: isim, boyut/badge, açıklama, fiyat */
.item {
  background: var(--color-card);
  border-radius: var(--radius);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.item:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-border-light);
}

.item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-xs);
}

.item__name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
  line-height: var(--line-height-tight);
  flex: 1;
  min-width: 0;
}

.item__badge {
  flex-shrink: 0;
  font-size: var(--font-size-tiny);
  font-weight: 600;
  color: var(--color-badge);
  background: var(--color-badge-bg);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.item__meta {
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

.item__description {
  margin: 0 0 var(--space-sm);
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
  line-height: 1.5;
  font-weight: 400;
}

.item__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border-light);
}

.item__price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-accent);
  white-space: nowrap;
}

.menu-error {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--color-text-muted);
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.menu-error p {
  margin: 0 0 var(--space-sm);
}

.menu-error p:last-child {
  margin-bottom: 0;
}

.menu-error__hint {
  font-size: var(--font-size-small);
  opacity: 0.9;
}

/* Footer */
.footer {
  padding: var(--space-lg) var(--space-lg) var(--space-xl);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
  margin-top: auto;
}

.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
}

.footer__text {
  margin: 0 0 var(--space-xs);
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
}

.footer__text:last-child {
  margin-bottom: 0;
}

.footer__text--muted {
  font-size: var(--font-size-tiny);
  opacity: 0.85;
}

/* Tablet ve üzeri */
@media (min-width: 600px) {
  :root {
    --font-size-h1: 2.125rem;
    --font-size-h2: 1.35rem;
  }

  .header {
    padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
  }

  .main {
    padding: var(--space-2xl) var(--space-lg);
  }

  .menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3xl);
  }

  .menu .category:nth-child(odd) { animation-delay: 0.03s; }
  .menu .category:nth-child(even) { animation-delay: 0.08s; }
}

@media (min-width: 900px) {
  .menu {
    max-width: var(--content-max);
    margin: 0 auto;
  }
}
