/**
 * İZ Kadıköy İnşaat - Scroll Narrative Scene Styles
 *
 * @package IZKadikoyInsaat
 */

/* ==========================================================================
   1. SAHNE KAPSAYICI VE GENEL PANELLER
   ========================================================================== */
.iz-narrative-container {
  position: relative;
  width: 100%;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.iz-scene-panel {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vh, 90px) clamp(24px, 5vw, 80px);
  border-bottom: 1px solid var(--border-subtle);
}

.iz-panel-header {
  margin-bottom: clamp(30px, 5vh, 60px);
}

.iz-panel-kicker {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-bronze);
  margin-bottom: 10px;
}

.iz-panel-title {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  max-width: 800px;
}

.iz-panel-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.iz-panel-subtitle {
  max-width: 440px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   2. SAHNE 1: HERO BÖLÜMÜ (GÖRSELDEKİ BİREBİR TASARIM)
   ========================================================================== */
.iz-hero-panel {
  min-height: 100vh;
  padding: 0 !important;
  margin: 0 !important;
  background-color: #11141b;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.iz-hero-exact-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  width: 100%;
  height: 100vh;
  align-items: stretch;
}

/* Sol Kolon: Tipografi ve Aksiyon */
.iz-hero-content-col {
  padding: clamp(40px, 8vh, 120px) clamp(30px, 4.5vw, 85px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #11141b;
  position: relative;
  z-index: 2;
}

/* Üst Kicker ve Sağa Uzanan Altın Mimari Çizgi */
.iz-hero-tag-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 34px;
}

.iz-hero-brand-kicker {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #9299a6;
  white-space: nowrap;
}

.iz-hero-lead-axis {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #c5a880 0%, rgba(197, 168, 128, 0.4) 60%, transparent 100%);
}

/* Büyük Başlık */
.iz-hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 3.8vw, 4.2rem);
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: -0.025em;
}

.iz-hero-line-1 {
  display: block;
  color: #f0f2f5;
}

.iz-hero-line-2 {
  display: block;
  color: #c5a880;
  margin-top: 6px;
}

/* Açıklama Paragrafı */
.iz-hero-description {
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.75;
  color: #9da5b4;
  max-width: 500px;
  margin-bottom: 45px;
}

/* Buton ve Link Grubu */
.iz-hero-actions-group {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.iz-hero-outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  border: 1px solid #c5a880;
  background-color: transparent;
  color: #f0f2f5;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.iz-hero-outline-btn .iz-btn-icon {
  color: #c5a880;
  font-size: 0.95rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.iz-hero-outline-btn:hover {
  background-color: #c5a880;
  color: #0c0e12;
}

.iz-hero-outline-btn:hover .iz-btn-icon {
  color: #0c0e12;
  transform: translate(2px, -2px);
}

.iz-hero-actions-divider {
  width: 1px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.15);
}

.iz-hero-text-link {
  font-size: 0.95rem;
  font-weight: 400;
  color: #9da5b4;
  transition: color var(--transition-fast);
}

.iz-hero-text-link:hover {
  color: #c5a880;
}

/* Sağ Kolon: Tam Boy Mimari Görsel */
.iz-hero-visual-col {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #090b0e;
}

.iz-hero-fullscreen-media {
  width: 100%;
  height: 100%;
  position: relative;
}

.iz-hero-tall-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ==========================================================================
   3. SAHNE 2: HİZMETLER (2x2 MİMARİ BLUEPRINT DÜZENİ)
   ========================================================================== */
.iz-services-panel {
  background-color: #0b0d13;
  padding: clamp(35px, 6vh, 75px) clamp(30px, 4.5vw, 85px) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.iz-services-header-wrap {
  position: relative;
  margin-bottom: clamp(25px, 4vh, 45px);
}

.iz-blueprint-cross {
  position: absolute;
  font-family: monospace;
  font-size: 1.1rem;
  color: rgba(197, 168, 128, 0.4);
  line-height: 1;
  user-select: none;
}

.iz-cross-tl {
  top: -15px;
  left: -20px;
}

.iz-cross-tr {
  top: -15px;
  right: 0;
}

.iz-services-main-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.4vw, 3.5rem);
  font-weight: 600;
  color: #f0f2f5;
  line-height: 1.18;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.iz-services-sub-heading {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: #8b92a2;
  font-weight: 400;
}

/* 2x2 Blueprint Izgara */
.iz-blueprint-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  width: 100%;
}

.iz-blueprint-card {
  background-color: #0e1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  padding: clamp(22px, 3vh, 32px) clamp(20px, 2.5vw, 32px);
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  gap: 15px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
  min-height: 250px;
}

.iz-blueprint-card:hover {
  border-color: rgba(197, 168, 128, 0.35);
  background-color: #12151e;
  transform: translateY(-3px);
}

.iz-card-text-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  z-index: 2;
}

.iz-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  font-weight: 600;
  line-height: 1.25;
  color: #f0f2f5;
  margin-bottom: 12px;
}

.iz-card-desc {
  font-size: 0.84rem;
  line-height: 1.6;
  color: #8b92a2;
  margin-bottom: 20px;
}

.iz-card-arrow {
  display: inline-flex;
  align-items: center;
  color: #c5a880;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.25s ease, color 0.25s ease;
  width: fit-content;
}

.iz-blueprint-card:hover .iz-card-arrow {
  transform: translateX(8px);
  color: #f0f2f5;
}

