/* FONT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.7;
}

/* HEADER */
header {
    padding: 100px 20px 80px 20px;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

header h1 {
    font-size: 2.8em;
    font-weight: 600;
    margin-bottom: 15px;
}

header p {
    font-size: 1.1em;
    color: #475569;
}

/* NAV */
nav {
    text-align: center;
    padding: 15px 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

nav a {
    margin: 0 20px;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
}

nav a:hover {
    color: #0f172a;
}

/* LAYOUT */
.container {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
}

/* PRODOTTI GRID */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* CARD */
.card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: border 0.2s ease;
}

.card:hover {
    border: 1px solid #94a3b8;
}

.card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* TITOLI */
h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
    font-weight: 600;
}

h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: 600;
}

/* BOTTONI */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background: #0f172a;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 500;
}

.btn:hover {
    background: #1e293b;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    font-size: 0.9em;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    header {
        padding: 70px 20px 60px 20px;
    }

    header h1 {
        font-size: 2em;
    }
}
