/* ═══ Nar Çiçeğim Restaurant — Ortak Temel & Tipografi Standartları ═══ */
@import url('assets/fonts.css?v=3');

:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', 'Courier Prime', Menlo, monospace;
  --font-condensed: 'Barlow Condensed', sans-serif;
}

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

/* ═══ ORTAK KAPSAYICI ═══
   Her konsept --wrap ve --gutter değerlerini kendi ölçüsüne göre ezer. */
:root {
  --wrap: 1280px;
  --gutter: clamp(20px, 4.4vw, 68px);
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: calc(860px + var(--gutter) * 2); }
.wrap--wide   { max-width: calc(1560px + var(--gutter) * 2); }
.wrap--flush  { max-width: none; padding-inline: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.locked {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6, p, figure, ul, ol, dl, dd {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══ ORTAK LIGHTBOX (FOTOĞRAF BÜYÜTÜCÜ) ═══ */
.nc-lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 92vw;
  max-height: 92vh;
  outline: none;
}

.nc-lightbox::backdrop {
  background: rgba(10, 10, 12, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.nc-lightbox__box {
  position: relative;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
  max-width: 1000px;
  margin: auto;
}

.nc-lightbox__box img {
  max-height: 75vh;
  width: auto;
  max-width: 100%;
  border-radius: 8px;
  margin: 0 auto;
}

.nc-lightbox__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.nc-lightbox__close {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  transition: background 0.2s ease;
}

.nc-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
