/* =============================================
   projects.css  — BlueCrocodile Projects page
   ============================================= */

/* ── Hero ── */
.projects-hero {
  padding: 0 0 32px; /* Azzerato padding top */
}
.projects-hero h1 {
  font-size: 32px;
  font-weight: 800;
  color: #0d1b3e;
  margin-bottom: 8px;
}
.projects-hero p {
  font-size: 15px;
  color: #6b7280;
}

/* ── Filter tabs ── */
.project-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  background: white;
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.filter-btn:hover {
  border-color: #1e5bbc;
  color: #1e5bbc;
}
.filter-btn.active {
  background: #1e5bbc;
  border-color: #1e5bbc;
  color: white;
  font-weight: 600;
}

/* ── Section wrapper ── */
.projects-section {
  padding: 0 0 80px;
}

/* ── Project card ── */
.project-card {
  display: grid;
  grid-template-columns: 560px 1fr;
  gap: 0;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: white;
  margin-bottom: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.project-card:hover {
  box-shadow: 0 8px 32px rgba(30, 91, 188, 0.10);
  transform: translateY(-2px);
}

/* ── Image panel ── */
.project-image-wrap {
  width: 560px;
  height: 320px;
  overflow: hidden;
  background: #f0f4fb;
  flex-shrink: 0;
  position: relative;
}
.project-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

/* Placeholder shown when no image yet */
.project-image-wrap .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #9ca3af;
  font-size: 13px;
}
.project-image-wrap .img-placeholder svg {
  opacity: 0.35;
}

/* ── Content panel ── */
.project-content {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.project-tag {
  font-size: 11px;
  font-weight: 600;
  color: #1e5bbc;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 3px 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.project-title {
  font-size: 22px;
  font-weight: 800;
  color: #0d1b3e;
  margin-bottom: 6px;
  line-height: 1.2;
}

.project-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: #1e5bbc;
  margin-bottom: 12px;
}

.project-desc {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 24px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1e5bbc;
  text-decoration: none;
  transition: gap 0.15s ease;
}
.project-link:hover {
  gap: 10px;
}
.project-link svg {
  transition: transform 0.15s ease;
}
.project-link:hover svg {
  transform: translateX(3px);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .project-card {
    grid-template-columns: 1fr;
  }
  .project-image-wrap {
    width: 100%;
    height: 220px;
  }
  .project-content {
    padding: 24px;
  }
}
