/* Simitçi Rıza Efendi — renkler logodan alındı */
:root {
  --brown: #391a06;
  --brown-2: #5a2e12;
  --cream: #f3eadb;
  --cream-2: #ebe1c6;
  --gold: #c8964f;
  --gold-2: #e2b877;
  --paper: #fbf8f3;
  --ink: #1d1d1f;
  --muted: #6e6259;
  --line: rgba(57, 26, 6, .1);
  --radius: 28px;
  --max: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -.011em;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.05; font-weight: 700; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold); letter-spacing: -.02em; }
p { margin: 0; }

.eyebrow { font-size: 14px; font-weight: 600; color: var(--gold); letter-spacing: .02em; margin-bottom: 14px; }
.eyebrow--light { color: var(--gold-2); }
.lead { font-size: clamp(19px, 2vw, 22px); color: var(--muted); line-height: 1.45; max-width: 36ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brown); color: var(--cream);
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px;
  transition: transform .3s var(--ease), background .3s;
}
.btn:hover { background: var(--brown-2); transform: scale(1.03); }
.btn--small { padding: 8px 16px; font-size: 13px; }
.btn--light { background: var(--cream); color: var(--brown); }
.btn--light:hover { background: #fff; }
.link-arrow { color: var(--brown); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(251, 248, 243, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-color: var(--line); }
.nav__inner { max-width: var(--max); margin: 0 auto; height: 60px; padding: 0 22px; display: flex; align-items: center; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--brown); letter-spacing: -.02em; }
.nav__brand img { width: 30px; height: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav__links a:hover { color: var(--brown); }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: 130px 22px 60px;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
  min-height: 92vh;
}
.hero h1 { font-size: clamp(46px, 7vw, 92px); color: var(--brown); }
.hero .lead { margin-top: 24px; }
.hero__cta { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero__visual { position: relative; aspect-ratio: 1; }
.hero__glow {
  position: absolute; inset: 6%;
  background: radial-gradient(circle at 50% 50%, var(--cream-2) 0%, rgba(235, 225, 198, 0) 70%);
  border-radius: 50%;
}
.hero__simit {
  position: relative; width: 100%; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 71%);
  mask-image: radial-gradient(circle, #000 58%, transparent 71%);
  animation: float 7s ease-in-out infinite;
}
.hero__badge {
  position: absolute; right: 2%; bottom: 4%; width: 26%;
  filter: drop-shadow(0 18px 30px rgba(57, 26, 6, .3));
  animation: float 7s ease-in-out -3.5s infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(1.5deg); } }

/* Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: var(--paper); }
.ticker__track { display: flex; gap: 48px; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { font-size: 22px; font-weight: 600; color: var(--brown); white-space: nowrap; letter-spacing: -.02em; }
.ticker span::after { content: "●"; color: var(--gold); font-size: 8px; margin-left: 48px; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: 120px 22px; }
.section__head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(40px, 6vw, 72px); color: var(--brown); }
.section__head .lead { margin-top: 16px; }

/* Filters */
.filters { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.chip {
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  padding: 9px 18px; border-radius: 999px;
  background: #fff; color: var(--muted); border: 1px solid var(--line);
  transition: all .25s var(--ease);
}
.chip:hover { color: var(--brown); }
.chip.is-active { background: var(--brown); color: var(--cream); border-color: var(--brown); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--cream); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(57, 26, 6, .35); }
.card.is-hidden { display: none; }
.card__media { aspect-ratio: 1; overflow: hidden; background: var(--cream); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 4px 28px 30px; }
.card h3 { font-size: 24px; color: var(--brown); }
.card p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.card--wide { grid-column: span 2; flex-direction: row; align-items: center; }
.card--wide .card__media { flex: 1.1; }
.card--wide .card__body { flex: 1; padding: 40px; }
.card--wide h3 { font-size: clamp(32px, 4vw, 48px); }
.card--wide p { font-size: 17px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }

/* Story */
.story { background: var(--brown); color: var(--cream); padding: 140px 22px; overflow: hidden; }
.story__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.story__portrait img { width: 100%; max-width: 440px; margin: 0 auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .45)); }
.story h2 { font-size: clamp(40px, 5.5vw, 68px); color: var(--cream); margin-bottom: 28px; }
.story p { font-size: 19px; color: rgba(243, 234, 219, .75); max-width: 46ch; }
.story p + p { margin-top: 16px; }
.story strong { color: var(--cream); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 48px; margin: 48px 0 0; padding-top: 32px; border-top: 1px solid rgba(243, 234, 219, .15); }
.stats dt { font-size: clamp(28px, 3vw, 40px); font-weight: 700; color: var(--gold-2); letter-spacing: -.03em; }
.stats dd { margin: 4px 0 0; font-size: 14px; color: rgba(243, 234, 219, .6); }

