/*
Theme Name: Meşhur Karadeniz Premium
Theme URI: https://www.meshurkaradenizpideveguvec.com/
Author: Meşhur Karadeniz Pide ve Güveç Salonu
Description: Meşhur Karadeniz Pide ve Güveç Salonu için özel, hızlı ve mobil uyumlu restoran teması.
Version: 1.2.1
Text Domain: meshur-karadeniz
*/

:root {
  --mk-wine: #641f25;
  --mk-wine-dark: #3c1116;
  --mk-brick: #8b342e;
  --mk-ink: #171513;
  --mk-charcoal: #24201d;
  --mk-cream: #f7f0e4;
  --mk-paper: #fffaf2;
  --mk-copper: #c98a4a;
  --mk-gold: #e2b66d;
  --mk-muted: #766d64;
  --mk-line: rgba(89, 59, 37, .18);
  --mk-shadow: 0 24px 70px rgba(45, 21, 12, .15);
  --mk-radius: 28px;
  --mk-container: 1180px;
  --mk-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --mk-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: hidden; }

body {
  margin: 0;
  color: var(--mk-ink);
  background: var(--mk-paper);
  font-family: var(--mk-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header { top: 32px; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

:focus-visible {
  outline: 3px solid var(--mk-gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -120px;
  z-index: 10000;
  padding: 12px 18px;
  color: #fff;
  background: var(--mk-wine);
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.mk-container { width: min(calc(100% - 48px), var(--mk-container)); margin-inline: auto; }
.mk-section { position: relative; padding: 112px 0; }
.mk-section--cream { background: var(--mk-cream); }
.mk-section--paper { background: var(--mk-paper); }
.mk-section--dark { color: #fff; background: var(--mk-charcoal); }

.mk-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--mk-copper);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.3;
  text-transform: uppercase;
}
.mk-kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }

h1, h2, h3, .mk-display {
  margin-top: 0;
  font-family: var(--mk-display);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.05;
}
h1 { font-size: clamp(3.1rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2.35rem, 5vw, 4.6rem); }
h3 { font-size: clamp(1.45rem, 2.5vw, 2rem); }

.mk-section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.mk-section-head h2 { margin-bottom: 18px; }
.mk-section-head p { margin: 0 auto; color: var(--mk-muted); font-size: 1.08rem; }
.mk-section--dark .mk-section-head p { color: rgba(255,255,255,.68); }

.mk-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}
.mk-btn:hover { transform: translateY(-2px); }
.mk-btn--primary { color: #27150d; background: var(--mk-gold); }
.mk-btn--primary:hover { background: #efc985; }
.mk-btn--outline { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.05); }
.mk-btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.mk-btn--wine { color: #fff; background: var(--mk-wine); }
.mk-btn--wine:hover { background: var(--mk-brick); }
.mk-btn svg { width: 18px; height: 18px; }

/* Header */
.site-header {
  position: fixed;
  z-index: 900;
  top: 0;
  left: 0;
  right: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(17,11,9,.72), rgba(17,11,9,0));
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled,
body:not(.home) .site-header {
  background: rgba(31, 20, 17, .95);
  box-shadow: 0 12px 35px rgba(0,0,0,.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-header__inner { display: grid; grid-template-columns: 280px 1fr auto; align-items: center; gap: 28px; min-height: 88px; }
.site-logo { display: inline-flex; align-items: center; max-width: 245px; text-decoration: none; }
.site-logo img { width: 100%; max-height: 58px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 34px; }
.site-nav a {
  position: relative;
  padding: 11px 0;
  color: rgba(255,255,255,.88);
  font-size: .88rem;
  font-weight: 750;
  letter-spacing: .045em;
  text-decoration: none;
}
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: var(--mk-gold); transition: right .25s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.header-cta { white-space: nowrap; }
.menu-toggle { display: none; width: 50px; height: 50px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.08); }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-actions { display: none; }

/* Hero */
.mk-hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 78% 42%, rgba(201,138,74,.26), transparent 24%),
    radial-gradient(circle at 14% 90%, rgba(139,52,46,.5), transparent 28%),
    linear-gradient(125deg, #201613 0%, #4d171c 52%, #271311 100%);
  overflow: hidden;
}
.mk-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: repeating-linear-gradient(118deg, transparent 0 38px, rgba(255,255,255,.03) 39px 40px);
  pointer-events: none;
}
.mk-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 90px;
  background: var(--mk-paper);
  clip-path: polygon(0 80%, 100% 0, 100% 100%, 0 100%);
}
.mk-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 58px; padding: 150px 0 120px; }
.mk-hero__copy { max-width: 650px; min-width: 0; width: 100%; }
.mk-hero h1 { max-width: 700px; margin: 0 0 24px; font-size: clamp(3.55rem, 6.3vw, 6.7rem); overflow-wrap: break-word; }
.mk-hero h1 em { display: block; color: var(--mk-gold); font-style: normal; }
.mk-hero__lead { max-width: 630px; margin: 0 0 34px; color: rgba(255,255,255,.76); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.mk-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }
.mk-hero__visual { position: relative; min-width: 0; }
.mk-hero__frame {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 46% 46% 22% 22% / 34% 34% 18% 18%;
  background: rgba(255,255,255,.06);
  box-shadow: 0 45px 90px rgba(0,0,0,.35);
  transform: rotate(1.5deg);
}
.mk-hero__frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: inherit; transform: rotate(-1.5deg) scale(1.035); }
.mk-hero__stamp {
  position: absolute;
  z-index: 3;
  right: -22px;
  top: 5%;
  width: 126px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  color: var(--mk-gold);
  background: var(--mk-wine-dark);
  font-family: var(--mk-display);
  font-size: 1.4rem;
  line-height: 1;
  text-align: center;
  transform: rotate(9deg);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.mk-hero__stamp small { display: block; margin-top: 5px; color: #fff; font-family: var(--mk-body); font-size: .62rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }

/* Product cards */
.mk-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mk-product {
  position: relative;
  overflow: hidden;
  min-height: 490px;
  display: flex;
  align-items: flex-end;
  border-radius: var(--mk-radius);
  background: var(--mk-charcoal);
  box-shadow: var(--mk-shadow);
  isolation: isolate;
}
.mk-product::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 38%, rgba(14,8,6,.88) 100%); }
.mk-product img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.mk-product:hover img { transform: scale(1.06); }
.mk-product__content { width: 100%; padding: 32px; color: #fff; }
.mk-product__content h3 { margin: 0; font-size: 2rem; }
.mk-product__meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 13px; color: rgba(255,255,255,.76); }
.mk-price { color: var(--mk-gold); font-weight: 850; font-size: 1.18rem; white-space: nowrap; }

