/* Berber Bakış: tıraştan sonra aynaya bakma anı. Portre fareyi başıyla takip eder. */
:root {
	--zemin: #e3e9e5;
	--yuzey: #f3f6f4;
	--yazi: #101915;
	--soluk: #4c5a53;
	--vurgu: #1f4f43;
	--vurgu-koyu: #163b32;
	--nane: #cfe1d8;
	--cizgi: #c6d1cb;
	--baslik: "Bricolage Grotesque", "Arial Narrow", sans-serif;
	--govde: "Figtree", system-ui, sans-serif;
	--ust-ofset: 0px;
	--x: 0;
	--y: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(80px + var(--ust-ofset)); }
body { margin: 0; background: var(--zemin); color: var(--yazi); font: 400 1.0625rem/1.65 var(--govde); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--baslik); margin: 0; line-height: 1; letter-spacing: -.02em; }
h2 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); font-weight: 700; margin-bottom: 1.5rem; max-width: 16ch; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--vurgu); outline-offset: 3px; }
.gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.atla { position: absolute; left: -999px; top: 8px; background: var(--yazi); color: #fff; padding: .6rem 1rem; z-index: 99; }
.atla:focus { left: 8px; }
.kap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.bolum { padding-block: clamp(4rem, 9vw, 7.5rem); }

/* Düğmeler */
.dugme { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .7rem 1.5rem; border-radius: 999px; border: 1.5px solid var(--vurgu); background: var(--vurgu); color: #fff; font: 600 1rem/1 var(--govde); text-decoration: none; transition: background .2s, color .2s; }
.dugme:hover { background: var(--vurgu-koyu); border-color: var(--vurgu-koyu); }
.dugme.bos { background: transparent; color: var(--vurgu); }
.dugme.bos:hover { background: var(--vurgu); color: #fff; }
.dugme.acik { background: #fff; border-color: #fff; color: var(--vurgu); }
.dugme.acik:hover { background: var(--nane); border-color: var(--nane); }
.dugme.acik-bos { border-color: #fff; color: #fff; }
.dugme.acik-bos:hover { background: #fff; color: var(--vurgu); }
.dugme.kucuk { min-height: 40px; padding: .5rem 1.1rem; font-size: .95rem; }
.dugmeler { display: flex; flex-wrap: wrap; gap: .75rem; }
.metin-link { font-weight: 600; color: var(--vurgu); text-underline-offset: 4px; }

/* Üst menü */
.ust { position: sticky; top: var(--ust-ofset); z-index: 20; background: rgba(253, 253, 253, .9); backdrop-filter: blur(10px); }
.ust-ic { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.logo { text-decoration: none; font: 800 1.35rem/1 var(--baslik); letter-spacing: -.02em; }
.logo img { max-height: 44px; width: auto; }
.menu { display: flex; align-items: center; gap: 1.6rem; }
.menu a:not(.dugme) { font-weight: 500; text-decoration: none; color: var(--soluk); }
.menu a:not(.dugme):hover { color: var(--yazi); }
.menu-ac { display: none; }

/* Giriş: solda başlık, sağda fareyi başıyla takip eden portre */
.sahne { background: #fdfdfd; box-shadow: 0 0 0 100vmax #fdfdfd; clip-path: inset(0 -100vmax); position: relative; min-height: calc(100svh - 68px - var(--ust-ofset)); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "dev portre" "alt portre"; align-content: center; column-gap: clamp(2rem, 5vw, 5rem); width: min(1240px, 100% - 2.5rem); margin-inline: auto; padding-block: 2rem 3rem; perspective: 1100px; }
.dev { grid-area: dev; align-self: end; margin-bottom: 2rem; }
.dev-ic { display: flex; flex-direction: column; font: 800 clamp(3.2rem, 7.6vw, 7.8rem)/.88 var(--baslik); letter-spacing: -.045em; color: var(--vurgu); transform: translate3d(calc(var(--x) * -14px), calc(var(--y) * -8px), 0); }
.dev-ic .s2 { color: var(--yazi); }
.portre { grid-area: portre; align-self: center; width: 100%; max-width: 460px; justify-self: end; transform-style: preserve-3d; }
.portre-kart { position: relative; }
.yuzler { position: relative; aspect-ratio: 408 / 504; --maske: radial-gradient(ellipse 64% 62% at 50% 40%, #000 62%, transparent 100%); -webkit-mask-image: var(--maske); mask-image: var(--maske); }
.yuzler img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .14s ease-out; }
.yuzler img.gor { opacity: 1; }
.sahne-alt { grid-area: alt; align-self: start; display: grid; gap: 1.2rem; }
.yer { margin: 0; font-weight: 600; color: var(--vurgu); }
.giris-metin { margin: 0; max-width: 44ch; color: var(--soluk); font-size: 1.12rem; }
.durum { display: inline-flex; align-items: center; gap: .55rem; margin: 0; font-size: .95rem; color: var(--soluk); min-height: 1.5em; }
.durum::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9aa6a0; }
.durum.acik { color: var(--yazi); }
.durum.acik::before { background: var(--vurgu); box-shadow: 0 0 0 4px rgba(31, 79, 67, .2); }

/* Hizmetler */
.hizmetler { background: var(--yuzey); }
.hizmet-ic { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.hizmet-ic h2 { position: sticky; top: calc(100px + var(--ust-ofset)); }
.hizmet-liste { list-style: none; margin: 0; padding: 0; }
.hizmet-liste li { display: grid; grid-template-columns: 168px 1fr; gap: 1.4rem; align-items: center; padding: 1.2rem 0; border-top: 1px solid var(--cizgi); }
.hizmet-foto { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; }
.hizmet-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease-out; }
.hizmet-liste li:hover .hizmet-foto img { transform: scale(1.05); }
.hizmet-liste li:last-child { border-bottom: 1px solid var(--cizgi); }
.hizmet-liste h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; margin-bottom: .35rem; }
.hizmet-liste p { margin: 0; color: var(--soluk); max-width: 50ch; }

/* Salon */
.salon-ic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.salon-yazi p { max-width: 44ch; color: var(--soluk); }
.salon-foto { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: .8rem; }
.salon-foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.f1 { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.f2, .f3 { aspect-ratio: 1; }

/* Yorumlar */
.yorumlar { background: var(--yuzey); }
.yorum-ic { display: grid; grid-template-columns: 280px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.puan-sayi { font: 800 clamp(5rem, 11vw, 8rem)/.85 var(--baslik); letter-spacing: -.04em; color: var(--vurgu); margin-bottom: .6rem; }
.puan p:last-child { color: var(--soluk); }
.yildizlar { position: relative; display: inline-block; height: 24px; margin-bottom: .5rem; }
.yildizlar svg { width: 24px; height: 24px; }
.yildizlar .bos svg { fill: var(--cizgi); }
.yildizlar .dolu { position: absolute; inset: 0; overflow: hidden; width: calc(var(--dolu) * 100%); white-space: nowrap; }
.yildizlar .dolu svg { fill: var(--vurgu); }
.yildizlar span { display: flex; }
.alintilar h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 22ch; }
.alintilar blockquote { margin: 0 0 1.6rem; padding-left: 1.2rem; border-left: 3px solid var(--vurgu); }
.alintilar blockquote p { margin: 0; font-size: clamp(1.15rem, 1.9vw, 1.35rem); line-height: 1.5; max-width: 42ch; }

/* İletişim */
.iletisim-ic { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); }
address { font-style: normal; font-size: 1.15rem; margin-bottom: .8rem; }
.yakin { color: var(--soluk); font-size: .97rem; }
.saatler { width: 100%; max-width: 420px; border-collapse: collapse; margin: 1.2rem 0 1.8rem; }
.saatler th, .saatler td { padding: .55rem .4rem; border-bottom: 1px solid var(--cizgi); text-align: left; font-weight: 400; }
.saatler td { text-align: right; font-variant-numeric: tabular-nums; }
.saatler tr.bugun { font-weight: 600; color: var(--vurgu); }
.harita iframe { width: 100%; height: 100%; min-height: 440px; border: 0; border-radius: 16px; filter: grayscale(.4); }

/* Çağrı */
.cagri { background: var(--vurgu); color: #fff; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cagri-ic { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cagri h2 { margin: 0; max-width: 20ch; font-size: clamp(2rem, 4vw, 3rem); }

/* Alt bilgi */
.alt { padding: 2rem 0 6rem; font-size: .92rem; color: var(--soluk); }
.alt-ic { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.alt p { margin: 0; }
.mobil-cubuk { display: none; }
.icerik-sayfa { max-width: 720px; }
.icerik-sayfa h1 { font-size: 3rem; margin-bottom: 1.5rem; }

/* Tablet ve telefon */
@media (max-width: 900px) {
	.menu-ac { display: inline-flex; flex-direction: column; gap: 6px; padding: 12px; background: none; border: 0; cursor: pointer; }
	.menu-ac span:not(.gizli) { width: 24px; height: 2px; background: var(--yazi); }
	.menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 1.1rem; padding: 1.4rem 1.25rem 1.6rem; background: var(--zemin); border-bottom: 1px solid var(--cizgi); display: none; }
	.menu.acik { display: flex; }
	.sahne { min-height: auto; grid-template-columns: 1fr; grid-template-areas: "dev" "portre" "alt"; padding-top: 1.5rem; row-gap: 1.6rem; }
	.dev { margin-bottom: 0; }
	.dev-ic { font-size: clamp(2.8rem, 13vw, 5rem); }
	.portre { justify-self: center; max-width: 380px; }
	.hizmet-ic, .salon-ic, .yorum-ic, .iletisim-ic { grid-template-columns: 1fr; }
	.hizmet-ic h2 { position: static; }
	.hizmet-liste li { grid-template-columns: 108px 1fr; gap: 1rem; }
	.harita iframe { min-height: 320px; }
	.mobil-cubuk { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--zemin); border-top: 1px solid var(--cizgi); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.dev-ic { transform: none; }
	.yuzler img, .hizmet-foto img { transition: none; }
}

/* Uzun salon adında menü öğeleri ve düğmeler satır kırmasın (ad kendisi kırılır) */
header nav a, header .menu a, header .dugme, header .ust-randevu, header .dok-randevu { white-space: nowrap; }
header .logo { line-height: 1.15; min-width: 0; }
footer .logo, .alt .logo, .alt-logo { white-space: normal; overflow-wrap: break-word; max-width: 100%; min-width: 0; }

/* Telefonda sayfa yana kaymasın */
html, body { overflow-x: clip; max-width: 100%; }

/* Randevu formu renkleri (assets/css/randevu.css) */
#randevu { --rv-kutu: rgba(0,0,0,.12); --rv-kutu-yari: 16px; --rv-kutu-cizgi: 1px solid rgba(255,255,255,.28); --rv-etiket: rgba(255,255,255,.85); --rv-alan: #fff; --rv-alan-cizgi: 1px solid transparent; --rv-alan-yazi: var(--yazi); --rv-odak: var(--nane); --rv-secili: var(--nane); --rv-secili-yazi: var(--vurgu-koyu); --rv-ok: var(--vurgu); --rv-uyari: var(--nane); --rv-yari: 12px; --rv-cip-yari: 999px; --rv-font: var(--govde) }
