/* ═══════════════════════════════════════════════════
   KOZA Cafe & Restaurant — Osmanlı Saray Teması
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Playfair+Display:wght@500;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --emerald-deep: #0e1a14;
  --emerald: #16271e;
  --emerald-mid: #1e3528;
  --emerald-light: #2a4636;
  --gold: #c5a059;
  --gold-bright: #dfba73;
  --gold-dim: #a88645;
  --parchment: #f7f3e8;
  --parchment-dark: #ebe4d4;
  --ink: #1a1510;
  --ink-soft: #3d3428;
  --cream: #fffaf0;
  --success: #2d6a4f;
  --danger: #8b2942;
  --radius-arch: 48% 48% 8px 8px;
  --shadow-gold: 0 0 0 1px var(--gold), 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.28);
  --font-display: 'Cinzel', 'Playfair Display', serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--emerald-deep);
  color: var(--parchment);
  line-height: 1.6;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

/* —— Atmosphere —— */
.ottoman-bg {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(197, 160, 89, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(30, 53, 40, 0.8), transparent),
    linear-gradient(180deg, var(--emerald) 0%, var(--emerald-deep) 100%);
  background-attachment: fixed;
}

.parchment-texture {
  background-color: var(--parchment);
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  color: var(--ink);
}

/* —— Typography —— */
.display {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.gold-text {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-sub {
  text-align: center;
  color: rgba(247, 243, 232, 0.65);
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.75rem auto 1.5rem;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
}

.ornament::before,
.ornament::after {
  content: '';
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* —— Layout —— */
.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-bright);
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  position: relative;
  clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
}

.btn:hover {
  background: var(--gold);
  color: var(--emerald-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35);
}

.btn-solid {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--emerald-deep);
  border-color: transparent;
}

.btn-solid:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--cream);
}

.btn-ghost {
  clip-path: none;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.btn-arch {
  clip-path: none;
  border-radius: 40% 40% 8px 8px / 28% 28% 8px 8px;
  padding: 0.9rem 1.1rem;
  min-width: 5.5rem;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.7rem;
  background: rgba(22, 39, 30, 0.75);
  backdrop-filter: blur(8px);
}

.btn-arch svg { width: 20px; height: 20px; stroke: var(--gold-bright); fill: none; stroke-width: 1.5; }

/* —— Arch / niche cards —— */
.arch-card {
  position: relative;
  background: linear-gradient(180deg, var(--emerald-mid) 0%, var(--emerald) 100%);
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: 50% 50% 12px 12px / 18% 18% 12px 12px;
  padding: 2.5rem 1.5rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
}

.arch-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: inherit;
  pointer-events: none;
}

.arch-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-bright);
}

.arch-card .icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(197, 160, 89, 0.08);
}

.arch-card .icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold-bright);
  fill: none;
  stroke-width: 1.4;
}

.arch-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-bright);
  margin-bottom: 0.6rem;
}

.arch-card p {
  font-size: 0.9rem;
  color: rgba(247, 243, 232, 0.7);
  font-weight: 300;
}

/* —— Price badge —— */
.price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  padding: 0.55rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--parchment);
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  border: 1.5px solid var(--gold);
  border-radius: 50% / 42%;
  box-shadow: inset 0 0 0 3px rgba(197, 160, 89, 0.2), 0 4px 12px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  flex-shrink: 0;
}

/* —— Monogram —— */
.monogram {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-bright);
  background: radial-gradient(circle at 35% 30%, var(--emerald-light), var(--emerald-deep));
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15);
  flex-shrink: 0;
}

.thumb-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15);
  flex-shrink: 0;
}

/* —— Menu item row —— */
.menu-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  animation: fadeUp 0.5s var(--ease) both;
}

.menu-item:last-child { border-bottom: none; }

.menu-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--parchment);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.menu-item p {
  font-size: 0.8rem;
  color: rgba(247, 243, 232, 0.55);
  font-weight: 300;
  line-height: 1.45;
}

/* —— Category tabs —— */
.cat-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: linear-gradient(180deg, var(--emerald) 70%, transparent);
  backdrop-filter: blur(10px);
}

.cat-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
  flex-shrink: 0;
  padding: 0.7rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 243, 232, 0.65);
  background: rgba(22, 39, 30, 0.9);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 40% 40% 6px 6px / 30% 30% 6px 6px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.cat-tab.active,
.cat-tab:hover {
  color: var(--emerald-deep);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border-color: transparent;
}

