/* ===============================
   Base Body & Fonts
=============================== */
body {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #12121f;
  color: #e0e0e0;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ===============================
   Banner / Header
=============================== */
header {
  text-align: center;
  padding: 3rem 1rem 2rem 1rem;
  background-image: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url("/assets/images/header-bg.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

header img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.15);
  margin-bottom: 1rem;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.4rem;
  background: linear-gradient(90deg, #4b8eff, #a259ff, #ff6eeb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: -0.5px;
}

header .subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #4b8eff, #a259ff, #ff6eeb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

header p {
  font-size: 1rem;
  margin: 0.3rem 0;
  color: rgba(255,255,255,0.5);
}

header a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

header a:hover {
  color: #a259ff;
}

/* ===============================
   Content Wrapper / Sections as Cards
=============================== */
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 2rem auto;
  gap: 2rem;
}

.content-wrapper section {
  background: rgba(255, 255, 255, 0.04);
  padding: 2rem;
  border-radius: 16px;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-wrapper section:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(162, 89, 255, 0.2);
}

.content-wrapper section h2 {
  text-align: center;
  margin-top: 0;
  font-size: 1.6rem;
  background: linear-gradient(90deg, #4b8eff, #a259ff, #ff6eeb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-wrapper section p,
.content-wrapper section ul,
.content-wrapper section ol {
  text-align: left;
}

/* ===============================
   Links
=============================== */
a {
  color: #a259ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff6eeb;
}

/* ===============================
   Project Cards
=============================== */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  margin-top: 1rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(162, 89, 255, 0.25);
}

.project-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  background: linear-gradient(90deg, #4b8eff, #a259ff, #ff6eeb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-card p {
  color: #aaa;
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.project-card a {
  align-self: center;
  padding: 0.45rem 1rem;
  background: linear-gradient(90deg, #4b8eff, #a259ff);
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  -webkit-text-fill-color: #fff;
  transition: all 0.3s ease;
}

.project-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(162, 89, 255, 0.4);
}

/* ===============================
   Footer
=============================== */
footer {
  text-align: center;
  margin: 3rem 0;
  font-size: 0.9rem;
  color: #555;
}
