@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Lato", sans-serif;
    color: #000;
    background-color: rgb(255, 255, 255);
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgb(234, 234, 234);
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgb(255, 255, 255);
}

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

.links {
    display: flex;
    gap: 20px;
}

.links a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 16px;
    transition: all 0.3s ease;
}

.links a:hover {
    color: rgb(101, 101, 101);
    text-decoration: underline;
    transform: scale(1.1);
}

.hero {
    height: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgb(249, 249, 249);
    padding: 20px;
    position: relative;
    background-size: cover;
    overflow: hidden;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.hero p {
    font-size: 16px;
    margin-bottom: 20px;
    color: rgb(85, 85, 85);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.hero p:hover,
.hero h1:hover {
    transform: scale(1.02);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/background.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    z-index: 0;
}

.collection {
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid rgb(0, 0, 0);
    color: rgb(0, 0, 0);
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.collection:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
    transform: scale(1.1);
}

.products {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 10px;
}

.product {
    text-align: center;
    border: 1px solid #eaeaea;
    padding: 10px;
    transition: all 0.3s ease;
}

.product:hover {
    background-color: #ededed;
    border: 1px solid #c1c1c1;
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

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

.product h2 {
    font-size: 16px;
    margin-bottom: 10px;
}

.product p {
    font-size: 15px;
    margin-bottom: 30px;
    color: rgb(85, 85, 85);
}

.product a {
    text-decoration: none;
    padding: 10px 20px;
    background-color: transparent;
    color: rgb(0, 0, 0);
    font-size: 18px;
    transition: all 0.3s ease;
    text-align: center;
}

.product a:hover {
    color: rgb(255, 12, 12);
    transform: scale(1.1);
}

footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgb(234, 234, 234);
    font-size: 12px;
    background-color: rgb(249, 249, 249);
}

footer a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    transition: all 0.3s ease;
}

footer a:hover {
    color: rgb(75, 75, 75);
    text-decoration: underline;
    transform: scale(1.1);
}

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

    .links {
        flex-direction: column;
        gap: 10px;
    }

    .products {
        flex-direction: column;
        gap: 20px;
    }

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

    .hero p {
        font-size: 14px;
    }
}