/* 3Y Yapı — ortak stiller (bicim.php yükler)
   Önek: yy-   Bordo logodaki çatıdan alındı. */

:root {
	--yy-bordo: #921322;
	--yy-bordo-koyu: #760f1b;
	--yy-koyu: #222326;
	--yy-gri: #4a4b4e;
	--yy-zemin: #f4f4f5;
	--yy-cizgi: #e4e4e6;
	--yy-yazi: #3a3a3c;
	--yy-soluk: #707074;
	--yy-beyaz: #fff;
	--yy-kap: 1240px;
	--yy-ust: 82px;
	--yy-font: "Ubuntu", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--yy-font); font-size: 16px; line-height: 1.6; color: var(--yy-yazi); background: var(--yy-beyaz); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; color: var(--yy-koyu); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; }
.yy-kap { width: 100%; max-width: var(--yy-kap); margin: 0 auto; padding: 0 30px; }
body.yy-kilit { overflow: hidden; }
#main { padding-top: var(--yy-ust); }

/* ---------- Düğmeler ---------- */
.yy-dugme { display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px; border: 1.5px solid transparent; border-radius: 6px; font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.yy-dugme svg { width: 16px; height: 16px; transition: transform .2s; }
.yy-dugme:hover svg { transform: translateX(3px); }
.yy-dugme-dolu { background: var(--yy-bordo); color: var(--yy-beyaz); }
.yy-dugme-dolu:hover { background: var(--yy-bordo-koyu); }
.yy-dugme-cerceve { border-color: var(--yy-koyu); color: var(--yy-koyu); }
.yy-dugme-cerceve:hover { background: var(--yy-koyu); color: var(--yy-beyaz); }
.yy-dugme-acik { border-color: rgba(255, 255, 255, .8); color: var(--yy-beyaz); }
.yy-dugme-acik:hover { background: var(--yy-beyaz); color: var(--yy-bordo); border-color: var(--yy-beyaz); }

/* Bölüm başlığı (eski temadaki altı bordo çizgili başlık) */
.yy-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; border-bottom: 1px solid var(--yy-cizgi); }
.yy-bas h2 { position: relative; padding-bottom: 14px; font-size: 22px; letter-spacing: .03em; text-transform: uppercase; color: var(--yy-gri); }
.yy-bas h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 140px; height: 2px; background: var(--yy-bordo); }
.yy-oklar { display: flex; gap: 8px; padding-bottom: 12px; }
.yy-oklar button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--yy-cizgi); border-radius: 6px; background: var(--yy-beyaz); color: var(--yy-koyu); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.yy-oklar button:hover { background: var(--yy-bordo); border-color: var(--yy-bordo); color: var(--yy-beyaz); }
.yy-oklar svg { width: 16px; height: 16px; }

/* ---------- Üst bilgi: açık iOS cam ---------- */
.yy-ust {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	height: var(--yy-ust);
	background: rgba(255, 255, 255, .62);
	-webkit-backdrop-filter: saturate(180%) blur(22px);
	backdrop-filter: saturate(180%) blur(22px);
	border-bottom: 1px solid rgba(0, 0, 0, .07);
	transition: background-color .3s, height .3s;
}
.yy-ust.is-kaydi { --yy-ust: 68px; background: rgba(255, 255, 255, .78); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.yy-ust, .yy-ust.is-kaydi { background: rgba(255, 255, 255, .97); }
}
.yy-ust .yy-kap { max-width: 1440px; height: 100%; display: flex; align-items: center; gap: 28px; }
.yy-logo img { height: 50px; width: auto; transition: height .3s; }
.yy-ust.is-kaydi .yy-logo img { height: 42px; }
.yy-menu { flex: 1; }
.yy-menu > ul { display: flex; align-items: center; gap: 2px; }
.yy-menu > ul > li { position: relative; }
.yy-menu > ul > li > a { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; color: var(--yy-koyu); transition: background-color .2s, color .2s; }
.yy-menu > ul > li > a svg { width: 12px; height: 12px; transition: transform .2s; }
.yy-menu > ul > li > a:hover,
.yy-menu > ul > li:focus-within > a { background: rgba(0, 0, 0, .06); }
.yy-menu > ul > li.is-secili > a { color: var(--yy-bordo); }
.yy-menu > ul > li:hover > a svg { transform: rotate(180deg); }
.yy-alt {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 230px;
	padding: 8px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .72);
	-webkit-backdrop-filter: saturate(180%) blur(24px);
	backdrop-filter: saturate(180%) blur(24px);
	border: 1px solid rgba(0, 0, 0, .08);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s, visibility .2s;
}
.yy-alt::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.yy-menu li:hover > .yy-alt,
.yy-menu li:focus-within > .yy-alt { opacity: 1; visibility: visible; }
.yy-alt a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 15px; white-space: nowrap; color: var(--yy-koyu); transition: background-color .15s, color .15s; }
.yy-alt a:hover { background: rgba(0, 0, 0, .06); color: var(--yy-bordo); }

