/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; background: #f4f4f4; color: #333; line-height: 1.6; }

/* Header */
header { background: #333; color: #fff; text-align: center; padding: 1rem 0; }
header p { font-style: italic; }

/* Navigation */
nav { background: #555; text-align: center; padding: 0.5rem 0; }
nav a { color: #fff; margin: 0 1rem; text-decoration: none; font-weight: bold; }
nav a:hover, nav a.active { text-decoration: underline; }

/* Hero Image */
.hero-img { width: 100%; max-height: 300px; object-fit: cover; display: block; margin-bottom: 1rem; }

/* Main */
main { max-width: 1000px; margin: 2rem auto; padding: 0 1rem; }

/* Project Cards */
.project-card {
  background: #fff;
  border-radius: 5px;
  margin: 1rem 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.project-card a {
  display: block;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
}
.project-card h3 { margin-bottom: 0.5rem; }
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Lists */
ul.project-list { list-style: none; padding: 0; }
ul.project-list li { margin: 0.75rem 0; }
ul.project-list li a {
  text-decoration: none;
  color: #333;
  font-size: 1.1rem;
}
ul.project-list li a:hover { text-decoration: underline; }

/* Footer */
footer { background: #333; color: #fff; text-align: center; padding: 1rem 0; margin-top: 2rem; }

/* style.css */
/* Left-aligned, uniformly sized project images & videos */
.project-detail img.project-img,
.project-detail video.project-img {
  max-width: 600px;      /* cap width */
  width: auto;           /* scale down responsively */
  height: auto;
  display: block;        /* take full line, no inline centering */
  margin: 1rem 0;        /* top/bottom spacing, left aligned */
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Interests grid and cards */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.interest-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.interest-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.interest-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.interest-card h3 {
  margin: 0.75rem 0 0.5rem;
}
.interest-card p {
  padding: 0 1rem 1rem;
  font-size: 0.95rem;
  color: #555;
}
