/* favolatedarik.com — Saha Laciverti
   Düzen: geniş kalın başlıklar + ince çizgilerle ayrılmış sütunlar; köşeler sert, kart gölgesi yok. */
:root {
  --paper: #F1F0EC;
  --white: #FFFFFF;
  --ink: #0B1220;
  --navy: #14284B;
  --navy-2: #233A63;
  --navy-soft: #C9D4E6;
  --navy-dim: #9FB0CC;
  --navy-line: #3D5378;
  --muted: #3E4555;
  --faint: #5E6678;
  --rule: #C9CCD3;
  --tint: #DDE2EA;
  --sand: #E4E3DD;
  --red: #D2353A;
  --red-soft: #FFE3E3;
  --yellow: #E8C547;
  --yellow-ink: #3A3416;
  --foot-muted: #B8BFCC;
  --foot-line: #222A38;
  --foot-faint: #8A93A6;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }

.wrap { max-width: 1320px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 40px); }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--yellow); color: var(--ink); padding: 10px 14px; z-index: 10; }

/* Başlıklar */
.display { font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: .88; }
.display .thin { font-stretch: 62%; font-weight: 300; letter-spacing: -.01em; }
.h-xl { font-size: clamp(30px, 8.4vw, 80px); }
.h-l { font-size: clamp(30px, 7.5vw, 88px); }
.h-m { font-size: clamp(32px, 4.4vw, 56px); line-height: .95; }
.h-s { font-size: clamp(26px, 3vw, 40px); line-height: 1; letter-spacing: -.02em; }
.wide { font-stretch: 112%; }

