/* Reset & base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
  background-color: #fafafa;
  color: #111;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Elegant title styling */
h1 {
  text-align: center;
  margin-bottom: 40px;
  font-weight: 200; /* thin for elegance */
  font-size: 2.5rem;
  letter-spacing: 6px; /* more spacing */
  text-transform: uppercase; /* all caps */
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
}

/* Grid container */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-items: center;
  margin-bottom: 40px;
  width: 100%;
  max-width: 1200px;
}

/* Individual product card */
.product-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: center; /* keep title and image centered */
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 220px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  cursor: pointer; /* indicate clickability */
  transition: transform 0.3s;
}

.product-card img:hover {
  transform: scale(1.05);
}

.product-info {
  padding: 15px;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-description {
  font-size: 0.85rem; /* slightly smaller for elegance */
  color: #555;
  text-align: left; /* article style alignment */
  line-height: 1.5;
}

/* Button styles */
.cta-button {
  background-color: #111;
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background-color 0.3s, transform 0.2s;
}