/* —— Modal —— */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 10, 0.75);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: min(380px, 100%);
  background: var(--emerald-mid);
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-gold);
  transform: translateY(16px) scale(0.96);
  transition: transform 0.35s var(--ease);
}

.modal-backdrop.open .modal {
  transform: none;
}

.modal h3 {
  font-family: var(--font-display);
  color: var(--gold-bright);
  margin-bottom: 0.75rem;
}

.wifi-creds {
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed rgba(197, 160, 89, 0.4);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.wifi-creds strong {
  display: block;
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size: 1.15rem;
  margin-top: 0.25rem;
  letter-spacing: 0.08em;
}

/* —— Toast —— */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: linear-gradient(135deg, var(--success), #1b4332);
  color: var(--parchment);
  border: 1px solid var(--gold);
  border-radius: 50% / 40%;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  z-index: 200;
  box-shadow: var(--shadow-gold);
  transition: transform 0.4s var(--ease);
  white-space: nowrap;
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* —— Animations —— */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.skeleton {
  background: linear-gradient(90deg, var(--emerald-mid) 25%, var(--emerald-light) 50%, var(--emerald-mid) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 8px;
  height: 72px;
  margin-bottom: 0.75rem;
}

/* —— Site header (landing) —— */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(14, 26, 20, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(197, 160, 89, 0.25);
}

.site-header .inner {
  width: min(1120px, 92%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-bright);
  line-height: 1.2;
}

.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(247, 243, 232, 0.55);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  font-size: 0.85rem;
  font-weight: 400;
}

.nav-links a {
  color: rgba(247, 243, 232, 0.75);
  transition: color 0.25s;
  position: relative;
}

.nav-links a:hover { color: var(--gold-bright); }

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  width: 42px; height: 42px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out alternate infinite;
}

@keyframes heroZoom {
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 26, 20, 0.55) 0%, rgba(14, 26, 20, 0.35) 40%, rgba(14, 26, 20, 0.92) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(14, 26, 20, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  animation: fadeUp 1s var(--ease) both;
}

.hero-logo {
  width: min(168px, 40vw);
  height: min(168px, 40vw);
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  background: #111;
  box-shadow: 0 0 0 6px rgba(197, 160, 89, 0.15), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.75rem);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.hero .since {
  font-family: var(--font-display);
  letter-spacing: 0.35em;
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero .tagline {
  font-weight: 300;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(247, 243, 232, 0.8);
  max-width: 28rem;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  opacity: 0.7;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* —— WhatsApp floating —— */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: calc(1.1rem + env(safe-area-inset-bottom));
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.wa-float:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.wa-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* —— Brand banner —— */
.brand-banner-wrap {
  padding: 2.5rem 0 0.5rem;
}

.brand-banner-frame {
  max-width: 920px;
  margin-inline: auto;
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #111;
}

.brand-banner-frame img {
  width: 100%;
  display: block;
}

/* —— Features grid —— */
.features {
  padding: 4rem 0 3.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.features-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

/* —— Atmosphere gallery —— */
.atmosphere {
  padding: 3rem 0 4.5rem;
}

.atmosphere-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.atmosphere-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.35);
  box-shadow: var(--shadow-soft);
  min-height: 220px;
  background: var(--emerald-mid);
}

.atmosphere-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.atmosphere-card:hover img {
  transform: scale(1.05);
}

.atmosphere-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(8, 14, 10, 0.92));
}

.atmosphere-card strong {
  display: block;
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.atmosphere-card span {
  font-size: 0.8rem;
  color: rgba(247, 243, 232, 0.7);
  font-weight: 300;
}

/* —— Branches —— */
.branches {
  padding: 4rem 0 5rem;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.branch-card {
  background: linear-gradient(160deg, var(--emerald-mid), var(--emerald-deep));
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.branch-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-bright);
}

.branch-card .media {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.branch-card .media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--emerald-deep) 100%);
}

.branch-card .body {
  padding: 1.5rem 1.5rem 1.75rem;
  margin-top: -2rem;
  position: relative;
}

.branch-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-bright);
  margin-bottom: 0.75rem;
}

.branch-meta {
  font-size: 0.88rem;
  color: rgba(247, 243, 232, 0.7);
  margin-bottom: 0.4rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.branch-meta svg {
  width: 16px; height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 3px;
}

.branch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.branch-actions .btn {
  font-size: 0.7rem;
  padding: 0.7rem 1.2rem;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid rgba(197, 160, 89, 0.25);
  padding: 3rem 0 2rem;
  background: rgba(0, 0, 0, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
}

.site-footer p, .site-footer li {
  font-size: 0.85rem;
  color: rgba(247, 243, 232, 0.6);
  font-weight: 300;
  margin-bottom: 0.4rem;
}

.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.socials a {
  width: 40px; height: 40px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.3s, border-color 0.3s;
}

.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--emerald-deep);
}

