/* ===== DESIGN TOKENS ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --ink: #1f2c3c;         /* kurumsal lacivert (logo rengi) */
  --muted: #5f6b78;
  --line: #e6e9ee;
  --accent: #a9764e;      /* karamel / kahve */
  --accent-dark: #8c5f3c;
  --accent-soft: #f3e9df;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 18px 50px -24px rgba(60, 40, 20, .28);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; border-radius: 100px;
  font-size: .92rem; font-weight: 500; letter-spacing: .02em;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--full { width: 100%; }

/* ===== NAV ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .4s;
}
.nav.scrolled { background: rgba(255,255,255,.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.scrolled .nav__inner { padding-top: 14px; padding-bottom: 14px; }

.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo-mark { height: 40px; width: auto; display: block; }
.nav__logo-text { font-weight: 600; letter-spacing: .18em; font-size: .82rem; }
.hero__logo { height: 92px; width: auto; margin: 0 auto 26px; display: block; }
.footer__logo { height: 40px; width: auto; display: block; }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { font-size: .9rem; color: var(--ink); position: relative; transition: color .25s; }
.nav__links a:not(.nav__cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav__links a:not(.nav__cta):hover { color: var(--accent); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta { padding: 9px 22px; border: 1px solid var(--line); border-radius: 100px; transition: all .3s; }
.nav__cta:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 28px 80px; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 620px at 70% -10%, var(--accent-soft), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, #f6efe7, transparent 55%),
    var(--bg);
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(169,118,78,.12) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5;
}
.hero__eyebrow { font-size: .78rem; letter-spacing: .32em; color: var(--accent-dark); margin-bottom: 26px; font-weight: 500; }
.hero__title { font-size: clamp(2.8rem, 7vw, 5.6rem); margin-bottom: 26px; }
.hero__sub { max-width: 560px; color: var(--muted); font-size: 1.08rem; margin-bottom: 40px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hero__scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); }
.hero__scroll span {
  display: block; width: 24px; height: 40px; border: 1.5px solid var(--accent); border-radius: 20px; position: relative;
}
.hero__scroll span::after {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--accent); border-radius: 3px;
  animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 20px; } 100% { opacity: 0; } }

/* ===== SECTION SHELL ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 110px 28px; }
.section--alt { max-width: none; background: var(--bg-alt); }
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__eyebrow { font-size: .78rem; letter-spacing: .28em; color: var(--accent-dark); font-weight: 500; margin-bottom: 16px; }
.section__title { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.section__lead { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }

/* ===== ABOUT ===== */
.about__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }
.about__text p { color: var(--muted); margin-bottom: 20px; font-size: 1.05rem; max-width: 56ch; }
.about__stats { display: flex; flex-direction: column; gap: 22px; }
.stat { padding: 24px 26px; background: var(--accent-soft); border-radius: var(--radius); }
.stat__num { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; color: var(--accent-dark); font-weight: 700; }
.stat__label { color: var(--muted); font-size: .9rem; }

/* ===== MENU ===== */
.menu__cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 60px; }
.menu-cat__title { font-size: 1.7rem; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.menu-list { list-style: none; }
.menu-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 11px 0; border-bottom: 1px dashed var(--line);
}
.menu-list li:last-child { border-bottom: 0; }
.menu-list span { font-weight: 500; }
.menu-list small { color: var(--muted); font-size: .84rem; text-align: right; }
.menu__note { margin-top: 34px; color: var(--muted); font-size: .84rem; font-style: italic; }

