/* Berber Pano — bento düzeni. Kütüphane kullanılmaz. */
:root {
	--kum: #e9e4da;       /* sayfa zemini */
	--kart: #f7f4ee;      /* açık kutu */
	--kum-koyu: #ddd5c6;  /* ikinci açık kutu */
	--antrasit: #26262b;  /* koyu kutu */
	--adacayi: #8fa38a;   /* vurgu kutusu */
	--murekkep: #1c1c1f;  /* açık zeminde yazı */
	--soluk: #5d5a54;     /* açık zeminde ikincil yazı */
	--krem: #f2efe8;      /* koyu zeminde yazı */
	--koyu-soluk: #b5b1a8;
	--orman: #1d241b;     /* adaçayı üstünde yazı */
	--baslik: "Syne", "Arial Black", system-ui, sans-serif;
	--govde: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--r-buyuk: 32px;
	--r-kucuk: 22px;
	--ara: 14px;
	--dok-h: 64px;
	--ust-bosluk: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--dok-h) + 40px + var(--ust-bosluk)); -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: calc(var(--dok-h) + 36px); background: var(--kum); color: var(--murekkep); font: 400 1.0625rem/1.6 var(--govde); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--antrasit); outline-offset: 3px; }
.koyu :focus-visible, .koyu:focus-visible { outline-color: var(--adacayi); }
.gizli { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.atla { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--antrasit); color: var(--krem); padding: 10px 16px; border-radius: 12px; }
.atla:focus { top: 12px; }
.kap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(12px, 3vw, 32px); }

/* ---------- Yüzen menü şeridi ---------- */
.dok {
	position: fixed; z-index: 50; top: calc(14px + var(--ust-bosluk)); left: 50%; transform: translateX(-50%);
	display: flex; align-items: center; gap: 6px; height: var(--dok-h); padding: 0 8px 0 22px;
	width: max-content; max-width: calc(100% - 24px);
	background: rgba(38, 38, 43, .94); color: var(--krem); border-radius: 999px;
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.dok-logo { font: 800 1rem/1.08 var(--baslik); text-decoration: none; margin-right: 14px; max-width: 17ch; white-space: normal; overflow-wrap: break-word; }
.dok-logo img { max-height: 36px; width: auto; }
.dok-menu { display: flex; align-items: center; gap: 2px; }
.dok-menu a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: .95rem; color: var(--koyu-soluk); transition: background .2s, color .2s; }
.dok-menu a:hover { background: rgba(255,255,255,.08); color: var(--krem); }
.sosyal { display: flex; align-items: center; gap: 2px; }
.dok-sosyal { padding: 0 6px; margin: 0 4px; border-left: 1px solid rgba(255,255,255,.14); border-right: 1px solid rgba(255,255,255,.14); }
.sosyal a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: inherit; transition: background .2s; }
.sosyal a:hover { background: rgba(255,255,255,.1); }
.sosyal svg { width: 19px; height: 19px; fill: currentColor; }
.dok-randevu { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--adacayi); color: var(--orman); font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .2s; }
.dok-randevu:hover { background: #a3b59e; }
.dok-ac { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: var(--krem); cursor: pointer; }
.dok-ac svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .25s; }
.dok-ac[aria-expanded="true"] svg { transform: rotate(90deg); }

/* ---------- Kutular ---------- */
.izgara { display: grid; gap: var(--ara); }
.kutu { position: relative; border-radius: var(--r-kucuk); padding: clamp(20px, 2.4vw, 30px); overflow: hidden; text-decoration: none; }
.acik { background: var(--kart); }
.kum-koyu { background: var(--kum-koyu); }
.koyu { background: var(--antrasit); color: var(--krem); }
.adacayi { background: var(--adacayi); color: var(--orman); }
.foto { padding: 0; background: var(--kum-koyu); }
.foto img, .foto figure { width: 100%; height: 100%; }
.foto img { object-fit: cover; }
.kutu-etiket { display: block; font-size: .9rem; opacity: .75; }
.kutu-alt { display: block; font-size: .95rem; margin-top: auto; }
.kose-ok { position: absolute; top: 20px; right: 20px; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s; }
a.kutu:hover .kose-ok { transform: translate(3px, -3px); }
a.kutu { display: flex; flex-direction: column; }