.socials svg { width: 18px; height: 18px; fill: currentColor; }

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(197, 160, 89, 0.15);
  font-size: 0.75rem;
  color: rgba(247, 243, 232, 0.4);
  letter-spacing: 0.05em;
}

/* —— QR Menu (mockup-matched) —— */
.qr-page {
  min-height: 100dvh;
  background: var(--parchment);
  color: var(--ink);
}

.menu-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    radial-gradient(circle at 8% 20%, rgba(197, 160, 89, 0.14), transparent 40%),
    radial-gradient(circle at 92% 10%, rgba(197, 160, 89, 0.12), transparent 38%),
    linear-gradient(180deg, #1a3226 0%, var(--emerald) 55%, #122018 100%);
  border-bottom: 1px solid rgba(197, 160, 89, 0.45);
  padding: 1rem 0 0.85rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.menu-header .inner {
  width: min(440px, 94%);
  margin-inline: auto;
  text-align: center;
}

.menu-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.menu-brand img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid var(--gold-bright);
  object-fit: cover;
  box-shadow:
    0 0 0 5px rgba(197, 160, 89, 0.18),
    0 10px 28px rgba(0, 0, 0, 0.4);
  background: #111;
}

.menu-brand h1 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.menu-brand h1 span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.btn-arch {
  min-height: 64px;
  background: linear-gradient(180deg, rgba(197, 160, 89, 0.18), rgba(14, 26, 20, 0.55));
  border: 1.5px solid var(--gold);
  color: var(--gold-bright);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 16px rgba(0, 0, 0, 0.25);
}

.btn-arch:hover {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--emerald-deep);
}

.btn-arch:hover svg { stroke: var(--emerald-deep); }

.cat-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #101c16;
  border-bottom: 1px solid rgba(197, 160, 89, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.cat-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: min(440px, 100%);
  margin-inline: auto;
  background: transparent;
  backdrop-filter: none;
  position: static;
}

.cat-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
  flex: 1 0 auto;
  min-width: max-content;
  padding: 0.85rem 0.95rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(247, 243, 232, 0.55);
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s, border-color 0.25s;
}

.cat-tab.active,
.cat-tab:hover {
  color: var(--gold-bright);
  background: transparent;
  border-bottom-color: var(--gold-bright);
}

.menu-body {
  width: min(440px, 100%);
  margin: 0 auto;
  padding: 0.85rem 0.75rem 3rem;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #f8f3e7 0%, #f3ebda 100%);
  min-height: 60dvh;
}

.cat-section {
  margin-top: 0.35rem;
  scroll-margin-top: 52px;
}

.cat-section h2 {
  display: none;
}

.menu-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0.75rem;
  margin-bottom: 0.65rem;
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(197, 160, 89, 0.55);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(80, 55, 20, 0.06);
  color: var(--ink);
  animation: fadeUp 0.45s var(--ease) both;
}

.menu-item h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 0.15rem;
  line-height: 1.25;
}

