/* İkinci Bölge Erzurum Dernekler Federasyonu */

:root {
  --navy: #0e2643;
  --navy-d: #091a30;
  --navy-l: #1a3a63;
  --gold: #b08a4e;
  --gold-l: #d4b98a;
  --teal: #0b7a86;
  --ink: #16191d;
  --text: #34393f;
  --gray: #6a7077;
  --line: #e4e1da;
  --line-d: #d2cdc2;
  --ivory: #f7f4ee;
  --white: #fff;

  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;

  /* Selçuklu yıldızı deseni (Çifte Minareli Medrese) */
  --pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2264%22%20height%3D%2264%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22rgba%28201%2C169%2C110%2C0.09%29%22%20stroke-width%3D%221%22%3E%3Crect%20x%3D%2220%22%20y%3D%2220%22%20width%3D%2224%22%20height%3D%2224%22/%3E%3Crect%20x%3D%2220%22%20y%3D%2220%22%20width%3D%2224%22%20height%3D%2224%22%20transform%3D%22rotate%2845%2032%2032%29%22/%3E%3Cpath%20d%3D%22M0%2032h15M49%2032h15M32%200v15M32%2049v15%22/%3E%3Crect%20x%3D%22-12%22%20y%3D%22-12%22%20width%3D%2224%22%20height%3D%2224%22%20transform%3D%22rotate%2845%200%200%29%22/%3E%3Crect%20x%3D%2252%22%20y%3D%22-12%22%20width%3D%2224%22%20height%3D%2224%22%20transform%3D%22rotate%2845%2064%200%29%22/%3E%3Crect%20x%3D%22-12%22%20y%3D%2252%22%20width%3D%2224%22%20height%3D%2224%22%20transform%3D%22rotate%2845%200%2064%29%22/%3E%3Crect%20x%3D%2252%22%20y%3D%2252%22%20width%3D%2224%22%20height%3D%2224%22%20transform%3D%22rotate%2845%2064%2064%29%22/%3E%3C/g%3E%3C/svg%3E");
  --star: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23b08a4e%22%20stroke-width%3D%221.2%22%3E%3Crect%20x%3D%224.5%22%20y%3D%224.5%22%20width%3D%2211%22%20height%3D%2211%22/%3E%3Crect%20x%3D%224.5%22%20y%3D%224.5%22%20width%3D%2211%22%20height%3D%2211%22%20transform%3D%22rotate%2845%2010%2010%29%22/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.7 var(--sans); color: var(--text); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--navy); line-height: 1.18; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 6px; background: var(--gold); color: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dark { background: var(--navy) var(--pattern); color: #c9d2dd; }

/* Başlık */
.masthead { background: var(--navy) var(--pattern); color: #c9d2dd; }
.crest-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-top: 26px; padding-bottom: 24px; }
.crest-row .left { font-size: 14px; line-height: 1.6; }
.crest-row .left a, .crest-row .right a.plain { color: #c9d2dd; }
.crest-row .left a:hover, .crest-row .right a.plain:hover { color: var(--gold-l); }
.crest-row .right { display: flex; justify-content: flex-end; align-items: center; gap: 22px; font-size: 14px; }
.brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand img { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(212, 185, 138, .25), 0 10px 30px rgba(0, 0, 0, .35); }
.brand-text { font-family: var(--serif); line-height: 1.15; }
.brand-text b { display: block; font-weight: 500; font-size: 28px; letter-spacing: .01em; }
.brand-text span { display: block; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-l); margin-top: 6px; }

.btn { display: inline-block; padding: 12px 26px; font: 600 14.5px var(--sans); letter-spacing: .04em; border: 1px solid var(--navy); color: var(--navy); background: transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--navy); color: #fff; }
.btn-solid { background: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--navy-l); border-color: var(--navy-l); color: #fff; }
.btn-gold { border-color: var(--gold); color: var(--gold-l); }
.btn-gold:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold.on-light { color: var(--gold); }

/* Menü */
.navbar { position: sticky; top: 0; z-index: 50; background: var(--navy-d); border-top: 1px solid rgba(212, 185, 138, .22); border-bottom: 1px solid rgba(212, 185, 138, .22); }
.navbar .wrap { display: flex; justify-content: center; }
.navbar ul { list-style: none; margin: 0; padding: 0; display: flex; }
.navbar a { display: block; color: #e3e8ee; padding: 15px 22px; font-size: 14.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; position: relative; }
.navbar a::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 9px; height: 1px; background: var(--gold-l); transform: scaleX(0); transition: transform .25s; }
.navbar a:hover { color: #fff; }
.navbar a:hover::after, .navbar a[aria-current="page"]::after { transform: scaleX(1); }
.navbar a[aria-current="page"] { color: var(--gold-l); }
.menu-btn { display: none; background: none; border: 0; color: #fff; font: 600 14.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 15px 0; cursor: pointer; }

/* Bölüm başlığı: ortalı, yıldız süslü */
.section { padding: 88px 0; }
.section-ivory { background: var(--ivory); }
.heading { text-align: center; margin-bottom: 48px; }
.heading .orn { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 14px; }
.heading .orn::before, .heading .orn::after { content: ""; width: 64px; height: 1px; background: var(--gold); opacity: .6; }
.heading .orn i { width: 18px; height: 18px; background: var(--star) center / contain no-repeat; }
.heading h2 { font-size: clamp(32px, 3.6vw, 44px); margin: 0; }
.heading p { color: var(--gray); margin: 10px auto 0; max-width: 560px; }
.dark .heading h2 { color: #fff; }
.dark .heading p { color: #aab6c4; }
.more-row { text-align: center; margin-top: 48px; }

.title-row { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line-d); margin-bottom: 26px; gap: 16px; }
.title-row h2 { font-size: 30px; margin: 0; padding-bottom: 12px; position: relative; }
.title-row h2::after { content: ""; position: absolute; left: 0; width: 48px; bottom: -1px; height: 2px; background: var(--gold); }
.title-row a { font-size: 14px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }

/* Görsel kutusu */
.media { position: relative; overflow: hidden; background: #1c2f48; }
.media .bg { position: absolute; inset: -24px; background: center / cover no-repeat; filter: blur(20px) brightness(.7); }
.media img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.media.cover img { object-fit: cover; }

/* Manşet */
.headline { padding: 44px 0 80px; }
.headline .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; }
.slider { position: relative; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6); }
.slide { display: none; color: #fff; }
.slide.on { display: block; animation: fade .7s ease; }
@keyframes fade { from { opacity: .3; } to { opacity: 1; } }
.slide .media { aspect-ratio: 16 / 10; }
.slide:hover img { transform: scale(1.025); }
.slide .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 110px 36px 70px; background: linear-gradient(transparent, rgba(5, 14, 27, .92)); }
.slide .cap small { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); display: block; margin-bottom: 10px; }
.slide h2 { color: #fff; font-size: clamp(26px, 2.8vw, 38px); margin: 0; max-width: 22em; }
.pager { position: absolute; left: 36px; bottom: 26px; display: flex; gap: 8px; z-index: 3; }
.pager button { width: 34px; height: 30px; border: 1px solid rgba(212, 185, 138, .5); background: transparent; color: #fff; font: 600 13px var(--sans); cursor: pointer; }
.pager button[aria-current="true"] { background: var(--gold); border-color: var(--gold); }

.panel { display: flex; flex-direction: column; }
.panel h3 { margin: 0 0 6px; font-size: 28px; color: #fff; display: flex; align-items: center; gap: 12px; }
.panel h3::before { content: ""; width: 18px; height: 18px; background: var(--star) center / contain no-repeat; }
.panel ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(212, 185, 138, .35); }
.panel li { padding: 17px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.panel time { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 4px; }
.panel li a { color: #f1f4f7; font-family: var(--serif); font-size: 19.5px; line-height: 1.3; display: block; }
.panel li a:hover { color: var(--gold-l); }
.panel .all { margin-top: 22px; align-self: flex-start; }

/* Haber kartları */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 36px; }
.item { display: block; color: var(--text); }
.item .media { aspect-ratio: 3 / 2; margin-bottom: 20px; }
.item:hover img { transform: scale(1.04); }
.item .kat { font-size: 12px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .14em; }
.item time { font-size: 13px; color: var(--gray); letter-spacing: .02em; }
.item .kat + time::before { content: "  ·  "; white-space: pre; color: var(--line-d); }
.item h3 { font-size: 25px; margin: 8px 0 10px; transition: color .2s; }
.item p { font-size: 15.5px; color: var(--gray); margin: 0; }
.item:hover h3 { color: var(--gold); }
.grid.featured .item:first-child { grid-column: span 2; grid-row: span 2; }
.grid.featured .item:first-child .media { aspect-ratio: 16 / 10; }
.grid.featured .item:first-child h3 { font-size: 34px; }

/* Federasyon bandı */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.frame { position: relative; }
.frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); }
.frame .media { aspect-ratio: 4 / 3; position: relative; }
.about h2 { font-size: clamp(32px, 3.4vw, 44px); }
.about .lead { font-family: var(--serif); font-size: 23px; line-height: 1.5; color: var(--navy); }
.about .links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sign { display: flex; gap: 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-d); }
.sign div { flex: 1; }
.sign b { display: block; font: 500 34px var(--serif); color: var(--navy); line-height: 1; }
.sign span { font-size: 13px; color: var(--gray); letter-spacing: .06em; text-transform: uppercase; }

/* İki sütun listeler */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 76px 1fr; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.rows .d { text-align: center; color: var(--navy); line-height: 1; border: 1px solid var(--line-d); padding: 10px 0 8px; }
.rows .d b { display: block; font: 500 30px var(--serif); }
.rows .d span { font-size: 11.5px; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }
.rows a { font-family: var(--serif); font-size: 20px; line-height: 1.3; }
.rows p { margin: 4px 0 0; font-size: 14.5px; color: var(--gray); }

.alist { list-style: none; margin: 0; padding: 0; }
.alist li { border-bottom: 1px solid var(--line); }
.alist a { display: flex; align-items: center; gap: 16px; padding: 21px 0; font-family: var(--serif); font-size: 21px; }
.alist a::before { content: ""; flex: 0 0 16px; height: 16px; background: var(--star) center / contain no-repeat; }
.alist a::after { content: "→"; margin-left: auto; color: var(--gold); font-family: var(--sans); font-size: 16px; }

/* Galeri */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 220px; gap: 10px; }
.gallery a { display: block; position: relative; }
.gallery a:first-child { grid-row: span 2; }
.gallery .media { height: 100%; }
.gallery a::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(212, 185, 138, 0); transition: border-color .3s; }
.gallery a:hover::after { border-color: rgba(212, 185, 138, .8); }
.gallery a:hover img { transform: scale(1.04); }

