body {
font-family: "Segoe UI", Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f5f7fa;
color: #333;
line-height: 1.6;
}

header {
background: #1f2933;
padding: 15px 0;
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

nav ul {
list-style: none;
padding: 0;
margin: 0;
text-align: center;
}

nav li {
display: inline-block;
margin: 0 18px;
}

nav a {
color: #ffffff;
text-decoration: none;
font-weight: 600;
font-size: 16px;
transition: color 0.3s ease;
}

nav a:hover {color: #4da6ff;
}

main {
width: 1100px;
margin: auto;
padding: 40px 20px;
}

.products h1 {
text-align: center;
font-size: 34px;
margin-bottom: 10px;
}

.products p {
text-align: center;
color: #666;
margin-bottom: 40px;
}

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

.product-card {
background: #ffffff;
border-radius: 12px;
box-shadow: 0 6px 18px rgba(0,0,0,0.08);
padding: 20px;
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-card img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 8px;
margin-bottom: 15px;
}

.product-card h3 {
margin-bottom: 10px;
font-size: 20px;
}

.product-card p {
color: #666;
margin-bottom: 15px;
}

.price {
font-size: 20px;
font-weight: bold;
color: #2563eb;
margin-bottom: 15px;
}

button {
background: #2563eb;
color: white;
border: none;
padding: 10px 22px;
border-radius: 6px;
font-size: 15px;
font-weight: 600;
cursor: pointer;
transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
background: #1d4ed8;
transform: scale(1.05);
}

footer {
background: #1f2933;
color: white;
text-align: center;
padding: 18px;
margin-top: 40px;
font-size: 14px;
}