/* ============================================================
   Urfa Sofrası — Base Styles
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

button, input, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.font-tabular {
  font-variant-numeric: tabular-nums;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ── Demo Design Switcher (Remove this block after client picks a style) ── */
.demo-bar {
  background: #141210;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-bar__inner {
  max-width: 1280px;
  margin-inline: auto;
  padding: 8px clamp(1rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.demo-bar__inner::-webkit-scrollbar {
  display: none;
}

.demo-bar__label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.48);
  margin-right: 4px;
  white-space: nowrap;
}

.demo-bar__link {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  transition: background 150ms ease, color 150ms ease;
}

.demo-bar__link:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.demo-bar__link.is-active {
  background: #fff;
  color: #141210;
  font-weight: 600;
}