/* Heritage */
.mk-heritage { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 78px; }
.mk-heritage__media { position: relative; }
.mk-heritage__media img:not(.mk-mascot) { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 36% 36% 18px 18px; box-shadow: var(--mk-shadow); }
.mk-heritage__date { position: absolute; left: -24px; bottom: 46px; padding: 20px 25px; color: #fff; background: var(--mk-wine); border-radius: 16px; box-shadow: 0 18px 50px rgba(77,23,28,.3); }
.mk-heritage__date strong { display: block; font-family: var(--mk-display); font-size: 2.3rem; line-height: 1; }
.mk-heritage__date span { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mk-heritage__copy h2 { margin-bottom: 25px; }
.mk-heritage__copy p { color: var(--mk-muted); font-size: 1.06rem; }
.mk-heritage__copy .mk-btn { margin-top: 12px; }

/* Menu */
.mk-menu-shell { position: relative; }
.mk-menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.mk-menu-card { padding: 38px; border: 1px solid var(--mk-line); border-radius: 24px; background: rgba(255,250,242,.74); box-shadow: 0 18px 50px rgba(76,43,25,.06); }
.mk-menu-card h3 { display: flex; align-items: center; gap: 15px; margin: 0 0 24px; color: var(--mk-wine); font-size: 1.65rem; }
.mk-menu-card h3::after { content: ""; flex: 1; height: 1px; background: var(--mk-line); }
.mk-menu-row { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px dashed rgba(80,52,35,.21); }
.mk-menu-row:last-child { border-bottom: 0; }
.mk-menu-row__name { font-weight: 690; }
.mk-menu-row__dots { flex: 1; min-width: 18px; border-bottom: 1px dotted rgba(80,52,35,.38); transform: translateY(-4px); }
.mk-menu-row__price { color: var(--mk-wine); font-weight: 850; white-space: nowrap; }
.mk-vat { margin: 28px 0 0; color: var(--mk-muted); text-align: center; font-size: .9rem; }
.mk-menu-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 50px; }
.mk-menu-nav a { padding: 10px 16px; border: 1px solid var(--mk-line); border-radius: 999px; color: var(--mk-wine); background: #fff; font-size: .83rem; font-weight: 800; text-decoration: none; }
.mk-menu-nav a:hover { color: #fff; background: var(--mk-wine); }

/* Feature */
.mk-feature { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; min-height: 650px; }
.mk-feature__image { min-height: 560px; overflow: hidden; }
.mk-feature__image img { width: 100%; height: 100%; object-fit: cover; }
.mk-feature__copy { display: flex; align-items: center; padding: 80px max(48px, calc((100vw - var(--mk-container))/2)); padding-right: max(48px, calc((100vw - var(--mk-container))/2)); color: #fff; background: var(--mk-wine-dark); }
.mk-feature__copy > div { max-width: 520px; }
.mk-feature__copy h2 { margin-bottom: 22px; }
.mk-feature__copy p { margin-bottom: 30px; color: rgba(255,255,255,.7); }

/* Gallery */
.mk-gallery { display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-auto-rows: 250px; gap: 16px; }
.mk-gallery a { position: relative; overflow: hidden; border-radius: 18px; background: #e5d8c7; }
.mk-gallery a:first-child { grid-row: span 2; }
.mk-gallery a:nth-child(4) { grid-column: span 2; }
.mk-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .55s ease; }
.mk-gallery a:hover img { transform: scale(1.045); filter: saturate(1.08); }
.mk-gallery__cta { display: flex; justify-content: center; margin-top: 34px; }

/* Contact */
.mk-contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 580px; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: var(--mk-shadow); }
.mk-contact-card { display: flex; flex-direction: column; justify-content: center; padding: 58px; color: #fff; background: var(--mk-wine-dark); }
.mk-contact-card h2 { margin-bottom: 20px; font-size: clamp(2.5rem, 4vw, 4rem); }
.mk-contact-card address { margin: 0 0 24px; color: rgba(255,255,255,.73); font-style: normal; }
.mk-contact-list { display: grid; gap: 13px; margin: 0 0 30px; padding: 0; list-style: none; }
.mk-contact-list a { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.mk-contact-list a:hover { color: var(--mk-gold); }
.mk-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mk-map { min-height: 500px; background: #e2ded5; }
.mk-map iframe { width: 100%; height: 100%; min-height: 580px; border: 0; display: block; }

/* Inner pages */
.mk-page-hero { position: relative; min-height: 535px; display: flex; align-items: flex-end; padding: 180px 0 88px; color: #fff; background: var(--mk-charcoal); overflow: hidden; }
.mk-page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,13,11,.94) 0%, rgba(46,17,17,.68) 52%, rgba(25,13,11,.38) 100%), var(--mk-page-image, none) center/cover no-repeat; }
.mk-page-hero::after { content: ""; position: absolute; inset: 0; opacity: .14; background-image: repeating-linear-gradient(118deg, transparent 0 38px, rgba(255,255,255,.05) 39px 40px); }
.mk-page-hero .mk-container { position: relative; z-index: 2; }
.mk-page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(3.2rem, 7vw, 6rem); }
.mk-page-hero p { max-width: 650px; margin: 20px 0 0; color: rgba(255,255,255,.72); font-size: 1.08rem; }

.mk-story { display: grid; grid-template-columns: .72fr 1.28fr; gap: 72px; align-items: start; }
.mk-story__aside { position: sticky; top: 125px; }
.mk-story__aside img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 30px; box-shadow: var(--mk-shadow); }
.mk-timeline { position: relative; padding-left: 54px; }
.mk-timeline::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 1px; background: rgba(100,31,37,.24); }
.mk-story-block { position: relative; margin-bottom: 46px; }
.mk-story-block::before { content: ""; position: absolute; left: -48px; top: 9px; width: 15px; height: 15px; border: 4px solid var(--mk-paper); border-radius: 50%; background: var(--mk-wine); box-shadow: 0 0 0 1px var(--mk-wine); }
.mk-story-block h2 { margin-bottom: 18px; color: var(--mk-wine); font-size: clamp(2rem, 4vw, 3.4rem); }
.mk-story-block p { margin: 0 0 18px; color: var(--mk-muted); font-size: 1.04rem; }
.mk-signature { margin-top: 24px; padding: 32px 36px; border-left: 4px solid var(--mk-copper); border-radius: 0 18px 18px 0; background: var(--mk-cream); }
.mk-signature p { color: var(--mk-ink); font-family: var(--mk-display); font-size: 1.32rem; line-height: 1.55; }
.mk-signature strong { color: var(--mk-wine); }

.mk-menu-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 62px; }
.mk-menu-featured article { overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 14px 45px rgba(45,21,12,.1); }
.mk-menu-featured img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.mk-menu-featured div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; }
.mk-menu-featured h3 { margin: 0; font-size: 1.45rem; }

