/* ===== YapıBak – Yapı İmalat (4 sayfa ortak stil) ===== */

.im-main{
  height: calc(100vh - var(--header-h) - var(--footer-h));
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 18px;
}

.im-wrap{
  width: min(1360px, 100%);
  margin: 0 auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* SOL ÜST (logo altında) */
.im-fixed-module{
  position: fixed;
  top: calc(var(--header-h) + 10px);
  left: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.12);
  backdrop-filter: blur(10px);
  z-index: 999998;
}
.im-module-ico{
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.35));
}
.im-module-name{
  color: rgba(255,255,255,.92);
  font-weight: 950;
  font-size: 15.5px;
  letter-spacing: .2px;
  text-shadow: 0 10px 22px rgba(0,0,0,.35);
  white-space: nowrap;
}

/* SAĞ ÜST: Modüllere dön */
.im-fixed-back{
  position: fixed;
  top: calc(var(--header-h) + 12px);
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  font-size: 13px;
  color: #062013;
  background: linear-gradient(90deg, rgba(32,201,151,.98), rgba(45,211,111,.92), rgba(77,171,247,.92));
  box-shadow: 0 18px 45px rgba(32,201,151,.20);
  z-index: 999998;
  white-space: nowrap;
  transition: transform .18s ease;
}
.im-fixed-back:hover{ transform: translateY(-1px); }

/* Başlık alanı */
.im-pagehead{
  text-align: center;
  padding: 64px 0 10px; /* sabit üst öğeler için boşluk */
}
.im-title{
  font-size: clamp(34px, 3.6vw, 64px);
  font-weight: 950;
  letter-spacing: -1px;
  line-height: 1.06;
  text-shadow: 0 12px 30px rgba(0,0,0,.45);
}
.im-accent{
  width: 220px;
  height: 4px;
  border-radius: 999px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
}

/* Sayfa geçiş barı */
.im-stepnav{
  margin: 14px auto 10px;
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.im-step{
  justify-self: center;
  font-weight: 950;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  letter-spacing: .4px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.10);
  backdrop-filter: blur(8px);
}
.im-prev, .im-next{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  transition: transform .18s ease, background .18s ease;
}
.im-prev:hover, .im-next:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.09);
}
.im-prev[aria-disabled="true"], .im-next[aria-disabled="true"]{
  opacity: .45;
  pointer-events: none;
}

/* Paneller */
.im-panels{
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 6px 0 14px;
  align-items: stretch;
}

.im-panel{
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  box-shadow: 0 28px 80px rgba(0,0,0,.26);
  height: 100%;
}

.im-panel-inner{
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  min-height: 460px;
}

.im-left{ display: grid; place-items: center; }

.im-img{
  width: min(420px, 96%);
  height: auto;
  border-radius: 18px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 60px rgba(0,0,0,.25);
  filter: saturate(1.05) contrast(1.02);
}

.im-right{ padding: 6px 6px 6px 2px; }

.im-subtitle{
  font-size: 24px;
  font-weight: 950;
  margin-bottom: 12px;
  text-shadow: 0 10px 24px rgba(0,0,0,.35);
  position: relative;
  padding-bottom: 12px;
}
.im-subtitle::after{
  content:"";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 86px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
}

.im-bullets{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.im-bullets li{
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(255,255,255,.92);
  font-size: 15.2px;
  line-height: 1.65;
  font-weight: 740;
  text-shadow: 0 8px 18px rgba(0,0,0,.30);
}
.im-bullets li::before{
  content:"";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 7px;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}

/* Responsive */
@media (max-width: 980px){
  .im-main{ padding: 14px 16px; }
  .im-panels{ grid-template-columns: 1fr; }
  .im-panel-inner{ grid-template-columns: 1fr; min-height: auto; }
  .im-img{ width: min(520px, 100%); }

  .im-fixed-module{
    left: 12px;
    top: calc(var(--header-h) + 8px);
    padding: 8px 12px;
  }
  .im-module-ico{ width: 34px; height: 34px; }
  .im-module-name{ font-size: 14.5px; white-space: normal; }

  .im-fixed-back{
    right: 12px;
    top: calc(var(--header-h) + 8px);
    padding: 9px 12px;
  }

  .im-pagehead{ padding-top: 68px; }
  .im-stepnav{ width: 100%; }
}