.dugmeler { display: flex; flex-wrap: wrap; gap: 10px; }
.dugme { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.dugme.ana { background: var(--adacayi); color: var(--orman); }
.dugme.ana:hover { background: #a3b59e; }
.dugme.ikincil { border: 1.5px solid var(--murekkep); color: var(--murekkep); }
.dugme.ikincil:hover { background: var(--murekkep); color: var(--krem); }
.koyu .dugme.ikincil, .dugme.acik-cerceve { border-color: rgba(242,239,232,.5); color: var(--krem); }
.koyu .dugme.ikincil:hover, .dugme.acik-cerceve:hover { background: var(--krem); color: var(--antrasit); border-color: var(--krem); }

/* ---------- Açılış ızgarası ---------- */
.giris { grid-template-columns: repeat(4, 1fr); grid-template-areas: "ana ana foto foto" "puan durum konum ig"; }
.giris-ana { grid-area: ana; border-radius: var(--r-buyuk); display: flex; flex-direction: column; justify-content: flex-end; min-height: min(62vh, 560px); padding: clamp(26px, 3.4vw, 48px); }
.giris-foto { grid-area: foto; border-radius: var(--r-buyuk); min-height: 320px; }
.giris-foto img { object-position: 50% 30%; }
.yer { color: var(--koyu-soluk); margin-bottom: auto; }
.salon-adi { font: 800 min(clamp(2.8rem, 6.4vw, 5.6rem), calc(100cqi / (var(--harf, 8) * 1.22)))/.92 var(--baslik); letter-spacing: -.035em; margin: 40px 0 18px; overflow-wrap: normal; hyphens: none; text-wrap: balance; }
.giris-metin { max-width: 42ch; color: var(--koyu-soluk); margin-bottom: 28px; }
.puan-kutu { grid-area: puan; min-height: 190px; }
.durum-kutu { grid-area: durum; display: flex; flex-direction: column; min-height: 190px; }
.konum-kutu { grid-area: konum; min-height: 190px; }
.ig-kutu { grid-area: ig; min-height: 190px; }
.puan-sayi { font: 800 clamp(3rem, 5vw, 4.4rem)/1 var(--baslik); letter-spacing: -.04em; margin: 8px 0 6px; }
.puan-sayi.kucuk { font-size: 2.6rem; margin-bottom: 10px; }
.durum { font: 700 1.3rem/1.2 var(--baslik); margin: 10px 0 6px; display: flex; gap: 10px; align-items: baseline; }
.durum:empty::after { content: "\00a0"; }
.durum::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--soluk); transform: translateY(-1px); }
.durum.acik::before { background: #4f7a49; box-shadow: 0 0 0 4px rgba(79,122,73,.18); }
.bugun-saat { margin-top: auto; color: var(--soluk); }
.konum-semt, .ig-hesap { font: 700 clamp(1.3rem, 2vw, 1.7rem)/1.1 var(--baslik); margin: 10px 0 8px; overflow-wrap: anywhere; }
.ig-kutu > svg:first-child { width: 28px; height: 28px; fill: currentColor; }
.ig-kutu .kutu-alt, .konum-kutu .kutu-alt { opacity: .8; }

.yildizlar { position: relative; display: inline-flex; line-height: 0; }
.yildizlar svg { width: 18px; height: 18px; }
.yildizlar .bos svg { fill: none; stroke: currentColor; stroke-width: 1.3; opacity: .5; }
.yildizlar .dolu { position: absolute; inset: 0; overflow: hidden; width: calc(var(--dolu) * 100%); white-space: nowrap; display: inline-flex; }
.yildizlar .dolu svg { fill: currentColor; flex: none; }

/* Açılışta tek hareket: kutular sırayla yerine oturur. */
@media (prefers-reduced-motion: no-preference) {
	.js .giris > .kutu { opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
	.hazir .giris > .kutu { opacity: 1; transform: none; }
	.giris > .kutu:nth-child(2) { transition-delay: .07s; }
	.giris > .kutu:nth-child(3) { transition-delay: .14s; }
	.giris > .kutu:nth-child(4) { transition-delay: .19s; }
	.giris > .kutu:nth-child(5) { transition-delay: .24s; }
	.giris > .kutu:nth-child(6) { transition-delay: .29s; }
}

/* ---------- Bölümler ---------- */
.bolum { margin-top: clamp(56px, 8vw, 104px); }
.bolum-baslik { font: 800 clamp(1.9rem, 3.6vw, 3rem)/1 var(--baslik); letter-spacing: -.03em; margin-bottom: 22px; text-wrap: balance; }
.kutu .bolum-baslik { margin-bottom: 16px; font-size: clamp(1.5rem, 2.3vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; overflow-wrap: anywhere; hyphens: auto; }

/* Hizmetler: 3 sütun, ilki 2×2 */
.hizmet-izgara { grid-template-columns: repeat(3, 1fr); }
.hizmet-izgara h3 { font: 700 1.35rem/1.15 var(--baslik); letter-spacing: -.01em; }
.hizmet-izgara p { margin-top: 10px; color: var(--soluk); max-width: 36ch; }
.hizmet-izgara .koyu p { color: var(--koyu-soluk); }
.hizmet-izgara .kutu { min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; }
.hizmet-buyuk { grid-column: span 2; grid-row: span 2; padding: 0; background: var(--antrasit); color: var(--krem); border-radius: var(--r-buyuk); }
.hizmet-buyuk figure { position: absolute; inset: 0; }
.hizmet-buyuk figure img { width: 100%; height: 100%; object-fit: cover; }
.hizmet-buyuk figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38,38,43,0) 35%, rgba(38,38,43,.9) 100%); }
.hizmet-buyuk .hizmet-metin { position: relative; padding: clamp(22px, 3vw, 40px); }
.hizmet-buyuk h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.hizmet-buyuk p { color: rgba(242,239,232,.85); }