.menu-item p {
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-item .thumb-ring,
.menu-item .monogram {
  width: 64px;
  height: 64px;
}

.menu-item .monogram {
  color: var(--gold-dim);
  background: radial-gradient(circle at 35% 30%, #efe6d2, #e4d8bc);
  border-color: var(--gold);
}

.menu-item .price-badge {
  min-width: 3.6rem;
  padding: 0.55rem 0.5rem;
  font-size: 0.82rem;
  background: linear-gradient(145deg, #e8c878, var(--gold), #b8924a);
  color: #1a1510;
  border: 1px solid #a07a35;
  border-radius: 50%;
  aspect-ratio: 1;
  width: 3.5rem;
  height: 3.5rem;
  box-shadow: 0 3px 10px rgba(160, 120, 40, 0.35);
}

/* —— Admin (mobile-first, simple) —— */
.admin-body {
  background: var(--emerald-deep);
  min-height: 100dvh;
}

.login-wrap {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.login-card {
  width: min(400px, 100%);
  background: var(--emerald);
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 2rem 1.35rem;
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.login-card img {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  margin: 0 auto 1rem;
  object-fit: cover;
}

.login-card h1 {
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.login-card .hint {
  font-size: 0.8rem;
  color: rgba(247, 243, 232, 0.5);
  margin-bottom: 1.5rem;
}

.form-field {
  text-align: left;
  margin-bottom: 0.9rem;
}

.form-field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 10px;
  color: var(--parchment);
  outline: none;
  font-size: 1rem;
  transition: border-color 0.25s;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--gold-bright);
}

.admin-shell { display: none; }
.admin-shell.active { display: block; padding-bottom: 5.5rem; }

.admin-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 26, 20, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
  padding: 0.75rem 0;
}

.admin-top .inner {
  width: min(480px, 94%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-content {
  width: min(480px, 94%);
  margin: 1rem auto 0;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.admin-toolbar .btn {
  width: 100%;
  min-height: 48px;
  clip-path: none;
  border-radius: 12px;
  font-size: 0.85rem;
}

.admin-cat {
  margin-bottom: 1.25rem;
}

.admin-cat h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.82rem;
  margin-bottom: 0.55rem;
  letter-spacing: 0.04em;
}

.admin-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 72px 42px 52px;
  gap: 0.45rem;
  align-items: center;
  padding: 0.7rem 0.55rem;
  margin-bottom: 0.45rem;
  background: rgba(30, 53, 40, 0.55);
  border: 1px solid rgba(197, 160, 89, 0.22);
  border-radius: 12px;
}

.admin-row .thumb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  object-fit: cover;
  background: var(--emerald-mid);
}

.admin-row .name {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.25;
  word-break: break-word;
}

.admin-row input[type="number"] {
  width: 100%;
  min-height: 44px;
  padding: 0.45rem 0.35rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 10px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-bright);
  -moz-appearance: textfield;
}

.admin-row input[type="number"]::-webkit-outer-spin-button,
.admin-row input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.toggle {
  position: relative;
  width: 44px;
  height: 28px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 14px;
  border: 1px solid rgba(197, 160, 89, 0.3);
  cursor: pointer;
  transition: background 0.25s;
  justify-self: center;
  flex-shrink: 0;
}

.toggle.on {
  background: var(--success);
  border-color: var(--gold);
}

.toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: var(--parchment);
  border-radius: 50%;
  transition: transform 0.25s var(--ease);
}

.toggle.on::after { transform: translateX(16px); }

.del-btn {
  appearance: none;
  -webkit-appearance: none;
  width: 52px;
  min-height: 44px;
  border-radius: 10px;
  border: 1.5px solid #c45a6a;
  background: linear-gradient(180deg, #a33a4e, #8b2942);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.1;
  cursor: pointer;
  justify-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.35rem 0.25rem;
  box-shadow: 0 4px 12px rgba(139, 41, 66, 0.35);
  transition: transform 0.15s, filter 0.15s;
}

.del-btn:hover,
.del-btn:active {
  filter: brightness(1.12);
  transform: translateY(-1px);
  color: #fff;
}

.photo-pick {
  display: grid;
  place-items: center;
  gap: 0.5rem;
  min-height: 140px;
  border: 1.5px dashed rgba(197, 160, 89, 0.5);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  overflow: hidden;
  position: relative;
}

.photo-pick img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-pick input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.fab-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(14, 26, 20, 0.97);
  border-top: 1px solid rgba(197, 160, 89, 0.35);
  padding: 0.75rem 0.85rem calc(0.75rem + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.55rem;
  z-index: 40;
  width: min(480px, 100%);
  margin-inline: auto;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}

.fab-bar .btn {
  clip-path: none;
  border-radius: 12px;
  min-height: 48px;
  font-size: 0.78rem;
  padding: 0.7rem 0.5rem;
}

/* —— Responsive —— */
@media (max-width: 860px) {
  .features-grid,
  .features-grid-6 { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .atmosphere-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .atmosphere-card img { height: 220px; }
  .branch-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(14, 26, 20, 0.97);
    padding: 1.25rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    gap: 1rem;
  }
  .nav-toggle { display: grid; place-items: center; }
}

@media (max-width: 560px) {
  .features-grid,
  .features-grid-6 { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
}

@media (max-width: 400px) {
  .admin-row {
    grid-template-columns: 44px minmax(0, 1fr) 64px 40px 48px;
    gap: 0.3rem;
  }
  .del-btn {
    width: 48px;
    font-size: 0.62rem;
  }
  .menu-item {
    grid-template-columns: 56px 1fr auto;
    gap: 0.55rem;
    padding: 0.6rem;
  }
  .menu-item .thumb-ring,
  .menu-item .monogram { width: 54px; height: 54px; }
  .menu-item .price-badge { width: 3.1rem; height: 3.1rem; font-size: 0.75rem; }
}
