/* ==========================================================================
   IC Nükleer Teknoloji — Kurumsal sayfası
   Görsel ve metnin dönüşümlü yerleştiği içerik blokları
   ========================================================================== */

.corp-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(440px, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(38px, 5vw, 86px);
  min-height: 760px;
  padding: clamp(90px, 9vw, 150px) clamp(24px, 7vw, 125px);
  border-bottom: 1px solid #073d2f1f;
  background: #fff;
}

/* Misyon bloğunda görsel sağa geçer, zemin açılır */
.corp-section.mission {
  background: #f6faf8;
}

.corp-section.mission .corp-section-image {
  order: 2;
}

.corp-section.mission .corp-section-content {
  order: 1;
  padding-right: clamp(10px, 2.5vw, 42px);
  padding-left: 0;
}

/* --------------------------------------------------------------------------
   Görsel
   -------------------------------------------------------------------------- */
.corp-section-image {
  position: relative;
  height: min(64vh, 610px);
  min-height: 490px;
  padding: 8px;
  overflow: hidden;
  border: 1px solid #073d2f1a;
  border-radius: 28px;
  background: #ffffffc7;
  box-shadow: 0 24px 70px #0534261a;
}

.corp-section-image::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 21px;
  background: linear-gradient(#0000 55%, #042c2029);
  pointer-events: none;
}

