/* ==========================================================================
   IC Nükleer Teknoloji — Teknolojiler sayfası
   Üst içerik bloğu ve dört bilgi kutusu
   ========================================================================== */

/* --------------------------------------------------------------------------
   Üst içerik: metin ve görsel
   -------------------------------------------------------------------------- */
.tech-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(80px, 9vw, 140px) clamp(24px, 7vw, 125px) clamp(60px, 6vw, 90px);
}

.tech-kicker {
  display: block;
  color: #16815f;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tech-intro h2 {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(42px, 4.4vw, 68px);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.tech-lead {
  max-width: 600px;
  margin: 30px 0 0;
  color: #073d2f;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 350;
  letter-spacing: -0.015em;
  line-height: 1.55;
}

.tech-paragraphs {
  display: grid;
  gap: 20px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid #073d2f1f;
}

.tech-paragraphs p {
  max-width: 640px;
  margin: 0;
  color: #073d2fad;
  font-size: 15px;
  line-height: 1.75;
}

/* Görsel */
.tech-intro-image {
  position: relative;
  height: min(60vh, 560px);
  min-height: 420px;
  padding: 8px;
  overflow: hidden;
  border: 1px solid #073d2f1a;
  border-radius: 28px;
  background: #ffffffc7;
  box-shadow: 0 24px 70px #0534261a;
}

.tech-intro-image::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 21px;
  background: linear-gradient(#0000 55%, #042c2029);
  pointer-events: none;
}

.tech-intro-image img {
  width: 100%;
  height: 100%;
  border-radius: 21px;
  object-fit: cover;
  filter: saturate(0.76) contrast(0.96) brightness(1.04);
}

/* --------------------------------------------------------------------------
   Dört bilgi kutusu
   -------------------------------------------------------------------------- */
.tech-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 2.6vw, 40px);
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(24px, 7vw, 125px) clamp(80px, 9vw, 140px);
}

.tech-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid #073d2f1a;
  border-radius: 26px;
  background: #f7faf8;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s;
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px #0534261f;
}

.tech-card-image {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #eef4f1;
}

.tech-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.9s;
}

.tech-card:hover .tech-card-image img {
  filter: saturate(1);
  transform: scale(1.04);
}

/* Görsel gelmediğinde nötr yer tutucu */
.tech-card-image.is-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #eef2f0 0%, #e3eae6 100%);
}

.tech-card-image.is-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#073d2f0a 1px, #0000 1px),
    linear-gradient(90deg, #073d2f0a 1px, #0000 1px);
  background-size: 34px 34px;
}

.tech-card-placeholder {
  position: relative;
  z-index: 1;
  width: 58px;
  height: auto;
  fill: none;
  stroke: #073d2f38;
  stroke-width: 1.6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.5s;
}

.tech-card:hover .tech-card-placeholder {
  stroke: #16815f5c;
}

/* Sıra numarası */
.tech-card-no {
  position: absolute;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  min-width: 62px;
  height: 40px;
  padding: 0 18px;
  border-top-right-radius: 16px;
  background: #f7faf8;
  color: #16815f;
  font-family: var(--font-geist-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.tech-card-body {
  padding: clamp(24px, 2.4vw, 36px);
}

.tech-card-body h3 {
  margin: 0;
  font-size: clamp(22px, 1.9vw, 29px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.tech-card-body p {
  margin: 16px 0 0;
  color: #073d2f99;
  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Duyarlı davranış
   -------------------------------------------------------------------------- */
@media (max-width: 1050px) {
  .tech-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tech-intro-image {
    order: -1;
    height: 360px;
    min-height: 0;
    border-radius: 22px;
  }

  .tech-intro-image img,
  .tech-intro-image::after {
    border-radius: 16px;
  }
}

@media (max-width: 900px) {
  .tech-intro {
    padding: 70px 20px 50px;
  }

  .tech-intro h2 {
    font-size: clamp(34px, 9vw, 46px);
  }

  .tech-lead {
    font-size: 16px;
  }

  .tech-paragraphs p {
    font-size: 14px;
  }

  .tech-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px 70px;
  }

  .tech-card-image {
    height: 220px;
  }
}