.yy-ust-sag { display: flex; align-items: center; gap: 8px; }
.yy-ikon-dugme { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .06); color: var(--yy-koyu); cursor: pointer; transition: background-color .2s, color .2s; }
.yy-ikon-dugme:hover { background: var(--yy-bordo); color: var(--yy-beyaz); }
.yy-ikon-dugme svg { width: 18px; height: 18px; }
.yy-dil { position: relative; }
.yy-dil .yy-alt { left: auto; right: 0; min-width: 170px; }
.yy-dil:hover .yy-alt, .yy-dil:focus-within .yy-alt { opacity: 1; visibility: visible; }
.yy-dil .yy-alt button { display: block; width: 100%; padding: 9px 14px; border: 0; border-radius: 8px; background: none; text-align: left; font-size: 15px; color: var(--yy-koyu); cursor: pointer; }
.yy-dil .yy-alt button:hover { background: rgba(0, 0, 0, .06); color: var(--yy-bordo); }
.yy-arama { position: absolute; left: 0; right: 0; top: 100%; padding: 14px 0; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); border-bottom: 1px solid rgba(0, 0, 0, .07); display: none; }
.yy-arama.is-acik { display: block; }
.yy-arama form { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; padding: 0 20px; }
.yy-arama input { flex: 1; padding: 12px 16px; border: 1px solid var(--yy-cizgi); border-radius: 8px; background: var(--yy-beyaz); font-size: 16px; }
.yy-arama input:focus { outline: none; border-color: var(--yy-koyu); }
.yy-menu-ac { display: none; }

/* Google Çeviri çubuğunu gizle */
.skiptranslate, #goog-gt-tt, .goog-te-banner-frame, #google_translate_element2 { display: none !important; }
body { top: 0 !important; }