.mk-contact-page { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.mk-contact-page__card { padding: 48px; border-radius: 28px; color: #fff; background: var(--mk-wine-dark); }
.mk-contact-page__logo { width: min(320px, 100%); margin-bottom: 36px; }
.mk-contact-page__card h2 { margin-bottom: 18px; font-size: 2.6rem; }
.mk-contact-page__card address { color: rgba(255,255,255,.7); font-style: normal; }
.mk-contact-page__map { overflow: hidden; border-radius: 28px; box-shadow: var(--mk-shadow); }
.mk-contact-page__map iframe { width: 100%; height: 100%; min-height: 620px; border: 0; }

.mk-cta-band { padding: 70px 0; color: #fff; background: linear-gradient(120deg, var(--mk-wine-dark), var(--mk-wine)); }
.mk-cta-band__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; text-align: center; }
.mk-cta-band h2 { max-width: 700px; margin: 0 auto; font-size: clamp(2.2rem, 4.5vw, 4.3rem); }
.mk-cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Footer */
.site-footer { color: rgba(255,255,255,.66); background: #181512; }
.site-footer__top { display: grid; grid-template-columns: 1.25fr .65fr .9fr; gap: 70px; padding: 82px 0 58px; }
.site-footer__brand img { width: min(300px, 100%); max-height: 72px; object-fit: contain; object-position: left center; margin-bottom: 22px; }
.site-footer__brand p { max-width: 470px; margin: 0; }
.site-footer h2 { margin: 0 0 18px; color: #fff; font-family: var(--mk-body); font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: var(--mk-gold); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.site-footer__bottom p { margin: 0; }

/* Motion */
.mk-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.mk-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .site-header__inner { grid-template-columns: 240px 1fr auto; }
  .site-nav { gap: 20px; }
  .header-cta { display: none; }
  .mk-hero__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .mk-heritage { gap: 42px; }
  .mk-contact-grid { grid-template-columns: 1fr 1.2fr; }
  .site-footer__top { gap: 38px; }
}

@media (max-width: 1020px) and (min-width: 821px) {
  .mk-products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  body.admin-bar .site-header { top: 46px; }
  .mk-section { padding: 82px 0; }
  .site-header__inner { grid-template-columns: 1fr auto; min-height: 78px; }
  .site-logo { max-width: 220px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 4px;
    padding: 100px 28px 40px;
    background: rgba(35,17,16,.985);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav a { min-height: 54px; display: flex; align-items: center; justify-content: center; font-family: var(--mk-display); font-size: 1.75rem; letter-spacing: -.01em; }
  .site-nav a::after { display: none; }
  .mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  .mobile-actions .mk-btn { font-family: var(--mk-body); font-size: .78rem; }
  body.menu-open { overflow: hidden; }
  .mk-hero { min-height: auto; }
  .mk-hero__grid { grid-template-columns: 1fr; padding: 126px 0 105px; text-align: center; }
  .mk-hero__copy { margin: 0 auto; }
  .mk-hero__lead { margin-inline: auto; }
  .mk-hero__actions { justify-content: center; }
  .mk-hero__visual { width: min(640px, 100%); margin: 4px auto 0; }
  .mk-hero__stamp { right: 0; }
  .mk-products { grid-template-columns: 1fr; }
  .mk-product { min-height: 520px; }
  .mk-heritage { grid-template-columns: 1fr; gap: 54px; }
  .mk-heritage__media { width: min(620px, 100%); margin: 0 auto; }
  .mk-menu-grid { grid-template-columns: 1fr; }
  .mk-feature { grid-template-columns: 1fr; }
  .mk-feature__copy { order: -1; padding: 72px 28px; }
  .mk-feature__image { min-height: 480px; }
  .mk-gallery { grid-template-columns: 1fr 1fr; }
  .mk-gallery a:first-child { grid-row: span 1; grid-column: span 2; }
  .mk-gallery a:nth-child(4) { grid-column: span 1; }
  .mk-contact-grid { grid-template-columns: 1fr; }
  .mk-map iframe { min-height: 450px; }
  .mk-story { grid-template-columns: 1fr; gap: 54px; }
  .mk-story__aside { position: static; width: min(560px, 100%); margin: 0 auto; }
  .mk-menu-featured { grid-template-columns: 1fr; }
  .mk-contact-page { grid-template-columns: 1fr; }
  .mk-contact-page__map iframe { min-height: 480px; }
  .mk-cta-band__inner { align-items: center; flex-direction: column; }
  .mk-cta-band__actions { justify-content: center; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body.admin-bar .site-header { top: 46px; }
  .mk-container { width: min(calc(100% - 32px), var(--mk-container)); }
  .mk-section { padding: 68px 0; }
  .site-header__inner { min-height: 72px; }
  .site-logo { max-width: 185px; }
  .menu-toggle { width: 46px; height: 46px; }
  .mk-hero::after { height: 46px; }
  .mk-hero__grid { gap: 32px; padding: 118px 0 82px; }
  .mk-hero h1 { font-size: clamp(2.85rem, 13vw, 4.3rem); }
  .mk-hero__lead { font-size: .98rem; }
  .mk-hero__actions { display: grid; }
  .mk-btn { width: 100%; min-height: 52px; }
  .mk-hero__frame { padding: 7px; border-radius: 34% 34% 16% 16% / 26% 26% 13% 13%; }
  .mk-hero__stamp { width: 94px; right: -4px; top: -15px; font-size: 1.08rem; }
  .mk-section-head { margin-bottom: 38px; }
  .mk-product { min-height: 430px; }
  .mk-product__content { padding: 25px; }
  .mk-heritage__date { left: -6px; bottom: 20px; }
  .mk-menu-card { padding: 28px 22px; }
  .mk-menu-card h3 { font-size: 1.4rem; }
  .mk-menu-row { gap: 7px; font-size: .92rem; }
  .mk-menu-row__name { max-width: 68%; }
  .mk-feature__copy { padding: 64px 20px; }
  .mk-feature__image { min-height: 390px; }
  .mk-gallery { grid-template-columns: 1fr; grid-auto-rows: 255px; }
  .mk-gallery a:first-child, .mk-gallery a:nth-child(4) { grid-column: span 1; }
  .mk-contact-card { padding: 42px 24px; }
  .mk-contact-actions { display: grid; }
  .mk-page-hero { min-height: 480px; padding: 148px 0 66px; }
  .mk-page-hero h1 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .mk-timeline { padding-left: 39px; }
  .mk-timeline::before { left: 8px; }
  .mk-story-block::before { left: -37px; }
  .mk-signature { padding: 26px 24px; }
  .mk-menu-featured article div { padding: 20px; }
  .mk-contact-page__card { padding: 38px 24px; text-align: center; }
  .mk-contact-page__logo { margin-inline: auto; }
  .mk-contact-page__card .mk-btn { margin-bottom: 10px; }
  .mk-cta-band__actions { width: 100%; display: grid; }
  .site-footer__top { grid-template-columns: 1fr; padding-top: 64px; }
  .site-footer__brand { grid-column: auto; }
  .site-footer__bottom { flex-direction: column; }
}

@media (max-width: 360px) {
  .site-logo { max-width: 160px; }
  .mk-hero h1 { font-size: 2.7rem; }
  .mk-menu-row { font-size: .86rem; }
  .mk-menu-card { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .mk-reveal { opacity: 1; transform: none; }
}


/* =========================================================
   REVISIONS 2026 — Meşhur Karadeniz custom adjustments
   ========================================================= */

/* --- R1: Footer logo centered over description column (desktop) --- */
.site-footer__brand { display: flex; flex-direction: column; }
.site-footer__brand img { object-position: center; align-self: center; margin-left: auto; margin-right: auto; }
.site-footer__brand p { align-self: center; text-align: left; }

/* --- R2: Footer contact icons --- */
.mk-footer-contact .mk-ico {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mk-gold, #e0b062);
}
.mk-footer-contact .mk-ico svg { width: 100%; height: 100%; display: block; }
.site-footer .mk-footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* --- R3: Gallery fill item (bottom-right gap) --- */
.mk-gallery a.mk-gallery__fill { grid-column: 2 / span 2; grid-row: 3; }

/* --- R5: Branch badge (YAYLA ŞUBEMİZ) --- */
.mk-heritage__date--branch { display: flex; align-items: center; justify-content: center; text-align: center; min-width: 150px; }
.mk-heritage__date--branch span {
  display: block;
  font-family: var(--mk-display, "Iowan Old Style", serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .01em;
  text-transform: none;
  color: #fff;
}

/* --- R4: Image lightbox / modal --- */
.mk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  background: rgba(12, 8, 7, .92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .25s ease;
}
.mk-lightbox.is-open { display: flex; opacity: 1; }
.mk-lightbox__img {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  object-fit: contain;
  background: #1a1310;
}
.mk-lightbox__close {
  position: absolute;
  top: max(16px, 3vmin);
  right: max(16px, 3vmin);
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.mk-lightbox__close:hover { background: rgba(255,255,255,.22); transform: scale(1.05); }
.mk-lightbox__close:focus-visible { outline: 2px solid var(--mk-gold, #e0b062); outline-offset: 3px; }
.mk-gallery a { cursor: zoom-in; }


/* --- R7: Mobile navigation overlay fix (target: Reference Image 6) --- */
@media (max-width: 820px) {
  /* Header stays on top so logo + toggle (X) remain visible over overlay */
  .site-header { z-index: 1200; }

  /* Full-screen dark overlay ABOVE page content (fix z-index:-1 bug) */
  .site-nav {
    z-index: 1100;
    background: #231110;
    padding: 108px 26px 42px;
    overflow-y: auto;
    gap: 6px;
    justify-content: center;
  }
  .site-nav.is-open { z-index: 1100; }

  /* When menu open, let overlay show uniformly behind the header strip */
  body.menu-open .site-header {
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  /* Keep hamburger/X visible & above overlay */
  body.menu-open .menu-toggle { position: relative; z-index: 1300; color: #fff; }
  body.menu-open .site-logo { position: relative; z-index: 1300; }

  /* Centered nav links */
  .site-nav a { justify-content: center; text-align: center; }

  /* Action buttons stacked & centered below links */
  .mobile-actions {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
    width: min(320px, 100%);
    margin-inline: auto;
  }
  .mobile-actions .mk-btn { width: 100%; justify-content: center; text-align: center; }
}

/* --- R8: Mobile contact CTA centered --- */
@media (max-width: 820px) {
  .mk-contact-card { text-align: center; align-items: center; }
  .mk-contact-card h2 { text-align: center; }
  .mk-contact-card address { text-align: center; }
  .mk-contact-list { justify-items: center; }
  .mk-contact-list a { justify-content: center; }
  .mk-contact-actions { justify-content: center; width: 100%; }
}

/* --- R9: Mobile footer fully centered --- */
@media (max-width: 820px) {
  .site-footer__top { text-align: center; }
  .site-footer__brand { align-items: center; }
  .site-footer__brand img { object-position: center; margin-inline: auto; }
  .site-footer__brand p { text-align: center; margin-inline: auto; }
  .site-footer ul { justify-items: center; }
  .site-footer .mk-footer-contact a { justify-content: center; }
  .site-footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}

/* --- R10: Mobile — center logo above "Meşhur Karadeniz" card --- */
@media (max-width: 820px) {
  .mk-contact-page__logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}


/* =========================================================
   REVISION: Mobile menu overlay fix + Scroll-to-top button
   Appended overrides (do not edit above). v1.2.0
   ========================================================= */
@media (max-width: 820px) {
  /* Lift the whole header (which contains the overlay nav) above all
     page content. The hero grid uses z-index:2 in the root stacking
     context, which was painting over the trapped overlay. */
  .site-header { z-index: 9990; }
  body.menu-open .site-header { z-index: 9999; }

  /* Full-screen, fully opaque overlay that fits mobile heights */
  .site-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;            /* fallback */
    height: 100dvh;           /* dynamic viewport for mobile bars */
    max-width: 100%;
    z-index: 9995;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 6px;
    padding: 96px 24px calc(28px + env(safe-area-inset-bottom));
    background: #3c1116;      /* wine-dark, solid */
    background: linear-gradient(180deg, #3c1116 0%, #231110 100%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 9995;
  }

  /* Keep the logo clearly visible over the overlay, top-left */
  body.menu-open .site-logo { position: relative; z-index: 10000; }

  /* Nav links: centered, balanced spacing */
  .site-nav > a {
    width: 100%;
    max-width: 420px;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f7f0e4;
    font-family: var(--mk-display);
    font-size: 1.85rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
  }
  .site-nav > a:hover,
  .site-nav > a[aria-current="page"] { color: #e2b66d; }

  /* Action buttons neatly below the links */
  .mobile-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 420px;
    gap: 12px;
    margin-top: 26px;
  }
  .mobile-actions .mk-btn {
    width: 100%;
    justify-content: center;
    font-family: var(--mk-body);
    font-size: 0.95rem;
    padding: 14px 18px;
  }

  /* Toggle stays tappable and on top; turn hamburger into a clear X */
  body.menu-open .menu-toggle { position: relative; z-index: 10001; color: #f7f0e4; }
  .menu-toggle { position: relative; }
  .menu-toggle span {
    transition: transform .25s ease, opacity .2s ease;
    transform-origin: center;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Prevent background scroll while overlay is open */
  body.menu-open { overflow: hidden; }
}

@media (max-width: 380px) {
  .site-nav > a { font-size: 1.6rem; min-height: 52px; }
}

/* ---------- Scroll-to-top button (site-wide) ---------- */
.mk-to-top {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(226, 182, 109, 0.55);
  border-radius: 50%;
  background: linear-gradient(150deg, #641f25 0%, #3c1116 100%);
  color: #e2b66d;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(45, 21, 12, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background .3s ease, box-shadow .3s ease;
  z-index: 9980;
}
.mk-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mk-to-top svg {
  width: 22px;
  height: 22px;
  display: block;
  pointer-events: none;
}
.mk-to-top:hover {
  background: linear-gradient(150deg, #8b342e 0%, #641f25 100%);
  color: #f7f0e4;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(45, 21, 12, 0.45);
}
.mk-to-top:focus-visible {
  outline: 2px solid #e2b66d;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .mk-to-top { transition: opacity .2s ease, visibility .2s ease; }
  .mk-to-top:hover { transform: none; }
}
@media (max-width: 820px) {
  .mk-to-top { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 48px; height: 48px; }
}


/* Keep "Gaziosmanpaşa'dan" on the homepage hero from breaking mid-word on phones */
@media (max-width: 600px) {
  .mk-hero h1 { font-size: clamp(1.7rem, 8.7vw, 3.4rem); }
}

/* Same fix for tablet/desktop: keep "Gaziosmanpaşa'dan" whole as the hero column narrows at these breakpoints */
@media (min-width: 601px) and (max-width: 820px) {
  .mk-hero h1 { font-size: clamp(3rem, 6.5vw, 4rem); }
}
@media (min-width: 820px) and (max-width: 1020px) {
  .mk-hero h1 { font-size: clamp(2.2rem, 4.4vw, 2.9rem); }
}
@media (min-width: 1020px) {
  .mk-hero h1 { font-size: clamp(2.5rem, 3.9vw, 3.15rem); }
}
