/* Global Variables: Easy to change colors here */
:root {
  --bg-color: #0f0f11;       /* Dark background */
  --card-bg: #1a1a1e;        /* Card background */
  --text-main: #ffffff;      /* Main text color */
  --text-muted: #a0a0a0;     /* Secondary text color */
  --accent-color: #6c5ce7;   /* Accent color (Purple) */
  --hover-bg: #25252b;       /* Card hover background */
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  padding: 20px;
}

/* Container: Centers content and limits width */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
}

/* Header Styles */
.profile-header {
  text-align: center;
  margin-bottom: 50px;
}

.avatar-placeholder {
  width: 80px;
  height: 80px;
  background-color: var(--accent-color);
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 24px;
  color: white;
}

.profile-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.profile-header p {
  color: var(--text-muted);
}

/* Grid Layout: Responsive (1 column on mobile, multiple on desktop) */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

/* Card Styles */
.project-card {
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

/* Hover Effects */
.project-card:hover {
  transform: translateY(-5px); /* Floats up slightly */
  background-color: var(--hover-bg);
  border-color: var(--accent-color);
}

.card-icon {
  font-size: 24px;
  background: rgba(255,255,255,0.05);
  padding: 10px;
  border-radius: 8px;
  line-height: 1;
}

.card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-main);
}

.card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Footer Styles */
footer {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.social-links {
  list-style: none;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.social-links a:hover {
  color: var(--accent-color);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .profile-header h1 {
    font-size: 2rem;
  }
  .project-grid {
    grid-template-columns: 1fr; /* Stack cards vertically on small screens */
  }
}