@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: #111;
  background: #fff;
}

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  border-bottom: 1px solid #eee;
}

.back-link {
  color: #2563eb;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #1d4ed8;
}

.brand {
  font-weight: 600;
}

.nav-links a {
  margin-left: 24px;
  text-decoration: none;
  color: #333;
}

/* HERO */
.hero {
  max-width: 900px;
  margin: 120px auto;
  text-align: center;
  padding: 0 24px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.hero p {
  color: #555;
  margin-bottom: 28px;
}

.hero button {
  padding: 12px 24px;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
}

/* PRODUCTS */
.products {
  max-width: 1200px;
  margin: 0 auto 120px;
  padding: 0 24px;
}

.products h2 {
  margin-bottom: 32px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 16px;
  transition: box-shadow 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f5f6f7;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card h3 {
  margin: 8px 0 4px;
  font-size: 1rem;
}

.price {
  color: #444;
  font-size: 0.9rem;
}

/* ABOUT */
.about {
  max-width: 600px;
  margin: 0 auto 120px;
  padding: 0 24px;
}

.about h2 {
  margin-bottom: 12px;
}

.about p {
  color: #555;
}

.credit {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #888;
}
