/* Base styles for desktop */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin-right: 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
}

main {
    width: 100%;
    padding: 20px;
    box-sizing: border-box; /* Ensures padding is included in width calculation */
    text-align: center;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* Responsive styles for mobile */
@media (max-width: 600px) {
    header {
        text-align: center;
        padding: 20px 0;
    }

    nav ul {
        display: block;
        padding: 0;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    main {
        padding: 20px;
        font-size: 14px;
    }

    footer {
        padding: 15px 0;
    }
}

/* Product page styles */
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.product {
    background-color: white;
    border: 1px solid #ddd;
    padding: 15px;
    width: 200px;
    text-align: center;
}

.product img {
    width: 100%;
    height: auto;
}

/* Contact page form styling */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"] {
    background-color: #333;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #555;
}

/* Responsive images */
img {
    width: 100%;
    height: auto;
}
