/* Genel Ayarlar & Konteyner */
.energy-layout {
  font-family: var(--font-body);
  background-color: var(--neutral-F5F5F5);
  color: var(--neutral-1A1818);
  overflow-x: hidden;
}

#sustainability-second {
    background-color: var(--red-FEECED);
    padding: clamp(20px, 3vw, 60px) 0;
    margin-bottom: 250px;
}
#sustainability-third {
    margin-bottom: clamp(120px, 6vw, 120px);
}
@media (max-width:992px) {
    #sustainability-second,
    #sustainability-third {
        margin-top: -90px;
    }
    #sustainability-third {
        margin-bottom: 120px;
        margin-top: 20px;
    }
}


.df-image{
    width:100%;
    overflow:hidden;
    border-radius:clamp(30px,6vw,120px);
}

.df-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.df-image.portrait{
    max-width:430px;
    aspect-ratio:430 / 510;
}

.df-image.landscape{
    width:100%;
    aspect-ratio:850 / 450;
}

/* =========================================
   BÖLÜM 1: VİZYON
   ========================================= */
.vision-section {
    padding: var(--section-md) 0;
}

.vision-hero {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  margin-bottom: var(--section-sm);
}

/* Sol Grafik Yapısı */
.vision-graphic {
  flex: 1;
  position: relative;
  min-height: 350px;
}

.checker-bg {
  width: 250px;
  height: 250px;
  background-image:
    linear-gradient(45deg, var(--neutral-E0E0E0) 25%, transparent 25%),
    linear-gradient(-45deg, var(--neutral-E0E0E0) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--neutral-E0E0E0) 75%),
    linear-gradient(-45deg, transparent 75%, var(--neutral-E0E0E0) 75%);
  background-size: 20px 20px;
  background-position:
    0 0,
    0 10px,
    10px -10px,
    -10px 0px;
  border-radius: var(--space-10); /* Soft UI yaklaşımı */
}

.sun-element {
  position: absolute;
  top: 40px;
  right: 10%;
  width: 120px;
  height: 120px;
}

.sun-circle {
  width: 80px;
  height: 80px;
  background-color: var(--neutral-E0E0E0);
  border: 4px solid var(--red-FEECED);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.sun-rays {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 80px;
  height: 80px;
  z-index: -1;
}

.arrow-content {
  position: absolute;
  bottom: 0;
  left: 60px;
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  max-width: 220px;
}

.curly-arrow {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.small-text {
  font-size: var(--df-text-fs-12);
  color: var(--neutral-666666);
  line-height: var(--lh-snug);
  margin-top: var(--space-4);
}

/* Sağ Başlık */
.vision-text {
  flex: 1.2;
}

.main-title {
  font-family: var(--font-display);
  font-size: var(--df-text-fs-44);
  font-weight: var(--fw-semibold);
  color: var(--neutral-1A1818);
  line-height: var(--lh-tight);
}

/* Timeline & Hedefler Kartı */
.vision-timeline-area {
  display: flex;
  align-items: flex-end;
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.timeline-wrapper {
  flex: 1;
  position: relative;
  padding-bottom: var(--space-6);
}

.timeline-horizontal-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-top: 1px dotted var(--neutral-A3A3A3);
}

.timeline-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 0;
}

.step-item {
  position: relative;
  width: 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.drop-line {
  width: 1px;
  border-left: 1px dotted var(--neutral-A3A3A3);
  height: 40px; /* Standart düşüş */
}
.line-md {
  height: 60px;
}
.line-lg {
  height: 80px;
}
.line-xl {
  height: 100px;
}

.step-dot {
  width: 12px;
  height: 12px;
  background-color: var(--red-D11019);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  box-shadow: 0 0 0 4px var(--red-FEECED); /* Soft glow */
}

.step-item p {
  font-size: var(--df-text-fs-12);
  color: var(--neutral-4E4E4E);
  line-height: var(--lh-snug);
}

.target-card {
  width: 280px;
  background-color: var(--neutral-292929);
  color: var(--neutral-FFFFFF);
  border-radius: var(--space-12);
  padding: var(--space-10) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

/* Hedef kartının içindeki ince çizgili arka plan deseni için */
.target-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 10px
  );
  opacity: 0.5;
}

.target-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
  z-index: 1;
}

.target-title {
  font-family: var(--font-display);
  font-size: var(--df-text-fs-28);
  font-style: italic;
  font-weight: var(--fw-regular);
  z-index: 1;
}

/* =========================================
   BÖLÜM 2: ENERJİ DETAYLARI
   ========================================= */
.energy-details-section {
  padding: var(--section-sm) 0 var(--section-md);
}

.energy-glass-card {
  background: linear-gradient(
    135deg,
    var(--red-5F070B) 0%,
    var(--neutral-1A1818) 100%
  );
  border-radius: var(--space-16);
  padding: var(--space-16) var(--space-8);
  position: relative;
  color: var(--neutral-FFFFFF);
  box-shadow: var(--shadow-lg);
}

.center-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: radial-gradient(
    circle at center,
    var(--neutral-FFFFFF) 50%,
    var(--red-FEECED) 100%
  );
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--neutral-1A1818);
  font-family: var(--font-display);
  font-size: var(--df-text-fs-22);
  line-height: var(--lh-tight);
  z-index: 10;
  box-shadow:
    0 0 0 10px rgba(0, 0, 0, 0.2),
    var(--shadow-md);
}

.energy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

/* İç Dotted Çizgiler */
.energy-grid::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px dotted rgba(255, 255, 255, 0.2);
}
.energy-grid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dotted rgba(255, 255, 255, 0.2);
}

