/* styles.css - Shared styles for the portfolio site */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f5f5f5;
  color: #333;
}

header {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #222;
  color: white;
  padding: 1.5rem;
}

header img.logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  flex: 1 1 300px;
  background: white;
  padding: 1.5rem;
  text-decoration: none;
  color: #222;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  background: #f0f0f0;
}

img.card-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
}

main {
  width: 100%;
  max-width: none;        /* Remove max-width constraint */
  margin: 0;
  padding: 2rem;          /* Optional: keep padding for breathing room */
}

.figure-row {
  display: flex;
  justify-content: flex-start; /* Align items to the left */
  gap: 20px;
  flex-wrap: wrap;
}

.figure-row figure {
  margin: 0;
  /* Remove text-align: center to avoid centering images */
}

.figure-row figcaption {
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: #444;
}
