body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background: linear-gradient(to right, #f3f4f7, #ebeff5);
    color: #333;
}
nav {
    background: #0073e6;
    padding: 15px 10px;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
}
nav a:hover {
    text-decoration: underline;
}
header.hero {
    background: #fff;
    padding: 40px 20px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 90%;
    width: 750px;
    margin: 20px auto 0 auto;
    border-radius: 10px 10px 0 0;
}
.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    object-fit: cover;
}
main {
    max-width: 90%;
    width: 750px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
ul {
    list-style-type: none;
    padding: 0;
}
li {
    margin: 8px 0;
}
a {
    color: #0073e6;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

#map {
    width: 80%;
    height: 500px;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
}

#projects {
  max-width: 90%;
  margin: 40px auto;
  text-align: center;
}

/* 1. Flex‐grid for cards */
.project-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;    /* give space below the cards */
}

/* 2. Individual cards */
.project-item {
  width: 300px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;

  /* stack image/title vertically */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.project-item img {
  width: 100%;
  height: auto;
  display: block;
}

.project-title {
  padding: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  margin-top: auto;       /* push title to bottom if description is short */
}

/* 3. “More projects” line */
.more-projects {
  font-size: 1rem;
  margin-top: 0;           /* already have bottom margin on .project-list */
  color: #333;
}

.more-projects a {
  color: #0073e6;
  text-decoration: none;
}

.more-projects a:hover {
  text-decoration: underline;
}

/* ────────────────────────────────────────────────────────
   Sports Section
───────────────────────────────────────────────────────── */
#sports {
  max-width: 90%;
  margin: 40px auto;
  text-align: center;
}

#sports .sports-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;     /* space between cards and the paragraph */
}

.sports-item {
  width: 300px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;

  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sports-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.sports-title {
  padding: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  margin-top: auto;        /* push the title (or any extra content) to the bottom */
}

/* Style the descriptive paragraph below */
#sports p {
  font-size: 1rem;
  color: #333;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}