/* Salon */
.salon-izgara { grid-template-columns: 1.15fr 1fr 1fr; grid-template-areas: "metin foto foto" "n1 n2 n3"; }
.salon-metin { grid-area: metin; display: flex; flex-direction: column; justify-content: flex-end; border-radius: var(--r-buyuk); }
.salon-metin p { color: var(--soluk); }
.salon-foto { grid-area: foto; border-radius: var(--r-buyuk); aspect-ratio: 16 / 10; }
.neden h3 { font: 700 1.2rem/1.2 var(--baslik); margin-bottom: 8px; }
.neden p { font-size: .98rem; }
.kum-koyu.neden p { color: var(--soluk); }

/* Yorumlar */
.yorum-izgara { grid-template-columns: repeat(4, 1fr); }
.yorum-izgara blockquote p { font-size: 1.05rem; }
.yorum-izgara blockquote p::before { content: "“"; }
.yorum-izgara blockquote p::after { content: "”"; }
.yorum-buyuk { grid-column: span 2; grid-row: span 2; border-radius: var(--r-buyuk); display: flex; align-items: flex-end; }
.yorum-buyuk p { font: 700 clamp(1.5rem, 2.6vw, 2.2rem)/1.2 var(--baslik); letter-spacing: -.015em; }
.yorum-link { min-height: 160px; font-weight: 600; }
.yorum-link.genis { grid-column: span 2; }

/* Galeri: 3 sütun, ilki 2×2 */
.galeri-izgara { grid-template-columns: repeat(3, 1fr); }
.galeri-izgara .kutu { aspect-ratio: 1; }
.galeri-izgara .kutu:first-child { grid-column: span 2; grid-row: span 2; border-radius: var(--r-buyuk); }

/* Sosyal medya */
.sosyal-izgara { grid-template-columns: repeat(4, 1fr); }
.sosyal-giris { grid-column: span 1; border-radius: var(--r-buyuk); min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; }
.sosyal-kutu { min-height: 200px; }
.sosyal-giris.s1 { grid-column: span 3; }
.sosyal-giris.s2 { grid-column: span 2; }
.sosyal-giris.s4 { grid-column: span 4; }
.sosyal-kutu > svg:first-child { width: 30px; height: 30px; fill: currentColor; }
.sosyal-ad { font: 700 1.5rem/1.1 var(--baslik); margin-top: auto; }
.sosyal-kutu .kutu-alt { margin-top: 6px; color: var(--koyu-soluk); overflow-wrap: anywhere; }

