/* ==========================================================================
   HAKKIMIZDA SAYFASI - AYDINLIK KURUMSAL TEMA (4'LÜ ÜRÜN VE YENİ GİFLER)
   ========================================================================== */

/* --- GENEL BİLEŞENLER (BALONCUK BAŞLIKLAR) --- */
.hk-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a4b9e;
  /* Lacivert yazı */
  background-color: #eef2f6;
  /* Açık mavi/gri baloncuk arka planı */
  padding: 8px 20px;
  border-radius: 999px;
  /* Tam yuvarlak (hap/baloncuk) şekli */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  width: fit-content;
}

/* Eski kırmızı çizgiyi iptal ettik */
.hk-eyebrow::before {
  display: none;
}

/* --- 1. GİRİŞ (HERO) BÖLÜMÜ --- */
.hk-hero {
  padding: 60px 0;
  background: #ffffff;
}

.hk-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hk-hero-title {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hk-hero-title span {
  color: var(--color-red, #c5221f);
}

.hk-hero-desc {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hk-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hk-druse-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.hk-druse-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748b;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.hk-druse-img {
  width: 100%;
  aspect-ratio: 1.1;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hk-druse-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.1);
}

/* --- 2. SAYAÇLAR (BİR BAKIŞTA) --- */
.hk-stats-wrapper {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.hk-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.hk-stat-box {
  padding: 32px 20px;
  border-right: 1px solid #e2e8f0;
}

.hk-stat-box:last-child {
  border-right: none;
}

.hk-stat-num {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.hk-stat-num span {
  color: var(--color-red, #c5221f);
}

.hk-stat-num small {
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
}

.hk-stat-desc {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 8px;
  line-height: 1.4;
}

/* --- 3. BİZ KİMİZ (KAYAN RESİM ÖZELLİĞİ İLE) --- */
.about-hero-section {
  position: relative;
  padding: 100px 0;
  background-color: #f8fafc;
  overflow: hidden;
}

.about-grid-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: flex-start;
}

.about-left-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 120px;
}

.about-brand-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-red, #c5221f);
  background: rgba(197, 34, 31, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}

.about-visual-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 43px rgba(15, 23, 42, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-visual-card img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  object-fit: contain;
}

.about-right-col {
  width: 100%;
}

.about-text-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 50px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 43px rgba(15, 23, 42, 0.05);
}

.card-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-red, #c5221f);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  text-align: left;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 15px;
}

.about-text-body p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #334155;
  margin-bottom: 22px;
  text-align: justify;
}

/* --- 4. ÜRÜNLER (4'LÜ GRID) --- */
.hk-products {
  padding: 100px 0;
  background: #ffffff;
}

.hk-sec-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hk-sec-title span {
  color: var(--color-red, #c5221f);
}

.hk-sec-desc {
  font-size: 1.1rem;
  color: #475569;
  margin-bottom: 48px;
}

.hk-prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hk-prod-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hk-prod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
}

