/* ÜNDER - Üniversite Öğretim Elemanları Dayanışma Derneği
   Site stili. Renkler ve yazı tipi orijinal siteye (one-music şablonu) göre uyarlanmıştır. */

@import url("https://fonts.googleapis.com/css2?family=Archivo+Narrow:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --mavi: #428bca;
  --mavi-koyu: #2f6ea6;
  --siyah: #232323;
  --gri-metin: #5f5f5f;
  --gri-acik: #f5f9fa;
  --gri-cizgi: #d8d8d8;
  --gri-footer: #929191;
  --beyaz: #ffffff;
  --golge: 0 5px 40px rgba(0, 0, 0, .12);
  --font: "Archivo Narrow", "Arial Narrow", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gri-metin);
  background: var(--beyaz);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--mavi); text-decoration: none; transition: color .25s; }
a:hover { color: var(--siyah); }
h1, h2, h3, h4, h5 { color: var(--siyah); line-height: 1.25; font-weight: 700; }
p { margin-bottom: 1em; }
ul { list-style: none; }

.kapsayici { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.kapsayici-genis { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 16px; }
.bolum { padding: 80px 0; }
.bolum-gri { background: var(--gri-acik); }
.ortala { text-align: center; }

/* Bölüm başlıkları */
.bolum-baslik { text-align: center; margin-bottom: 40px; }
.bolum-baslik h2 {
  font-size: 34px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.bolum-baslik h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 60px; height: 3px; background: var(--mavi); transform: translateX(-50%);
}
.bolum-baslik p { max-width: 760px; margin: 14px auto 0; font-size: 17px; }

/* Düğme */
.dugme {
  display: inline-block; min-width: 200px; padding: 12px 30px;
  border: 2px solid var(--siyah); color: var(--siyah); background: var(--beyaz);
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 14px;
  text-align: center; cursor: pointer; font-family: var(--font); transition: all .3s;
}
.dugme:hover { background: var(--siyah); color: var(--beyaz); }
.dugme-mavi { border-color: var(--mavi); color: var(--mavi); }
.dugme-mavi:hover { background: var(--mavi); color: var(--beyaz); }

/* ================= ÜST (header) ================= */
.ust {
  position: sticky; top: 0; z-index: 100;
  background: var(--beyaz); border-bottom: 1px solid var(--gri-cizgi);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.ust-ic { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.logo img { height: 64px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu > li > a {
  display: block; padding: 30px 14px; color: var(--siyah);
  font-weight: 600; text-transform: uppercase; font-size: 15px; letter-spacing: .5px;
}
.menu > li > a:hover, .menu > li.aktif > a { color: var(--mavi); }
.menu .alt-menu {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: var(--beyaz); border: 1px solid var(--gri-cizgi); box-shadow: var(--golge);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
}
.menu > li:hover .alt-menu, .menu > li:focus-within .alt-menu, .menu > li.acik .alt-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.menu .alt-menu a { display: block; padding: 10px 18px; color: #888; font-size: 15px; border-bottom: 1px solid #eee; }
.menu .alt-menu a:hover { color: var(--mavi); background: var(--gri-acik); }
.menu .alt-menu li:last-child a { border-bottom: 0; }
.menu-dugme {
  display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 6px; align-items: center;
}
.menu-dugme span { display: block; width: 26px; height: 3px; background: var(--siyah); transition: all .3s; }

@media (max-width: 991px) {
  .ust-ic { height: 70px; }
  .logo img { height: 50px; }
  .menu-dugme { display: flex; }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--beyaz); border-top: 1px solid var(--gri-cizgi); box-shadow: var(--golge);
    display: none; max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .menu.acik { display: flex; }
  .menu > li > a { padding: 14px 20px; border-bottom: 1px solid #eee; }
  .menu .alt-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    background: var(--gri-acik); display: none;
  }
  .menu > li.acik .alt-menu { display: block; }
  .menu .alt-menu a { padding-left: 36px; }
}

/* ================= SLIDER ================= */
.slider { position: relative; height: 600px; overflow: hidden; background: var(--siyah); }
.slider .slayt {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease; 
}
.slider .slayt.aktif { opacity: 1; }
.slider .ok {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border: 0; cursor: pointer; border-radius: 50%;
  background: rgba(255,255,255,.75); color: var(--siyah); font-size: 26px; line-height: 1;
  transition: background .3s;
}
.slider .ok:hover { background: var(--beyaz); }
.slider .ok.sol { left: 20px; } .slider .ok.sag { right: 20px; }
.slider .noktalar { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.slider .noktalar button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; }
.slider .noktalar button.aktif { background: #fff; }
@media (max-width: 767px) { .slider { height: 300px; } }

/* ================= HABER KARTLARI (ana sayfa kaydırmalı) ================= */
.kaydirici { position: relative; }
.kaydirici-sarici { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 10px; }
.kaydirici-ic { display: flex; gap: 24px; }
.haber-kart {
  flex: 0 0 270px; scroll-snap-align: start; background: var(--beyaz);
  border: 1px solid var(--gri-cizgi); transition: box-shadow .4s; 
}
.haber-kart:hover { box-shadow: var(--golge); }
.haber-kart img { width: 100%; height: 190px; object-fit: cover; }
.haber-kart .bilgi { padding: 14px 16px; text-align: center; }
.haber-kart .bilgi p { margin: 0; color: var(--siyah); font-weight: 600; font-size: 15px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.haber-kart .tarih { color: var(--mavi); font-size: 13px; margin-top: 6px; }
.kaydirici .ok {
  position: absolute; top: 90px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gri-cizgi);
  background: var(--beyaz); cursor: pointer; font-size: 22px; z-index: 2; box-shadow: var(--golge);
}
.kaydirici .ok.sol { left: -16px; } .kaydirici .ok.sag { right: -16px; }
@media (max-width: 767px) { .kaydirici .ok { display: none; } .haber-kart { flex-basis: 240px; } }

/* ================= HAKKIMIZDA BANDI ================= */
.tanitim {
  position: relative; background-size: cover; background-position: center; background-attachment: fixed; color: #fff;
}
.tanitim::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.tanitim .kapsayici { position: relative; display: grid; grid-template-columns: 1fr 2fr; gap: 50px; align-items: center; }
.tanitim img { width: 70%; max-width: 280px; }
.tanitim h2 { color: #fff; font-size: 40px; margin-bottom: 18px; }
.tanitim p { color: #fff; font-size: 18px; line-height: 1.7; }
@media (max-width: 767px) {
  .tanitim { background-attachment: scroll; }
  .tanitim .kapsayici { grid-template-columns: 1fr; text-align: center; }
  .tanitim img { margin: 0 auto; }
}

/* ================= GALERİ IZGARASI ================= */
.izgara { display: grid; gap: 24px; }
.izgara-4 { grid-template-columns: repeat(4, 1fr); }
.izgara-3 { grid-template-columns: repeat(3, 1fr); }
.izgara-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 991px) { .izgara-4 { grid-template-columns: repeat(2, 1fr); } .izgara-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .izgara-4, .izgara-3, .izgara-2 { grid-template-columns: 1fr; } }
.galeri-kutu { cursor: zoom-in; overflow: hidden; background: #eee; }
.galeri-kutu img { width: 100%; height: 240px; object-fit: cover; transition: transform .5s; }
.galeri-kutu:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 500; display: none; align-items: center; justify-content: center; }
.lightbox.acik { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; box-shadow: 0 0 40px rgba(0,0,0,.6); }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 40px; line-height: 1; padding: 10px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox .kapat { top: 12px; right: 18px; }
.lightbox .onceki { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .sonraki { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .sayac { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #bbb; font-size: 14px; }

/* ================= ALT (footer) ================= */
.alt { background: #111; color: var(--gri-footer); padding: 80px 0 40px; margin-top: auto; }
.alt .sutunlar { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; }
.alt h2 { color: var(--mavi); font-size: 20px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: .5px; }
.alt p { line-height: 1.6; font-size: 15px; }
.alt .sosyal { display: flex; gap: 10px; margin-top: 14px; }
.alt .sosyal a, .sosyal-ic a {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #444; color: #bbb; border-radius: 50%; transition: all .3s;
}
.alt .sosyal a:hover, .sosyal-ic a:hover { background: var(--mavi); border-color: var(--mavi); color: #fff; }
.sosyal svg { width: 18px; height: 18px; fill: currentColor; }
.alt .son-haberler li { margin-bottom: 18px; border-bottom: 1px solid #2a2a2a; padding-bottom: 12px; }
.alt .son-haberler h3 { font-size: 15px; font-weight: 600; line-height: 1.4; }
.alt .son-haberler h3 a { color: #ddd; }
.alt .son-haberler h3 a:hover { color: var(--mavi); }
.alt .son-haberler .tarih { color: var(--mavi); font-size: 13px; margin-top: 4px; }
.alt .iletisim-liste li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 15px; line-height: 1.6; }
.alt .iletisim-liste svg { width: 18px; height: 18px; fill: var(--mavi); flex: 0 0 18px; margin-top: 4px; }
.alt .telif { margin-top: 40px; padding-top: 20px; border-top: 1px solid #2a2a2a; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.alt .telif a { color: #aaa; }
@media (max-width: 991px) { .alt .sutunlar { grid-template-columns: 1fr; gap: 36px; } }

/* ================= SAYFA BAŞLIĞI (breadcrumb) ================= */
.sayfa-baslik { position: relative; height: 330px; background-size: cover; background-position: center; }
.sayfa-baslik::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.sayfa-baslik .kutu {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  background: var(--beyaz); width: min(552px, 92%); padding: 24px 30px; text-align: center;
}
.sayfa-baslik h1 { font-size: 30px; text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 767px) { .sayfa-baslik { height: 240px; } .sayfa-baslik h1 { font-size: 22px; } }

/* ================= BLOG KARTLARI (faaliyet / basında biz / eserler) ================= */
.blog-kart { margin-bottom: 40px; display: flex; flex-direction: column; }
.blog-kart .kapak { position: relative; }
.blog-kart .kapak img { width: 100%; height: 340px; object-fit: cover; }
.blog-kart .tarih-kutu {
  position: absolute; top: -30px; left: 30px; width: 76px; height: 106px; background: var(--beyaz);
  border: 1px solid var(--siyah); text-align: center; padding: 15px 0; z-index: 2;
}
.blog-kart .tarih-kutu span { display: block; font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--siyah); }
.blog-kart .tarih-kutu span:first-child { font-size: 36px; }
.blog-kart .icerik { background: var(--gri-acik); border: 1px solid var(--gri-cizgi); padding: 36px 34px; flex: 1; }
.blog-kart .baslik { display: block; font-size: 22px; font-weight: 700; color: var(--siyah); line-height: 1.3; margin-bottom: 12px; }
.blog-kart .baslik:hover { color: var(--mavi); }
.blog-kart .yazar { font-size: 14px; color: var(--mavi); margin-bottom: 16px; }
.blog-kart .ozet { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-kart .devam { display: inline-block; margin-top: 14px; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
.blog-liste { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 40px; margin-top: 40px; }
@media (max-width: 767px) { .blog-liste { grid-template-columns: 1fr; } .blog-kart .kapak img { height: 240px; } .blog-kart .icerik { padding: 26px 20px; } }

/* Sayfalama */
.sayfalama { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 30px 0 0; }
.sayfalama button {
  min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--gri-cizgi); background: var(--beyaz);
  cursor: pointer; font-family: var(--font); font-size: 15px; color: var(--siyah);
}
.sayfalama button:hover { border-color: var(--mavi); color: var(--mavi); }
.sayfalama button.aktif { background: var(--mavi); border-color: var(--mavi); color: #fff; }
.sayfalama button:disabled { opacity: .4; cursor: default; }

/* Filtre / arama */
.filtre { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.filtre input, .filtre select {
  padding: 10px 14px; border: 1px solid var(--gri-cizgi); font-family: var(--font); font-size: 15px; min-width: 200px; background: #fff;
}
.filtre input:focus, .filtre select:focus { outline: none; border-color: var(--mavi); }
.filtre .sonuc { font-size: 14px; color: #888; margin-left: auto; }

/* Arşiv listesi */
.arsiv-yil { margin-bottom: 36px; }
.arsiv-yil h2 { font-size: 26px; color: var(--mavi); border-bottom: 2px solid var(--mavi); padding-bottom: 6px; margin-bottom: 14px; }
.arsiv-yil li { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px dashed #e4e4e4; align-items: baseline; }
.arsiv-yil .tarih { flex: 0 0 110px; color: #888; font-size: 14px; }
.arsiv-yil a { color: var(--siyah); font-weight: 600; font-size: 17px; }
.arsiv-yil a:hover { color: var(--mavi); }

/* ================= FAALİYET DETAY ================= */
.detay { max-width: 900px; margin: 0 auto; }
.detay .meta { color: var(--mavi); font-size: 15px; margin-bottom: 20px; display: flex; gap: 16px; flex-wrap: wrap; }
.detay .kapak { width: 100%; margin-bottom: 30px; }
.detay .govde { font-size: 17px; line-height: 1.75; }
.detay .govde p { margin-bottom: 1.1em; }
.detay .govde img { margin: 16px auto; height: auto; }
.detay .govde h2, .detay .govde h3 { margin: 1.2em 0 .5em; }
.detay .govde ul, .detay .govde ol { margin: 0 0 1em 24px; }
.detay .govde ul { list-style: disc; }
.detay .govde a { text-decoration: underline; }
.detay .gezinti { display: flex; justify-content: space-between; gap: 16px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--gri-cizgi); flex-wrap: wrap; }
.detay .gezinti a { font-weight: 600; max-width: 45%; }
.detay .gezinti small { display: block; color: #999; font-weight: 400; font-size: 13px; }

/* ================= TARİHÇE ================= */
.iki-sutun { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.iki-sutun.ters > :first-child { order: 2; }
.iki-sutun h2 { font-size: 36px; margin-bottom: 8px; }
.iki-sutun .ust-yazi { color: var(--mavi); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.iki-sutun p { font-size: 17px; line-height: 1.7; }
@media (max-width: 767px) { .iki-sutun { grid-template-columns: 1fr; } .iki-sutun.ters > :first-child { order: 0; } }

/* ================= YÖNETİM ================= */
.baskan { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; align-items: start; }
.baskan img { width: 100%; max-width: 340px; object-fit: cover; }
.baskan .ust-yazi { color: var(--mavi); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 14px; }
.baskan h2 { font-size: 34px; margin-bottom: 18px; }
.baskan p { font-size: 17px; line-height: 1.7; }
@media (max-width: 767px) { .baskan { grid-template-columns: 1fr; } }
.uye { text-align: center; }
.uye img { width: 100%; height: 300px; object-fit: cover; object-position: top; background: #eee; }
.uye h3 { font-size: 18px; margin-top: 14px; text-transform: uppercase; }
.uye .gorev { color: var(--mavi); font-size: 14px; }
.kurul-listeleri { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 50px; }
.kurul-listeleri h3 { color: var(--mavi); font-size: 18px; text-transform: uppercase; border-bottom: 2px solid var(--mavi); padding-bottom: 6px; margin-bottom: 12px; }
.kurul-listeleri li { padding: 5px 0; border-bottom: 1px dashed #e4e4e4; color: var(--siyah); }
@media (max-width: 991px) { .kurul-listeleri { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .kurul-listeleri { grid-template-columns: 1fr; } }

/* ================= BAĞIŞ / BİLGİ KUTUSU ================= */
.bilgi-kutu { background: var(--gri-acik); border: 1px solid var(--gri-cizgi); padding: 40px; max-width: 760px; margin: 0 auto; }
.bilgi-kutu h2 { font-size: 26px; margin-bottom: 20px; }
.bilgi-kutu li { padding: 12px 0; border-bottom: 1px dashed var(--gri-cizgi); font-size: 17px; color: var(--siyah); }
.bilgi-kutu li:last-child { border: 0; }
.bilgi-kutu li strong { color: var(--mavi); margin-right: 8px; }
.bilgi-kutu .iban { font-family: monospace; font-size: 18px; letter-spacing: 1px; }
.kopyala { margin-left: 10px; font-size: 12px; padding: 4px 10px; border: 1px solid var(--mavi); background: #fff; color: var(--mavi); cursor: pointer; font-family: var(--font); }
.kopyala:hover { background: var(--mavi); color: #fff; }

/* ================= İLETİŞİM ================= */
.iletisim-izgara { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.iletisim-bilgi h2 { font-size: 26px; margin-bottom: 24px; }
.iletisim-bilgi li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; font-size: 17px; color: var(--siyah); }
.iletisim-bilgi li svg { width: 24px; height: 24px; fill: var(--mavi); flex: 0 0 24px; }
.sosyal-ic { display: flex; gap: 10px; margin-top: 30px; }
.sosyal-ic a { color: #666; border-color: var(--gri-cizgi); }
.harita iframe { width: 100%; height: 450px; border: 0; }
.form { max-width: 900px; margin: 0 auto; }
.form .satir { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form input, .form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--gri-cizgi); font-family: var(--font); font-size: 16px; margin-bottom: 20px; background: #fff;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--mavi); }
.form textarea { min-height: 180px; resize: vertical; }
@media (max-width: 767px) { .iletisim-izgara, .form .satir { grid-template-columns: 1fr; } .harita iframe { height: 320px; } }

/* ================= GENEL ================= */
.yukleniyor { text-align: center; padding: 40px; color: #999; }
.yukleniyor::before {
  content: ""; display: block; width: 36px; height: 36px; margin: 0 auto 10px; border-radius: 50%;
  border: 3px solid #e2e2e2; border-top-color: var(--mavi); animation: don 1s linear infinite;
}
@keyframes don { to { transform: rotate(360deg); } }
.hata { background: #fff4f4; border: 1px solid #f0c0c0; color: #a33; padding: 16px 20px; margin: 20px 0; }
.gizli { display: none !important; }
.yukari {
  position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--mavi); color: #fff; cursor: pointer; font-size: 20px; box-shadow: var(--golge);
  opacity: 0; visibility: hidden; transition: all .3s; z-index: 90;
}
.yukari.goster { opacity: 1; visibility: visible; }