/* ===== BRANCHES ===== */
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.branch-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.branch-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.branch-card__img {
  height: 170px; position: relative;
  background: linear-gradient(135deg, #b98a5f, #8c5f3c);
}
.branch-card--soon .branch-card__img { background: linear-gradient(135deg, #9a9088, #6f6a63); }
.branch-card__img::after {
  content: attr(data-label); position: absolute; inset: 0;
  display: grid; place-items: center; color: rgba(255,255,255,.92);
  font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; letter-spacing: .04em;
}
.branch-card__body { padding: 22px 24px 26px; }
.branch-card__badge {
  display: inline-block; font-size: .72rem; letter-spacing: .06em; font-weight: 600;
  color: #2f7d4f; background: #e6f4ec; padding: 4px 12px; border-radius: 100px; margin-bottom: 12px;
}
.branch-card__badge--soon { color: var(--accent-dark); background: var(--accent-soft); }
.branch-card__body h3 { font-size: 1.5rem; margin-bottom: 8px; }
.branch-card__addr { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.branch-card__meta { list-style: none; margin-bottom: 16px; }
.branch-card__meta li { font-size: .9rem; color: var(--muted); padding: 3px 0; }
.branch-card__link { color: var(--accent); font-weight: 500; font-size: .92rem; transition: gap .3s; }
.branch-card__link:hover { color: var(--accent-dark); }

/* ===== GALLERY ===== */
.gallery__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px;
}
.gallery__item {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
  background-size: cover; background-position: center;
}
.gallery__item:nth-child(1) { background: linear-gradient(160deg, #c79a6d, #8c5f3c); }
.gallery__item:nth-child(2) { background: linear-gradient(160deg, #d8c3ab, #a9764e); }
.gallery__item:nth-child(3) { background: linear-gradient(160deg, #b98a5f, #6f4a2d); }
.gallery__item:nth-child(4) { background: linear-gradient(160deg, #e0d2c0, #b98a5f); }
.gallery__item:nth-child(5) { background: linear-gradient(160deg, #cbb199, #8c5f3c); }
.gallery__item:nth-child(6) { background: linear-gradient(160deg, #b58a63, #5f4026); }
.gallery__item:nth-child(7) { background: linear-gradient(160deg, #d3bfa6, #a9764e); }
.gallery__item:nth-child(8) { background: linear-gradient(160deg, #c49a6f, #7a5236); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item::after {
  content: attr(data-cap); position: absolute; inset: 0;
  display: flex; align-items: flex-end; padding: 16px;
  color: #fff; font-size: .9rem; font-weight: 500;
  background: linear-gradient(to top, rgba(0,0,0,.4), transparent 55%);
  opacity: 0; transition: opacity .35s;
}
.gallery__item:hover::after { opacity: 1; }

/* ===== CONTACT ===== */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact__item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact__item:first-child { padding-top: 0; }
.contact__label { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact__item a { font-size: 1.15rem; font-weight: 500; transition: color .25s; }
.contact__item a:hover { color: var(--accent); }
.contact__item p { color: var(--muted); }
.contact__social { display: flex; gap: 18px; }
.contact__social a { font-size: .95rem !important; }

.contact__form { background: var(--bg-alt); padding: 34px; border-radius: var(--radius); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 500; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; background: #fff; color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; }
.contact__formnote { margin-top: 16px; color: #2f7d4f; font-size: .92rem; text-align: center; }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: #efe9e2; padding: 66px 28px 40px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer__brand { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: .18em; font-size: .85rem; }
.footer__brand .nav__logo-mark { width: 34px; height: 34px; }
.footer__tag { color: #b8afa4; font-size: .95rem; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer__links a { font-size: .9rem; color: #d9d1c7; transition: color .25s; }
.footer__links a:hover { color: var(--accent); }
.footer__copy { color: #8a8178; font-size: .82rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; width: 100%; }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(78%, 320px);
    background: #fff; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 26px; padding: 40px; transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: -20px 0 50px -30px rgba(0,0,0,.4);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.15rem; }
  .nav__toggle { display: flex; z-index: 110; }

  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .menu__cats { grid-template-columns: 1fr; gap: 26px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery__item--wide { grid-column: span 2; }
  .section { padding: 76px 24px; }
}

@media (max-width: 480px) {
  .nav__logo-text { display: none; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--wide, .gallery__item--tall { grid-column: auto; grid-row: auto; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
}
