* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: white;
    color: #333;
}

/* Global link style (for other links on the page, if any) */
a {
    text-decoration: none;
}

/* Menu links - dark grey */
nav ul li a {
    color: #333;
    /* Dark grey for menu links */
    display: flex;
    align-items: center;
}

/* Footer links - white */
footer a {
    color: white;
    /* Footer links remain white */
}

/* Optional: Hover effect for menu and footer links */
nav ul li a:hover {
    color: lightgray;
    /* Menu links change to light gray on hover */
}

footer a:hover {
    color: lightgray;
    /* Footer links change to light gray on hover */
}

.top-bar {
    background-color: black;
    color: white;
    padding: 10px;
    text-align: center;
}

.header-bar {
    display: flex;
    flex-direction: column;
    /* Stack the logo on top of the menu */
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: white;
}

.logo img {
    width: 400px;
    /* Adjust the size of the logo as needed */
    margin-bottom: 20px;
    /* Add some space between the logo and the menu */
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a img {
    margin-right: 5px;
}

.slider {
    width: 100%;
    height: 600px;
    margin: 20px 0;
}

.slider img {
    width: 100%;
    height: 600px;
    display: none;
    object-fit: cover;
}

.slider img.active {
    display: block;
}

.categories {
    padding: 30px;
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.category-item p {
    margin-top: 10px;
    font-size: 18px;
}

footer {
    background-color: black;
    color: white;
    padding: 30px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    /* Space the footer sections evenly */
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 20px;
}

/* Responsive Design - Media Queries */
@media (max-width: 768px) {

    /* Adjust navigation and header for small screens */
    .header-bar {
        align-items: center;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    .slider img {
        height: 300px;
    }

    /* Categories display in 2 columns for tablets */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {

    /* Stack navigation items */
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    nav ul li {
        margin: 10px 0;
    }

    /* Resize slider for phones */
    .slider img {
        height: 200px;
    }

    /* Stack categories in a single column on mobile */
    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-item img {
        height: 150px;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }
}