/* İç sayfa başlığı */
.page-title { background: var(--navy) var(--pattern); text-align: center; padding: 56px 0 60px; border-top: 1px solid rgba(212, 185, 138, .12); }
.crumbs { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 14px; }
.crumbs a { color: #aab6c4; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 10px; opacity: .5; }
.page-title h1 { font-size: clamp(34px, 4.4vw, 52px); margin: 0 auto; color: #fff; max-width: 22em; }
.page-title .orn { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.page-title .orn::before, .page-title .orn::after { content: ""; width: 54px; height: 1px; background: var(--gold); opacity: .6; }
.page-title .orn i { width: 16px; height: 16px; background: var(--star) center / contain no-repeat; }

/* Yan menülü düzen */
.layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 64px; align-items: start; }
.sidemenu { position: sticky; top: 80px; background: var(--ivory); border-top: 2px solid var(--gold); }
.sidemenu h3 { margin: 0; padding: 20px 24px 12px; font-size: 24px; }
.sidemenu ul { list-style: none; margin: 0; padding: 0 0 12px; }
.sidemenu a { display: block; padding: 11px 24px; font-size: 15.5px; color: var(--text); border-left: 2px solid transparent; }
.sidemenu a:hover, .sidemenu a[aria-current="page"] { color: var(--navy); border-left-color: var(--gold); background: #efeadf; font-weight: 600; }
.content { max-width: 780px; }
.content h2 { font-size: 34px; margin-top: 0; }
.content h3 { font-size: 24px; }
.content section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.content section:last-child { border-bottom: 0; }
.content .lead { font-family: var(--serif); font-size: 23px; line-height: 1.5; color: var(--navy); }
.content ul.plain { list-style: none; padding: 0; }
.content ul.plain li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; }
.content ul.plain li::before { content: ""; position: absolute; left: 0; top: 20px; width: 16px; height: 16px; background: var(--star) center / contain no-repeat; }
.content ul.plain b { color: var(--navy); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv > div { background: var(--navy) var(--pattern); color: #c9d2dd; padding: 34px; }
.mv h3 { color: #fff; }
.mv p { margin: 0; }
.boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.boxes article { border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 26px; background: #fff; }
.boxes h3 { font-size: 23px; }
.boxes p { margin: 0; font-size: 15.5px; }
.boxes ul { margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 15px; }

/* Faaliyet alanları */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.areas article { padding: 24px 0; border-top: 1px solid var(--line); }
.areas h3 { font-size: 24px; margin-bottom: 6px; }
.areas p { margin: 0; font-size: 16px; }
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.log time { color: var(--gold); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding-top: 4px; }
.log a { font-family: var(--serif); font-size: 21px; }
.log p { margin: 2px 0 0; font-size: 15px; color: var(--gray); }

/* Haber listesi süzgeci */
.tabs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; border-bottom: 1px solid var(--line-d); margin-bottom: 48px; gap: 4px 30px; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 14px 0; font: 600 13.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gray); cursor: pointer; }
.tabs button:hover { color: var(--navy); }
.tabs button[aria-pressed="true"] { color: var(--navy); border-bottom-color: var(--gold); }
.search-row { display: flex; justify-content: center; margin: -24px 0 40px; }
.search-row input { font: 15px var(--sans); padding: 11px 16px; border: 1px solid var(--line-d); width: 320px; max-width: 100%; background: var(--ivory); }
.empty { padding: 32px; border: 1px solid var(--line); background: var(--ivory); color: var(--gray); text-align: center; }

/* Haber detay */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; }
.article .meta { color: var(--gray); font-size: 14px; letter-spacing: .06em; margin-bottom: 24px; text-transform: uppercase; }
.article .meta b { color: var(--gold); font-weight: 600; margin-right: 12px; letter-spacing: .12em; }
.article figure { margin: 0 0 36px; }
.article figure .media { aspect-ratio: 16 / 10; cursor: zoom-in; }
.article-body p { font-size: 18.5px; line-height: 1.8; }
.article-body p:first-child { font-family: var(--serif); font-size: 24px; line-height: 1.5; color: var(--navy); }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 34px; font-size: 14px; }
.share span { color: var(--gray); margin-right: 8px; letter-spacing: .08em; text-transform: uppercase; font-size: 12.5px; }
.share a, .share button { padding: 8px 16px; border: 1px solid var(--line-d); background: #fff; color: var(--navy); font: 600 13.5px var(--sans); cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--gold); color: var(--gold); }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.prevnext a { padding: 20px 22px; background: var(--ivory); font-family: var(--serif); font-size: 19px; line-height: 1.35; }
.prevnext a small { display: block; font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.prevnext a:last-child { text-align: right; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { border-bottom: 1px solid var(--line); }
.side-list a { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; font-family: var(--serif); font-size: 18px; line-height: 1.3; }
.side-list .media { aspect-ratio: 4 / 3; }
.side-list time { display: block; font: 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }

/* Etkinlik */
.events { list-style: none; margin: 0 0 64px; padding: 0; }
.events li { display: grid; grid-template-columns: 116px 1fr auto; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: center; }
.events .d { text-align: center; color: #fff; line-height: 1; background: var(--navy) var(--pattern); padding: 16px 0 14px; }
.events .d b { display: block; font: 500 44px var(--serif); }
.events .d span { font-size: 12px; color: var(--gold-l); letter-spacing: .12em; text-transform: uppercase; }
.events h3 { font-size: 26px; margin: 0 0 4px; }
.events .yer { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.events p { margin: 0; font-size: 16px; }

/* İletişim */
.contact { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; }
.contact .card { background: var(--navy) var(--pattern); color: #c9d2dd; padding: 38px; }
.contact .card h2 { color: #fff; font-size: 30px; }
.contact dl { margin: 0; }
.contact dl div { padding: 18px 0; border-top: 1px solid rgba(212, 185, 138, .25); }
.contact dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); }
.contact dd { margin: 6px 0 0; color: #eef2f6; }
.contact dd a { color: #fff; border-bottom: 1px solid rgba(212, 185, 138, .5); }
.contact dd a:hover { color: var(--gold-l); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.field label small { font-weight: 400; color: var(--gray); text-transform: none; letter-spacing: 0; font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; font: 16px var(--sans); padding: 13px 14px; border: 1px solid var(--line-d); background: var(--ivory); color: var(--ink); border-radius: 0; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.field .err { display: none; color: #9b1c1c; font-size: 14px; margin-top: 5px; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #9b1c1c; }
.field.invalid .err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 4px 0 26px; }
.check input { margin-top: 5px; width: 16px; height: 16px; accent-color: var(--navy); }
.status { display: none; margin-top: 18px; padding: 14px 16px; font-size: 15px; border-left: 3px solid; }
.status.ok { display: block; background: #eef6f1; border-color: #2c6e49; color: #1f4f35; }
.status.bad { display: block; background: #fbefef; border-color: #9b1c1c; color: #7a1616; }
.hp { position: absolute; left: -5000px; }
.map { border-top: 3px solid var(--gold); }
.map iframe { width: 100%; height: 440px; border: 0; display: block; filter: grayscale(.35) contrast(1.02); }

/* Alt bilgi */
.footer { background: var(--navy-d) var(--pattern); color: #a9b5c3; font-size: 15px; }
.footer .crest { text-align: center; padding: 64px 0 40px; border-bottom: 1px solid rgba(212, 185, 138, .18); }
.footer .crest img { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px; box-shadow: 0 0 0 4px rgba(212, 185, 138, .2); }
.footer .crest b { display: block; font: 500 26px/1.2 var(--serif); color: #fff; }
.footer .crest span { display: block; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); margin-top: 8px; }
.footer .wrap.top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding-top: 48px; padding-bottom: 48px; text-align: center; }
.footer h4 { color: var(--gold-l); font: 600 12.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: #dfe5ec; }
.footer a:hover { color: var(--gold-l); }
.footer .bottom { border-top: 1px solid rgba(212, 185, 138, .18); font-size: 13.5px; }
.footer .bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }

/* Duyarlı */
@media (max-width: 1080px) {
  .navbar a { padding: 15px 13px; font-size: 13.5px; }
  .navbar a::after { left: 13px; right: 13px; }
  .headline .wrap { grid-template-columns: 1fr; }
  .crest-row .left { display: none; }
  .crest-row { grid-template-columns: 1fr auto 1fr; }
}
@media (max-width: 860px) {
  .crest-row { grid-template-columns: 1fr; justify-items: center; }
  .crest-row .right { display: none; }
  .menu-btn { display: block; }
  .navbar .wrap { flex-direction: column; align-items: center; }
  .navbar ul { display: none; flex-direction: column; width: 100%; padding-bottom: 10px; text-align: center; }
  .navbar.open ul { display: flex; }
  .navbar a { padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
  .navbar a::after { display: none; }
  .grid, .grid.featured { grid-template-columns: 1fr 1fr; }
  .grid.featured .item:first-child { grid-column: span 2; grid-row: auto; }
  .about, .cols, .layout, .article, .contact { grid-template-columns: 1fr; gap: 48px; }
  .sidemenu { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .footer .wrap.top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .crest-row { padding-top: 20px; padding-bottom: 18px; }
  .brand img { width: 74px; height: 74px; }
  .brand-text b { font-size: 22px; }
  .brand-text span { font-size: 12px; letter-spacing: .16em; }
  .section { padding: 64px 0; }
  .heading { margin-bottom: 36px; }
  .headline { padding: 24px 0 56px; }
  .slide .media { aspect-ratio: 4 / 3; }
  .slide .cap { padding: 70px 20px 62px; }
  .pager { left: 20px; bottom: 18px; }
  .grid, .grid.featured, .boxes, .areas, .mv, .form .row, .prevnext { grid-template-columns: 1fr; }
  .grid.featured .item:first-child { grid-column: auto; }
  .grid.featured .item:first-child h3 { font-size: 27px; }
  .frame::before { inset: 14px -10px -14px 14px; }
  .about .lead, .content .lead { font-size: 20px; }
  .gallery { grid-auto-rows: 140px; gap: 6px; }
  .log li { grid-template-columns: 1fr; gap: 2px; }
  .events li { grid-template-columns: 84px 1fr; gap: 20px; }
  .events .d b { font-size: 34px; }
  .events .act { grid-column: 2; }
  .contact .card { padding: 26px; }
  .tabs { gap: 2px 18px; justify-content: flex-start; }
  .page-title { padding: 40px 0 44px; }
}

/* Galeri Turu ve Foto Galeri Sayfası */
.tour-hero-section { border-bottom: 1px solid var(--line); padding: 48px 0; }
.tour-banner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--gold); padding: 36px 40px; box-shadow: 0 10px 30px rgba(15, 42, 74, 0.05); }
.tour-kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.tour-banner h2 { font-size: clamp(24px, 2.5vw, 32px); color: var(--navy); margin-bottom: 12px; }
.tour-banner p { font-size: 16px; color: var(--text); line-height: 1.65; margin-bottom: 18px; }
.tour-meta-row { display: flex; flex-wrap: wrap; gap: 16px; }
.tour-stat-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; background: var(--ivory); border: 1px solid var(--line); padding: 5px 14px; border-radius: 20px; color: var(--navy); }
.tour-stat-tag strong { color: var(--gold); font-size: 15px; }

.tour-banner-action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.btn-tour-launch { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; padding: 16px 28px; width: 100%; justify-content: center; box-shadow: 0 6px 20px rgba(14, 38, 67, 0.2); }
.btn-tour-launch .btn-icon { font-size: 14px; color: var(--gold-l); }
.tour-tip { font-size: 13px; color: var(--gray); line-height: 1.4; text-align: center; width: 100%; }

/* Albüm Kartları */
.album-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.album-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; }
.album-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15, 42, 74, 0.1); border-color: var(--gold-l); }
.album-card-media { position: relative; height: 210px; overflow: hidden; background: var(--navy-d); }
.album-card-media .media { height: 100%; }
.album-card-count { position: absolute; top: 14px; right: 14px; background: rgba(9, 26, 48, 0.88); backdrop-filter: blur(4px); color: var(--gold-l); border: 1px solid rgba(212, 185, 138, 0.4); padding: 4px 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border-radius: 2px; }
.album-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.album-card-date { font-size: 12.5px; font-weight: 600; color: var(--teal); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.album-card h3 { font-size: 22px; margin-bottom: 10px; color: var(--navy); line-height: 1.25; }
.album-card p { font-size: 14.5px; color: var(--gray); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.album-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.btn-sm { padding: 9px 12px; font-size: 13px; text-align: center; justify-content: center; }

/* Kategori Sekmeleri */
.gallery-tabs-wrap { margin-bottom: 32px; overflow-x: auto; padding-bottom: 6px; }
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tab-btn { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(212, 185, 138, 0.25); color: #dfe5ec; font: 600 13.5px var(--sans); letter-spacing: .04em; padding: 10px 18px; border-radius: 4px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; display: inline-flex; align-items: center; gap: 8px; }
.tab-btn:hover { background: rgba(212, 185, 138, 0.15); border-color: var(--gold); color: #fff; }
.tab-btn.active { background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: 0 4px 14px rgba(176, 138, 78, 0.35); }
.tab-badge { background: rgba(0, 0, 0, 0.25); color: inherit; padding: 2px 7px; font-size: 11px; border-radius: 10px; }
.tab-btn.active .tab-badge { background: rgba(0, 0, 0, 0.3); color: #fff; }

/* Tüm Fotoğraflar Izgarası */
.gallery-full-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-rows: 200px; gap: 12px; }
.gallery-item { display: block; position: relative; overflow: hidden; height: 100%; border: 1px solid rgba(212, 185, 138, 0.15); transition: border-color .25s, transform .25s; }
.gallery-item:hover { border-color: var(--gold); transform: translateY(-2px); }
.gallery-item .media { height: 100%; }
.gallery-item-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(9, 26, 48, 0.88) 0%, rgba(9, 26, 48, 0.2) 60%, transparent 100%); opacity: 0; transition: opacity .3s; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.item-tag { align-self: flex-start; background: rgba(9, 26, 48, 0.85); border: 1px solid rgba(212, 185, 138, 0.5); color: var(--gold-l); font-size: 11.5px; font-weight: 600; padding: 3px 8px; text-transform: uppercase; letter-spacing: .06em; }
.item-zoom { align-self: flex-end; color: #fff; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; background: var(--gold); padding: 5px 12px; border-radius: 2px; }
.gallery-bottom-cta { text-align: center; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(212, 185, 138, 0.2); }
.gallery-bottom-cta p { font-size: 16px; color: #c9d2dd; margin-bottom: 18px; }

/* Ana Sayfa Galeri Overlay & Hover */
.gallery a .gallery-item-overlay { opacity: 0; }
.gallery a:hover .gallery-item-overlay { opacity: 1; }

/* Gelişmiş Galeri Turu Lightbox */
.lb { position: fixed; inset: 0; background: rgba(5, 14, 26, 0.96); backdrop-filter: blur(10px); display: none; z-index: 9999; flex-direction: column; padding: 0; }
.lb.open { display: flex; }
.lb-shell { display: flex; flex-direction: column; width: 100%; height: 100%; max-width: 1360px; margin: 0 auto; padding: 16px 24px; box-sizing: border-box; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-shrink: 0; }
.lb-top { border-bottom: 1px solid rgba(212, 185, 138, 0.2); padding-bottom: 14px; }
.lb-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lb-album-badge { background: rgba(176, 138, 78, 0.2); border: 1px solid var(--gold); color: var(--gold-l); font-size: 13px; font-weight: 600; padding: 4px 12px; text-transform: uppercase; letter-spacing: .06em; }
.lb-counter { color: #aab6c4; font-size: 14.5px; font-family: var(--sans); }
.lb-cmds { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lb-cmd { position: relative; background: transparent; border: 1px solid rgba(212, 185, 138, 0.4); color: #fff; font: 600 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 8px 16px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 2px; white-space: nowrap; line-height: 1.4; }
.lb-cmd:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.lb-cmd.lb-playing { background: rgba(176, 138, 78, 0.35); border-color: var(--gold); color: var(--gold-l); }
.lb-cmd.lb-close-btn { border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.05); }
.lb-cmd.lb-close-btn:hover { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.lb-close-ico { font-size: 14px; font-weight: 700; }
.lb-play-ico { font-size: 13px; color: var(--gold-l); }

.lb-viewport { flex: 1; display: flex; align-items: center; justify-content: space-between; position: relative; min-height: 0; padding: 12px 0; }
.lb-nav { position: relative; width: 56px; height: 56px; border-radius: 50%; background: rgba(9, 26, 48, 0.85); border: 1px solid rgba(212, 185, 138, 0.4); color: var(--gold-l); padding: 0; margin: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, border-color .2s, transform .2s, color .2s; z-index: 10; user-select: none; flex-shrink: 0; }
.lb-nav svg { width: 24px; height: 24px; stroke: currentColor; display: block; pointer-events: none; }
.lb-nav:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: scale(1.08); }
.lb-figure { flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 0 16px; }
.lb-img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7); border: 1px solid rgba(212, 185, 138, 0.2); transition: opacity .25s ease-out; }

.lb-bottom { flex-direction: column; align-items: stretch; gap: 8px; border-top: 1px solid rgba(212, 185, 138, 0.15); padding-top: 12px; }
.lb-timer-line { width: 100%; height: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; border-radius: 2px; }
.lb-timer-fill { height: 100%; width: 0%; background: var(--gold); transition: width 0.1s linear; }
.lb-caption-text { text-align: center; color: #cbd5e1; font-size: 14px; min-height: 1.4em; }

@media (max-width: 860px) {
  .tour-banner { grid-template-columns: 1fr; padding: 26px; gap: 24px; }
  .album-cards-grid { grid-template-columns: 1fr; }
  .lb-shell { padding: 12px 14px; }
  .lb-nav { width: 44px; height: 44px; font-size: 24px; }
  .lb-img { max-height: calc(100vh - 190px); }
  .gallery-full-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); grid-auto-rows: 160px; }
}
@media (max-width: 600px) {
  .tour-meta-row { flex-direction: column; gap: 8px; }
  .lb-bar.lb-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .lb-cmds { width: 100%; justify-content: space-between; }
  .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(9, 26, 48, 0.85); width: 40px; height: 40px; }
  .lb-nav svg { width: 18px; height: 18px; }
  .lb-prev { left: 4px; }
  .lb-next { right: 4px; }
  .gallery-full-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 6px; }
  .album-card-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .slide.on { animation: none; }
  .media img, .navbar a::after { transition: none; }
}
