/* products.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);
    color: #fff;
    text-align: center;
    padding: 30px;
    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;
}

nav a {
    text-decoration: none;
    color: #fff;
    padding: 15px;
}

#about {
    padding: 20px;
    text-align: center;

}

/* Product Details Styles */
#product-details {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    height: 500px;
    border-radius: 5px;
}

.product-info {
    max-width: 600px;
}

.product-info h2 {
    font-size: 1.5em;
}

.product-info p {
    color: #555;
    font-size: 1em;
    margin-bottom: 20px;
}

.product-info button {
    background-color: #222831;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.product-info button:hover {
    background-color: #1a1f25;
}

footer {
    background-color: #222831; /* Using first-color from the palette */
    color: #fff;
    text-align: center;
    padding: 10px;
}

/* Media Queries for Responsiveness */
@media (max-width: 600px) {
    header {
        padding: 20px;
    }

    #logo-container {
        position: static;
        margin-bottom: 20px;
    }

    nav ul {
        flex-direction: row;
        padding: 10px;
        margin: auto;
        font-size: small;
    }

    nav a {
        padding: 10px;
    }

    #product-details {
        flex-direction: column;
        padding: 10px;
    }

    .product-image img {
        height: 400px;
        
    }

    .product-info {
        padding: 0 10px;
    }

    .product-info h2 {
        font-size: 1.2em;
    }

    .product-info p {
        font-size: 0.9em;
    }
}