/* Promise */
.promise { padding-block: 100px; }
.promise__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise__item { background: #fff; border-radius: var(--radius); padding: 40px 32px; border: 1px solid var(--line); }
.promise__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--cream); margin-bottom: 22px; }
.promise__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--brown); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.promise__item h3 { font-size: 22px; color: var(--brown); }
.promise__item p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* Branches */
.branches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.branch {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.branch:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(57, 26, 6, .3); }
.branch__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.branch__district { font-size: 13px; color: var(--muted); }
.branch h3 { font-size: 34px; color: var(--brown); }
.branch__addr { color: var(--muted); font-size: 15px; flex: 1; }
.branch__phone { font-weight: 600; color: var(--brown); }
.branch .link-arrow { margin-top: 8px; }
.pill { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: #e7f4ea; color: #1f7a3a; display: inline-flex; align-items: center; gap: 6px; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--gold { background: rgba(200, 150, 79, .18); color: #8a5a17; }
.branch--soon {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--brown) 0%, #6b3612 100%);
  border: 0; color: var(--cream);
}
.branch--soon h3 { color: var(--cream); font-size: clamp(40px, 5vw, 60px); }
.branch--soon .branch__addr { color: rgba(243, 234, 219, .75); max-width: 44ch; }
.branch--soon .branch__district { color: rgba(243, 234, 219, .6); }
.branch--soon .pill--gold { background: var(--gold); color: var(--brown); }
.branch--soon .link-arrow { color: var(--gold-2); }
.branch--soon .branch__phone { color: var(--cream); }

/* CTA */
.cta {
  max-width: var(--max); margin: 0 auto 120px; padding: 100px 22px;
  text-align: center; background: var(--cream); border-radius: 40px;
  width: calc(100% - 44px);
}
.cta h2 { font-size: clamp(40px, 6vw, 76px); color: var(--brown); margin-bottom: 36px; }

/* Footer */
.footer { background: var(--brown); color: var(--cream); padding: 64px 22px 32px; }
.footer__inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(243, 234, 219, .12); }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand strong { display: block; font-size: 18px; }
.footer__brand span { font-size: 14px; color: rgba(243, 234, 219, .6); }
.footer__links { display: flex; gap: 28px; font-size: 14px; color: rgba(243, 234, 219, .75); }
.footer__links a:hover { color: var(--cream); }
.footer__bottom { max-width: var(--max); margin: 0 auto; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(243, 234, 219, .55); }
.credit { display: inline-flex; align-items: center; gap: 10px; opacity: .8; transition: opacity .3s; }
.credit:hover { opacity: 1; }
.credit img { width: 92px; height: auto; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; text-align: center; min-height: 0; }
  .hero .lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .story__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .story p { margin-inline: auto; }
  .stats { justify-content: center; }
  .promise__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav .btn--small { margin-left: auto; }
  .section { padding: 84px 16px; }
  .grid, .branches { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; flex-direction: column; }
  .card--wide .card__body { padding: 4px 28px 30px; }
  .branch--soon { grid-column: auto; }
  .branch { padding: 28px; }
  .stats { gap: 28px; }
  .story { padding: 96px 16px; }
  .cta { width: calc(100% - 32px); padding: 72px 20px; margin-bottom: 84px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__inner { flex-direction: column; text-align: center; }
}