.energy-cell {
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Metin Hizalamaları */
.text-right {
  text-align: right;
  padding-right: 120px;
}
.text-left {
  text-align: left;
  padding-left: 120px;
}
.pad-br {
  padding-bottom: var(--space-10);
}
.pad-bl {
  padding-bottom: var(--space-10);
}
.pad-tr {
  padding-top: var(--space-10);
}
.pad-tl {
  padding-top: var(--space-10);
}

.cell-title {
  font-family: var(--font-display);
  font-size: var(--df-text-fs-28);
  font-style: italic;
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-3);
  color: var(--neutral-F5F5F5);
}

.cell-desc {
  font-size: var(--df-text-fs-14);
  line-height: var(--lh-relaxed);
  color: var(--neutral-E0E0E0);
}

/* =========================================
   RESPONSIVE YAPI (Mobil Uyum)
   ========================================= */
@media (max-width: 991px) {
  /* Bölüm 1 Mobil */
  .vision-hero {
    flex-direction: column;
    text-align: center;
  }

  .sun-element {
    right: 0;
  }
  .arrow-content {
    left: 0;
    right: 0;
    justify-content: center;
    margin-top: var(--space-4);
  }

  .vision-timeline-area {
    flex-direction: column;
    align-items: center;
  }

  .timeline-horizontal-line {
    display: none;
  }

  .timeline-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
    border-left: 1px dotted var(--neutral-A3A3A3);
    padding-left: var(--space-6);
    margin-left: var(--space-4);
  }

  .step-item {
    width: 100%;
    flex-direction: row;
    text-align: left;
    gap: var(--space-4);
  }

  .drop-line {
    display: none;
  }

  .step-dot {
    position: absolute;
    left: calc(var(--space-6) * -1 - 6px); /* Çizginin üzerine al */
    margin: 0;
  }

  /* Bölüm 2 Mobil */
  .energy-glass-card {
    padding: var(--space-8) var(--space-4);
    border-radius: var(--space-8);
  }

  .energy-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .energy-grid::before,
  .energy-grid::after {
    display: none;
  }

  .center-badge {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin: 0 auto var(--space-8);
    box-shadow: var(--shadow-md);
  }

  .energy-cell {
    padding: 0;
    text-align: center;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
    padding-bottom: var(--space-6);
  }

  .energy-cell:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}



/* ==========================================================================
   Development Goals Page Css
   ========================================================================== */

.dg-second-wrapper {
    background: url("../../img/development-goals-bg.png") no-repeat center/cover;
    width: 100%;
    height: 100%;
}

.dg-top-wave{
    margin-bottom:-160px;
}
.dg-bottom-wave{
    margin-top:-120px;
}

.dg-white-card {
    width: clamp(200px, 25vw, 310px);
    height: clamp(200px, 25vw, 310px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--neutral-FFFFFF);
    box-shadow: 0px -7px 56px #00000029;
    border-radius: clamp(60px,8.5vw,120px);
}
.dg-white-card svg{
    width: 60%;
}

.mini-icons-wrapper .black-ring.mini{
    width: 100%;
    min-width: initial;
    max-width: 160px;
    height: initial;
    aspect-ratio: 1;
    margin-bottom:0;
}
.mini-icons-wrapper .black-ring.mini svg{
    height:50%;
    width:50%;
}

.icon-glass-ring {
    transform: translateY(var(--y,0));
}

@media (max-width:991.98px) {
    .dg-top-wave{
        height:200px;
    }

    .icon-glass-ring {
        transform: none;
    }
    .mini-icons-wrapper .black-ring.mini {
        max-width: 100px;
    }
}
@media (max-width:768.98px) {
    .dg-top-wave{
        height:300px;
    }
}

/*Section 3 css*/

.sdg {
    position: relative;
    overflow: hidden;
    background: var(--neutral-FFFFFF);
}

.sdg-card {
    height: 100%;
    padding: clamp(80px,5vw,110px) clamp(30px,5vw,110px);
    background: var(--neutral-4E4E4E);
    border-radius: clamp(60px,8.5vw,120px);
    color: var(--neutral-FFFFFF);
    gap:clamp(20px,2vw,30px);
}

@media (min-width:992px){
    .lg-middle-card {
        transform: translateY(80px);
    }

    .lg-right-card {
        transform: translateY(150px);
    }
}
@media (min-width:576px) and (max-width:991.98px) {
    .md-right-card {
        transform: translateY(80px);
    }
}
@media (max-width:768px) {
    .sdg-card__icon svg {
        width: 70%;
        height: 100%;
    }
}
@media (max-width:576px) {
    .sdg-card__icon svg {
        width: 40%;
        height: 100%;
    }
    .sdg-card {
        padding: clamp(40px,5vw,110px) clamp(40px,5vw,110px);
    }
}



.sdg-card__desc {
    color: var(--neutral-FFFFFF);
    font-weight:var(--fw-light);
}

.sdg-cta__text {
    font-size: var(--df-text-fs-44);
    line-height: .9;
    color: var(--neutral-1A1818);
}

    .sdg-cta__text strong {
        font-weight: var(--fw-bold);
    }

.sdg-cta__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: clamp(14px,1.4vw,22px);
    font-weight: 600;
    color: var(--red-D11019);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s ease,gap .2s ease;
}

    .sdg-cta__link:hover {
        color: var(--red-BF0D16);
        gap: 12px;
    }

    .sdg-cta__link svg {
        width: 16px;
        height: 16px;
        flex: none;
    }

@media (min-width:992px) {

    .sdg-col--2 {
        margin-top: clamp(24px,3vw,48px);
    }
    .sdg-col--3 {
        margin-top: clamp(48px,6vw,92px);
    }
}

@media (prefers-reduced-motion:reduce) {
    .sdg-cta__link {
        transition: none;
    }
}