/* Konum */
.iletisim-izgara { grid-template-columns: repeat(4, 1fr); grid-template-areas: "harita harita adres saat" "harita harita adres saat" "cagri cagri cagri cagri"; }
.harita-kutu { grid-area: harita; padding: 0; min-height: 420px; border-radius: var(--r-buyuk); background: var(--kum-koyu); }
.harita-kutu iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.55) sepia(.12); }
.adres-kutu { grid-area: adres; display: flex; flex-direction: column; }
.adres-kutu address { font-style: normal; font-size: 1.1rem; }
.yakin { margin: 12px 0 24px; color: var(--soluk); font-size: .95rem; }
.adres-kutu .dugme { margin-top: auto; align-self: flex-start; }
.saat-kutu { grid-area: saat; }
.saat-kutu h3 { font: 700 1.2rem/1.2 var(--baslik); margin-bottom: 12px; }
.saatler { width: 100%; border-collapse: collapse; font-size: .97rem; }
.saatler th, .saatler td { padding: 7px 0; text-align: left; font-weight: 400; border-bottom: 1px solid var(--kum-koyu); }
.saatler td { text-align: right; color: var(--soluk); }
.saatler tr.bugun th, .saatler tr.bugun td { font-weight: 700; color: var(--murekkep); }
.saat-not { margin-top: 12px; color: var(--soluk); font-size: .92rem; }
.cagri-kutu { grid-area: cagri; border-radius: var(--r-buyuk); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 52px); }
.cagri-baslik { font: 800 clamp(1.6rem, 3vw, 2.5rem)/1.08 var(--baslik); letter-spacing: -.025em; max-width: 22ch; }

/* Alt bilgi */
.alt { margin-top: clamp(56px, 8vw, 104px); padding: 28px 0 40px; color: var(--soluk); font-size: .92rem; }
.alt-ic { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-top: 1.5px solid var(--kum-koyu); padding-top: 24px; }
.alt-logo { font: 800 1.2rem/1 var(--baslik); color: var(--murekkep); text-decoration: none; }
.alt-logo img { max-height: 40px; width: auto; }
.alt-sosyal a:hover { background: var(--kum-koyu); }

.icerik-sayfa { max-width: 760px; }
.icerik-sayfa h1 { font: 800 2.4rem/1.05 var(--baslik); margin-bottom: 20px; }
.mobil-cubuk { display: none; }

/* Vitrin şeridi (yalnızca demo sitede) */
body:has(.bv-serit) { --ust-bosluk: 40px; }

/* Tablet */
@media (max-width: 1100px) {
	.dok-menu a { padding: 10px 10px; }
}
@media (max-width: 980px) {
	.dok { left: 12px; right: 12px; transform: none; width: auto; justify-content: space-between; padding: 0 8px 0 18px; }
	.dok-ac { display: grid; place-items: center; }
	.dok-randevu { display: none; }
	.dok-sosyal { margin-left: auto; border: 0; }
	.dok-menu {
		position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
		padding: 10px; background: var(--antrasit); border-radius: 26px;
		visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
	}
	.dok-menu.acik { visibility: visible; opacity: 1; transform: none; }
	.dok-menu a { padding: 14px 16px; font-size: 1.05rem; color: var(--krem); }
	.giris { grid-template-columns: 1fr 1fr; grid-template-areas: "ana ana" "foto foto" "puan durum" "konum ig"; }
	.giris-ana { min-height: 0; padding-top: 32px; }
	.salon-adi { margin-top: 26px; }
	.giris-foto { aspect-ratio: 4 / 3; min-height: 0; }
	.salon-izgara { grid-template-columns: 1fr 1fr; grid-template-areas: "foto foto" "metin metin" "n1 n2" "n3 n3"; }
	.salon-izgara .neden:last-child { grid-column: span 2; }
	.yorum-izgara, .sosyal-izgara { grid-template-columns: 1fr 1fr; }
	.sosyal-giris[class*=" s"] { grid-column: 1 / -1; }
	.iletisim-izgara { grid-template-columns: 1fr 1fr; grid-template-areas: "harita harita" "adres saat" "cagri cagri"; }
	.harita-kutu, .harita-kutu iframe { min-height: 320px; }
}

