/* ------------------------------
   RESET & BASE STYLES
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background-color: #f3f4f6;
  color: #1f2937;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
}

/* ------------------------------
   PROFILE CARD
------------------------------ */
.profile-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  width: 100%;
  overflow: hidden;
}

/* ------------------------------
   AVATAR SECTION
------------------------------ */
.profile-avatar {
  background-color: #f9fafb;
  text-align: center;
  padding: 2rem 1rem;
}

.profile-avatar img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #3b82f6;
  margin-bottom: 0.75rem;
}

.profile-avatar figcaption {
  font-weight: 600;
  color: #374151;
}

/* ------------------------------
   INFORMATION SECTION
------------------------------ */
.profile-info {
  padding: 1.5rem 2rem;
}

.profile-info h2 {
  font-size: 1.8rem;
  color: #111827;
  margin-bottom: 0.5rem;
}

.bio {
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.time {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* ------------------------------
   SOCIAL LINKS
------------------------------ */
.social-links ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin-bottom: 1.5rem;
}

.social-links a {
  text-decoration: none;
  color: #3b82f6;
  font-weight: 600;
  transition: color 0.2s ease;
}

.social-links a:hover,
.social-links a:focus {
  color: #1d4ed8;
  text-decoration: underline;
}

/* ------------------------------
   HOBBIES & DISLIKES
------------------------------ */
section {
  margin-bottom: 1rem;
}

section h3 {
  margin-bottom: 0.5rem;
  color: #111827;
  font-size: 1.1rem;
}

section ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: #4b5563;
}

/* ------------------------------
   RESPONSIVE DESIGN
------------------------------ */
@media (min-width: 768px) {
  .profile-card {
    flex-direction: row;
  }

  .profile-avatar {
    flex: 1;
    padding: 2rem;
  }

  .profile-info {
    flex: 2;
    padding: 2rem 3rem;
  }
}
