@import url(/_assets/tmp/layout.css);

#section-banner {
    height: 50dvh;
    position: relative;
    color: white;
}

#section-banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    padding-bottom: 3rem;
}

.title {
    font-size: 2.1rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
}

.subtitle {
    font-size: 1.2rem;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: lighter;
}

.banner-link {
    border: 2px solid white;
    padding: 10px 25px;
    font-weight: 600;
}

/* --------------------------- section intro*/

#section-intro {
    background-color: var(--light);
    padding: 7rem 0;
}

#section-intro .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7%;
}

#intro-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.text-title {
    font-size: 2.5rem;
    color: var(--main);
}

.text-content {
    font-size: 1.3rem;
    line-height: 1.5;
    color: black;
    font-weight: lighter;
}

#intro-image {
    width: 100%;
}

#intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px){
    #section-intro .container {
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
    }
}

/* --------------------------- section product*/

#section-product {
    padding: 3rem 0;
    background-color: white;
}

#section-product .text-title {
    text-align: center;
}

#latest-product-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    margin-top: 2rem;
}

.latest-product {
    width: 100%;
    padding: .7rem;
    border-radius: 14px;
    -webkit-border-radius: 14px;
    -moz-border-radius: 14px;
    -ms-border-radius: 14px;
    -o-border-radius: 14px;
    text-align: center;
}

.latest-product:hover {
    box-shadow: 0px 0px 7px rgba(0,0,0,.5);
}

.latest-product img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 14px;
    -webkit-border-radius: 14px;
    -moz-border-radius: 14px;
    -ms-border-radius: 14px;
    -o-border-radius: 14px;
    margin-bottom: .5rem;
}

.latest-product-name {
    color: var(--main);
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

@media (max-width: 1150px){
    #latest-product-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 550px){
    #latest-product-container {
        grid-template-columns: 1fr;
    }
}

/* --------------------------- section discover*/

#section-discover {
    padding: 7rem 0;
    background-color: var(--light);
}

#section-discover .container {
    padding: 3rem 3rem 3rem 20rem;
    background-color: var(--brown);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    position: relative;
}

#discover-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 18rem;
    z-index: 0;
}

#discover-text {
    z-index: 1;
}

#discover-text .text-title, 
#discover-text .text-content {
    color: white;
}

#discover-text .text-title {
    margin-bottom: .5rem;
    font-weight: 600;
}

#discover-link {
    background-color: var(--main);
    color: white;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 10px 25px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

@media (max-width: 1150px){
    #section-discover .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.4rem;
    }
}

@media (max-width: 768px) {
    #section-discover .container {
        padding: 20rem 3rem 3rem 3rem;
        text-align: center;
        align-items: center;
    }

    #discover-image {
        top: -7rem;
        left: 20%;
        width: 60%;
    }
}

@media (max-width: 500px){
    #section-discover .container {
        padding-top: 8rem;
    }
}