/* Your existing CSS styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    min-height: 100%; /* Ensures the body takes full height */
    display: flex;
    flex-direction: column; /* Allow footer to stay at the bottom */
}

/* Header Styles */
header {
    background-image: url('../../IMAGES/header-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: left;
    padding: 4em 0;
    position: relative;
    display: flex;
    align-items: center; /* Vertically center the items */
    justify-content: flex-start; /* Align items to the left */
    gap: 1em; /* Optional: space between items */
    height: 0px; /* Set the desired height */
}

.logo img {
    max-width: 100%;
    max-height: 100%;
}

/* Navigation Styles */
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: #333;
}

nav ul li {
    margin: 0 1em;
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 1em;
    display: block;
}

nav ul li a:hover {
    color: #ffcc00;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 120px;
    z-index: 1;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #575757;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Main Content Styles */
main {
    padding: 2em;
    text-align: center;
    flex-grow: 1; /* Allow the main content to grow and take available space */
}

/* Product Grid Styles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.product {
    border: 1px solid #ddd;
    padding: 1em;
    border-radius: 10px;
    background-color: white;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.product:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product img {
    max-width: 100%;
    border-radius: 10px;
}

.product h3 {
    font-size: 1.2em;
    margin: 0.5em 0;
	color: #444;
	font-style: italic;
}

.product p {
    font-size: 1em;
    margin: 0.5em 0;
}


footer {
            text-align: center;
            padding: 1em 0;
            background-color: #333; /* Dark background */
            color: white; /* White text color */
        }
        footer a {
            text-decoration: none;
            color: white; /* White link color */
            margin: 0 10px;
        }
        footer a:hover {
            color: #00acee; /* Light blue hover color */
        }
        .fab {
            margin-right: 5px;
        }
/* Media query for smaller screens */
@media (max-width: 768px) {

	header {
		padding: 2em 0; /* Further reduce padding on smaller screens */
	}

	.logo img {
		max-width: 50%; /* Further reduce logo size for very small screens */
		max-height: 50%; /* Further reduce logo size for very small screens */
	}
	nav ul li a {
		padding: 0.8em; /* Adjust padding */
		font-size: 0.8em; /* Adjust font size for smaller screens */
		text-decoration: none; /* Remove underline from links */
	}
	.product-image {
		margin: 5px; /* Reduce margin for smaller screens */
		display: block; /* Stack images vertically on smaller screens */
		width: 100%; /* Ensure images take up the full width */
	}
}
/* Mobile devices */
@media (max-width: 480px) {
    header {
        padding: 1em 0; /* Further reduce padding on smaller screens */
    }

    .logo img {
        max-width: 40%; /* Further reduce logo size for very small screens */
        max-height: 40%; /* Further reduce logo size for very small screens */
    }

    nav {
        padding: 0; /* Further reduce padding on very small screens */
    }

    nav ul {
        display: flex; /* Use flexbox for layout */
        flex-direction: row; /* Align items horizontally */
        justify-content: center; /* Center items within the navigation */
        align-items: center; /* Align items vertically in the center */
        padding: 0; /* Remove any default padding */
        margin: 0; /* Remove any default margin */
        list-style: none; /* Remove bullet points */
    }

    nav ul li {
        margin: 0 0.5em; /* Space out menu items horizontally */
    }

    nav ul li a {
        padding: 0.8em; /* Adjust padding */
        font-size: 0.6em; /* Adjust font size for smaller screens */
        text-decoration: none; /* Remove underline from links */
    }

    footer {
        font-size: 12px; /* Adjust font size */
        padding: 10px; /* Adjust padding */
    }
}

