* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif; 
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

h2, h3 {
    font-family: Arial, sans-serif;
    color: #0B132B;
}

header {
    background-color: #0B132B;
    color: white;
    padding: 30px 0;
    text-align: center;
}

nav {
    background-color: #5BC0BE;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: #0B132B;
    font-weight: bold;
    text-transform: uppercase;
}

.hero {
    width: 100%;
    height: 450px;
    background-image: linear-gradient(rgba(11, 19, 43, 0.4), rgba(11, 19, 43, 0.4)), url('../kuvat/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero h2 {
    color: white;
    font-size: 40px;
}

.container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.product-card {
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
}

.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

details {
    margin-top: 15px;
    padding: 15px;
    background: #f0fdfd;
    cursor: pointer;
    text-align: left;
    border-radius: 4px;
}

summary {
    font-weight: bold;
    color: #0B132B;
}

footer {
    font-style: italic;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    padding-top: 50px;
}

@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin: 10px 0;
    }
    .hero {
        height: 300px;
    }
    .hero h2 {
        font-size: 28px;
    }
}