/* =========================================================
   IEEE Düzce Üniversitesi Öğrenci Kolu — site stilleri
   Tasarım & Geliştirme: Abdulkadir Çevik (2026)
   © 2026 Abdulkadir Çevik. Tüm hakları saklıdır.
   Yazılı izin olmadan kopyalanamaz, değiştirilemez, başka projede kullanılamaz.
   ========================================================= */

:root {
  --ink: #111111;
  --ink-2: #171717;
  --muted: #757575;
  --muted-2: #999999;
  --line: #e5e5e5;
  --bg: #ffffff;
  --bg-gray: #f7f7f7;
  --bg-tile: #f4f4f4;
  --dark: #121212;
  --dark-2: #1b1b1b;
  --accent: #00629b;          /* IEEE mavisi — yalnızca logo ve küçük detaylarda */
  --radius: 3px;
  --nav-h: 75px;
  --container: 1258px;
  --gutter: 30px;
  --font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-hand: "Caveat", cursive;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.61;
  letter-spacing: -.0023em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s, background .2s, border-color .2s; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 767px) { :root { --gutter: 16px; } }

/* ---------- Butonlar & linkler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 38px 15px;
  font-size: 15px; font-weight: 600; letter-spacing: .065em; text-transform: uppercase;
  border-radius: 3px; border: 1.5px solid transparent;
  background: var(--ink); color: #fff;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s;
}
.btn:hover { background: #333; }
.btn-white { background: rgba(255,255,255,.9); color: var(--ink); }
.btn-white:hover { background: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-blue { background: var(--ink); }
.btn-blue:hover { background: #333; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

.link-more {
  position: relative; display: inline-block; margin-top: 16px;
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-2);
}
.link-more::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform-origin: left; transition: transform .3s var(--ease); }
.link-more:hover::after { transform: scaleX(.4); }

/* ---------- Navigasyon ---------- */
.main-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--nav-h);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.main-nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 28px; width: auto; }
.nav-logo .logo-dark { display: none; }

.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a, .nav-menu > li > button {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 15px; background: none; border: 0;
  font-size: 18px; font-weight: 400; color: #fff; opacity: .9;
}
.nav-menu > li > a:hover, .nav-menu > li > button:hover, .nav-menu > li.open > button { opacity: 1; }
.nav-menu > li > a.active, .nav-menu > li.current > button { opacity: 1; }
.nav-menu > li > a.active::after, .nav-menu > li.current > button::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 1px; background: currentColor; opacity: .7;
}
.nav-menu .caret { font-size: 9px; transition: transform .25s; }

