/* Bölüm teması — fakülte styles.css üzerine ek stiller */

/* Header: logo → üniversite anasayfası, fakülte adı → fakülte anasayfası */
.logo--bar .logo-mark{display:block;line-height:0;text-decoration:none}
.logo--bar a.logo-line{display:block;text-decoration:none}
.logo--bar a.logo-line--uni{color:var(--navy)}
.logo--bar a.logo-line--faculty{color:var(--navy-brand)}
.logo--bar a.logo-line--faculty:hover{opacity:.88}

/* ---- Program hero (fakülte birleşik hero: sol lacivert metin, sağ bölüm görseli) ---- */
.bolum-hero{
  position:relative;
  background:var(--navy);
  color:#fff;
  overflow:hidden;
  --bolum-hero-img-left:clamp(26%,30vw,36%);
  --bolum-hero-fade:min(300px,30vw);
}
.bolum-hero__bg{
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:var(--bolum-hero-img-left);
  z-index:0;
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}
.bolum-hero__veil{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(
    90deg,
    rgba(14,42,71,0) 0%,
    rgba(14,42,71,0) 7%,
    rgba(14,42,71,.38) 14%,
    var(--navy) 24%,
    var(--navy) calc(var(--bolum-hero-img-left) - 1%),
    rgba(14,42,71,.98) calc(var(--bolum-hero-img-left) + var(--bolum-hero-fade) * .18),
    rgba(14,42,71,.82) calc(var(--bolum-hero-img-left) + var(--bolum-hero-fade) * .38),
    rgba(14,42,71,.52) calc(var(--bolum-hero-img-left) + var(--bolum-hero-fade) * .58),
    rgba(14,42,71,.22) calc(var(--bolum-hero-img-left) + var(--bolum-hero-fade) * .78),
    rgba(14,42,71,0) calc(var(--bolum-hero-img-left) + var(--bolum-hero-fade))
  );
}
.bolum-hero__inner{
  position:relative;
  z-index:2;
  max-width:var(--container-max);
  margin:0 auto;
  display:flex;
  align-items:center;
  padding:34px 24px 52px;
}
.bolum-hero__copy{
  width:100%;
  max-width:min(640px,48vw);
  padding-left:clamp(12px,2vw,32px);
}
.bolum-hero--dept-photo .bolum-hero__bg{
  left:0;
  background-position:72% center;
}
.bolum-hero--dept-photo{
  --bolum-hero-img-left:clamp(28%,32vw,38%);
  --bolum-hero-copy-max:clamp(620px,54vw,940px);
}
.bolum-hero--dept-photo .bolum-hero__veil{
  background:linear-gradient(
    90deg,
    rgba(14,42,71,0) 0%,
    rgba(14,42,71,.04) 5%,
    rgba(14,42,71,.28) 10%,
    rgba(14,42,71,.62) 16%,
    var(--navy) 24%,
    var(--navy) calc(var(--bolum-hero-img-left) + 4%),
    rgba(14,42,71,.92) calc(var(--bolum-hero-img-left) + var(--bolum-hero-fade) * .2),
    rgba(14,42,71,.72) calc(var(--bolum-hero-img-left) + var(--bolum-hero-fade) * .42),
    rgba(14,42,71,.38) calc(var(--bolum-hero-img-left) + var(--bolum-hero-fade) * .64),
    rgba(14,42,71,.12) calc(var(--bolum-hero-img-left) + var(--bolum-hero-fade) * .84),
    rgba(14,42,71,0) calc(var(--bolum-hero-img-left) + var(--bolum-hero-fade))
  );
}
.bolum-hero--dept-photo .bolum-hero__copy{
  max-width:var(--bolum-hero-copy-max);
  padding-left:clamp(16px,2.5vw,36px);
  padding-right:12px;
}
.bolum-hero__crumbs{
  font-size:12px;
  color:rgba(255,255,255,.62);
  margin-bottom:26px;
  line-height:1.5;
}
@media (min-width:901px){
  .bolum-hero--dept-photo .bolum-hero__crumbs{
    font-size:11px;
    white-space:nowrap;
  }
  .bolum-hero--dept-photo .bolum-hero__crumbs span{margin:0 5px}
  .bolum-hero--dept-photo .bolum-hero__lead{
    max-width:var(--bolum-hero-copy-max);
  }
}
.bolum-hero__crumbs a{color:rgba(255,255,255,.82)}
.bolum-hero__crumbs a:hover{color:#fff}
.bolum-hero__crumbs span{margin:0 8px;opacity:.5}
.bolum-hero__crumbs .is-current{color:var(--teal)}
.bolum-hero__eyebrow{
  display:inline-block;
  color:var(--teal);
  font-size:12px;
  font-weight:700;
  letter-spacing:.2em;
  text-transform:uppercase;
  margin-bottom:14px;
}
.bolum-hero__title{
  font-size:clamp(30px,4.2vw,50px);
  font-weight:700;
  line-height:1.12;
  letter-spacing:-.02em;
  margin-bottom:22px;
  color:#fff;
}
.bolum-hero__lead{
  max-width:none;
  font-size:15px;
  line-height:1.7;
  color:rgba(255,255,255,.9);
  margin-bottom:30px;
}
.bolum-hero__meta{
  display:flex;
  flex-wrap:wrap;
  gap:32px 40px;
  margin-bottom:34px;
}
.bolum-hero__meta-item{
  display:flex;
  align-items:center;
  gap:11px;
  font-size:13.5px;
  color:rgba(255,255,255,.82);
}
.bolum-hero__meta-item i{color:var(--teal)}
.bolum-hero__actions{display:flex;flex-wrap:wrap;gap:14px}

/* ---- Bölüm hakkında + kariyer (yan yana) ---- */
.bolum-about-career{padding:72px 0 40px}
.bolum-about-career__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px 56px;
  align-items:start;
}
.bolum-about__col,
.bolum-career__col{min-width:0}
@media (min-width:1025px){
  .bolum-career__col{
    padding-left:48px;
    border-left:1px solid #e6ebf1;
  }
}
.bolum-about__media{
  position:relative;
  margin-top:28px;
  max-width:420px;
}
.bolum-sec-lead--career{font-size:clamp(22px,2.8vw,30px)}
.bolum-about__img-wrap{
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 30px 60px -30px rgba(0,25,45,.5);
  aspect-ratio:4/5;
}
.bolum-about__img-wrap img{width:100%;height:100%;object-fit:cover}
.bolum-about__badge{
  position:absolute;
  bottom:-22px;left:-22px;
  background:var(--navy);
  color:#fff;
  border-radius:12px;
  padding:20px 24px;
  box-shadow:0 20px 40px -20px rgba(0,25,45,.6);
}
.bolum-about__badge-year{
  font-size:30px;
  font-weight:800;
  color:var(--teal);
  line-height:1;
}
.bolum-about__badge-label{
  font-size:12px;
  color:rgba(255,255,255,.8);
  margin-top:4px;
}
.bolum-about__tags{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}
.bolum-about__tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#eaf8f8;
  color:var(--teal-dark);
  font-size:12.5px;
  font-weight:600;
  padding:9px 15px;
  border-radius:20px;
}