/* Telefon */
@media (max-width: 640px) {
	:root { --dok-h: 58px; --ara: 10px; }
	body { padding-top: calc(var(--dok-h) + 26px); padding-bottom: 84px; }
	.dok { top: calc(10px + var(--ust-bosluk)); left: 10px; right: 10px; }
	.dok-logo { font-size: .88rem; margin-right: 6px; min-width: 0; max-width: none; flex: 1; }
	.dok { height: auto; min-height: var(--dok-h); padding-top: 6px; padding-bottom: 6px; border-radius: 26px; }
	.dok-sosyal a { width: 40px; height: 40px; }
	.dok-sosyal li:nth-child(n+3) { display: none; }
	.hizmet-izgara { grid-template-columns: 1fr 1fr; }
	.hizmet-buyuk { grid-column: span 2; grid-row: auto; min-height: 340px; }
	.hizmet-izgara .kutu:not(.hizmet-buyuk) { min-height: 0; padding: 18px; }
	.hizmet-izgara h3 { font-size: 1.1rem; }
	.hizmet-izgara p { font-size: .92rem; }
	.salon-izgara { grid-template-columns: 1fr; grid-template-areas: "foto" "metin"; }
	.salon-izgara .neden:last-child { grid-column: auto; }
	.yorum-izgara { grid-template-columns: 1fr; }
	.yorum-buyuk { grid-column: auto; grid-row: auto; }
	.yorum-link.genis { grid-column: auto; }
	.galeri-izgara { grid-template-columns: 1fr 1fr; }
	.sosyal-izgara { grid-template-columns: 1fr 1fr; }
	.sosyal-kutu { min-height: 150px; }
	.sosyal-giris[class*=" s"] { grid-column: 1 / -1; }
	.iletisim-izgara { grid-template-columns: 1fr; grid-template-areas: "harita" "adres" "saat" "cagri"; }
	.puan-kutu, .durum-kutu, .konum-kutu, .ig-kutu { min-height: 160px; padding: 18px; }
	.kose-ok { top: 14px; right: 14px; width: 22px; height: 22px; }
	.mobil-cubuk { display: grid; grid-template-columns: 1fr 2.2fr; gap: 8px; position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 8px; background: rgba(38,38,43,.94); border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
	.mobil-cubuk a { display: grid; place-items: center; min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none; }
	.mc-ara { color: var(--krem); background: rgba(255,255,255,.08); }
	.mc-wa { background: var(--adacayi); color: var(--orman); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Uzun salon adları kelime ortasından bölünmesin: yazı boyu en uzun kelimeye göre küçülür. */
.giris-ana { container-type: inline-size; }

/* 4 ya da 5 hizmette son satır boş kalmasın */
.hizmet-izgara .kutu:last-child:nth-child(4) { grid-column: span 3; }
.hizmet-izgara .kutu:last-child:nth-child(5) { grid-column: span 2; }
@media (max-width: 640px) { .hizmet-izgara .kutu:last-child:nth-child(4), .hizmet-izgara .kutu:last-child:nth-child(5) { grid-column: span 2; } }

/* 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; }

.dok { height: auto; min-height: var(--dok-h); padding-top: 6px; padding-bottom: 6px; }
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: transparent; --rv-kutu-cizgi: 0 none; --rv-etiket: var(--koyu-soluk); --rv-alan: var(--krem); --rv-alan-yazi: var(--murekkep); --rv-alan-cizgi: 1px solid transparent; --rv-odak: var(--adacayi); --rv-secili: var(--adacayi); --rv-secili-yazi: var(--orman); --rv-ok: var(--antrasit); --rv-uyari: var(--adacayi); --rv-yari: 12px; --rv-cip-yari: 999px; --rv-font: var(--govde) }
#randevu .rv-form { padding: 0; }
#randevu .rv-blok { margin: 24px 0 0; max-width: none; }
#randevu .rv-ara { text-align: left;  }