/* Teknik Çizim Alanı */
.iz-card-drawing-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  width: 100%;
}

.iz-cad-svg {
  width: 100%;
  height: auto;
  max-height: 220px;
  display: block;
}

.iz-draw-path {
  transition: stroke 0.3s ease;
}

.iz-service-card-meta {
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.iz-service-tag {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--accent-bronze);
}

/* ==========================================================================
   4. SAHNE 3: ÖNE ÇIKAN PROJELER (GÖRSELDEKİ BİREBİR 4'LÜ STRIP VE ALT TEKNİK ÇİZİM)
   ========================================================================== */
.iz-projects-panel {
  background-color: #0b0d13;
  padding: clamp(35px, 5.5vh, 65px) clamp(30px, 4.5vw, 85px) 20px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  height: 100vh;
}

/* Üst Başlık ve Sağdaki İnce Buton Satırı */
.iz-projects-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(20px, 3vh, 36px);
  width: 100%;
  flex-wrap: wrap;
  gap: 20px;
}

.iz-projects-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.4vw, 3.5rem);
  font-weight: 600;
  color: #f0f2f5;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}

.iz-projects-sub-desc {
  font-size: clamp(0.92rem, 1.05vw, 1.05rem);
  color: #8b92a2;
  font-weight: 400;
}

.iz-projects-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border: 1px solid rgba(197, 168, 128, 0.7);
  background-color: transparent;
  color: #f0f2f5;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.iz-projects-view-all-btn .iz-btn-arrow-up {
  color: #c5a880;
  font-size: 0.95rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.iz-projects-view-all-btn:hover {
  background-color: #c5a880;
  color: #0c0e12;
  border-color: #c5a880;
}

.iz-projects-view-all-btn:hover .iz-btn-arrow-up {
  color: #0c0e12;
  transform: translate(2px, -2px);
}

/* 4'lü Yatay Proje Kartları Izgarası */
.iz-projects-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  width: 100%;
}

.iz-project-strip-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: transparent;
  border-radius: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.iz-strip-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  height: 100%;
}

.iz-strip-card-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #12151e;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.iz-strip-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.iz-project-strip-card:hover .iz-strip-card-media img {
  transform: scale(1.05);
}

.iz-strip-card-content {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
}

.iz-strip-tag {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #c5a880;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.iz-strip-title {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.22vw, 1.25rem);
  font-weight: 500;
  color: #f0f2f5;
  line-height: 1.35;
  margin: 0 0 7px 0;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.iz-project-strip-card:hover .iz-strip-title {
  color: #c5a880;
}

.iz-strip-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: #7b8393;
  font-weight: 400;
}

.iz-loc-pin {
  font-size: 0.82rem;
  opacity: 0.85;
}

/* Alttaki Whitespace Alanı ve Teknik Kentsel CAD Çizimi */
.iz-skyline-drawing-wrap {
  width: 100%;
  height: clamp(70px, 11vh, 120px);
  margin-top: clamp(15px, 2.5vh, 35px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
  pointer-events: none;
}

.iz-skyline-svg {
  width: 100%;
  height: 100%;
  max-height: 110px;
  display: block;
}

.iz-draw-skyline {
  transition: stroke 0.3s ease;
}

/* ==========================================================================
   5. MOBİL VE TABLET UYARLAMASI (<= 1023px)
   (Doğal dikey akış, masaüstü sahnesini zorla küçültmeden ferah kartlar)
   ========================================================================== */
@media (max-width: 1023px) {
  .iz-hero-panel {
    min-height: auto;
    padding: 0;
  }

  .iz-hero-exact-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .iz-hero-content-col {
    padding: 45px 24px;
  }

  .iz-hero-visual-col {
    height: 380px;
  }

  .iz-services-panel,
  .iz-projects-panel {
    min-height: auto;
    height: auto;
    padding: 50px 20px !important;
  }

  .iz-services-header-wrap {
    margin-bottom: 24px;
  }

  .iz-services-main-heading {
    font-size: clamp(1.8rem, 5.5vw, 2.4rem);
    margin-bottom: 6px;
  }

  .iz-services-sub-heading {
    font-size: 0.9rem;
  }

  /* Hizmet Kartları — Mobilde Çizimler Kaldırıldı, Kartlar Optimize Edildi */
  .iz-blueprint-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .iz-blueprint-card {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding: 22px 20px !important;
    gap: 0 !important;
  }

  .iz-card-drawing-side {
    display: none !important;
  }

  .iz-card-text-side {
    height: auto !important;
    display: flex;
    flex-direction: column;
  }

  .iz-card-title {
    font-size: 1.2rem !important;
    margin-bottom: 8px !important;
    line-height: 1.25 !important;
  }

  .iz-card-desc {
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
    margin-bottom: 14px !important;
    color: #8e96a5 !important;
  }

  .iz-card-arrow {
    font-size: 1.2rem !important;
    margin-top: 4px;
  }

  .iz-projects-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .iz-skyline-drawing-wrap {
    height: 80px;
    margin-top: 30px;
  }
}

@media (max-width: 640px) {
  .iz-projects-strip-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .iz-strip-card-content {
    padding-top: 10px;
  }

  .iz-strip-tag {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
  }

  .iz-strip-title {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 5px;
  }

  .iz-strip-loc {
    font-size: 0.76rem;
  }

  .iz-projects-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
