/* ================= GENERAL STYLES ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}


/* ================= PRODUCT SECTION ================= */
#products {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

#products h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Product List (2 Products Side by Side) */
.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.product {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 48%; /* Two products in one row */
    margin-bottom: 20px;
    text-align: center;
}

.product img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.product h3 {
    margin: 10px 0;
    font-size: 18px;
}

.product p {
    font-size: 14px;
    color: #555;
}

/* Review Stars */
.star-rating {
    color: #ffdd57;
    font-size: 18px;
    margin-bottom: 5px;
}

/* Buy Button */
.buy-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #0073e6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.buy-btn:hover {
    background: #005bb5;
}

/* ================= ABOUT PAGE ================= */
.about-container {
    background: white;
    padding: 40px;
    max-width: 800px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* ================= FOOTER ================= */
footer {
    background: #222;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    width: 30%;
    padding: 10px;
    text-align: left;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #ffdd57;
}

.footer-section p {
    font-size: 14px;
    color: #bbb;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 8px 0;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ffdd57;
}

/* Social Media Icons */
.social-icons {
    margin-top: 10px;
}

.social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 20px;
    transition: color 0.3s ease-in-out;
}

.social-icons a:hover {
    color: #ffdd57;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 20px;
    padding-top: 10px;
    font-size: 14px;
    color: #aaa;
}

/* Back to Top Button */
.back-to-top {
    display: inline-block;
    margin-top: 10px;
    color: #ffdd57;
    font-weight: bold;
    text-decoration: none;
}

.back-to-top:hover {
    text-decoration: underline;
}

/* ================= RESPONSIVE DESIGN ================= */
@media screen and (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        background: #0073e6;
        width: 100%;
        padding: 10px 0;
    }

    .nav-links li {
        text-align: center;
        margin: 10px 0;
    }

    .product-list {
        flex-direction: column;
        align-items: center;
    }

    .product {
        width: 90%; /* Full width in small screens */
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        width: 100%;
        margin-bottom: 20px;
    }
}
