/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

/* Header & Footer */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    color: black;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
}

.logo {
    max-width: 120px;
}

nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

nav a {
    color: black;
    text-decoration: none;
    margin: 0 20px;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
}

nav a:hover {
    background-color: #000;
    color: white;
}

/* Main Section */
main {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* About Section */
.about {
    margin-bottom: 40px;
}

/* Product Grid */
.products {
    text-align: center;
    padding: 40px 20px;
}

.products h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #222;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}

.product-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    padding: 15px;
}

.product-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.product-item h3 {
    font-size: 0.95em; /* Smaller font size */
    color: #333;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .products {
        grid-template-columns: 1fr;
    }

    nav {
        flex-direction: column;
    }

    nav a {
        margin: 10px 0;
    }
}

.mobile-logo {
    display: block;
    max-width: 500px; /* Adjust as needed */
    height: auto;
    margin: 40px auto 20px auto; /* Top and bottom spacing */
}

.footer {
    background-color: white;
    color: black;
    text-align: center;
    flex-direction: column;
    padding: 1.5rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid #ddd;
}

.footer a {
    color: #1a1f2b;
    margin: 0 0.5rem;
}

.footer a:hover {
    text-decoration: underline;
}