/* Reset default margin and padding */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0; /* Light background color */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff; /* White background for content */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle box shadow for container */
}

h1, h2, h3 {
    color: #333; /* Dark text color */
}

/* Styling for the product list */
#productList {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid layout */
    gap: 20px;
}

#productList li {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#productList li:hover {
    transform: translateY(-5px);
}

#productList li img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

button {
    background-color: #007bff; /* Blue button color */
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Styling for the cart */
#cartItems {
    list-style-type: none;
    padding: 0;
}

#cartItems li {
    background-color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

#cartMessage {
    font-style: italic;
    margin-top: 10px;
}

form {
    margin-top: 20px;
}

form label {
    display: block;
    margin-bottom: 5px;
}

form input[type="text"] {
    width: calc(100% - 12px); /* Adjust input width */
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background-color: #28a745; /* Green button color */
}

form button:hover {
    background-color: #218838; /* Darker green on hover */
}


@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 10px 0;
        background-color: #004080;
        z-index: 1000;
        text-align: center;
    }

    nav ul {
        flex-direction: row;
    }

    nav li {
        margin-right: 0;
        margin-bottom: 10px;
        color: #f0f0f0;
    }

    nav a {
        padding: 10px;
        color: #f0f0f0;
        
    }
   footer p {
        margin: 50px 40px;
        color: #ffffff;
        padding-bottom: 30px;
    }
}

main {
    margin: 20px 0 80px 0; /* Adjust bottom margin to ensure main content is not overlapped by nav */
}
.thumbcontainer {
    position: relative;
    background-color: #000000;
}

.sliding-container {
    position: relative;
    max-width: 50%;
    overflow: hidden; /* Ensure the banners do not overflow */
    padding-left: 300px;
}

.sliding-thumbnails {
    position: absolute;
    top: calc(100% + 20px); /* Position thumbnails below the slides */
    left: 50%; /* Align thumbnails to the center horizontally */
    transform: translateX(-50%);
    z-index: 10; /* Ensure thumbnails are above the banners */
}

.thumbnail {
    display: inline-block;
    width: 100px; /* Adjust thumbnail size */
    height: auto; /* Maintain aspect ratio */
    margin: 10px; /* Adjust spacing */
    cursor: pointer;
}

.thumbnail img {
    width: 10%; /* Make sure thumbnails fill their container */
    height: auto;
    border: 4px solid transparent; /* Add border for visibility */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Add shadow effect */
}

.thumbnail.active img {
    border-color: black; /* Change border color for active thumbnail */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); /* Increase shadow for active thumbnail */
}

.slidingSlides {
    display: none; /* Hide all slides by default */
    width: 100%;
    height: auto;
}

.slidingSlides.active {
    display: block; /* Show active slide */
}
  /* Media query to hide elements on mobile screens */
  @media (max-width: 700px) {
    .thumbcontainer,
    .sliding-container,
    .sliding-thumbnails,
    .thumbnail,
    .slidingSlides {
      display: none !important;
    }
  }
  
  

/* Header, footer, and main styling */
header, footer {
    background-color: #004080;
    color: white;
    padding: 5px 10px;
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT' 
    
    
}

header h1, footer p {
    margin: 5px 0;
    
    color: #ffffff;
}

nav {
    margin: 10px 0;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

main {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

#about {
    margin: 20px 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

hr {
    border: 3px solid #004080;
    width: 90px;
    margin: 10px 0;
    text-align: center;
}
.logo{
    width: 100px;
    height: 100px;
    margin-top: 40px;
}
@media (max-width: 768px) {
    .logo {width: auto;
        height: auto;
        }
    }