/* ========================================
   PROJELER SAYFASI - DARK THEME UYUMLU
   (menu.html için özel fix)
   ======================================== */

/* Arka plan: diğer sayfalardaki hero ile aynı kalsın */
.projects_section {
  background: transparent;              /* modern-theme-2025'teki koyu arka planı kullan */
  padding: 5rem 0 4rem;
}

/* Başlık ve alt açıklama – şeffaflık sorununu kaldır */
.projects_section .heading_container h2 {
  color: #f9fafb !important;            /* parlak ama göz yormayan beyaz */
  font-weight: 800;
  letter-spacing: .02em;
  opacity: 1 !important;
}

.projects_section .heading_container p {
  color: #e5e7eb !important;            /* açık gri */
  opacity: 0.96 !important;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

/* Filtre menüsü (Tümü, Web, Otomasyon...) – style.css’teki yapıyı kullan,
   burada sadece okunabilirliği ve koyu temayla uyumu iyileştiriyoruz */
.projects_section .filters_menu li {
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96) !important;        /* koyu lacivert */
  color: #e5e7eb !important;                            /* açık gri yazı */
  border: 1px solid rgba(148, 163, 184, 0.55) !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.75);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease,
              background-color .2s ease, color .2s ease,
              border-color .2s ease;
}

.projects_section .filters_menu li:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
  border-color: rgba(248, 250, 252, 0.6) !important;
}

/* Aktif (Tümü vs.) – sarı ama koyu temayla uyumlu */
.projects_section .filters_menu li.active {
  background: #fbbf24 !important;                         /* sarı */
  color: #111827 !important;                              /* koyu gri yazı */
  border-color: #fbbf24 !important;
  box-shadow: 0 14px 36px rgba(250, 204, 21, 0.45) !important;
}

/* Kartlar (beyaz kutucuklar) – daha koyu, diğer dark sayfalarla uyumlu */
.projects_section .box {
  position: relative;
  height: 100%;
  background: #0f172a;                  /* koyu lacivert-gri */
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.65);
  padding: 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.projects_section .box:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.7);
}

/* Kart başlığı + ikonlar */
.projects_section .detail-box h5 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1.06rem;
  font-weight: 700;
  color: #f9fafb;
}

.projects_section .detail-box h5 .fa {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.18);
  color: #fbbf24;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.8);
}

/* Kart açıklama yazısı */
.projects_section .detail-box p {
  margin: 0;
  font-size: .97rem;
  line-height: 1.6;
  color: #e5e7eb;
}

/* Sarı yuvarlak ok butonu – orantılı ve sağ alta hizalı */
.projects_section .box .options {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.projects_section .box .options .cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fbbf24;
  color: #111827;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(250, 204, 21, 0.45);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.projects_section .box .options .cta-icon i {
  font-size: 1.05rem;
}

.projects_section .box .options .cta-icon:hover {
  transform: translateY(-2px);
  background: #facc15;
  box-shadow: 0 18px 50px rgba(250, 204, 21, 0.6);
}

/* Grid eşit yükseklik – mevcut yapıyla uyumlu kalsın */
.projects_section .row > [class*="col-"] {
  display: flex;
}

.projects_section .row > [class*="col-"] > .box {
  width: 100%;
}

/* Küçük ekran uyumu */
@media (max-width: 575.98px) {
  .projects_section {
    padding: 3.5rem 0;
  }

  .projects_section .detail-box h5 {
    font-size: 1rem;
  }

  .projects_section .detail-box p {
    font-size: .95rem;
  }
}
