:root {
  --bg-color: #e0e0e0;

  --card-bg: #ffffff;

  --text-main: #1a1a1a;

  --accent: #000000;

  --shadow-hard: 8px 8px 0px #000000;

  --border-thick: 3px solid #000000;
}

body {
  font-family: "Space Mono", monospace;

  background-color: var(--bg-color);

  color: var(--text-main);

  margin: 0;

  padding-bottom: 50px;

  min-height: 100vh;

  /* Hiệu ứng nền sọc chéo bắt mắt */

  background-image: repeating-linear-gradient(
    45deg,
    #f1f1f1,
    #f1f1f1 10px,

    #e4e4e4 10px,

    #e4e4e4 20px
  );
}

/* --- 2. GLOBAL HEADER (THANH ĐIỀU HƯỚNG) --- */

.global-header {
  background: var(--accent);

  color: #fff;

  padding: 15px 0;

  border-bottom: var(--border-thick);

  margin-bottom: 40px;

  position: sticky;

  top: 0;

  z-index: 100;
}

.header-content {
  max-width: 900px;

  margin: 0 auto;

  padding: 0 20px;

  display: flex;

  justify-content: space-between;

  align-items: center;
}

.logo {
  font-family: "Syne", sans-serif;

  font-size: 1.5rem;

  font-weight: 800;

  letter-spacing: -1px;

  text-transform: uppercase;
}

.nav-links span {
  margin-left: 20px;

  font-size: 0.9rem;

  cursor: pointer;

  opacity: 0.8;
}

.nav-links span:hover {
  opacity: 1;
  text-decoration: underline;
}

/* --- 3. CONTAINER CHÍNH --- */

.container {
  max-width: 800px;

  margin: 0 auto;

  padding: 0 20px;
}

.profile-section {
  display: flex;

  gap: 30px;

  background: var(--card-bg);

  border: var(--border-thick);

  box-shadow: var(--shadow-hard);

  padding: 30px;

  margin-bottom: 40px;

  align-items: center;
}

.profile-info {
  flex: 2;
}

.profile-title {
  font-family: "Syne", sans-serif;

  font-size: 2.5rem;

  line-height: 1;

  margin: 0 0 10px 0;

  text-transform: uppercase;

  border-bottom: 5px solid #000;

  display: inline-block;
}

.profile-subtitle {
  font-size: 1.1rem;

  font-weight: bold;

  margin-bottom: 20px;

  display: block;

  color: #555;
}

.info-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 10px;

  background: #f4f4f4;

  padding: 15px;

  border: 2px solid #000;
}

.info-row {
  display: flex;

  justify-content: space-between;

  border-bottom: 1px dashed #999;

  padding-bottom: 5px;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 700;
  text-transform: uppercase;
}

/* Cột hình ảnh bên phải */

.profile-image-box {
  flex: 1;

  display: flex;

  justify-content: center;

  align-items: center;
}

.avatar {
  width: 200px;

  height: 200px;

  object-fit: cover;

  border: var(--border-thick);

  /* Avatar hình vuông bo góc nhẹ hoặc tròn tùy ý */

  border-radius: 0;

  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.2);

  background-color: #ddd;
}

/* --- 5. PROJECTS LIST --- */

.section-header {
  background: #000;

  color: #fff;

  padding: 10px 20px;

  font-family: "Syne", sans-serif;

  font-size: 1.5rem;

  text-transform: uppercase;

  display: inline-block;

  margin-bottom: 20px;

  box-shadow: 5px 5px 0px rgba(255, 255, 255, 0.5);
}

ul {
  list-style: none;
  padding: 0;
}

.task-card {
  background: #fff;

  border: 2px solid #000;

  margin-bottom: 15px;

  padding: 20px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  transition: 0.2s;

  position: relative;
}

.task-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 5px,
    rgba(0, 0, 0, 0.05) 5px,
    rgba(0, 0, 0, 0.05) 10px
  );

  pointer-events: none;

  opacity: 0;

  transition: opacity 0.2s;
}

.task-card:hover {
  transform: translate(-4px, -4px);

  box-shadow: 8px 8px 0px #000;
}

.task-card:hover::before {
  opacity: 1;
}

.task-name {
  font-weight: 700;

  font-size: 1.2rem;
}

.btn-link {
  text-decoration: none;

  background: #000;

  color: #fff;

  padding: 10px 25px;

  font-weight: 700;

  border: 2px solid #000;

  transition: 0.2s;

  text-transform: uppercase;

  font-size: 0.9rem;
}

.btn-link:hover {
  background: #fff;

  color: #000;
}

/* --- RESPONSIVE --- */

@media (max-width: 700px) {
  .profile-section {
    flex-direction: column-reverse;
    text-align: center;
  }

  .info-grid {
    text-align: left;
  }

  .task-card {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .btn-link {
    width: 100%;
    box-sizing: border-box;
    display: block;
  }

  .avatar {
    width: 150px;
    height: 150px;
  }
}