/* ---- Neden bu bölüm ---- */
.bolum-why{background:#fff;padding:72px 0}
.bolum-why__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:28px;
}
.bolum-why__card{
  padding:28px;
  border:1px solid var(--line);
  border-radius:12px;
  transition:transform .25s;
}
.bolum-why__card:hover{transform:translateY(-4px)}
.bolum-why__icon{
  width:46px;height:46px;
  border-radius:10px;
  background:#eaf8f8;
  color:var(--teal);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
  font-size:1.15rem;
}
.bolum-why__card h4{font-size:16px;margin-bottom:10px;color:var(--ink)}
.bolum-why__card p{font-size:13px;color:var(--muted);line-height:1.7}

/* ---- Müfredat ---- */
.bolum-curr{padding:72px 0}
.bolum-curr__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:38px;
  flex-wrap:wrap;
  gap:12px;
}
.bolum-curr__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.bolum-curr__col{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
}
.bolum-curr__head-row{
  background:var(--navy);
  color:#fff;
  padding:16px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.bolum-curr__year{font-weight:700;font-size:15px}
.bolum-curr__ects{font-size:11px;color:var(--teal);font-weight:600}
.bolum-curr__list{list-style:none;padding:10px 20px 18px;margin:0}
.bolum-curr__list li{
  font-size:13px;
  color:#4a5a6a;
  padding:8px 0;
  border-bottom:1px solid #f0f3f6;
}
.bolum-curr__list li:last-child{border-bottom:0}

.bolum-curr--page{padding:48px 0 72px}
.bolum-curr__course-link{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:6px 10px;
  color:inherit;
  text-decoration:none;
}
.bolum-curr__course-link:hover{color:var(--teal)}
.bolum-curr__list li.is-active .bolum-curr__course-link{color:var(--teal);font-weight:600}
.bolum-curr__course-code{font-weight:700;font-size:12px;color:var(--navy)}
.bolum-curr__course-name{flex:1 1 auto}
.bolum-curr__course-ects{font-size:11px;color:var(--teal);font-weight:600}
.bolum-curr__course-link--static{cursor:default}
.bolum-curr__course-tag{font-size:10px;color:#8a96a3;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.bolum-curr__list li.is-elective{opacity:.92}

.bolum-course-detail{
  margin-top:48px;
  padding:28px 32px;
  border:1px solid #e6ebf0;
  border-radius:12px;
  background:#fff;
  scroll-margin-top:120px;
}
.bolum-course-detail__head{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px;
}
.bolum-course-detail__code{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  color:var(--teal);
  margin-bottom:6px;
}
.bolum-course-detail__title{
  margin:0;
  font-size:24px;
  color:var(--navy);
}
.bolum-course-detail__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  font-size:13px;
  color:#5a6a7a;
}
.bolum-course-detail__instructor{font-size:14px;margin:0 0 20px}
.bolum-course-detail__block{margin-bottom:24px}
.bolum-course-detail__block h3{
  margin:0 0 10px;
  font-size:16px;
  color:var(--navy);
}
.bolum-course-detail__body{
  font-size:14px;
  line-height:1.7;
  color:#4a5a6a;
}
.bolum-course-detail__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:28px 0 0;
}

