@font-face {
  font-family: Kalnia;
  src: url(assets/kalnia-latin.woff2) format("woff2");
  font-weight: 100 700;
  font-display: swap;
  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;
}
@font-face {
  font-family: Kalnia;
  src: url(assets/kalnia-latin-ext.woff2) format("woff2");
  font-weight: 100 700;
  font-display: swap;
  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: Anton;
  src: url(assets/anton-latin.woff2) format("woff2");
  font-display: swap;
  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;
}
@font-face {
  font-family: Anton;
  src: url(assets/anton-latin-ext.woff2) format("woff2");
  font-display: swap;
  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: "Libre Franklin";
  src: url(assets/libre-franklin-latin.woff2) format("woff2");
  font-weight: 400 600;
  font-display: swap;
  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;
}
@font-face {
  font-family: "Libre Franklin";
  src: url(assets/libre-franklin-latin-ext.woff2) format("woff2");
  font-weight: 400 600;
  font-display: swap;
  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;
}

/* Koyu arduvaz yeşili + pirinç, Gentleman's Club referansı */
:root {
  --bg: #1e2321;
  --bg-2: #252b29;
  --ink: #e9e8e3;
  --muted: #959c98;
  --brass: #bf9257;
  --brass-hi: #d2a76c;
  --line: rgba(233, 232, 227, .09);
  /* tabeladaki şerit: kırmızı, beyaz, petrol, beyaz, turuncu, beyaz */
  --stripe: repeating-linear-gradient(135deg, #b8473a 0 10px, var(--ink) 10px 16px, #2f6f7e 16px 26px, var(--ink) 26px 32px, #d9923a 32px 42px, var(--ink) 42px 48px);
  --serif: Kalnia, Georgia, serif;
  --sans: "Libre Franklin", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; background: #2b271f; } /* iOS üst bar rengi: hero fotoğrafının üst tonu */
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 5px; }
svg { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-bank { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100% - 96px, 1320px); margin-inline: auto; }
.skip { position: fixed; z-index: 101; top: 8px; left: 12px; padding: 8px 14px; color: var(--bg); background: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

/* ---------- header ---------- */
.masthead { position: fixed; z-index: 50; inset: 0 0 auto; background: rgba(30, 35, 33, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
@supports (animation-timeline: scroll()) {
  .masthead { animation: header-solid linear both; animation-timeline: scroll(); animation-range: 0 50vh; }
  @keyframes header-solid { from { background: transparent; backdrop-filter: none; } }
}
/* 1fr auto 1fr: nav sayfanın tam ortasında kalır, logo ve butonların genişliğinden bağımsız */
.header-inner { height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.lang { min-width: 40px; min-height: 40px; padding: 0 8px; border: 0; background: none; color: rgba(233, 232, 227, .82); font-size: 13px; font-weight: 600; letter-spacing: .12em; cursor: pointer; transition: color .2s; }
.lang:hover { color: var(--brass-hi); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { flex: none; }
.brand-text { display: grid; gap: 5px; line-height: 1; }
.brand-text strong { font: 500 23px/.9 var(--serif); white-space: nowrap; }
.brand-text small { font: 600 9px/1 var(--sans); letter-spacing: .32em; color: var(--brass); }
nav { display: flex; gap: clamp(25px, 4vw, 52px); }
nav a { font-size: 15px; color: rgba(233, 232, 227, .82); transition: color .2s; }
nav a:hover { color: var(--brass-hi); }

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 2px;
  background: var(--brass);
  color: #1a1d1b;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .2s;
}
.button:hover { background: var(--brass-hi); }
.button svg { transition: translate .2s; }
.button:hover svg { translate: 3px 0; }
.button-small { min-height: 40px; padding: 0 16px; gap: 8px; font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; color: rgba(233, 232, 227, .85); text-decoration: underline; text-decoration-color: rgba(191, 146, 87, .6); text-underline-offset: 6px; transition: color .2s; }
.text-link:hover { color: var(--brass-hi); }
.text-link svg { width: .9em; height: .9em; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100vh; display: flex; overflow: hidden; }
.hero-bg { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    /* başlığın arkasını lokal koyulaştır; kenarlardaki güneş ışığı kalsın */
    radial-gradient(ellipse 72% 44% at 55% 52%, rgba(16, 19, 18, .74), rgba(16, 19, 18, .5) 55%, transparent 88%),
    linear-gradient(rgba(20, 24, 22, .55), transparent 25%, transparent 62%, var(--bg));
}
.hero-inner { display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 36px; padding-block: 76px 44px; }
/* kapıya zincirle asılı küçük tabela: header'ın alt kenarından sarkar */
.hang { position: relative; width: 140px; padding-top: 40px; transform-origin: 50% 0; }
.hang:has(img[hidden]) { display: none; }
.hang img { width: 100%; height: auto; border-radius: 2px; box-shadow: 0 10px 24px rgba(0, 0, 0, .5); }
.chain { position: absolute; top: 0; left: 0; width: 100%; height: auto; overflow: visible; }
.chain path { fill: none; stroke: #c9c2b2; stroke-width: 1.6; stroke-dasharray: .1 3.2; stroke-linecap: round; }
.chain circle { fill: #2a2c2a; stroke: #c9c2b2; stroke-width: 1.4; }
@media (prefers-reduced-motion: no-preference) { .hang { animation: sway 4.5s ease-in-out infinite; } }
@keyframes sway { 0%, 100% { rotate: -2.5deg; } 50% { rotate: 2.5deg; } }
.hero-title {
  display: grid;
  justify-items: center;
  font-size: clamp(76px, 15vw, 250px);
  line-height: .82;
  letter-spacing: -.02em;
  text-shadow: 0 2px 3px rgba(0, 0, 0, .35), 0 6px 24px rgba(0, 0, 0, .55), 0 10px 80px rgba(0, 0, 0, .6);
}
.hero-line { display: block; white-space: nowrap; }
.hero-line:first-child { margin-inline-end: 1.4em; }
.hero-line-2 { margin-inline-start: 1.2em; }
.hero-sub {
  margin-top: clamp(34px, 4.6vw, 72px);
  font: 600 clamp(14px, 1.35vw, 19px)/1 var(--sans);
  letter-spacing: .7em;
  text-transform: uppercase;
  text-shadow: none;
  /* shiny text: harfler sabit pirinç, üstünden yarı saydam beyaz bir ışık geçer */
  color: var(--brass-hi);
  background:
    linear-gradient(115deg, transparent 42%, rgba(255, 251, 240, .95) 50%, transparent 58%) 100% 0 / 250% 100% no-repeat,
    linear-gradient(var(--brass-hi), var(--brass-hi));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-foot { align-self: stretch; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.hero-copy p { max-width: 34ch; font-size: clamp(16px, 1.3vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 24px; }
.hero-address { text-align: right; color: rgba(233, 232, 227, .75); font-size: 14px; }

@media (prefers-reduced-motion: no-preference) {
  /* backwards + filtresiz: iOS başlık gölgesini katman sınırında kırpıp kutu/titreme bırakıyordu */
  .hero-line, .hero-sub { animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) backwards; }
  .hero-line-2 { animation-delay: .12s; }
  .hero-sub { animation: rise 1.1s .3s cubic-bezier(.2, .7, .2, 1) backwards, shine 3s 1.4s linear infinite; }
  .hero-bg { animation: settle 2.4s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(.25em); } }
/* ışık soldan girer, sağdan çıkar (iki uçta da görünmez), sonra kısa mola */
@keyframes shine { 0% { background-position: 100% 0, 0 0; } 50%, 100% { background-position: 0 0, 0 0; } }
@keyframes settle { from { transform: scale(1.06); } }

/* ---------- berber çubuğu bandı ---------- */
.pole { height: 12px; background: var(--stripe); background-size: 68px 68px; }
.ticker { overflow: hidden; background: var(--bg-2); }
.ticker-track { display: flex; width: max-content; }
.ticker-track span { min-width: 100vw; display: flex; justify-content: space-around; align-items: center; gap: .7em; padding: 14px .35em; font: 400 clamp(17px, 1.7vw, 23px)/1 Anton, Impact, sans-serif; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ticker-track b { font-weight: inherit; }
.ticker-track svg { width: .35em; height: .35em; margin-inline: .2em; color: var(--brass); }
@media (prefers-reduced-motion: no-preference) {
  .pole { animation: pole 2.5s linear infinite; }
  .ticker-track { animation: ticker 60s linear infinite; }
}
@keyframes pole { to { background-position: 68px 0; } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- ortak ---------- */
.section { padding-top: clamp(90px, 11vw, 160px); }
.section h2 { font-size: clamp(54px, 7vw, 108px); line-height: .95; letter-spacing: -.02em; }
.services h2 { font-size: clamp(42px, 4.4vw, 68px); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% entry 40%; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(30px); } }

/* ---------- hizmetler ---------- */
.services-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.lead { margin-top: 22px; color: var(--muted); font-size: 18px; }
.service-list { padding: 0; margin: 48px 0 44px; list-style: none; }
.service-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; gap: 30px; padding-block: 26px; border-top: 1px solid var(--line); }
.service-list li:last-child { border-bottom: 1px solid var(--line); }
.service-list h3 { font-size: clamp(30px, 3vw, 44px); line-height: 1.05; }
.service-list p { color: var(--muted); font-size: 16px; }
.tray { width: 100%; max-width: 500px; height: auto; justify-self: center; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .55)); }

/* ---------- dükkân ---------- */
.shop { padding-bottom: clamp(80px, 9vw, 130px); background: linear-gradient(var(--bg), var(--bg-2) 30%); }
.shop-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 48px; }
.barber-signature { display: flex; align-items: center; gap: 14px; flex: none; }
.barber-signature img { width: 76px; height: 76px; border-radius: 50%; filter: invert(1) brightness(.92); mix-blend-mode: lighten; }
.barber-signature figcaption { display: grid; gap: 4px; }
.barber-signature small { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.barber-signature strong { font: 500 30px/1 var(--serif); }
.gallery { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; }
.gallery-tall { grid-row: span 2; }
.gallery-item { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery-link { position: relative; flex: 1; display: block; overflow: hidden; border-radius: 4px; cursor: zoom-in; }
.gallery-link img { width: 100%; height: 100%; min-height: clamp(200px, 22vw, 320px); object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gallery-tall .gallery-link img { position: absolute; inset: 0; }
.gallery-link:hover img { transform: scale(1.03); }
.gallery-item figcaption { font-size: 14px; color: var(--muted); }
.lightbox { max-width: 94vw; padding: 0; border: 0; border-radius: 4px; overflow: visible; color: var(--ink); background: transparent; }
.lightbox::backdrop { background: rgba(14, 16, 15, .92); }
.lightbox figure img { max-width: min(90vw, 1200px); max-height: 82vh; border-radius: 4px; }
.lightbox figcaption { padding-top: 12px; font-size: 14px; color: var(--muted); }
.lightbox-close { position: fixed; top: 20px; right: 20px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; color: var(--ink); background: rgba(233, 232, 227, .1); }
.lightbox-close:hover { background: rgba(233, 232, 227, .2); }

/* ---------- ziyaret + harita ---------- */
.visit { position: relative; isolation: isolate; min-height: min(92vh, 860px); display: flex; align-items: center; padding-bottom: clamp(60px, 8vw, 110px); background: var(--bg-2); }
/* harita bölümün sağına yaslanır, sol ve üst kenardan zemine erir; köşe/çerçeve yok */
.map {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 16%;
  /* koyu geçiş haritanın içine uzanır; tam görünürlük pinin (merkezin) hemen önünde başlar */
  -webkit-mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, .25) 20%, rgba(0, 0, 0, .7) 36%, #000 50%), linear-gradient(transparent, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, .25) 20%, rgba(0, 0, 0, .7) 36%, #000 50%), linear-gradient(transparent, #000 22%);
  mask-composite: intersect;
}
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.3) brightness(.82) contrast(1.05); }
/* haritayı paletin yeşil-gri tonuna boya */
.map::after { content: ""; position: absolute; inset: 0; background: var(--bg-2); mix-blend-mode: color; opacity: .55; pointer-events: none; }
/* dükkânın yerine pirinç hale; embed haritayı hep koordinata ortalar */
.map::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 6px rgba(191, 146, 87, .25), 0 0 40px 10px rgba(191, 146, 87, .35); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .map::before { animation: pulse 2.4s ease-out infinite; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px rgba(191, 146, 87, 0), 0 0 40px 10px rgba(191, 146, 87, .35); } }
.visit-copy { max-width: 470px; }
.visit address { margin-top: 26px; font-size: 19px; font-style: normal; line-height: 1.5; }
.sign { width: min(100%, 240px); height: auto; margin-top: 34px; border-radius: 3px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); transform-origin: 50% -40px; rotate: -2deg; }
@media (prefers-reduced-motion: no-preference) { .sign { animation: swing 6s ease-in-out infinite; } }
@keyframes swing { 50% { rotate: 1.5deg; } }
/* vitrin camı yazısı gibi: gün sağa, saat sola yaslı */
.hours-title { margin-top: 34px; font: 400 22px/1.2 var(--serif); }
.hours { display: grid; grid-template-columns: max-content max-content; gap: 2px .7em; margin: 12px 0 0; padding-left: .5em; font-size: 16px; line-height: 1.6; }
.hours dt { text-align: right; }
.hours dd { margin: 0; }
.visit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }

/* ---------- footer ---------- */
.footer { display: flex; justify-content: center; align-items: center; gap: 14px; padding-block: 34px; }
.footer .brand-text strong { font-size: 21px; }

/* ---------- responsive ---------- */
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .services-grid { grid-template-columns: 1fr; }
  .tray { width: min(70%, 420px); grid-row: 1; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { height: 64px; gap: 12px; grid-template-columns: 1fr auto; }
  nav { display: none; } /* ponytail: tek sayfa, mobilde scroll yeterli; hamburger gerekirse eklenir */
  .brand img { width: 34px; height: 34px; }
  .brand { gap: 8px; }
  .header-actions { gap: 4px; }
  .button-small { padding: 0 12px; font-size: 12px; letter-spacing: .06em; }
  .button-small svg { display: none; }
  .lang { min-width: 34px; }
  .brand-text strong { font-size: 20px; }
  .hero-inner { padding-block: 64px 30px; }
  .hang { width: 120px; padding-top: 34px; }
  .hero-title { font-size: clamp(60px, 21vw, 150px); }
  .hero-line:first-child { margin-inline-end: .9em; }
  .hero-line-2 { margin-inline-start: .3em; }
  .hero-sub { margin-top: 30px; letter-spacing: .5em; }
  .hero-foot { flex-direction: column; align-items: start; }
  .hero-address { text-align: left; }
  .lead { font-size: 16px; }
  .service-list { margin-block: 34px 34px; }
  .service-list li { grid-template-columns: 1fr; gap: 6px; padding-block: 20px; }
  .tray { width: 80%; }
  .shop-heading { display: block; margin-bottom: 30px; }
  .barber-signature { margin-top: 20px; }
  .barber-signature img { width: 60px; height: 60px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-tall { grid-column: span 2; grid-row: auto; }
  .gallery-tall .gallery-link img { position: static; height: clamp(320px, 105vw, 520px); }
  .gallery-link img { min-height: 0; height: clamp(140px, 42vw, 260px); }
  .gallery-item { gap: 8px; }
  .gallery-item figcaption { font-size: 13px; }
  /* mobilde harita metnin altına gelir, üst kenardan erir */
  .visit { flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 0; }
  .map { order: 2; position: relative; inset: auto; height: 420px; margin-top: 10px; -webkit-mask-image: linear-gradient(transparent, #000 30%); mask-image: linear-gradient(transparent, #000 30%); }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 28px); }
  .brand img { width: 30px; height: 30px; }
  .brand-text strong { font-size: 17px; }
  .lang { min-width: 30px; padding: 0 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