/* Mobil panel */
.yy-mobil { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; padding: 18px 24px 30px; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: saturate(180%) blur(26px); backdrop-filter: saturate(180%) blur(26px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; overflow-y: auto; }
.yy-mobil.is-acik { opacity: 1; visibility: visible; }
.yy-mobil-ust { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.yy-mobil-ust img { height: 44px; width: auto; }
.yy-mobil nav > ul > li { border-bottom: 1px solid rgba(0, 0, 0, .08); }
.yy-mobil nav > ul > li > a, .yy-mobil nav summary { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-size: 19px; font-weight: 500; color: var(--yy-koyu); cursor: pointer; list-style: none; }
.yy-mobil nav summary::-webkit-details-marker { display: none; }
.yy-mobil nav summary svg { width: 14px; height: 14px; transition: transform .2s; }
.yy-mobil nav details[open] summary svg { transform: rotate(180deg); }
.yy-mobil nav details ul { padding: 0 0 12px 12px; }
.yy-mobil nav details a { display: block; padding: 7px 0; font-size: 17px; color: var(--yy-gri); }
.yy-mobil-dil { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.yy-mobil-dil button { padding: 7px 12px; border: 1px solid var(--yy-cizgi); border-radius: 20px; background: var(--yy-beyaz); font-size: 14px; cursor: pointer; }
.yy-mobil-alt { margin-top: auto; padding-top: 24px; }
.yy-mobil-alt .yy-dugme { width: 100%; justify-content: center; }

/* ---------- Sayfa başlığı ---------- */
.yy-sayfa-bas { background: var(--yy-zemin); border-bottom: 1px solid var(--yy-cizgi); }
.yy-sayfa-bas .yy-kap { padding-top: 44px; padding-bottom: 40px; }
.yy-sayfa-bas h1 { font-size: clamp(28px, 3.4vw, 42px); color: var(--yy-gri); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.yy-kirinti { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--yy-soluk); }
.yy-kirinti li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.yy-kirinti a:hover { color: var(--yy-bordo); }
.yy-kirinti li:last-child { color: var(--yy-koyu); }
.yy-bolum { padding: 60px 0 80px; }

/* ---------- Serbest metin ---------- */
.yy-metin { font-size: 16px; line-height: 1.8; color: #48484b; }
.yy-metin h2, .yy-metin h3, .yy-metin h4 { margin: 1.4em 0 .6em; }
.yy-metin a { color: var(--yy-bordo); text-decoration: underline; text-underline-offset: 3px; }
.yy-metin ul, .yy-metin ol { margin: 0 0 1em; padding-left: 1.3em; }
.yy-metin ul { list-style: disc; }
.yy-metin ol { list-style: decimal; }
.yy-metin img { border-radius: 8px; margin: 1em 0; }
.yy-metin iframe { width: 100%; min-height: 380px; border: 0; border-radius: 10px; }
.yy-metin table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.yy-metin td, .yy-metin th { padding: 10px; border: 1px solid var(--yy-cizgi); }
.yy-metin > *:first-child { margin-top: 0; }

/* ---------- Proje kartı (ana sayfa + listeler) ---------- */
.yy-izgara { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.yy-kart { position: relative; display: block; border: 1px solid var(--yy-cizgi); border-radius: 10px; overflow: hidden; background: var(--yy-beyaz); transition: border-color .2s; }
.yy-kart:hover { border-color: #c4c4c8; }
.yy-kart-gorsel { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--yy-zemin); }
.yy-kart-gorsel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.yy-kart:hover .yy-kart-gorsel img { transform: scale(1.05); }
.yy-kart-bos { display: grid; place-items: center; height: 100%; }
.yy-kart-bos img { width: 40%; height: auto; opacity: .35; object-fit: contain; }
.yy-kart-govde { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; }
.yy-kart h3 { font-size: 18px; font-weight: 500; }
.yy-kart small { display: block; margin-top: 3px; font-size: 13px; color: var(--yy-soluk); }
.yy-kart-ok { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--yy-zemin); color: var(--yy-bordo); transition: background-color .2s, color .2s; }
.yy-kart-ok svg { width: 16px; height: 16px; }
.yy-kart:hover .yy-kart-ok { background: var(--yy-bordo); color: var(--yy-beyaz); }

.yy-bos { padding: 30px 0; color: var(--yy-soluk); }

/* Görsel büyütücü */
.yy-buyut { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 50px 70px; background: rgba(14, 14, 16, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.yy-buyut.is-acik { display: flex; }
.yy-buyut img { max-height: 86vh; width: auto; border-radius: 8px; }
.yy-buyut button { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: var(--yy-beyaz); cursor: pointer; }
.yy-buyut button:hover { background: var(--yy-bordo); }
.yy-buyut button svg { width: 18px; height: 18px; }
.yy-buyut-kapat { top: 20px; right: 20px; }
.yy-buyut-onceki { left: 16px; top: 50%; margin-top: -23px; }
.yy-buyut-sonraki { right: 16px; top: 50%; margin-top: -23px; }

/* ---------- Alt bilgi ---------- */
.yy-alt-bilgi { background: var(--yy-gri); color: #d6d6d8; font-size: 15px; }
.yy-alt-ust .yy-kap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 34px; padding-bottom: 34px; }
.yy-alt-menu { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.yy-alt-menu a:hover { color: var(--yy-beyaz); }
.yy-sosyal { display: flex; gap: 8px; }
.yy-sosyal a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--yy-beyaz); transition: background-color .2s; }
.yy-sosyal a:hover { background: var(--yy-bordo); }
.yy-sosyal svg { width: 16px; height: 16px; }
.yy-alt-alt { background: #3d3e41; font-size: 13px; color: #b8b8bb; }
.yy-alt-alt .yy-kap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 18px; padding-bottom: 18px; }
.yy-alt-alt .sbz-imza { color: var(--yy-beyaz); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1199px) {
	.yy-menu > ul > li > a { padding: 9px 9px; font-size: 13px; }
}
@media (max-width: 991px) {
	:root { --yy-ust: 70px; }
	.yy-ust.is-kaydi { --yy-ust: 64px; }
	.yy-menu, .yy-dil { display: none; }
	.yy-ust-sag { margin-left: auto; }
	.yy-menu-ac { display: grid; }
	.yy-logo img { height: 42px; }
	.yy-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.yy-kap { padding: 0 18px; }
	.yy-izgara { grid-template-columns: 1fr; gap: 18px; }
	.yy-sayfa-bas .yy-kap { padding-top: 30px; padding-bottom: 28px; }
	.yy-bolum { padding: 40px 0 60px; }
	.yy-alt-ust .yy-kap { flex-direction: column; align-items: flex-start; }
	.yy-buyut { padding: 60px 12px; }
	.yy-buyut-onceki, .yy-buyut-sonraki { top: auto; bottom: 16px; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
.yy-buyut.is-tek .yy-buyut-onceki, .yy-buyut.is-tek .yy-buyut-sonraki { display: none; }
.yy-sayfalama { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.yy-sayfalama a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--yy-cizgi); border-radius: 8px; font-weight: 500; }
.yy-sayfalama a:hover { border-color: var(--yy-koyu); }
.yy-sayfalama a.is-secili { background: var(--yy-bordo); border-color: var(--yy-bordo); color: var(--yy-beyaz); }