.hk-prod-badge {
  background: var(--color-red, #c5221f);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 20px;
}

.hk-prod-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.hk-prod-element {
  width: 60px;
  height: 60px;
  border: 2px solid #0f172a;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}

.hk-prod-element .sym {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.hk-prod-element .z {
  font-size: 0.65rem;
  font-weight: 600;
  align-self: flex-start;
  padding-left: 6px;
  margin-bottom: 2px;
}

.hk-prod-name h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  font-family: monospace;
}

.hk-prod-name p {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
}

.hk-prod-gif {
  width: 100%;
  aspect-ratio: 1.25;
  background: transparent;
  border: none;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hk-prod-gif img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Donmayı engellemek için ekran kartını (GPU) zorla çalıştıran kodlar: */
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.hk-prod-facts {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px dashed #cbd5e1;
}

.hk-prod-facts dt {
  color: #64748b;
}

.hk-prod-facts dd {
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: right;
}

.hk-prod-dot {
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  border: 1px solid rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.hk-prod-uses {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.hk-prod-uses span {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
}

/* --- 5. MİSYON VE VİZYON (KÖŞEDEN KÖŞEYE GİF VE ŞEFFAF GÖRÜNÜM) --- */
.hk-mission {
  padding: 100px 0;
  background: #f8fafc;
}
.hk-mv-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 43px rgba(15, 23, 42, 0.03);
}

/* 1. Üst Animasyon (Çözeltiden Kristale) - KUTUYU KOMPLE KAPLAR */
.hk-mv-top-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  background-color: #f4f7fa; /* Gönderdiğin resimdeki açık mavi/gri ton */
  padding: 0; /* İç boşlukları tamamen sildik, GIF köşeden köşeye değecek */
  overflow: hidden;
}
.hk-mv-top-visual img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply; /* SİHİR BURADA: GIF'in kendi arka planını silip şeffaf yapar */
  transform: scale(1.02); /* Kenarlarda milimetrik beyazlık kalırsa onu taşırarak gizler */
}

/* Misyon (Orta Kısım) */
.hk-mis-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border-bottom: 1px solid #e2e8f0;
}
.hk-mis-left {
  padding: 60px 48px;
  background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%);
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hk-mis-left h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.5;
}
.hk-mis-right {
  padding: 50px 48px;
}
.hk-mis-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hk-mis-item {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #e2e8f0;
  padding: 24px 0;
}
.hk-mis-item:first-child { padding-top: 0; }
.hk-mis-item:last-child { border-bottom: none; padding-bottom: 0; }
.hk-mis-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a4b9e;
  font-family: monospace;
}
.hk-mis-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}
.hk-mis-content p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* 2. Vizyon (Alt Kısım) ve Altıgen Kristal */
.hk-vis-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}
.hk-vis-left {
  padding: 0; /* Etraftaki tüm boşlukları sildik */
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; /* Yazıyı en alta yaslar */
  background: #f4f7fa; /* GIF'in kendi arka plan rengiyle aynı ton */
  overflow: hidden;
  position: relative; /* Resmi tam oturtmak için referans noktası */
  min-height: 450px; /* Kutunun her zaman dolgun görünmesini sağlar */
}
.hk-vis-left img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Resmi kutunun her köşesine tam yayar (boşluk bırakmaz) */
  mix-blend-mode: multiply; /* Arka planı eritip bütünleştirir */
  transform: scale(1.05); /* Kenarlardaki olası milimetrik çizgileri taşırıp gizler */
  z-index: 1;
}
.hk-vis-left p {
  color: #64748b;
  font-size: 0.9rem;
  text-align: center;
  position: relative;
  z-index: 2; /* Yazının resmin üstünde kalmasını sağlar */
  width: 100%;
  margin: 0;
  padding: 30px 20px 20px 20px;
  /* Alt kısma yazının okunması için hafif, şık bir renk geçişi (gradient) ekler */
  background: linear-gradient(to top, #f4f7fa 20%, transparent 100%); 
}

.hk-vis-right {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hk-vis-right h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hk-vis-right h3 span {
  color: var(--color-red, #c5221f);
}
.hk-vis-right > p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hk-vis-bullets {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hk-vis-bullet {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #e2e8f0;
}
.hk-vis-bullet:last-child { border-bottom: none; padding-bottom: 0; }
.hk-vis-bullet svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--color-red, #c5221f);
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}
.hk-vis-bullet b {
  color: #0f172a;
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}
.hk-vis-bullet span {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
  .hk-mis-grid, .hk-vis-grid {
    grid-template-columns: 1fr;
  }
  .hk-mis-left, .hk-mis-right, .hk-vis-left, .hk-vis-right {
    padding: 32px 24px;
  }
  .hk-vis-left {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
}

/* --- 6. CTA (TEKLİF) BÖLÜMÜ --- */
.hk-cta {
  padding: 40px 0 100px 0;
  background: #ffffff;
}

.hk-cta-banner {
  background: linear-gradient(143deg, #a5b4fc 0%, #fda4af 100%);
  border-radius: 32px;
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  border: none;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.hk-cta-left h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hk-cta-left p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hk-cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hk-cta-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hk-cta-contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 500;
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 1200px) {
  .hk-prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {

  .hk-hero-grid,
  .about-grid-layout,
  .hk-mis-grid,
  .hk-vis-grid,
  .hk-cta-banner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-left-col {
    position: static;
  }

  .hk-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hk-stat-box {
    border-bottom: 1px solid #e2e8f0;
  }

  .hk-stat-box:nth-child(even) {
    border-right: none;
  }

  .hk-stat-box:last-child {
    grid-column: 1 / -1;
    border-bottom: none;
    text-align: center;
  }

  .hk-mis-left,
  .hk-vis-left {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 32px 24px;
  }

  .hk-mis-right,
  .hk-vis-right,
  .about-text-card {
    padding: 32px 24px;
  }

  .hk-mv-top-visual {
    padding: 30px 20px 0 20px;
  }

  .hk-cta-banner {
    padding: 40px 24px;
    text-align: center;
  }

  .hk-cta-buttons,
  .hk-cta-contact-list li {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hk-prod-grid {
    grid-template-columns: 1fr;
  }
}

/* Sayı ile artıyı yan yana hizalar */
.hk-stat-num-row {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
}

/* Sayının font özelliklerini korur */
.hk-stat-num-row .hk-stat-num {
  display: inline-block;
  line-height: 1;
}

/* Yanındaki kırmızı artı işareti */
.hk-stat-num-row .hk-plus {
  color: #dc2626; /* veya var(--color-red) */
  font-weight: 800;
  font-size: inherit; /* Sayı boyutuyla aynı yükseklikte durur */
  margin-left: 4px;   /* Sayı ile artı arasındaki boşluk */
  line-height: 1;
}

/* ==========================================================================
   İLETİŞİM KARTI MOBİL VE ÜST BOŞLUK DÜZELTME KURALLARI
   ========================================================================== */

.hk-iletisim-section {
  padding-top: 10px !important; /* Üst kısımla olan mesafeyi minimuma indirir */
  padding-bottom: 40px !important;
}

.hk-iletisim-container {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 16px; /* Mobilde kenarlardan taşmayı önler */
}

.hk-iletisim-iframe {
  width: 100%;
  max-width: 1200px;
  height: 420px;
  border: none;
  background: transparent;
  overflow: hidden;
  display: block;
  margin: 0 auto;
}

/* Telefon ve Küçük Tablet Ekranlar İçin Özel Ayar */
@media (max-width: 768px) {
  .hk-iletisim-section {
    padding-top: 0 !important;
    padding-bottom: 30px !important;
  }
  
  .hk-iletisim-container {
    padding: 0 10px;
  }

  .hk-iletisim-iframe {
    height: 480px; /* Mobilde kartın içindeki yazılar alt alta kaydığında kesilmemesi için yükseklik artırıldı */
    border-radius: 20px;
  }
}

/* ==========================================================================
   İLETİŞİM KARTI MOBİL UYUM DÜZENLEMESİ
   ========================================================================== */
@media (max-width: 900px) {
  /* Kartın ana kapsayıcısını yatay düzenden dikey (alt alta) düzene çeviriyoruz */
  .iletisim-kart-grid, .contact-card-grid, .card-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  /* Kartın içindeki sağ ve sol alanların mobilde tam genişlik kaplamasını sağlıyoruz */
  .iletisim-sol, .iletisim-sag, .contact-col {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* İletişim kartının mobil yerleşimde tamamen görünmesini sağlar */
  iframe[src*="iletisim-karti.html"] {
    height: 760px !important;
  }
}