/* main.css */

/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

a {
    text-decoration: none;
    color: #000;
}

/* Header Styles */
header {
    background-color: #87ceeb;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    margin-left: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin-right: 20px;
}

nav ul li a {
    padding: 10px 15px;
    display: block;
    color: #000;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    color: white;
}

.hero img {
    width: 100%;
    height: auto;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
}

.hero-text h1 {
    font-size: 2.5em;
    margin: 0;
}

/* Categories Section */
.categories {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background-color: #fff;
}

.category {
    text-align: center;
}

.category img {
    width: 200px;
    height: auto;
    margin-bottom: 10px;
}

/* Products Section */
.products ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 20px;
    padding: 20px;
    margin: 0;
}

.products li {
    background-color: #fff;
    padding: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.products li img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.products li p {
    margin: 0;
}

/* Favorite Brands Section */
.favorite-brands {
    background-color: #fff;
    padding: 20px;
    text-align: center;
}

.favorite-brands h2 {
    margin-bottom: 20px;
}

.brand {
    display: inline-block;
    margin: 0 10px;
    text-align: center;
}

.brand img {
    width: 100px;
    height: auto;
}

/* Buy Online Section */
.buy-online,
.sign-up,
.free-shipping {
    background-color: #fff;
    padding: 20px;
    text-align: center;
}

.buy-online h2,
.sign-up h2,
.free-shipping h2 {
    margin-bottom: 10px;
}

button {
    background-color: #87ceeb;
    border: none;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
}

button:hover {
    background-color: #6cb7d9;
}

/* Footer Section */
footer {
    background-color: #87ceeb;
    color: black;
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

.footer-section {
    flex: 1;
}

.footer-section h3 {
    border-bottom: 1px solid black;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: black;
}