/* Düğmeler */
.btn { display: inline-block; padding: 16px 26px; border: 1px solid transparent; font-family: var(--sans); font-weight: 700; font-stretch: 112%; font-size: 15px; text-transform: uppercase; line-height: 1.2; cursor: pointer; }
.btn-red { background: var(--red); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-white { background: #fff; color: var(--red); }
.btn-navy { background: var(--navy); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn:hover { filter: brightness(1.08); color: inherit; }
.btn-red:hover, .btn-navy:hover, .btn-ink:hover { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link-arrow { font-weight: 700; font-stretch: 112%; text-transform: uppercase; font-size: 15px; }

/* Üst menü */
.site-header { background: var(--paper); border-bottom: 1px solid var(--ink); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-block: 16px; }
.logo { font-stretch: 125%; font-weight: 900; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; color: var(--navy); }
.logo span { color: var(--red); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.nav a[aria-current="page"] { border-bottom: 2px solid var(--red); padding-bottom: 3px; }
.nav .nav-cta { background: var(--navy); color: var(--paper); padding: 11px 18px; }
.nav .nav-cta:hover { color: #fff; }
.nav .nav-cta[aria-current="page"] { background: var(--red); border: 0; padding-bottom: 11px; }
@media (max-width: 640px) {
  .nav { gap: 6px 16px; font-size: 12px; }
  .nav .nav-cta { padding: 9px 12px; }
}

/* Genel bölüm */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: end; margin-bottom: 32px; }
.section-head p { max-width: 420px; color: var(--muted); }
.lead { font-size: 19px; max-width: 560px; }
.crumb { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Çizgili sütunlar */
.cols { display: flex; flex-wrap: wrap; border-top: 1px solid var(--ink); }
.col { flex: 1 1 260px; min-width: 0; padding: 26px 26px 0 0; display: flex; flex-direction: column; gap: 8px; }
.col strong { font-stretch: 112%; font-size: 20px; }
.col p, .col span { color: var(--muted); }
.step-num { font-stretch: 62%; font-weight: 300; font-size: clamp(64px, 7vw, 96px); line-height: .9; color: var(--navy); }
.bar { width: 44px; height: 6px; display: block; }

/* Kart ızgarası */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.card { background: var(--paper); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-stretch: 112%; font-weight: 800; font-size: 22px; line-height: 1.1; }
.card p { font-size: 15px; color: var(--muted); }
.card .img { height: 200px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 12px; }
.card .img img { max-height: 176px; width: auto; object-fit: contain; }
.tag { font-family: var(--mono); font-size: 12px; align-self: flex-start; padding: 3px 8px; background: var(--yellow); color: var(--navy); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid currentColor; padding: 10px 18px; }

.dl { margin: 0; display: flex; flex-direction: column; font-family: var(--mono); font-size: 15px; }
.dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 14px; border-top: 1px solid var(--rule); }
.dl > div:first-child { border-top-color: var(--ink); }
.dl > div:last-child { border-bottom: 1px solid var(--rule); }
.dl dd { margin: 0; }

/* Koyu bantlar */
.band-navy { background: var(--navy); color: var(--paper); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-red { background: var(--red); color: #fff; }
.band-yellow { background: var(--yellow); color: var(--ink); }
.band-sand { background: var(--sand); }
.band-navy .cols, .band-ink .cols { border-top-color: var(--navy-line); }
.band-navy .col p, .band-navy .col span { color: var(--navy-soft); }
.band-yellow .cols { border-top: 2px solid var(--ink); }
.band-yellow .col p { color: var(--yellow-ink); }

/* Slider */
.slider { position: relative; }
.slide { display: none; }
.slide.is-active { display: block; animation: slide-in .6s ease both; }
@keyframes slide-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.slide-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; padding-block: 40px 120px; min-height: 600px; }
.slide-text { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; container-type: inline-size; }
/* Slayt başlığı sütun genişliğine göre: en uzun kelime ("ATIŞTIRMALIK.") taşmasın */
.slide-text .h-xl { font-size: clamp(28px, 8.6cqi, 96px); }
.slide-foot { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding-top: 24px; border-top: 1px solid var(--navy-line); }
.slide-foot p { flex: 1 1 320px; min-width: 0; max-width: 460px; }
.slide-art { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 26px; min-height: 420px; }
.slider-controls { position: absolute; left: 0; right: 0; bottom: 32px; }
.slider-controls .wrap { display: flex; align-items: center; gap: 14px; color: var(--paper); }
.dot { width: 32px; height: 4px; padding: 0; border: 0; background: rgba(241,240,236,.4); cursor: pointer; transition: width .3s, background .3s; }
.dot[aria-current="true"] { width: 64px; background: var(--red); }
.slider[data-active="1"] .dot[aria-current="true"] { background: var(--yellow); }
.arrow { width: 48px; height: 48px; border: 1px solid var(--paper); background: transparent; color: var(--paper); font-size: 18px; cursor: pointer; }
.arrow.next { background: var(--paper); color: var(--ink); }
.tables { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; flex: 1; }
.tables div { font-family: var(--mono); font-size: 12px; padding: 8px; background: var(--navy-2); color: var(--navy-dim); min-height: 64px; }
.tables .full { background: var(--yellow); color: var(--ink); }
.tables .bill { background: var(--red); color: #fff; }

/* Ürün kutuları (anasayfa) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tile { background: #fff; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.tile .img { height: 150px; display: flex; align-items: center; justify-content: center; }
.tile img { max-height: 130px; width: auto; object-fit: contain; }

/* Alt bilgi */
.site-footer { background: var(--ink); color: var(--paper); }
.site-footer .wrap { padding-block: 72px 32px; display: flex; flex-direction: column; gap: 48px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: end; }
.foot-links { display: flex; flex-wrap: wrap; gap: 48px; font-family: var(--mono); font-size: 14px; }
.foot-links div { display: flex; flex-direction: column; gap: 6px; color: var(--foot-muted); }
.foot-links .label { color: var(--faint); }
.foot-links a { color: var(--foot-muted); }
.foot-links a:hover { color: #fff; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--foot-line); font-family: var(--mono); font-size: 12px; color: var(--foot-faint); }

/* Form */
.form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: flex; flex-wrap: wrap; gap: 22px; }
.field { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.field input, .field select, .field textarea { font: inherit; padding: 12px 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); border-radius: 0; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 2px 0 var(--navy); }
.form-note { font-family: var(--mono); font-size: 13px; color: var(--navy); }
.map { width: 100%; height: 300px; border: 0; display: block; filter: grayscale(.2); }

/* Animasyonlar */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-1.5deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes fill { 0%, 40% { background: var(--navy-2); color: var(--navy-dim); } 50%, 100% { background: var(--yellow); color: var(--ink); } }
.a-float { animation: float 5s ease-in-out infinite; }
.a-bob { animation: bob 4.5s ease-in-out infinite; }
.a-pulse { animation: pulse 1.4s ease-in-out infinite; }
.a-fill { animation: fill 6s ease infinite alternate; }

/* FavolaPOS: sipariş akışı */
@keyframes pos-new { 0%, 10% { opacity: 0; transform: translateY(-10px); } 16%, 100% { opacity: 1; transform: none; } }
@keyframes pos-send { 0%, 22% { background: var(--navy); color: var(--paper); } 25%, 31% { background: var(--yellow); color: var(--ink); } 34%, 100% { background: var(--navy); color: var(--paper); } }
@keyframes pos-ticket { 0%, 33% { opacity: 0; transform: translateY(-20px); } 39%, 100% { opacity: 1; transform: none; } }
@keyframes pos-bar { 0%, 39% { width: 0; } 62%, 100% { width: 100%; } }
@keyframes pos-prep { 0%, 36% { opacity: 0; } 39%, 62% { opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes pos-ready { 0%, 63% { opacity: 0; } 65%, 100% { opacity: 1; } }
@keyframes pos-table { 0%, 66% { background: var(--tint); color: var(--faint); } 70%, 100% { background: var(--yellow); color: var(--ink); } }
@keyframes pos-receipt { 0%, 72% { transform: translateY(-100%); } 86%, 100% { transform: translateY(0); } }
@keyframes pos-arrow { 0%, 100% { transform: translateX(0); opacity: .5; } 50% { transform: translateX(6px); opacity: 1; } }
@keyframes ai-scan { 0% { top: 0; } 50% { top: calc(100% - 3px); } 100% { top: 0; } }
@keyframes ai-row { 0%, 15% { opacity: 0; transform: translateX(-8px); } 25%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.pos-new { animation: pos-new 9s ease infinite; }
.pos-send { animation: pos-send 9s ease infinite; }
.pos-ticket { animation: pos-ticket 9s ease infinite; }
.pos-bar { animation: pos-bar 9s linear infinite; }
.pos-prep { animation: pos-prep 9s ease infinite; }
.pos-ready { animation: pos-ready 9s ease infinite; }
.pos-table { animation: pos-table 9s ease infinite; }
.pos-receipt { animation: pos-receipt 9s ease infinite; }
.pos-arrow { animation: pos-arrow 1.6s ease-in-out infinite; }
.ai-scan { animation: ai-scan 3.5s linear infinite; }
.ai-row { animation: ai-row 6s ease infinite backwards; }

.flow { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.flow-step { flex: 1 1 290px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.flow-step .eyebrow { color: var(--navy); }
.flow-arrow { align-self: center; font-size: 28px; color: var(--navy); }
@media (max-width: 960px) { .flow-arrow { display: none; } }
.phone { width: 230px; max-width: 100%; height: 420px; border: 10px solid var(--ink); border-radius: 30px; background: #fff; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.row { display: flex; justify-content: space-between; gap: 8px; }
.price { font-family: var(--mono); color: var(--faint); }
.receipt { background: #FBFBF8; border: 1px solid var(--tint); padding: 16px 14px; font-family: var(--mono); font-size: 12px; display: flex; flex-direction: column; gap: 4px; }
.dash { border-top: 1px dashed var(--foot-faint); margin-block: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
