/* styles.css */

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #e6e7e8, #5e7082); 
}

header {
    background: linear-gradient(to bottom right, #222831, #506f86); /* Gradient between first-color and second-color */
    color: #fff;
    text-align: center;
    padding: 45px;
    position: relative;
}

/* Logo Styles */
#logo-container {
    position: absolute;
    top: 25px;
    left: 20px;
}

#logo-container img {
    width: 200px; /* Adjust the width as needed */
    height: auto;
}

#logo-container p {
    margin: 15px; /* Adjust the margin as needed */
    line-height: 0;
    font-size: 18px; 
    font-family: 'Times New Roman', Times, serif;
    color: #fff; /* Text color */
}

nav {
    background-color: #393e46; /* Using second-color from the palette */
}

nav ul {
    list-style: none;
    padding: 20px;
    margin: 15px;
    display: flex;
    justify-content: center;
	flex-wrap: wrap;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav a {
    text-decoration: none;
    color: #fff;
    padding: 15px;
	white-space: nowrap;
}

#about {
    padding: 20px;
    text-align: center;

}

#about p {
    text-align: center;
    line-height: 1.5;
    max-width: 1000px;
    margin-top: 20px; /* Increase top margin for spacing */
    margin-left: 270px; 
    margin-right: 270px;
    color: #666;
    background-color: #f2f2f2; /* Add a subtle background color */
    padding: 20px; /* Add padding for better readability */
    border-radius: 10px; /* Add rounded corners for a stylish look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle box shadow */
}


img {
    max-width: 100%;
    height: 400px;
    display: block;
    margin: 20px auto;
}

footer {
    background-color: #222831; /* Using first-color from the palette */
    color: #fff;
    text-align: center;
    padding: 10px;
}



/* Product Styles */
#products {
    padding: 20px;
    text-align: center;
}

.product-container {
	display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.product-box {
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.product-box img {
    max-width: 100%;
    height: 400px; 
    object-fit: cover; 
    border-radius: 5px;
    margin-bottom: 10px;
}

.product-box h3 {
    font-size: 1.2em;
    margin: 0;
}

.product-box p {
    color: #555;
    font-size: 0.9em;
    text-decoration: none;
}


#contact {
    padding: 40px;
    text-align: center;
background: linear-gradient(to bottom, #f9f9f9, #ffffff);
}


.contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.contact-links a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 1.2em;
}

.contact-links a:hover {
    color: #333; /* Darken the color on hover */
}

.contact-links a i {
    margin-right: 10px;
    font-size: 1.5em;
}

/* Responsive Styles */

@media screen and (max-width: 600px) {
    header {
        padding: 20px;
    }

    #logo-container {
        position: static;
        text-align: center;
        margin-bottom: 10px;
    }

    #logo-container img {
        width: 80%;
        max-width: 200px;
    }

    nav ul {
        padding: 10px;
        margin: 0;
    }

    nav a {
        padding: 10px;
    }

    section {
        padding: 10px;
    }

    img {
        height: auto;
        max-height: 300px;
    }
	
	#about p {
        margin-left: 10px;
        margin-right: 10px;
    }

    .product-container {
        display: block; /* Display products as a vertical stack */
    }

    .product-box {
        width: 100%; /* Take up full width of container */
        margin-bottom: 20px; /* Add margin between products */
    }
}