.nav-dropdown {
  position: absolute; top: calc(100% + 4px); left: 50%; min-width: 300px;
  list-style: none; margin: 0; padding: 10px 0;
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.28);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-dropdown a { display: flex; align-items: center; gap: 12px; padding: 9px 22px; font-size: 15px; color: #555; }
.nav-dropdown a i { width: 18px; text-align: center; color: #999; font-size: 14px; }
.nav-dropdown a:hover, .nav-dropdown a.active { background: var(--bg-gray); color: var(--ink); }
@media (hover: hover) and (min-width: 1101px) {
  .nav-menu > li:hover > .nav-dropdown, .nav-menu > li:focus-within > .nav-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav-menu > li:hover .caret { transform: rotate(180deg); }
}
.nav-menu > li.open > .nav-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; color: #fff; }
.nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav.scrolled { background: rgba(255,255,255,.98); box-shadow: 0 1px 0 rgba(0,0,0,.05); height: 65px; }
.main-nav.scrolled .logo-white { display: none; }
.main-nav.scrolled .logo-dark { display: block; }
.main-nav.scrolled .nav-menu > li > a, .main-nav.scrolled .nav-menu > li > button, .main-nav.scrolled .nav-toggle { color: var(--ink); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-logo img { height: 24px; }
  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 40px; background: var(--dark);
    overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .main-nav.scrolled .nav-menu { top: 65px; }
  .nav-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
  .nav-open.main-nav, .nav-open.main-nav.scrolled { background: var(--dark); }
  .nav-open .logo-white { display: block !important; }
  .nav-open .logo-dark { display: none !important; }
  .nav-open .nav-toggle { color: #fff !important; }
  .nav-menu > li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-menu > li > a, .nav-menu > li > button,
  .main-nav.scrolled .nav-menu > li > a, .main-nav.scrolled .nav-menu > li > button {
    width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 18px; color: #fff;
  }
  .nav-menu > li > a.active::after, .nav-menu > li.current > button::after { display: none; }
  .nav-dropdown { position: static; transform: none !important; min-width: 0; padding: 0 0 10px; background: transparent; box-shadow: none; display: none; opacity: 1; visibility: visible; }
  .nav-menu > li.open > .nav-dropdown { display: block; }
  .nav-menu > li.open .caret { transform: rotate(180deg); }
  .nav-dropdown a { color: rgba(255,255,255,.72); padding: 10px 8px; }
  .nav-dropdown a i { color: rgba(255,255,255,.45); }
  .nav-dropdown a:hover, .nav-dropdown a.active { background: rgba(255,255,255,.06); color: #fff; }
}
body.menu-locked { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #fff; background: #0b0b0e url("../img/hero.jpg") center 40% / cover no-repeat;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(13,13,18,.72); }
.hero .container { position: relative; z-index: 1; padding-top: calc(var(--nav-h) + 30px); padding-bottom: 110px; }
.hero-logo { width: min(720px, 88%); height: auto; margin: 0 auto 70px; }
.hero h1 { font-size: clamp(40px, 6.7vw, 94px); line-height: 1.2; letter-spacing: -.0094em; opacity: .85; max-width: 1100px; margin: 0 auto 70px; }
.hero .slogan { font-family: var(--font-hand); font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.2; opacity: .7; margin: 0; }
.scroll-down {
  position: absolute; left: 50%; bottom: 30px; z-index: 2; transform: translateX(-50%);
  width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-size: 13px; opacity: .85;
  animation: bob 2.2s ease-in-out infinite;
}
.scroll-down:hover { opacity: 1; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }
@media (max-width: 767px) { .hero-logo { margin-bottom: 44px; } .hero h1 { margin-bottom: 40px; } }

/* ---------- Alt sayfa başlığı ---------- */
.page-header {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background: radial-gradient(ellipse 60% 75% at 50% 52%, #4a4a4f 0%, #1f1f22 45%, #050506 100%);
  padding: calc(var(--nav-h) + 64px) 0 76px;
}
.page-header::before { content: ""; position: absolute; inset: 0; background: url("../img/waves.svg") center / cover no-repeat; opacity: .45; }
.page-header .container { position: relative; }
/* Yazı hiyerarşisi: sayfa başlığı baskın, logo marka imzası olarak daha küçük */
.page-header .ph-logo { width: clamp(280px, 38vw, 500px); height: auto; margin: 0 auto 30px; opacity: .92; }
.page-header h1 { font-size: clamp(36px, 5vw, 62px); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.page-header .ph-sub { margin-top: 14px; font-family: var(--font-hand); font-size: clamp(26px, 2.5vw, 34px); line-height: 1.2; opacity: .75; }
.breadcrumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; font-size: 15px; letter-spacing: .01em; color: rgba(255,255,255,.62); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { opacity: .5; }
@media (max-width: 767px) {
  .page-header { padding: calc(var(--nav-h) + 44px) 0 56px; }
  .page-header .ph-logo { margin-bottom: 24px; }
  .breadcrumb { font-size: 14px; margin-top: 16px; }
}
.page-header.banner-header { padding: calc(var(--nav-h) + 50px) 0 60px; }
.page-header.banner-header .ph-logo { width: min(900px, 92%); margin-bottom: 0; opacity: 1; }

/* Komite banner'ı: yazı yerine "IEEE Düzce | komite logosu" beyaz logo bloğu (MCBÜ'deki gibi) */
.ph-lockup { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 3vw, 44px); --s: 1; }
.ph-lockup img { max-width: none; width: auto; }
.ph-lockup .lk-branch { height: calc(52px * var(--s)); }
.ph-lockup .lk-line { flex-shrink: 0; width: 1.5px; height: calc(92px * var(--s)); background: rgba(255,255,255,.5); }
.ph-lockup .lk-committee { height: calc(var(--h, 76px) * var(--s)); }
@media (max-width: 1100px) { .ph-lockup { --s: .82; } }
@media (max-width: 760px) {
  .ph-lockup { flex-direction: column; gap: 22px; --s: .8; }
  .ph-lockup .lk-branch { height: auto; width: min(320px, 82vw); }
  .ph-lockup .lk-line { width: 56px; height: 1.5px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Bölümler ---------- */
.section { padding: 140px 0; }
.section-sm { padding: 100px 0; }
.section-gray { background: var(--bg-gray); }
.section.pt-0 { padding-top: 0; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }
@media (max-width: 991px) { .section { padding: 100px 0; } .section-sm { padding: 70px 0; } }
@media (max-width: 767px) { .section { padding: 70px 0; } }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.section-title { font-size: clamp(32px, 3.6vw, 46px); letter-spacing: -.04em; line-height: 1.2; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--muted); }
.title-md { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; line-height: 1.2; margin-bottom: 26px; }
.text-lg { font-size: 18px; color: var(--ink); }
.eyebrow { display: inline-block; margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Hakkımızda ---------- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 50px; align-items: start; }
.about-grid h2 { font-size: clamp(32px, 3.6vw, 46px); letter-spacing: -.04em; line-height: 1.2; }
.about-grid p { font-size: 18px; color: var(--ink); margin: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 120px; }
.stat { background: var(--bg-tile); padding: 34px 20px 38px; text-align: center; }
.stat-num { font-size: clamp(52px, 5.4vw, 72px); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.stat-label { margin-top: 4px; font-size: 18px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; }
.stat-label i { font-size: 14px; color: var(--muted); }
@media (max-width: 991px) {
  .about-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 60px; }
}
@media (max-width: 420px) { .stats { gap: 12px; } .stat { padding: 26px 10px 28px; } }

/* ---------- Komite kartları ---------- */
.services { display: flex; flex-wrap: wrap; justify-content: center; gap: 80px 30px; }
.service { flex: 0 1 calc((100% - 60px) / 3); display: flex; flex-direction: column; align-items: center; text-align: center; }
.service-media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-tile); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover .service-media img { transform: scale(1.05); }
/* Logosu/görseli olmayan komite için koyu kutu */
.service-media.tile { display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 50% 40%, #3c3c42 0%, #18181b 60%, #050506 100%); }
.service-media.tile::before { content: ""; position: absolute; inset: 0; background: url("../img/waves.svg") center / cover no-repeat; opacity: .45; }
.service-media.tile i { position: relative; font-size: 64px; opacity: .9; transition: transform .8s var(--ease); }
.service-media.tile .tile-logo { position: relative; width: 60%; height: auto; object-fit: contain; }
.service-logo.is-spacer { visibility: hidden; }   /* logo zaten görselde: başlıklar hizalı kalsın diye boş yer */
.service:hover .service-media.tile i, .service:hover .service-media.tile .tile-logo { transform: scale(1.06); }
/* Resmi komite logosu: görselin altına taşan beyaz rozet */
.service-logo {
  position: relative; z-index: 1; width: 210px; height: 92px; margin: -46px auto 30px; padding: 14px 22px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; box-shadow: 0 16px 34px -20px rgba(0,0,0,.5);
}
.service-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.service-logo .logo-text { display: flex; flex-direction: column; align-items: flex-start; font-size: 34px; font-weight: 700; line-height: .95; letter-spacing: -.02em; color: var(--ink); }
.service-logo .logo-text small { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 5px; }
.service h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 15px; padding: 0 10px; }
.service p { font-size: 16px; line-height: 26px; color: var(--muted); margin: 0; padding: 0 10px; }
@media (max-width: 991px) { .service { flex-basis: calc((100% - 30px) / 2); } }
@media (max-width: 600px) { .service { flex-basis: 100%; } .services { gap: 60px; } }

/* ---------- Instagram bandı ---------- */
.ig-band { position: relative; background: var(--dark-2); color: #fff; }
.ig-band .container { display: grid; grid-template-columns: 6fr 5fr; column-gap: 8.33%; }
.ig-visual { position: relative; z-index: 2; container-type: inline-size; }
.ig-frame {
  position: absolute; aspect-ratio: 347 / 451; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, #6b4ce6 0%, #a63cc4 26%, #df2f7c 56%, #f1564f 78%, #fbab45 100%);
  font-size: 10px;
}
.ig-frame.f1 { top: -30px; left: 0; width: 55%; font-size: 1.62cqw; }
.ig-frame.f2 { bottom: 0; left: 50%; width: 41.5%; font-size: 1.22cqw; }
.ig-post { width: 74%; background: #fff; color: var(--ink); border-radius: 1em; padding: 1em 1em 1.1em; box-shadow: 0 1.4em 2.6em -1em rgba(0,0,0,.35); }
.ig-head { display: flex; align-items: center; gap: .6em; padding: 0 .1em .8em; }
.ig-avatar { width: 2.2em; height: 2.2em; border-radius: 50%; border: 1px solid #e3e3e3; background: #fff; display: grid; place-items: center; padding: .35em; flex-shrink: 0; }
.ig-avatar img { width: 100%; height: auto; }
.ig-name { font-size: 1em; font-weight: 700; }
.ig-more { margin-left: auto; font-size: 1.1em; color: #444; }
.ig-img { aspect-ratio: 1 / 1; overflow: hidden; background: #ddd; }
.ig-img img { width: 100%; height: 100%; object-fit: cover; }
.ig-actions { display: flex; align-items: center; gap: .9em; padding: .9em .1em 0; font-size: 1.55em; line-height: 1; }
.ig-actions .fa-heart { color: #ed4956; }
.ig-pager { flex: 1; display: flex; justify-content: center; gap: .2em; padding-right: 2.4em; }
.ig-pager b { width: .26em; height: .26em; border-radius: 50%; background: #c7c7c7; }
.ig-pager b:first-child { background: #0095f6; }
.ig-text { padding: 140px 0; }
.ig-text h2 { font-size: clamp(32px, 3.6vw, 46px); letter-spacing: -.02em; line-height: 1.2; margin-bottom: 30px; }
.ig-text p { font-size: 18px; color: #fff; margin-bottom: 36px; }
@media (max-width: 991px) {
  .ig-band .container { grid-template-columns: 1fr; }
  .ig-visual { width: 100%; max-width: 600px; margin: 0 auto; aspect-ratio: 1 / 1.03; }
  .ig-frame.f1 { top: -30px; width: 58%; font-size: 1.7cqw; }
  .ig-frame.f2 { left: 48%; width: 46%; font-size: 1.35cqw; }
  .ig-text { padding: 70px 0 90px; }
}

/* ---------- Neden IEEE Düzce ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.collage { position: relative; height: 600px; }
.collage img { position: absolute; object-fit: cover; box-shadow: 0 26px 50px -24px rgba(0,0,0,.55); }
.collage .c1 { width: 42%; height: 70%; left: 0; top: 0; }
.collage .c2 { width: 64%; height: 46%; right: 0; top: 10%; z-index: 1; }
.collage .c3 { width: 56%; height: 40%; left: 22%; bottom: 0; z-index: 2; }
.why .section-title { text-align: left; }
.why-list { margin: 50px 0 50px; display: grid; gap: 34px; }
.why-item h3 { font-size: 20px; letter-spacing: -.01em; margin-bottom: 10px; }
.why-item p { font-size: 16px; line-height: 26px; color: var(--muted); }
@media (max-width: 991px) {
  .why { grid-template-columns: 1fr; gap: 50px; }
  .collage { height: 460px; max-width: 600px; width: 100%; }
}
@media (max-width: 520px) { .collage { height: 340px; } }

/* ---------- Sponsor ---------- */
.sponsor-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px 60px; }
.sponsor-logos img { width: 240px; height: auto; transition: transform .35s var(--ease); }
.sponsor-logos img:hover { transform: scale(1.05); }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; }
.contact-item { display: flex; gap: 20px; align-items: flex-start; }
.contact-icon { flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 17px; }
.contact-item h3 { font-size: 20px; margin-bottom: 4px; }
.contact-item p { font-size: 18px; color: var(--muted); margin: 0; word-break: break-word; }
@media (max-width: 767px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-gray); padding: 140px 0 100px; text-align: center; }
.socials { display: flex; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0 0 40px; }
.socials a { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 16px; transition: transform .25s var(--ease), background .25s; }
.socials a:hover { background: #333; transform: translateY(-3px); }
.copyright { font-size: 18px; font-weight: 600; color: var(--ink-2); }
.copyright a:hover { opacity: .7; }
.footer-slogan { margin-top: 4px; font-size: 14px; color: var(--muted-2); }
.footer-credit { display: inline-flex; align-items: center; gap: 7px; margin-top: 30px; font-size: 13px; color: var(--muted-2); }
.footer-credit i { font-size: 11px; }
.footer-credit a { font-weight: 600; color: var(--muted); }
.footer-credit a:hover { color: var(--ink); }
@media (max-width: 767px) { .site-footer { padding: 80px 0 70px; } }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 8px 22px -12px rgba(0,0,0,.35);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: #fff; }

/* ---------- İki sütunlu içerik ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.wide-text { grid-template-columns: 1.25fr 1fr; }
.split .media img { width: 100%; height: auto; }
.split p { font-size: 18px; color: var(--ink); }
@media (max-width: 991px) {
  .split, .split.wide-text { grid-template-columns: 1fr; gap: 44px; }
  .split .media-first-mobile { order: -1; }
}

/* IEEE sayfası: bilgi şeridi */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.fact { border-top: 2px solid var(--ink); padding-top: 18px; }
.fact b { display: block; font-size: clamp(30px, 3vw, 42px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.fact span { font-size: 16px; color: var(--muted); }
@media (max-width: 800px) { .facts { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; } }

/* IEEE Turkey görseli (CSS ile) */
.section-card {
  position: relative; overflow: hidden; aspect-ratio: 1 / 1; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px;
  background: radial-gradient(circle at 30% 20%, #2c8fc9 0%, #0a6aa4 40%, #003f66 100%);
}
.section-card::before { content: ""; position: absolute; inset: 0; background: url("../img/waves.svg") center / cover no-repeat; opacity: .35; }
.section-card img { position: relative; width: 62%; height: auto; }
.section-card .sc-text { position: relative; margin-top: 26px; font-size: clamp(22px, 2.4vw, 32px); font-style: italic; font-weight: 500; line-height: 1.2; }

/* Ödül notu (IEEE Düzce sayfası) */
.award-inline { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding: 18px 22px; background: var(--bg-tile); }
.award-inline i { font-size: 24px; color: var(--ink); }
.award-inline strong { display: block; font-size: 16px; }
.award-inline span { font-size: 14px; color: var(--muted); }

/* ---------- Ekip kartları ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 30px; max-width: 1000px; margin: 0 auto; }
.team-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 50px 60px; }
.team-grid.cols-1 { grid-template-columns: minmax(0, 300px); justify-content: center; }
.member { text-align: center; }
.member-photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-tile); margin-bottom: 22px; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.member:hover .member-photo img { transform: scale(1.04); }
.member-photo.placeholder { display: grid; place-items: center; background: #e9e9e9; }
.member-photo.placeholder .initials { font-size: 64px; font-weight: 600; letter-spacing: -.02em; color: #b5b5b5; }
.member-photo.placeholder small { position: absolute; bottom: 18px; left: 0; right: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #a5a5a5; }
.member-linkedin {
  position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 16px;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.45); transition: background .25s, color .25s;
}
.member-linkedin:hover { background: var(--ink); color: #fff; }
.member h3 { font-size: 24px; letter-spacing: -.02em; }
.member .role { margin-top: 6px; font-size: 16px; color: var(--muted); }
@media (max-width: 991px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid, .team-grid.cols-2 { grid-template-columns: minmax(0, 320px); justify-content: center; } }

/* ---------- Komite sayfası ---------- */
.emblem {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 40px; text-align: center;
  background: radial-gradient(circle at 50% 45%, #3c3c42 0%, #18181b 55%, #050506 100%);
}
.emblem::before { content: ""; position: absolute; inset: 0; background: url("../img/waves.svg") center / cover no-repeat; opacity: .5; }
.emblem > * { position: relative; }
.emblem .em-icon { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; font-size: 48px; border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.emblem .em-abbr { font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: .04em; line-height: 1; }
.emblem .em-ieee { width: 150px; opacity: .85; }
.emblem .em-logo { width: 68%; height: auto; }

/* Komite tanıtımı: resmi logo + iki görselli kompozisyon */
.committee-logo { display: block; height: 86px; width: auto; max-width: 280px; object-fit: contain; object-position: left center; margin-bottom: 36px; }
.c-visual { position: relative; padding: 0 0 20% 14%; }
.c-visual img { display: block; height: auto; object-fit: cover; }
.c-visual .cv-main { width: 100%; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -34px rgba(0,0,0,.6); }
.c-visual .cv-sub {
  position: absolute; left: 0; bottom: 0; width: 50%; aspect-ratio: 4 / 3;
  border: 8px solid #fff; box-shadow: 0 26px 50px -24px rgba(0,0,0,.55);
}
@media (max-width: 991px) { .c-visual { max-width: 640px; } .committee-logo { height: 72px; margin-bottom: 28px; } }
@media (max-width: 520px) { .c-visual .cv-sub { border-width: 5px; } }

.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.focus { padding: 0; }
.focus i { font-size: 28px; color: var(--ink); margin-bottom: 20px; display: block; }
.focus h3 { font-size: 20px; margin-bottom: 10px; }
.focus p { font-size: 16px; line-height: 26px; color: var(--muted); }
@media (max-width: 1000px) { .focus-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 30px; } }
@media (max-width: 560px) { .focus-grid { grid-template-columns: 1fr; } }

.empty-note { max-width: 560px; margin: 0 auto; text-align: center; padding: 46px 30px; border: 1.5px dashed #d5d5d5; color: var(--muted); }

/* CTA şeridi */
.cta-band { position: relative; overflow: hidden; background: var(--dark-2); color: #fff; text-align: center; }
.cta-band .container { position: relative; }
.cta-band h2 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.03em; margin-bottom: 16px; }
.cta-band p { max-width: 640px; margin: 0 auto 36px; color: rgba(255,255,255,.8); font-size: 18px; }
.cta-band .btn-group { justify-content: center; }
.cta-band .hand { font-family: var(--font-hand); font-size: clamp(28px, 2.8vw, 38px); opacity: .75; margin-bottom: 6px; display: block; }

/* ---------- Etkinlikler ---------- */
.event-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.event-meta li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--bg-tile); font-size: 14px; }
.event-meta i { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery button { padding: 0; border: 0; background: var(--bg-tile); aspect-ratio: 3 / 4; overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery button::after { content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 26px; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .3s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery button:hover::after, .gallery button:focus-visible::after { opacity: 1; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(8,8,10,.94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 18px; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.6); font-size: 14px; letter-spacing: .1em; }
@media (max-width: 600px) { .lightbox { padding: 70px 10px; } .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; } .lb-prev { left: 20px; } .lb-next { right: 20px; } }

/* ---------- Takımlar ---------- */
.team-block { scroll-margin-top: 100px; }
.team-block + .team-block { margin-top: 120px; }
.team-block:nth-child(even) .media { order: 2; }
@media (max-width: 991px) { .team-block:nth-child(even) .media { order: 0; } .team-block + .team-block { margin-top: 80px; } }
.team-photo {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center;
  background: radial-gradient(circle at 50% 40%, #33363d 0%, #16171a 60%, #060607 100%);
}
.team-photo::before { content: ""; position: absolute; inset: 0; background: url("../img/waves.svg") center / cover no-repeat; opacity: .4; }
.team-photo > * { position: relative; }
.team-photo i { font-size: 60px; color: #fff; opacity: .9; }
.team-photo img, .split .media .team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-title span { display: block; margin-top: 10px; font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; font-size: 13px; font-weight: 600; letter-spacing: .04em; background: var(--bg-tile); color: var(--ink); }
.badge.gold { background: var(--ink); color: #fff; }
.badge.blue, .badge.green { background: var(--bg-tile); color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.tags li { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); color: var(--muted); }
.team-intro-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* ---------- Bize Katıl ---------- */
.form-wrap { max-width: 820px; margin: 0 auto; }
.form-card { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.form-card iframe { display: block; width: 100%; height: 1900px; border: 0; }
.form-note { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; padding: 18px 22px; background: var(--bg-tile); font-size: 15px; line-height: 1.55; }
.form-note > i { font-size: 22px; flex-shrink: 0; }
.form-note .btn { flex-shrink: 0; padding: 12px 20px; font-size: 12.5px; }
@media (max-width: 640px) { .form-note { flex-direction: column; align-items: flex-start; } }
.form-fallback { margin-top: 22px; text-align: center; font-size: 15px; color: var(--muted); }
.form-fallback a { color: var(--ink); font-weight: 600; border-bottom: 1px solid currentColor; }
.join-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 80px; }
.join-perk { text-align: center; }
.join-perk i { font-size: 28px; margin-bottom: 16px; }
.join-perk h3 { font-size: 20px; margin-bottom: 8px; }
.join-perk p { font-size: 16px; color: var(--muted); }
@media (max-width: 760px) { .join-perks { grid-template-columns: 1fr; } .form-card iframe { height: 2200px; } }

/* ---------- Kaydırma animasyonları ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; } .js .reveal.d2 { transition-delay: .2s; } .js .reveal.d3 { transition-delay: .3s; }
.js .ig-frame.reveal { transform: scale(.94); }
.js .ig-frame.reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal, .js .ig-frame.reveal { opacity: 1; transform: none; transition: none; } }
