* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    background: #fff;
}


/* Header */

header {
    height: 80px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    background: white;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: #111;
    font-size: 14px;
}

nav a:hover {
    color: #777;
}

.cart {
    border: 1px solid #111;
    background: white;
    padding: 10px 18px;
    cursor: pointer;
}


/* Hero */

.hero {
    min-height: 650px;
    background: linear-gradient(
        90deg,
        #f1f1f1 0%,
        #f8f8f8 55%,
        #dedede 100%
    );

    display: flex;
    align-items: center;
    padding: 80px 10%;
}

.hero-text {
    max-width: 600px;
}

.small-title {
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 70px;
    line-height: 1;
    margin-bottom: 25px;
}

.hero p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.shop-btn {
    display: inline-block;
    background: #111;
    color: white;
    text-decoration: none;
    padding: 16px 30px;
    font-size: 14px;
}

.shop-btn:hover {
    background: #333;
}


/* Categories */

.categories {
    padding: 90px 7%;
    text-align: center;
}

.categories h2,
.products h2,
.contact h2 {
    font-size: 40px;
    margin-bottom: 45px;
}

.category-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.category-image {
    height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
    background: #ddd;
}

.category-image span {
    color: white;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 3px;
}


/* Different category backgrounds */

.men {
    background: linear-gradient(135deg, #333, #999);
}

.women {
    background: linear-gradient(135deg, #ddd, #777);
}

.accessories {
    background: linear-gradient(135deg, #222, #666);
}


/* Products */

.products {
    padding: 90px 7%;
    text-align: center;
    background: #f8f8f8;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product {
    background: white;
    padding-bottom: 25px;
}

.product-image {
    height: 300px;
    background: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 12px;
    letter-spacing: 1px;
}

.product h3 {
    margin-top: 20px;
    font-size: 17px;
}

.product p {
    margin: 10px 0 15px;
    color: #555;
}

.product button {
    padding: 11px 22px;
    background: #111;
    color: white;
    border: none;
    cursor: pointer;
}

.product button:hover {
    background: #444;
}


/* About */

.about {
    min-height: 500px;
    padding: 100px 15%;
    display: flex;
    align-items: center;
    background: #eee;
}

.about h2 {
    font-size: 55px;
    line-height: 1.05;
    margin-bottom: 25px;
}

.about p {
    max-width: 600px;
    line-height: 1.8;
    color: #555;
}


/* Newsletter */

.newsletter {
    text-align: center;
    padding: 90px 20px;
}

.newsletter h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.newsletter p {
    color: #666;
    margin-bottom: 30px;
}

.newsletter form {
    display: flex;
    justify-content: center;
}

.newsletter input {
    width: 300px;
    padding: 15px;
    border: 1px solid #ccc;
}

.newsletter button {
    padding: 15px 25px;
    background: #111;
    color: white;
    border: none;
}


/* Contact */

.contact {
    text-align: center;
    padding: 80px 20px;
    background: #f5f5f5;
}

.contact p {
    margin: 10px;
    color: #555;
}


/* Footer */

footer {
    background: #111;
    color: white;
    padding: 40px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    color: #aaa;
    font-size: 13px;
}


/* Mobile */

@media (max-width: 800px) {

    header {
        padding: 0 5%;
    }

    nav {
        display: none;
    }

    .hero {
        min-height: 550px;
        padding: 60px 7%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .category-container,
    .product-container {
        grid-template-columns: 1fr;
    }

    .category-image {
        height: 350px;
    }

    .about {
        padding: 70px 8%;
    }

    .about h2 {
        font-size: 42px;
    }

    .newsletter form {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .newsletter input {
        width: 90%;
    }

    footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}