/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Body */
body {
    background-color: #ffffff;
    color: #000;
    font-size: 16px;
}

/* Header */
header {
    width: 100%;
    padding: 20px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

nav .logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #c0c0c0;
}

.icons {
    display: flex;
    gap: 15px;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
}

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

.hero-content {
    position: absolute;
    top: 20%;
    left: 10%;
    background: #f5f1eb;
    padding: 20px;
    max-width: 350px;
    border-radius: 8px;
}

.hero-content h2 {
    font-size: 24px;
    font-weight: bold;
}

.hero-content p {
    font-size: 14px;
    margin: 10px 0;
}

.hero-content .btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 5px;
}

/* Browse Categories */
.categories {
    text-align: center;
    margin: 50px 0;
}

.categories h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}

.category-list {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.category {
    width: 220px;
    text-align: center;
}

.category img {
    width: 100%;
    border-radius: 10px;
}

.category p {
    margin-top: 10px;
    font-weight: 500;
}

/* Products */
.products {
    text-align: center;
    margin: 50px 0;
}

.products h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 150px;
}

.product {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.product img {
    width: 100%;
    border-radius: 8px;
}

.product p {
    margin-top: 10px;
    font-weight: 500;
}

.show-more {
    margin-top: 30px;
    padding: 12px 20px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

/* Footer */
footer {
    background: #f5f5f5;
    padding: 40px 150px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content nav {
    display: flex;
    flex-direction: column;
}

.footer-content nav p {
    font-weight: bold;
}

.footer-content nav a {
    text-decoration: none;
    color: #000;
    margin: 5px 0;
    font-size: 14px;
}

.newsletter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 250px;
}

.newsletter button {
    padding: 10px 15px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .newsletter input, .newsletter button {
        width: 100%;
        margin-top: 5px;
    }
}