/* ---- Laboratuvar ---- */
.bolum-labs{
  background:var(--navy);
  padding:76px 0;
  color:#fff;
}
.bolum-labs .section-title{color:#fff}
.bolum-labs .section-title .bar{background:var(--teal)}
.bolum-labs__lead{
  color:rgba(255,255,255,.72);
  font-size:14.5px;
  max-width:620px;
  margin:0 0 40px;
}
.bolum-labs__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.bolum-labs__card{
  position:relative;
  height:240px;
  border-radius:12px;
  overflow:hidden;
}
.bolum-labs__card img{width:100%;height:100%;object-fit:cover}
.bolum-labs__veil{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(14,42,71,0) 40%,rgba(14,42,71,.92) 100%);
}
.bolum-labs__caption{position:absolute;bottom:0;padding:20px}
.bolum-labs__caption h4{font-size:16px;font-weight:700;margin-bottom:4px;color:#fff}
.bolum-labs__caption p{font-size:12px;color:rgba(255,255,255,.75);margin:0}

/* ---- Kadro (fakülte academic-grid üzerine ince ayar) ---- */
.bolum-staff .academic-grid{grid-template-columns:repeat(6,1fr)}
.bolum-staff{padding:72px 0}
.bolum-staff__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:38px;
  flex-wrap:wrap;
  gap:12px;
}
.bolum-staff a.academic-photo{
  display:block;
  text-decoration:none;
  transition:opacity .2s ease;
}
.bolum-staff a.academic-photo:hover{opacity:.9}

