@import url(/_assets/tmp/layout.css);

#section-banner {
    position: relative;
    width: 100%;
    min-height: 20dvh;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

#background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: -1;
}

.background-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#background-cover-hero {
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255, 255, 255, 1) 70%);
}

#container-banner {
    text-align: center;
}

.web-title {
    text-transform: uppercase;
    line-height: 1.5;
    font-size: 2rem;
    font-family: Montserrat-Black, sans-serif;
    font-weight: 900;
    color: var(--dark-color);
}

@media (max-width: 1200px) {
    #section-banner {
        min-height: 30dvh;
    }
    
    #container-banner {
        min-width: 0;
        display: flex;
        flex-direction: column;
        height: auto;
        padding-top: 4rem;
        width: 90%;
        gap: 2rem;
    }

    #web-title {
        text-align: center;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px){
    #container-banner {
        padding-top: 5rem;
    }

    
    #section-banner {
        min-height: 0;
        padding: 2rem 0 0 0;
    }
}

.hr-line {
    margin: 2rem 0;
}

.text {
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: justify;
}

/* -------------------------------------------------------------- Products*/

#section-product {
    padding: 3rem 0;
}

#container-product {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #777;
}

#product-image-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

#product-image-container img {
    width: 100%;
    aspect-ratio: 5/4;
    object-fit: cover;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

#product-image-container .contain {
    object-fit: contain;
}

#product-title {
    color: var(--dark-color);
    text-transform: uppercase;
    font-size: 1.7rem;
    font-family: Montserrat-black, sans-serif;
}

.main-hr {
    margin: 1.5rem 0;
}

.data {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.data-title {
    font-weight: 900;
    width: 10rem;
    min-width: 10rem;
    font-size: 1.1rem;
}

.separator {
    text-align: center;
}

.data-description {
    font-size: 1.1rem;
    font-weight: 400;
    text-align: justify;
}

.text-cap {
    text-transform: capitalize;
}

.data-description ul {
    margin-left: 1.25rem;
    margin-top: .5rem;
}

.data-description ul li {
    padding-left: .5rem;
}

.product-certification {
    display: flex;
    flex-direction: row;
    height: 4rem;
    margin-bottom: 1rem;
    gap: .5rem;
    width: 100%;
}

.certificate {
    height: 100%;
    object-fit: cover;
}

#container-lainnya {
    padding: 2rem 0;
}

#list-lainnya {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1%;
    padding: 0 auto;
}

.list {
    min-width: 32%;
    width: 32%;
    margin-bottom: 1rem;
}

.title {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.title-head {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.type {
    color: var(--secondary-color);
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.5;
    border-bottom: 1px solid #333333aa;
    padding-bottom: .25rem;
    margin-bottom: .5rem;
    width: 90%;
}

.type:hover {
    cursor: pointer;
    color: var(--alternate-color-2);
}

.items {
    width: fit-content;
}

.item {
    line-height: 1.5rem;
    display: block;
    color: #333;
    width: fit-content;
}

.item:hover {
    cursor: pointer;
    color: var(--alternate-color-2);
}

#button-hubungi {
    display: block;
    width: fit-content;
    padding: 10px 25px;
    background-color: var(--secondary-color);
    color: white;
    margin-top: 3rem;
    font-weight: 900;
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -ms-border-radius: 7px;
    -o-border-radius: 7px;
}

#button-hubungi:hover {
    background-color: var(--primary-color);
}

@media (max-width: 1000px){
    #container-product {
        display: flex;
        flex-direction: column;
    }
    
    #product-title {
        text-align: center;
    }

    .product-certification {
        margin-top: 1rem;
        justify-content: center;
    }

    .data {
        flex-direction: column;
        gap: 0rem;
    }

    .separator {
        display: none;
    }

    .data-title {
        font-weight: 900;
        width: fit-content;
        font-size: 1.1rem;
        color: var(--dark-color);
    }
    
    .data-description {
        font-size: 1rem;
        text-align: left;
    }

    .product-certification {
        display: flex;
        flex-direction: row;
        max-height: 4rem;
        margin-bottom: 1rem;
        gap: .5rem;
        width: 100%;
        justify-content: flex-start;
        overflow-x: scroll;
    }

    .certificate {
        height: 100%;
        width: fit-content;
        object-fit: contain;
    }

    #button-hubungi {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 850px){
    .list {
        min-width: 49%;
        width: 49%;
    }
}

@media (max-width: 768px){
    .list {
        min-width: 49%;
        width: 100%;
    }

    .type {
        width: 100%;
    }
}

/* ================================================================================================================ */

#section-closing {
  padding-bottom: 3rem;
  text-align: center;
}

#closing-statement {
  text-align: center;
  margin: 3rem auto 2rem auto;
  width: 80%;
  display: block;
}

#closing-button {
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  background-color: white;
  font-weight: 600;
  padding: 10px 35px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

#closing-button:hover {
  background-color: var(--primary-color);
  color: white;
}
