/* Y2 Restaurant tanıtım sitesi: programla aynı siyah-kırmızı tema */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f6f6f4;
  --surface: #fff;
  --ink: #131316;
  --ink-2: #3f3f46;
  --muted: #74747c;
  --line: #e7e7e4;
  --dark: #0f0f12;
  --accent: #c8102e;
  --accent-rgb: 200, 16, 46;
  --accent-hot: #ff4d5e;
  --accent-grad: linear-gradient(135deg, #e8283f 0%, #c8102e 55%, #9e0b22 100%);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; font-feature-settings: 'cv11', 'ss01', 'ss03'; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.08; }
p { margin: 0; }
.wrap { width: min(1220px, 100% - 40px); margin: 0 auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
em { font-style: normal; background: linear-gradient(90deg, #ff6b78, #e8283f 60%, #ff4d5e); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 14px; border: 1px solid transparent; font: inherit; font-weight: 650; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 0.12s, background 0.2s, box-shadow 0.2s, border-color 0.2s; }
.btn:active { transform: scale(0.97); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 12px; }
.btn.lg { height: 56px; padding: 0 28px; font-size: 16.5px; border-radius: 16px; }
.btn.primary { background: var(--accent-grad); color: #fff; box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn.primary:hover { box-shadow: 0 14px 34px rgba(var(--accent-rgb), 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn.ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.05); }
.btn.ghost-light:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- üst menü ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s; }
.nav.solid { background: rgba(15, 15, 18, 0.94); backdrop-filter: blur(18px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { filter: drop-shadow(0 6px 14px rgba(var(--accent-rgb), 0.45)); }
.brand b { font-size: 18px; font-weight: 750; letter-spacing: -0.01em; }
.brand b span { color: var(--accent-hot); }
.links { display: flex; align-items: center; gap: 6px; }
.links > a:not(.btn) { padding: 8px 12px; border-radius: 10px; color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 15px; font-weight: 550; transition: color 0.2s, background 0.2s; }
.links > a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.links .btn { margin-left: 6px; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.08); cursor: pointer; padding: 12px; }
.burger i { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: #fff; transition: transform 0.25s, opacity 0.25s; }
.nav.open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .burger i:nth-child(2) { opacity: 0; }
.nav.open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- koyu bölümler (giriş, bayi) ---------- */
.hero, .dark { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.g1 { width: 760px; height: 760px; left: -220px; top: -260px; background: rgba(200, 16, 46, 0.42); }
.g2 { width: 620px; height: 620px; right: -160px; bottom: -320px; background: rgba(255, 77, 94, 0.22); }
.g3 { width: 700px; height: 700px; right: -200px; top: -200px; background: rgba(200, 16, 46, 0.34); }
.grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(70% 70% at 30% 40%, #000 30%, transparent 100%); }
.eyebrow-dark { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.8); font-size: 14px; font-weight: 600; }
.eyebrow-dark i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-hot); box-shadow: 0 0 12px var(--accent-hot); }
.lead { margin-top: 22px; max-width: 560px; color: rgba(255, 255, 255, 0.66); font-size: 19px; line-height: 1.6; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: 150px 0 110px; }
.hero h1 { margin-top: 22px; font-size: clamp(44px, 6vw, 76px); font-weight: 820; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, 0.55); font-size: 14.5px; font-weight: 550; }
.ticks li::before { content: '✓'; margin-right: 8px; color: var(--accent-hot); font-weight: 800; }

/* ekran görüntüsü çerçevesi (programın penceresine benzer) */
.window { position: relative; border-radius: 18px; overflow: hidden; background: #131316; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 80px rgba(var(--accent-rgb), 0.18); }
.wbar { display: flex; justify-content: flex-end; gap: 7px; padding: 10px 14px; background: linear-gradient(90deg, #131316, #3d0b16); }
.wbar.light { background: #e9e9e6; }
.wbar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); }
.wbar.light i { background: rgba(0, 0, 0, 0.18); }
.hero-shot { position: relative; transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; }
.float { position: absolute; display: grid; gap: 2px; white-space: nowrap; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.96); color: var(--ink); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); animation: bob 5s ease-in-out infinite; }
.float b { font-size: 16px; }
.float small { color: var(--muted); font-size: 13px; }
.f1 { left: -34px; bottom: 54px; }
.f2 { right: -18px; top: -26px; animation-delay: -2.5s; }
.f2 b { font-size: 26px; letter-spacing: -0.03em; }
.up { color: #16a34a; font-size: 12.5px; font-weight: 700; }
.pill { justify-self: start; padding: 2px 10px; border-radius: 99px; color: #fff; font-size: 12px; font-weight: 700; }
.pill.ys { background: #ea004b; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- entegrasyon şeridi ---------- */
.strip { padding: 34px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.strip-title { text-align: center; color: var(--muted); font-size: 14px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.08em; }
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.partner { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 16px; background: color-mix(in srgb, var(--c) 7%, #fff); border: 1px solid color-mix(in srgb, var(--c) 25%, #fff); color: var(--c); font-size: 17px; font-weight: 750; letter-spacing: -0.01em; }
.partner::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }

/* ---------- açık bölümler ---------- */
.sec { padding: 120px 0; }
.sec.alt { background: #efefec; }
.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow { color: var(--accent); font-size: 14px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; }
.sec h2, .dark h2 { margin-top: 12px; font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; }
.sec-head p { margin-top: 18px; color: var(--muted); font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { padding: 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(19, 19, 22, 0.04); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.feat:hover { transform: translateY(-4px); border-color: #e0d4d6; box-shadow: 0 20px 44px rgba(19, 19, 22, 0.08); }
.ficon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 16px; background: var(--accent-grad); box-shadow: 0 10px 22px rgba(var(--accent-rgb), 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.ficon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 19px; font-weight: 750; letter-spacing: -0.02em; }
.feat p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ekran galerisi */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto 30px; padding: 6px; border-radius: 18px; background: #e4e4e0; }
.tabs button { height: 44px; padding: 0 20px; border: 0; border-radius: 13px; background: transparent; font: inherit; font-weight: 650; color: var(--ink-2); cursor: pointer; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(19, 19, 22, 0.1); }
.gallery { margin: 0; }
.window.big { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 40px 90px rgba(19, 19, 22, 0.18); }
.window.big img { transition: opacity 0.25s; }
.window.big img.fade { opacity: 0; }
.gallery figcaption { margin-top: 20px; text-align: center; color: var(--muted); font-size: 16px; }

/* bayi bölümü */
.dark { padding: 130px 0; }
.dark-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.checks { display: grid; gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 36px; color: rgba(255, 255, 255, 0.66); font-size: 16.5px; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: rgba(255, 77, 94, 0.16); color: var(--accent-hot); font-size: 13px; font-weight: 800; }
.checks b { color: #fff; font-weight: 650; }
.stack { position: relative; padding: 0 0 70px 40px; }
.stack .window.back { position: absolute; width: 78%; right: -40px; bottom: 0; z-index: -0; transform: rotate(2deg); }
.stack > .window:first-child { position: relative; z-index: 1; width: 92%; }
.tag { position: absolute; z-index: 2; padding: 8px 14px; border-radius: 99px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 750; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); }
.tag::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--accent); }
.t1 { left: 0; top: 30px; }
.t2 { right: -20px; bottom: 30px; }

/* adımlar */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 34px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 50%; background: var(--dark); color: #fff; font-size: 19px; font-weight: 800; box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.1); }
.steps h3 { font-size: 21px; }
.steps p { margin-top: 10px; color: var(--muted); }

/* SSS */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: box-shadow 0.2s; }
.faq details[open] { box-shadow: 0 14px 34px rgba(19, 19, 22, 0.07); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-size: 17.5px; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #f1f1ef; color: var(--accent); font-size: 20px; font-weight: 500; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* iletişim */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.contact > div > p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.mini { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-weight: 550; }
.mini li::before { content: '✓'; margin-right: 10px; color: var(--accent); font-weight: 800; }
.form { display: grid; gap: 16px; padding: 32px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(19, 19, 22, 0.08); }
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kinds label { cursor: pointer; }
.kinds input { position: absolute; opacity: 0; }
.kinds span { display: grid; place-items: center; height: 50px; padding: 0 10px; border-radius: 14px; border: 1px solid var(--line); text-align: center; font-size: 14.5px; font-weight: 650; color: var(--ink-2); transition: all 0.15s; }
.kinds input:checked + span { border-color: var(--accent); background: #fdecef; color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12); }
.kinds input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 650; color: var(--ink-2); }
.field small { color: var(--muted); font-weight: 500; }
.field input, .field textarea { width: 100%; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--line); background: #fafaf9; font: inherit; color: var(--ink); outline: none; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px #fdecef; }
.form-msg:empty { display: none; }
.form-msg { padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.form-msg.ok { background: #eafaf0; color: #16a34a; }
.form-msg.err { background: #fff0ef; color: #e5322a; }
.form .btn { width: 100%; }
.form .btn:disabled { opacity: 0.6; cursor: default; }

/* alt bilgi */
.foot { padding: 40px 0; background: var(--dark); color: rgba(255, 255, 255, 0.5); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot nav a { color: rgba(255, 255, 255, 0.65); text-decoration: none; font-size: 15px; }
.foot nav a:hover { color: #fff; }

/* kaydırınca beliren öğeler */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.hero-shot.reveal.in { transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- dar ekranlar ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .hero-in, .dark-in, .contact { grid-template-columns: 1fr; gap: 48px; }
  .hero-in { padding-top: 130px; }
  .hero-shot, .hero-shot.reveal.in { transform: none; }
  .f1 { left: 10px; }
  .f2 { right: 10px; }
}
@media (max-width: 880px) {
  .burger { display: block; }
  .links { position: absolute; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 20px 22px; background: rgba(15, 15, 18, 0.97); backdrop-filter: blur(18px); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
  .nav.open .links { transform: none; opacity: 1; pointer-events: auto; }
  .nav.open { background: rgba(15, 15, 18, 0.97); }
  .links > a:not(.btn) { padding: 12px 14px; font-size: 16px; }
  .links .btn { margin: 6px 0 0; height: 48px; }
}
@media (max-width: 640px) {
  .sec, .dark { padding: 84px 0; }
  .features, .steps { grid-template-columns: 1fr; }
  .row, .kinds { grid-template-columns: 1fr; }
  .float { display: none; }
  .stack { padding: 0 0 50px; }
  .stack .window.back { right: -10px; }
  .t2 { right: 0; }
  .form { padding: 22px; }
  .tabs button { padding: 0 14px; }
  .lead { font-size: 17px; }
}