/* ---- Kariyer (hakkında sütunu içinde) ---- */
.bolum-career__list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:24px;
}
.bolum-career__list li{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13.5px;
  color:var(--ink);
  font-weight:500;
  list-style:none;
}
.bolum-career__list li i{color:var(--teal)}
.bolum-career__media{
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 30px 60px -30px rgba(0,25,45,.5);
  aspect-ratio:16/11;
  margin-top:24px;
}
.bolum-career__media img{width:100%;height:100%;object-fit:cover}

/* ---- CTA ---- */
.bolum-cta{padding:64px 0}
.bolum-cta__box{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  background:linear-gradient(120deg,#0E2A47,#123a5f);
}
.bolum-cta__deco{
  position:absolute;
  border:2px solid rgba(0,168,181,.2);
  border-radius:50%;
  pointer-events:none;
}
.bolum-cta__deco--a{top:-80px;right:-40px;width:280px;height:280px;border-color:rgba(0,168,181,.25)}
.bolum-cta__deco--b{bottom:-120px;right:180px;width:220px;height:220px;border-color:rgba(0,168,181,.15)}
.bolum-cta__inner{
  position:relative;
  padding:52px 56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:28px;
}
.bolum-cta__title{
  color:#fff;
  font-size:clamp(22px,2.6vw,30px);
  font-weight:700;
  line-height:1.25;
  margin-bottom:10px;
  max-width:20ch;
}
.bolum-cta__text{
  color:rgba(255,255,255,.78);
  font-size:14.5px;
  max-width:52ch;
  margin:0;
}
.bolum-cta__actions{display:flex;flex-direction:column;gap:12px}

/* ---- Shared section title (fakülte .section-title ile uyumlu) ---- */
.bolum-sec-title{
  font-size:14px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--ink);
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:22px;
}
.bolum-sec-title .bar{
  width:38px;height:3px;
  background:var(--teal);
  border-radius:2px;
  flex-shrink:0;
}
.bolum-sec-lead{
  font-size:clamp(24px,3vw,32px);
  font-weight:700;
  line-height:1.25;
  letter-spacing:-.01em;
  margin-bottom:20px;
  color:var(--ink);
}
.bolum-sec-body{
  font-size:15px;
  color:#4a5a6a;
  line-height:1.8;
  margin-bottom:16px;
}
.bolum-link{
  color:var(--teal);
  font-size:13px;
  font-weight:600;
}
.bolum-link:hover{color:var(--teal-dark)}

@media (max-width:1024px){
  .bolum-about-career__grid{grid-template-columns:1fr;gap:40px}
  .bolum-why__grid,
  .bolum-curr__grid{grid-template-columns:repeat(2,1fr)}
  .bolum-labs__grid{grid-template-columns:repeat(2,1fr)}
  .bolum-about__badge{left:12px;bottom:12px}
  .bolum-cta__inner{padding:36px 28px}
}
@media (max-width:900px){
  .bolum-hero{
    min-height:auto;
    --bolum-hero-img-left:0px;
  }
  .bolum-hero__bg{
    left:0;
    right:0;
    top:0;
    bottom:auto;
    height:clamp(160px,36vw,200px);
  }
  .bolum-hero__veil,
  .bolum-hero--dept-photo .bolum-hero__veil{
    left:0;
    right:0;
    top:0;
    bottom:auto;
    height:clamp(160px,36vw,200px);
    background:linear-gradient(
      180deg,
      rgba(14,42,71,.08) 0%,
      rgba(14,42,71,.45) 62%,
      var(--navy) 100%
    );
  }
  .bolum-hero__inner{
    align-items:flex-start;
    padding-top:clamp(12px,2.5vw,20px);
    padding-bottom:clamp(28px,5vw,40px);
  }
  .bolum-hero__copy{
    max-width:100%;
    padding-left:0;
    padding-right:0;
  }
  .bolum-hero--dept-photo .bolum-hero__crumbs{
    white-space:normal;
    font-size:12px;
  }
}
@media (max-width:640px){
  .bolum-why__grid,
  .bolum-curr__grid,
  .bolum-labs__grid,
  .bolum-career__list{grid-template-columns:1fr}
  .bolum-hero__meta{gap:16px 24px}
  .bolum-hero__title{max-width:none}
}