.corp-section-image img {
  width: 100%;
  height: 100%;
  border-radius: 21px;
  object-fit: cover;
  filter: saturate(0.76) contrast(0.96) brightness(1.04);
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.corp-section:hover .corp-section-image img {
  transform: scale(1.025);
}

/* --------------------------------------------------------------------------
   Metin
   -------------------------------------------------------------------------- */
.corp-section-content {
  padding: 20px 0 20px clamp(10px, 2.5vw, 42px);
}

.corp-section-title > p {
  margin: 0 0 25px;
  color: #16815f;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.corp-section-title h2 {
  margin: 0;
  font-size: clamp(55px, 5.4vw, 88px);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.corp-section-copy {
  display: grid;
  gap: 28px;
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid #073d2f1f;
}

.corp-section-copy p {
  margin: 0;
  color: #073d2fad;
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.72;
}

/* --------------------------------------------------------------------------
   IC Holding — grup yapısı ve yönlendirme
   -------------------------------------------------------------------------- */
.corp-holding {
  padding: clamp(50px, 6vw, 90px) clamp(24px, 7vw, 125px);
  border-bottom: 1px solid #073d2f1f;
  background: #fff;
}

.corp-holding-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(36px, 4.5vw, 70px) clamp(30px, 5vw, 80px);
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 0, #16896452, #0000 42%),
    linear-gradient(135deg, #063c2e, #031f18 78%);
  color: #fff;
}

/* Sağ alttaki halka — footer ile aynı dil */
.corp-holding-card::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -190px;
  width: 380px;
  aspect-ratio: 1;
  border: 1px solid #88e1b91a;
  border-radius: 50%;
  box-shadow: 0 0 0 60px #88e1b906, 0 0 0 120px #88e1b904;
  pointer-events: none;
}

.corp-holding-title > p {
  margin: 0 0 18px;
  color: #7fd6ae;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.corp-holding-title h2 {
  margin: 0;
  font-size: clamp(44px, 4.4vw, 72px);
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

/* Altın logo koyu yeşil zeminde; sağındaki metinle ince bir çizgiyle ayrılır */
.corp-holding-title {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
}

.corp-holding-logo img {
  display: block;
  width: clamp(120px, 11vw, 170px);
  height: auto;
  filter: drop-shadow(0 10px 24px #00000033);
}

@media (min-width: 901px) {
  .corp-holding-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .corp-holding-title {
    padding-right: clamp(30px, 5vw, 90px);
    border-right: 1px solid #ffffff1f;
  }
}

.corp-holding-copy {
  position: relative;
  z-index: 1;
}

.corp-holding-copy p {
  max-width: 640px;
  margin: 0;
  color: #ffffffb3;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.72;
}

.corp-holding-copy a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  margin-top: 30px;
  padding: 0 8px 0 22px;
  border: 1px solid #ffffff38;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  transition: background 0.3s, border-color 0.3s;
}

.corp-holding-copy a i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #3bc68b;
  color: #03281d;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.corp-holding-copy a svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
}

.corp-holding-copy a:hover {
  border-color: #ffffff80;
  background: #ffffff12;
}

.corp-holding-copy a:hover i {
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Ortaklık ekosistemi ve yetkinlikler
   -------------------------------------------------------------------------- */
.eco-section {
  padding: clamp(90px, 9vw, 150px) 0;
  background: #f6faf8;
}

.eco-wrap {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(24px, 7vw, 125px);
}

.eco-head {
  max-width: 820px;
  margin-bottom: clamp(50px, 5vw, 80px);
}

.eco-head > p {
  margin: 0 0 25px;
  color: #16815f;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eco-head h2 {
  margin: 0;
  font-size: clamp(46px, 4.8vw, 78px);
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.eco-head h2 em {
  display: block;
  color: #16815f;
  font-style: normal;
}

/* Üç sütun: paydaşlar — merkez — yetkinlikler */
.eco-diagram {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(220px, 0.9fr) minmax(250px, 1fr);
  align-items: center;
  gap: clamp(50px, 7vw, 130px);
}

.eco-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.eco-line {
  fill: none;
  stroke: #0b765747;
  stroke-width: 1.3px;
  transition:
    stroke-dashoffset 1.3s cubic-bezier(0.45, 0, 0.2, 1) var(--eco-delay, 0s),
    stroke 0.3s,
    stroke-width 0.3s,
    opacity 0.3s;
}

.eco-arrow {
  fill: none;
  stroke: #0b765780;
  stroke-width: 1.6px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eco-dot {
  fill: #0b7657;
  opacity: 0;
  transition: opacity 0.4s 0.2s;
}

.is-visible .eco-dot {
  opacity: 0.55;
}

/* Çizgi üzerinde akan ışık noktası */
.eco-pulse {
  fill: #3bc68b;
  opacity: 0;
  offset-rotate: 0deg;
  filter: drop-shadow(0 0 4px #3bc68b);
}

.is-visible .eco-pulse {
  animation: eco-flow 3.4s cubic-bezier(0.5, 0, 0.5, 1) var(--eco-pulse-delay, 1s) infinite;
}

@keyframes eco-flow {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

/* Bir öğenin üzerine gelindiğinde yalnızca onun çizgisi öne çıkar */
.is-focusing .eco-line {
  opacity: 0.35;
}

.is-focusing .eco-line.is-active {
  stroke: #0b7657;
  stroke-width: 2px;
  opacity: 1;
}

.eco-col {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.eco-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 10px 20px 10px 10px;
  border: 1px solid #073d2f17;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px #05342608;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.eco-item:hover {
  border-color: #16815f4d;
  box-shadow: 0 18px 40px #0534261a;
}

.eco-partners .eco-item:hover {
  transform: translateX(4px);
}

.eco-competencies .eco-item:hover {
  transform: translateX(-4px);
}

.eco-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #eef6f2;
  color: #0b7657;
  transition: background 0.3s, color 0.3s;
}

.eco-item:hover .eco-icon {
  background: #0b7657;
  color: #fff;
}

.eco-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eco-label {
  color: #0a3a2c;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.eco-partners .eco-label {
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Merkez */
.eco-hub {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(100%, 280px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.eco-hub-ring {
  position: absolute;
  inset: 0;
  border: 1px solid #0b765733;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 30px 70px #0534261f;
}

/* Dış halka yavaşça döner */
.eco-hub-ring.is-outer {
  inset: -22px;
  border-style: dashed;
  border-color: #0b765729;
  background: none;
  box-shadow: none;
  animation: eco-hub-spin 40s linear infinite;
}

@keyframes eco-hub-spin {
  to {
    transform: rotate(360deg);
  }
}

.eco-hub-core {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 20px;
  text-align: center;
}

/* Merkezdeki el sıkışma çizimi — referans görseldeki gibi belirgin */
.eco-hub-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 168px;
  margin-bottom: 8px;
}

/* Çizimin arkasında yumuşak nane rengi hale */
.eco-hub-icon::before {
  content: '';
  position: absolute;
  inset: -6px 14px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #dff1e8, #dff1e800);
}

.eco-hub-icon img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 14px #0b4a3a2e);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.eco-diagram.is-focusing .eco-hub-icon img {
  transform: scale(1.05);
}

.eco-hub-core strong {
  color: #0a3a2c;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eco-hub-core > span:last-child {
  color: #16815f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* INL iş birliği notu */
.eco-note {
  position: relative;
  max-width: 980px;
  margin: clamp(56px, 6vw, 90px) 0 0;
  padding: 30px 0 0 34px;
  border-top: 1px solid #073d2f1f;
  color: #073d2fb3;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.75;
}

.eco-note::before {
  content: '';
  position: absolute;
  top: 43px;
  left: 0;
  width: 14px;
  height: 1px;
  background: #16815f;
}

@media (prefers-reduced-motion: reduce) {
  .eco-hub-ring.is-outer {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .eco-diagram {
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.7fr) minmax(220px, 1fr);
    gap: 50px;
  }

  .eco-label {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .corp-holding {
    padding: 40px 20px;
  }

  .corp-holding-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 36px 26px;
    border-radius: 22px;
  }

  .eco-section {
    padding: 70px 0;
  }

  .eco-wrap {
    padding: 0 20px;
  }

  .eco-head h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  /* Dar ekranda çizgiler çizilmez; sütunlar merkezin altında ve üstünde */
  .eco-diagram {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .eco-hub {
    width: 240px;
  }

  .eco-hub-icon {
    width: 136px;
  }

  .eco-hub::before,
  .eco-hub::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 1px;
    height: 22px;
    background: #0b765759;
  }

  .eco-hub::before {
    bottom: calc(100% + 22px);
  }

  .eco-hub::after {
    top: calc(100% + 22px);
  }

  .eco-partners .eco-item:hover,
  .eco-competencies .eco-item:hover {
    transform: none;
  }

  .eco-note {
    padding-left: 0;
  }

  .eco-note::before {
    display: none;
  }
}


/* --------------------------------------------------------------------------
   Duyarlı davranış — içerik blokları
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .corp-section,
  .corp-section.mission {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
    padding: 70px 20px 85px;
  }

  .corp-section-image,
  .corp-section.mission .corp-section-image {
    order: initial;
    grid-area: 1 / 1;
    height: 390px;
    min-height: 0;
    border-radius: 23px;
  }

  .corp-section-image img,
  .corp-section-image::after {
    border-radius: 16px;
  }

  .corp-section-content,
  .corp-section.mission .corp-section-content {
    order: initial;
    grid-area: 2 / 1;
    padding: 30px 0 0;
  }

  .corp-section-title h2 {
    font-size: clamp(47px, 14vw, 65px);
  }

  .corp-section-title > p {
    margin-bottom: 18px;
  }

  .corp-section-copy {
    margin-top: 32px;
    padding-top: 28px;
  }

  .corp-section-copy p {
    font-size: 14px;
  }
}
