* TAMAMLADIĞIMIZ İŞLER BÖLÜMÜ */
/* ============================= */

.completed-section {
  background-color: #f5f5f5;
  color: #333;
  padding: 60px 0;
}

/* GRID YAPISI – masaüstü 4 kolon */
.completed-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

/* KART – görsel + overlay */
.completed-card {
  background-color: transparent;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 350px;
}

/* Hover efekti */
.completed-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  border-color: #c62828;
}

/* Görsel tüm kartı kaplasın */
.completed-img {
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.65);
}

/* Hover'da zoom + daha koyu */
.completed-card:hover .completed-img {
  transform: scale(1.05);
  filter: brightness(0.4);
}

/* Metin: görselin üzerine overlay */
.completed-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  color: #f0f0f0;
  transform: translateY(50%);
  transition: transform 0.4s ease;
  min-height: 50%;
}

.completed-body h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #ffebee; /* koyu zeminde okunaklı kırmızımsı */
}

.completed-body p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
  line-height: 1.5;
}

/* Hover’da metni yukarı çıkar ve açıklamayı göster */
.completed-card:hover .completed-body {
  transform: translateY(0);
}

.completed-card:hover .completed-body p {
  opacity: 1;
}

/* ============ RESPONSIVE ============ */

/* Tablet (<= 992px) → 2 kolon */
@media (max-width: 992px) {
  .completed-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .completed-card {
    height: 320px;
  }
}

/* =========================
   TAMAMLADIĞIMIZ İŞLER – MOBİL GÖRÜNÜM
   (beyaz boşluk yok, yazılar okunur)
========================= */
@media (max-width: 600px) {

  /* Grid tek sütun */
  .completed-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Kart yüksekliği sabit olmasın → içerik kadar */
  .completed-card {
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    background: #000; /* alttan beyaz görünmesin */
  }

  /* Foto üstte, sabit yükseklik */
  .completed-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    filter: brightness(0.75);
  }

  .completed-body {
    position: relative;
    padding: 14px 12px;
    background: #111;      
    transform: none;
    min-height: auto;
  }

  .completed-body h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: #ffdddd;        
  }

  .completed-body p {
    margin: 0;
    font-size: 0.9rem;
    color: #f5f5f5;         
    line-height: 1.5;
    opacity: 1;             
  }
}


@media (min-width: 601px) {

  .completed-body {
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.95) 0%,
      rgba(0,0,0,0.85) 40%,
      rgba(0,0,0,0.0) 100%
    );
    padding: 22px 20px;
  }

  .completed-body h3 {
    color: #ffffff;                      
    font-weight: 700;
    text-shadow: 0 3px 6px rgba(0,0,0,0.9);
  }

  .completed-body p {
    color: #f5f5f5;                     
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 1;                           
    text-shadow: 0 2px 5px rgba(0,0,0,0.9);
  }
}

