/* =========================================================
   Aydın Mimar Sinan MTAL · Kimya Teknolojisi Alanı
   Renkler okulun ve alanın logolarından alınmıştır.
   ========================================================= */
:root {
  --navy: #0a2e50;
  --navy-2: #0f3f6c;
  --blue: #17679b;
  --blue-light: #3a96d2;
  --blue-50: #e9f3fa;
  --gold: #f4b81f;
  --gold-dark: #b98300;
  --green: #2d8f5e;
  --green-50: #e6f4ec;
  --red: #c8102e;
  --ink: #10243a;
  --text: #2b3d50;
  --muted: #5f7082;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --border: #dde4ec;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10, 46, 80, .07), 0 2px 8px rgba(10, 46, 80, .05);
  --shadow: 0 3px 6px rgba(10, 46, 80, .05), 0 16px 36px rgba(10, 46, 80, .11);
  --max: 1240px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy-2); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h3, h4 { font-family: var(--font); font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }
.icon { width: 1.1em; height: 1.1em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.15em; }
main { min-height: 60vh; }
.muted { color: var(--muted); }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Kaydırınca beliren içerik */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Üst şerit ---------- */
.topbar { background: var(--navy); color: #c9d8e6; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar a, .topbar span { color: #c9d8e6; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar-info, .topbar-links { display: flex; gap: 20px; align-items: center; }
@media (max-width: 760px) { .topbar-info { display: none; } .topbar .container { justify-content: center; } }

/* ---------- Başlık ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .2s; }
.site-header::after { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--navy) 0 45%, var(--blue-light) 45% 70%, var(--gold) 70% 88%, var(--green) 88%); }
.site-header.scrolled { box-shadow: 0 8px 24px rgba(10, 46, 80, .13); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 86px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); min-width: 0; }
.brand-logos { display: flex; align-items: center; gap: 8px; flex: none; }
.brand-logos img { width: 60px; height: 60px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.22; min-width: 0; padding-left: 12px; border-left: 2px solid var(--border); }
.brand-text small { font-size: 12px; color: var(--muted); font-weight: 600; max-width: 250px; }
.brand-text strong { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--navy); }
@media (max-width: 560px) {
  .brand-logos img { width: 44px; height: 44px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { font-size: 10.5px; }
  .brand-text { padding-left: 9px; }
  .header-inner { min-height: 72px; gap: 8px; }
}
@media (max-width: 400px) { .brand-logos { gap: 4px; } .brand-logos img { width: 38px; height: 38px; } .brand-text small { display: none; } .brand-text strong { font-size: 15px; } }

.nav { display: flex; align-items: center; gap: 0; }
.nav > .nav-item { position: relative; }
.nav-link { position: relative; display: flex; align-items: center; gap: 4px; padding: 10px 11px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--blue); background: var(--blue-50); }
.nav-link.active { color: var(--blue); }
.nav-link.active::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 3px; background: var(--gold); border-radius: 2px; }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; max-height: 72vh; overflow-y: auto; padding: 8px; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--blue); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease; }
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 14.5px; font-weight: 500; color: var(--text); }
.dropdown a:hover { background: var(--blue-50); color: var(--blue); }
.dropdown .dd-label { padding: 10px 12px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dropdown hr { border: 0; border-top: 1px solid var(--border); margin: 6px 4px; }
.menu-btn { display: none; background: var(--blue-50); color: var(--navy); border: 0; border-radius: 10px; width: 44px; height: 44px; cursor: pointer; font-size: 22px; place-items: center; flex: none; }

@media (max-width: 1240px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; z-index: 200; flex-direction: column; align-items: stretch; padding: 76px 16px 24px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; box-shadow: -20px 0 40px rgba(0, 0, 0, .15); }
  .nav.open { transform: none; visibility: visible; }
  .nav-link { width: 100%; justify-content: space-between; padding: 13px 12px; font-size: 16px; }
  .nav-link.active::after { display: none; }
  .nav-link.active { background: var(--blue-50); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; display: none; max-height: none; }
  .nav-item.open > .dropdown { display: block; }
  .nav-close { position: absolute; top: 16px; right: 16px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(6, 25, 44, .55); z-index: 150; opacity: 0; visibility: hidden; transition: .2s; }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
}
@media (min-width: 1241px) { .nav-close, .nav-backdrop { display: none; } }

/* ---------- Düğmeler ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 8px; border: 0; cursor: pointer; font: 600 15px/1.25 var(--font); transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #2c1f00; box-shadow: 0 6px 18px rgba(244, 184, 31, .32); }
.btn-gold:hover { background: #ffc93a; color: #2c1f00; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow .icon { transition: transform .15s; }
a:hover .link-arrow .icon, .card:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Duyuru bandı ---------- */
.notice-bar { background: var(--gold); color: #2c1f00; font-size: 14.5px; }
.notice-bar .container { display: flex; align-items: center; gap: 14px; min-height: 44px; padding-top: 7px; padding-bottom: 7px; }
.notice-bar .label { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.notice-bar a { color: #2c1f00; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.notice-list { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Ana sayfa girişi ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(1.05); transform: scale(1.03); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 46, 80, .97) 0%, rgba(10, 46, 80, .9) 45%, rgba(15, 63, 108, .74) 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 52px; align-items: center; padding: 60px 0 112px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--gold); border-radius: 2px; }
.hero .eyebrow, .section.dark .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 18px; letter-spacing: -.01em; }
.hero p { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .88); margin-bottom: 28px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 44px 0 100px; } }

.video-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: 0 30px 70px rgba(0, 0, 0, .42); }
.hero .video-frame { outline: 4px solid rgba(255, 255, 255, .92); outline-offset: -1px; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.sound-btn { position: absolute; left: 14px; top: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 999px; background: var(--gold); color: #2c1f00; font: 700 14px/1 var(--font); cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); animation: pulse 2.2s ease-in-out infinite; }
.sound-btn[hidden] { display: none; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(244, 184, 31, .65); } 60% { box-shadow: 0 0 0 12px rgba(244, 184, 31, 0); } }
@media (prefers-reduced-motion: reduce) { .sound-btn { animation: none; } }

.stats { position: relative; margin-top: -62px; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; border-bottom: 4px solid var(--gold); }
.stat { padding: 24px; display: flex; gap: 14px; align-items: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat-icon { width: 50px; height: 50px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-size: 23px; flex: none; }
.stat strong { display: block; font-family: var(--serif); font-size: 30px; color: var(--navy); line-height: 1.05; }
.stat span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stat { padding: 16px; border-right: 0; border-bottom: 1px solid var(--border); gap: 10px; } .stat-icon { width: 40px; height: 40px; font-size: 19px; } .stat strong { font-size: 24px; } }

/* ---------- Bölümler ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section.white { background: #fff; }
.section.dark { background: var(--navy); color: #d5e1ec; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2, .h2 { font-size: clamp(28px, 3.2vw, 40px); margin: 0; }
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 640px; }
.section.dark .section-head p { color: #a9bfd3; }
@media (max-width: 600px) { .section { padding: 56px 0; } }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); }
@media (max-width: 400px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Hızlı erişim */
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.quick a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); color: #fff; font-weight: 700; line-height: 1.3; transition: transform .16s, box-shadow .16s; box-shadow: var(--shadow-sm); }
.quick a:hover { transform: translateY(-3px); color: #fff; box-shadow: var(--shadow); }
.quick a .icon { width: 28px; height: 28px; }
.quick small { display: block; font-weight: 500; opacity: .88; font-size: 13px; }
.q-blue { background: var(--blue); } .q-navy { background: var(--navy-2); } .q-green { background: var(--green); } .q-gold { background: var(--gold); color: #2c1f00 !important; }

/* ---------- Kartlar ---------- */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; color: inherit; }
a.card:hover, .card.clickable:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.card.clickable { cursor: pointer; }
.card-media { position: relative; aspect-ratio: 16/10; background: var(--blue-50); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.card:hover .card-media img, .card.clickable:hover .card-media img { transform: scale(1.04); }
.card-media .chip { position: absolute; top: 12px; left: 12px; }
.card-media .count { position: absolute; right: 12px; bottom: 12px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.placeholder { width: 100%; height: 100%; min-height: 100%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--navy-2), var(--blue)); }
.placeholder .icon { width: 44px; height: 44px; stroke-width: 1.4; opacity: .75; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 18.5px; margin-bottom: 8px; color: var(--navy); }
.card-body p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--muted); }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--blue-50); color: var(--blue); }
.card-media .chip { background: #fff; box-shadow: var(--shadow-sm); }
.chip.c-sinav { background: #fff2cf; color: #7a5500; }
.chip.c-etkinlik { background: #e7eafd; color: #2f3fa0; }
.chip.c-basari { background: var(--green-50); color: #1c6b43; }
.chip.c-kariyer { background: #f1e6fb; color: #6a2a9c; }

/* Haber düzeni */
.news-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: start; }
.news-layout .side { display: grid; gap: 22px; }
.news-layout .featured h3 { font-size: 23px; }
.news-row { flex-direction: row; }
.news-row .card-media { aspect-ratio: auto; width: 38%; flex: none; }
.news-row .card-body { padding: 16px 18px; }
.news-row h3 { font-size: 16.5px; }
@media (max-width: 900px) { .news-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .news-row { flex-direction: column; } .news-row .card-media { width: 100%; aspect-ratio: 16/10; } }

/* Özellikler */
.feature { padding: 28px 26px; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--blue); border-radius: var(--radius); transition: .2s; }
.feature:nth-child(2) { border-top-color: var(--green); }
.feature:nth-child(3) { border-top-color: var(--gold); }
.feature:nth-child(4) { border-top-color: var(--navy); }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-size: 25px; margin-bottom: 18px; }
.feature:nth-child(2) .feature-icon { background: var(--green-50); color: var(--green); }
.feature:nth-child(3) .feature-icon { background: #fff4d6; color: var(--gold-dark); }
.feature h3 { font-size: 18.5px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

/* Hakkında */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media > img { width: 100%; aspect-ratio: 1.15; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--gold); border-radius: var(--radius-lg); z-index: 0; }
.about-media > img { position: relative; z-index: 1; }
.about-badge { position: absolute; z-index: 2; left: -14px; bottom: 26px; background: var(--navy); color: #fff; padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow); line-height: 1.25; }
.about-badge strong { display: block; font-family: var(--serif); font-size: 26px; color: var(--gold); }
.about-badge span { font-size: 13px; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 44px; } .about-media::before { inset: 12px -8px -12px 8px; } .about-badge { left: 8px; } }

/* EFEMİS vitrini */
.efemis { position: relative; background: linear-gradient(120deg, #0c5a3c, #12805a 52%, #17679b); color: #fff; overflow: hidden; }
.efemis-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.efemis h2 { color: #fff; font-size: clamp(38px, 5vw, 62px); letter-spacing: .04em; margin-bottom: 6px; }
.efemis .tagline { font-family: var(--serif); font-style: italic; font-size: 21px; color: #ffe9a8; margin-bottom: 20px; }
.efemis p { color: rgba(255, 255, 255, .9); }
.efemis-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.efemis-list li { padding: 6px 13px; font-size: 13.5px; font-weight: 600; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; gap: 10px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: 0 10px 26px rgba(0, 0, 0, .28); }
.mosaic img:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) { .efemis-inner { grid-template-columns: 1fr; gap: 34px; } .mosaic { grid-auto-rows: 118px; } }

/* Alıntı */
.quote-band { background: #0b1b2b; color: #fff; }
.quote-inner { display: grid; grid-template-columns: 1fr 300px; align-items: stretch; gap: 32px; }
.quote-inner blockquote { margin: 0; padding: 46px 0; align-self: center; }
.quote-inner p { font-family: var(--serif); font-size: clamp(22px, 2.7vw, 33px); line-height: 1.38; margin-bottom: 14px; }
.quote-inner footer { color: var(--gold); font-weight: 700; letter-spacing: .05em; font-size: 14px; }
.quote-img { position: relative; min-height: 230px; overflow: hidden; }
.quote-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 720px) { .quote-inner { grid-template-columns: 1fr; gap: 0; } .quote-img { display: none; } }

/* Kişiler */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
.person { overflow: hidden; }
.person-photo { aspect-ratio: 4/5; background: var(--blue-50); overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
a.person:hover .person-photo img { transform: scale(1.04); }
.person-photo .initials { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-2), var(--blue)); color: #fff; font: 700 48px var(--serif); }
.person-body { padding: 15px 16px 17px; border-top: 4px solid var(--blue); }
.person.lead .person-body { border-top-color: var(--gold); }
.person h3 { font-size: 16.5px; margin-bottom: 3px; color: var(--navy); }
.person .role { color: var(--muted); font-weight: 500; font-size: 13.5px; line-height: 1.4; }
.person.lead .role { color: var(--gold-dark); font-weight: 700; }

/* Öğretmen profili */
.profile { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: start; }
.profile-side { position: sticky; top: 118px; }
.profile-side img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.profile-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 40px; }
.profile-card h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 6px; }
.profile-role { display: inline-block; margin-bottom: 22px; font-weight: 700; color: var(--blue); }
.pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; gap: 22px; } .profile-side { position: static; max-width: 280px; } .profile-card { padding: 24px 20px; } }

/* CTA */
.cta { border-radius: var(--radius-lg); padding: 46px 50px; background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(25px, 3vw, 34px); margin: 0 0 8px; }
.cta p { margin: 0; color: rgba(255, 255, 255, .88); }
@media (max-width: 600px) { .cta { padding: 30px 24px; } }

/* ---------- İç sayfa başlığı ---------- */
.page-hero { position: relative; background: var(--navy); color: #fff; padding: 52px 0 46px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("../../images/site/lab-salon.jpg") center 45% / cover; opacity: .2; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 20%, transparent); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 48px); margin: 0; }
.page-hero p { margin: 10px 0 0; color: rgba(255, 255, 255, .86); max-width: 720px; font-size: 17px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: rgba(255, 255, 255, .72); margin-bottom: 12px; flex-wrap: wrap; }
.crumbs a { color: rgba(255, 255, 255, .88); }
.crumbs a:hover { color: #fff; }

/* ---------- Yazı sayfaları ---------- */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: start; }
@media (max-width: 980px) { .with-sidebar { grid-template-columns: 1fr; } }
.article { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.article-cover { aspect-ratio: 16/8.5; background: var(--blue-50); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 38px 42px 42px; }
@media (max-width: 600px) { .article-body { padding: 24px 20px 28px; } }
.article h1 { font-size: clamp(26px, 3.2vw, 38px); margin: 14px 0; }
.article .meta { padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.prose { font-size: 17px; line-height: 1.8; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose img { border-radius: 12px; margin: 20px 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.4em 0; padding: 14px 22px; border-left: 4px solid var(--gold); background: #fffaf0; border-radius: 0 10px 10px 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.prose th { background: var(--blue-50); }
.prose > :last-child { margin-bottom: 0; }
.block-title { font-size: 20px; margin: 36px 0 16px; display: flex; align-items: center; gap: 10px; }

/* Zaman çizelgesi (tarihçe) */
.timeline ul { list-style: none; padding: 0 0 0 22px; margin: 0; border-left: 3px solid var(--blue-50); }
.timeline li { position: relative; margin-bottom: 18px; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold); }
.timeline strong { color: var(--navy); font-family: var(--serif); font-size: 20px; }

.attachment { display: flex; width: 100%; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--ink); font-weight: 600; margin-top: 12px; text-align: left; transition: .15s; }
.attachment:hover { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.attachment .file-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.attachment small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.attachment .dl { margin-left: auto; color: var(--muted); }

.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--border); }
.share > span { font-weight: 700; font-size: 14px; color: var(--ink); margin-right: 4px; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; color: #fff; font-size: 18px; transition: transform .15s; }
.share a:hover, .share button:hover { transform: translateY(-2px); color: #fff; }
.share .wa { background: #1fae52; } .share .fb { background: #1877f2; } .share .x { background: #111; } .share .cp { background: var(--muted); }

.sidebar { display: grid; gap: 22px; position: sticky; top: 118px; }
@media (max-width: 980px) { .sidebar { position: static; } }
.widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.widget h4 { font-size: 16px; margin-bottom: 14px; padding-bottom: 11px; border-bottom: 2px solid var(--blue-50); }
.mini-post { display: flex; gap: 14px; align-items: center; padding: 10px 0; color: var(--ink); border-bottom: 1px solid var(--border); }
.mini-post:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-post .thumb { width: 68px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--blue-50); flex: none; }
.mini-post .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mini-post .thumb .icon { width: 24px; height: 24px; }
.mini-post strong { display: block; font-size: 14.5px; line-height: 1.4; font-weight: 600; }
.mini-post small { color: var(--muted); font-size: 12.5px; }
.mini-post:hover strong { color: var(--blue); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.gallery button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; background: var(--blue-50); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.06); }

/* ---------- Filtreler ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1px solid var(--border); background: #fff; padding: 8px 16px; border-radius: 999px; cursor: pointer; font: 600 14px var(--font); color: var(--text); transition: .15s; }
.filters button:hover { border-color: var(--blue); color: var(--blue); }
.filters button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.search { position: relative; max-width: 100%; }
.search input { font: inherit; font-size: 15px; padding: 10px 14px 10px 40px; border: 1px solid var(--border); border-radius: 999px; width: 260px; max-width: 100%; background: #fff; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.load-more { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- Sınav takvimi ---------- */
.exam-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.exam-head h2 { margin: 0; font-size: clamp(23px, 2.6vw, 30px); }
.exam-day { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; display: grid; grid-template-columns: 136px minmax(0, 1fr); }
.exam-past { margin-top: 20px; }
.exam-past summary { cursor: pointer; font-weight: 600; color: var(--muted); padding: 12px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; }
.exam-day.past .exam-date { background: #66788a; }
.exam-date { background: var(--navy); color: #fff; padding: 18px 14px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.exam-day.today .exam-date { background: var(--gold); color: #2c1f00; }
.exam-date b { font: 700 38px/1 var(--serif); }
.exam-date span { font-size: 13.5px; font-weight: 600; margin-top: 3px; }
.exam-date em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-top: 7px; }
.exam-table { width: 100%; min-width: 420px; table-layout: fixed; border-collapse: collapse; font-size: 15px; }
.exam-table th { text-align: left; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 9px 16px; background: var(--bg); }
.exam-table td { padding: 10px 16px; border-top: 1px solid var(--border); }
.exam-table td:first-child { font-weight: 600; color: var(--ink); }
.exam-table .cls { white-space: nowrap; }
.exam-table tr.special td { background: #fff2f2; color: #a01324; font-weight: 700; }
@media (max-width: 620px) {
  .exam-day { grid-template-columns: 1fr; }
  .exam-date { flex-direction: row; gap: 10px; align-items: baseline; justify-content: flex-start; padding: 11px 16px; }
  .exam-date b { font-size: 26px; }
  .exam-date span { text-align: left; }
  .exam-table { font-size: 14px; min-width: 0; table-layout: auto; }
  .exam-table col { width: auto !important; }
  .exam-table th, .exam-table td { padding: 8px 10px; }
}

/* ---------- Dersler ---------- */
.class-group { margin-bottom: 48px; scroll-margin-top: 110px; }
.class-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.class-badge { width: 50px; height: 50px; border-radius: 12px; background: var(--gold); color: #2c1f00; display: grid; place-items: center; font: 800 20px var(--font); flex: none; }
.class-head h2 { margin: 0; font-size: 26px; }
.course-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.material-list { display: grid; gap: 0; }
.unit { margin-top: 28px; }
.unit h3 { font-size: 18px; color: var(--blue); margin-bottom: 6px; }

/* ---------- Medya ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; padding: 5px; background: #fff; border: 1px solid var(--border); border-radius: 12px; gap: 4px; margin-bottom: 28px; }
.tabs button { border: 0; background: none; padding: 10px 20px; border-radius: 8px; font: 600 15px var(--font); color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tabs button.active { background: var(--navy); color: #fff; }
.video-card .card-media { aspect-ratio: 16/9; }
.play { position: absolute; inset: 0; display: grid; place-items: center; }
.play span { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--blue); display: grid; place-items: center; font-size: 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .2s; }
.card:hover .play span { transform: scale(1.1); }

/* ---------- Mezunlar ---------- */
.year-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 26px; }
.year-block header { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.year-pill { font: 700 22px var(--serif); color: #fff; background: var(--navy); padding: 8px 18px; border-radius: 10px; }
.year-block .class-photo { border-radius: 12px; width: 100%; max-height: 520px; object-fit: cover; margin-bottom: 22px; cursor: zoom-in; }
.grad-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.grad-list li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg); }
.grad-list .ini { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.grad-list strong { display: block; font-size: 15px; color: var(--ink); }
.grad-list small { color: var(--muted); font-size: 13px; }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 28px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 12px; color: var(--ink); }
a.contact-item:hover { border-color: var(--blue); color: var(--blue); }
.contact-item .ci { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-size: 21px; flex: none; }
.contact-item small { display: block; color: var(--muted); font-size: 13px; }
.contact-item strong { font-weight: 600; overflow-wrap: anywhere; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); min-height: 440px; height: 100%; background: var(--blue-50); }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }

/* Ders programı */
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 22px; }
.schedule-grid .schedule { margin-bottom: 0; }
@media (max-width: 520px) { .schedule-grid { grid-template-columns: 1fr; } }
.schedule { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 22px; }
.schedule img { border-radius: 12px; border: 1px solid var(--border); margin-top: 16px; }
.schedule iframe { width: 100%; height: 680px; border: 1px solid var(--border); border-radius: 12px; margin-top: 16px; }

/* ---------- Pencereler ---------- */
dialog { border: 0; padding: 0; border-radius: var(--radius-lg); width: min(820px, 94vw); max-height: 92vh; box-shadow: 0 40px 90px rgba(0, 0, 0, .35); }
dialog::backdrop { background: rgba(6, 22, 38, .75); backdrop-filter: blur(3px); }
.dlg-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); cursor: pointer; display: grid; place-items: center; font-size: 20px; color: var(--ink); box-shadow: var(--shadow-sm); }
.dlg-media { background: var(--blue-50); }
.dlg-media img { width: 100%; max-height: 58vh; object-fit: contain; }
.dlg-body { padding: 28px 32px 32px; }
.spec { display: grid; grid-template-columns: 140px 1fr; gap: 10px 18px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 15px; }
.spec dt { color: var(--muted); font-weight: 600; }
.spec dd { margin: 0; }
@media (max-width: 520px) { .spec { grid-template-columns: 1fr; gap: 2px; } .spec dd { margin-bottom: 10px; } .dlg-body { padding: 24px 20px; } }
dialog.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(5, 15, 24, .96); border-radius: 0; color: #fff; }
.lb-stage { position: absolute; inset: 60px 70px 80px; display: grid; place-items: center; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-stage .video-frame { width: min(1100px, 100%); }
.lb-caption { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 15px; color: #d7e3e6; padding: 0 20px; }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 24px; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-count { position: absolute; top: 22px; left: 24px; font-size: 14px; color: #a9bcc0; }
dialog.lightbox .dlg-close { background: rgba(255, 255, 255, .12); color: #fff; }
@media (max-width: 600px) { .lb-stage { inset: 60px 8px 90px; } .lb-btn { top: auto; bottom: 14px; transform: none; width: 46px; height: 46px; } .lb-caption { bottom: 74px; } }

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--navy); color: #b4c6d6; padding: 62px 0 0; font-size: 15px; border-top: 5px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 44px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.footer-brand img { width: 62px; height: 62px; object-fit: contain; }
.footer-title { color: #fff; font-family: var(--serif); font-size: 20px; font-weight: 700; display: block; line-height: 1.3; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #b4c6d6; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 5px; color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .09); display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--gold); color: #2c1f00; }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom a { display: inline-flex; gap: 6px; align-items: center; }

.empty { padding: 56px 24px; text-align: center; color: var(--muted); background: #fff; border: 1.5px dashed var(--border); border-radius: var(--radius-lg); grid-column: 1 / -1; }
.empty .icon { width: 40px; height: 40px; stroke-width: 1.4; margin: 0 auto 10px; display: block; opacity: .6; }
