/* =========================
   RESET & BASE
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: #0b0b0f;
  color: #fff7f2;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
}

/* =========================
   GLOBAL HELPERS
========================= */

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

section {
  width: 100%;
}

/* =========================
   PORTFOLIO HERO
========================= */

.portfolio-hero {
  padding: 140px 24px 120px;
  text-align: center;
  color: black;
  background: linear-gradient(
    to bottom,
    #f8f8f8 0%,
    white 21%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.portfolio-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.portfolio-eyebrow {
  display: inline-block;
  font-size: 15px;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 20px;
}

.portfolio-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 28px;
  text-shadow:
    0 2px 4px rgba(131, 172, 255, 0.45),
    0 6px 20px rgba(0, 0, 0, 0.35);
}

.portfolio-intro {
  font-size: 18px;
  color: rgb(22, 25, 60);
  max-width: 720px;
  margin: 0 auto;
}

/* =========================
   FEATURED PROJECT
========================= */

.featured-project {
  padding: 120px 24px;
  background-color: rgba(0, 0, 0, 0.85);
}

.featured-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.project-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #3b82f6;
  display: block;
  margin-bottom: 16px;
}

.project-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
}

.project-description {
  font-size: 18px;
  color: #c7c7cc;
  margin-bottom: 28px;
}

.project-tech {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.project-tech li {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
}

.project-actions {
  display: flex;
  gap: 24px;
}

.project-link {
  font-weight: 700;
  color: #3b82f6;
}

.project-link:hover {
  text-decoration: underline;
}

.featured-media {
  width: 100%;
  height: 320px;
  border-radius: 24px;
  background: #111827;
}

/* =========================
   PROJECTS GRID
========================= */

.projects-section {
  padding: 120px 24px;
}

.projects-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 60px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

/* Card */
.project-card {
  background: #0f1117;
  border-radius: 24px;
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.card-description {
  font-size: 15px;
  color: #b8b8bd;
  margin-bottom: 24px;
}

.card-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.card-tech li {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #d1d5db;
}

.card-link {
  font-weight: 700;
  color: #3b82f6;
}

.card-link:hover {
  text-decoration: underline;
}

/* =========================
   CTA
========================= */

.portfolio-cta {
  padding: 140px 24px;
  text-align: center;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 18px;
}

.cta-text {
  font-size: 18px;
  color: #c7c7cc;
  margin-bottom: 36px;
}

.cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: #3b82f6;
  color: #fff;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .featured-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .portfolio-hero {
    padding-top: 120px;
  }

  .project-title {
    font-size: 34px;
  }

  .cta-title {
    font-size: 34px;
  }
}