@import url(/_assets/tmp/layout.css);

#section-banner {
    height: 70dvh;
    position: relative;
    color: white;
    min-height: 25rem;
}

#section-banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-bottom: 3rem;
    text-align: center;
}

.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 {
    background-color: var(--main);
    padding: 10px 25px;
    font-weight: 600;
    color: white;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}

.banner-link:hover {
    background-color: var(--dark);
    color: var(--main);
}

#section-banner .background-cover {
    background-color: #000000;
    opacity: 0.25;
}

@media (max-width: 768px){
    #section-banner {
        text-align: center;
    }
}

/* --------------------------- section intro*/

#section-intro {
    padding: 4rem 0;
    position: relative;
    color: var(--gold-light);
}

#section-intro .background-cover {
    background-color: var(--dark);
    opacity: 0.95;
}

#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;
}

.text-content {
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: lighter;
    text-align: justify;
}

.intro-image {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2%;
}

.intro-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

@media (max-width: 768px){
    #section-intro .container {
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .intro-image img {
        aspect-ratio: 2/3;
    }
}

/* ----------------------------------------- products*/

#section-product {
    padding: 3rem 0;
    background-color: var(--lighter);
}

#section-product .text-title {
    text-align: center;
}

#latest-product-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    margin: 2rem auto 0 auto;
}

.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;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid lightgrey;
}

.latest-product:hover {
    box-shadow: 0px 0px 7px rgba(0,0,0,.5);
}

.latest-product-link {
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.product-link-details {
    display: contents;
}

.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;
}

.latest-product-price {
    font-weight: 600;
    align-self: end;
    margin-top: .5rem;
}

.product-link-button {
    margin: 1rem auto 0 auto;
    padding: 10px 25px;
    text-align: center;
    width: 100%;
    display: block;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    background-color: var(--dark);
    color: white;
    cursor: pointer;
}

.product-link-button:hover {
    background-color: var(--main);
}

@media (max-width: 1150px){
    #latest-product-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 550px){
    #latest-product-container {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------------- Faq */

#section-faq {
    padding: 3rem 0;
    color: var(--light);
    position: relative;
}

#section-faq .background-cover {
    background-color: var(--dark);
    opacity: 0.9;
}

#section-faq .text-title {
    margin-bottom: 2rem;
    color: var(--light);
}

.qna {
    display: block;
    margin-bottom: 1rem;
}

.qna label {
    font-size: 1.3rem;
    border-bottom: 1px solid var(--light);
    display: block;
    padding: 0 0 .5rem 0;
    cursor: pointer;
}

.qna label:hover {
    border-bottom: 1px solid var(--gold-light);
    color: var(--gold-light);
}

.answer {
    padding: 0;
    max-height: 0rem;
    overflow-y: hidden;
    transition: all .1s ease-in-out;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    color: var(--gold-light);
}

.qna input:checked ~ .answer {
    padding: 1rem 0;
    max-height: 5rem;
}

@media (max-width: 768px){
    .qna input:checked ~ .answer {
        padding: 1rem 0;
        max-height: 20rem;
    }
}