/* =====================================================
   GLOBAL (MATCH HOME PAGE)
===================================================== */

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, #020617, #000);
  color: #e5e7eb;
}

/* =====================================================
   PROJECT PAGE SPACING
   (same starting position as hero section)
===================================================== */

.projects-page {
  max-width: 1300px;
  width: 92%;
  margin: auto;
  padding-top: 140px;   /* SAME AS HOME HERO */
  padding-bottom: 60px;
  text-align: center;
}


/* =====================================================
   PAGE TITLE
===================================================== */

.page-title {
  font-size: 48px;
  color: #38bdf8;
}

.page-subtitle {
  color: #9ca3af;
  margin-bottom: 60px;
}


/* =====================================================
   PROJECT GRID
===================================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Tablet */
@media (max-width: 1100px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 700px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   PROJECT CARD
===================================================== */

.project-card {
  padding: 26px;
  border-radius: 20px;
  text-align: left;

  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.08);

  transition: transform 0.35s ease,
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.project-card:hover {
  transform: translateY(-10px);

  border-color: rgba(56,189,248,0.5);

  box-shadow:
      0 10px 30px rgba(0,0,0,0.5),
      0 0 25px rgba(56,189,248,0.25),
      0 0 60px rgba(56,189,248,0.12);
}

.project-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}

.project-card h3 {
  margin-top: 0;
}

.project-card p {
  color: #cbd5f5;
}


/* =====================================================
   TAGS
===================================================== */

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.tags span {
  background: rgba(56,189,248,0.15);
  color: #38bdf8;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}


/* =====================================================
   BUTTONS
===================================================== */

.actions {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #38bdf8;
  color: #000;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.btn.outline {
  background: transparent;
  color: #38bdf8;
  border: 1px solid #38bdf8;
}

.btn.outline:hover {
  background: #38bdf8;
  color: #000;
}