body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    width: 98%;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

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

nav a {
    color: white;
    text-decoration: none;
    position: relative;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
    padding: 8px 12px;
    border-radius: 5px;
}

nav a:hover {
    background-color: #5d5b5a;
    transform: scale(1.05);
    color: white;
}

.search-cart {
    display: flex;
    align-items: center;
}

input[type="text"] {
    padding: 5px;
    margin-right: 10px;
}

.cart-icon {
    font-size: 20px;
}

.hero {
    display: flex;
    align-items: center;
    padding: 100px 20px;
    color: rgb(9, 0, 90);
    background: url('img/bg.png') center/cover no-repeat;
}

.hero-content {
    justify-content: space-between;
    display: flex;
    width: 100%;
}

.discount-info {
    max-width: 50%;
}

.discount {
    font-size: 20px;
    color: #ff6200;
}

.featured-products {
    background-color: #fdf5f5;
}

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

.product-image {
    text-align: left;
}

.hero h1 {
    font-size: 48px;
}

.cta {
    display: inline-block;
    background-color: #ff6200;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.cta:hover {
    background-color: #df5900;
    transform: scale(1.05);
}

.featured-products {
    padding: 20px;
}

.separation {
    height: 5px;
    background-color: rgb(190, 189, 192);
    position: relative;
    z-index: 20;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px;
}

.product {
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 7px;
    text-align: center;
}

.product img {
    max-width: 100%;
    height: auto;
}

.women-section, .men-section {
    padding: 20px;
    background-color: #ffffff;
}

h2 {
    margin-top: 0;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
}

/* Media Queries for Responsiveness */

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .discount-info {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 36px;
    }

    .cta {
        padding: 8px 15px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }

    .separation {
        height: 2px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .discount {
        font-size: 18px;
    }

    .product {
        padding: 5px;
    }

    footer {
        font-size: 14px;
    }
}
