@import url(/_assets/tmp/layout.css);

#section-hero {
    position: relative;
    width: 100%;
    min-height: 70dvh;
    padding: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#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( 270deg, rgba(255,255,255,0.7), rgba(255, 255, 255, 1) 80%);
}

#container-hero {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    width: 75%;
    height: 50dvh;
    min-width: 1100px;
}

#hero-text {
    display: block;
    width: 100%;
}

#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);
    margin-bottom: 1rem;
}

.web-tagline {
    font-size: 1.2rem;
    color: var(--dark-color);
    line-height: 1.5;
    margin-bottom: 2rem;
}

.hero-button {
    width: 100%;
    padding: 15px 25px;
    text-align: center;
    display: block;
    margin-bottom: .5rem;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
    font-weight: 900;
}

.hero-button:hover {
    background: var(--alternate-color-2);
    transform: scale(0.99);
    -webkit-transform: scale(0.99);
    -moz-transform: scale(0.99);
    -ms-transform: scale(0.99);
    -o-transform: scale(0.99);
    color: white;
    border: 1px solid var(--alternate-color-2);
}

.hero-button-1 {background-color: white; border: 1px solid var(--dark-color)}
.hero-button-2 {background-color: white; border: 1px solid var(--dark-color)}
.hero-button-3 {background-color: var(--dark-color-2); border: 1px solid var(--dark-color); color: var(--off-white-color);}

#hero-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr; /* Explicitly set equal rows */
    gap: 10px;
    width: 100%;
    height: 100%;
    max-height: 50dvh;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px;
    display: block;
    min-height: 0;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.5);
}

/* Upper left image spans 2 columns */
.image-1 {
    grid-column: 1 / span 2;
}

/* Upper right image */
.image-2 {
    grid-column: 3;
}

/* Lower left image */
.image-3 {
    grid-column: 1;
}

/* Lower right image spans 2 columns */
.image-4 {
    grid-column: 2 / span 2;
}

@media (max-width: 1200px) {
    #container-hero {
        min-width: 0;
        display: flex;
        flex-direction: column;
        height: auto;
        padding-top: 0rem;
        width: 90%;
        gap: 2rem;
    }

    #web-title,
    .web-tagline {
        text-align: center;
    }

    #hero-images {
        gap: 0.5rem;
    }

    .hero-image {
        box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
    }
}

@media (max-width: 768px){
    #container-hero {
        padding-top: 3rem;
    }
}

/* ------------------------------------------------------------ Layanan */

#section-layanan {
    padding: 3rem 0;
    background-color: var(--off-white-color);
}

#container-layanan {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

#layanan-images {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 1rem;
}

#layanan-text {
    width: 50%;
}

/* -----------------*/

#layanan-images-left {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#layanan-images-right {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.layanan-image {
    display: block;
    width: 100%;
    position: relative;
}

#layanan-image-1 {
    height: 100%;
}

#layanan-image-2 {
    height: 40%;
}

#layanan-image-3 {
    height: 60%;
    position: relative;
}

.layanan-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
}

/* -----------------*/

#layanan-text {
    width: 100%;
}

.section-title {
    font-family: Montserrat-Black, sans-serif;
    font-size: 1.75rem;
    line-height: 1.5;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.text {
    line-height: 1.5;
    font-size: 1.1rem;
    text-align: justify;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.value {
    width: 100%;
    min-height: 6rem;
    padding: .5rem 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
    box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.value-1 {background-color: white;}
.value-2 {background-color: white;}
.value-3 {background-color: white;}

.value-title {
    width: 40%;
    text-transform: uppercase;
    font-weight: 900;
    min-width: 11rem;
}

.value-divider {
    border: 1px solid var(--dark-color);
    min-height: 5rem;
    height: 100%;
    width: 1px;
}

.value-text {
    width: 70%;
    padding-left: 1rem;
    text-align: left;
    font-weight: 900;
}

@media (max-width: 768px) {
    #container-layanan {
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .section-title {
        text-align: center;
        font-size: 1.35rem;
    }

    .value {
        margin-bottom: 0.5rem;
        padding: 1rem 1.5rem;
        background-color: white;
        color: var(--dark-color);
        font-weight: 300;
        line-height: 1.5;
    }

    .value-1 {border: 1px solid var(--secondary-color)}
    .value-2 {border: 1px solid var(--secondary-color)}
    .value-3 {border: 1px solid var(--secondary-color)}

    .value-title {
        font-size: 1rem;
        width: 40%;
        min-width: 9rem;
    }

    .value-divider {
        min-height: 7rem;
    }

    .value-divider-1 {border: 1px solid var(--secondary-color);}
    .value-divider-2 {border: 1px solid var(--secondary-color);}
    .value-divider-3 {border: 1px solid var(--secondary-color);}

    .value-text {
        width: 60%;
        font-size: 0.9rem;
    }

    #layanan-images {
        height: 20rem;
    }
}

/* ---------------------------------------------------------------Product */

#section-product {
    padding: 3rem 0;
    position: relative;;
}

.centered {
    text-align: center;
}

#container-products {
    min-width: 1100px;
}

#container-product {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.product {
    width: 100%;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.164);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem;
    color: white;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.product-makanan-instan {background-color: var(--tertiary-color);}
.product-bumbu-dapur {background-color: var(--secondary-color);}
.product-cairan {background-color: var(--alternate-color-2);}

.product-title {
    text-transform: uppercase;
    font-weight: 900;
    font-family: Monserrat-Black, sans-serif;
}

.product hr {
    border: 1px solid white;
    width: 100%;
    margin: 1rem 0 2rem 0;
}

.product ul {
    width: 85%;
    line-height: 1.5;
    font-size: 1.1rem;
    font-family: Montserrat-Black, sans-serif;
}

.product ul li {
    list-style: none;
    margin-bottom: .5rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
}

.product ul li i {
    padding-top: .3rem;
}

@media (max-width: 1200px){
    #container-products {
        min-width: 0;
        width: 95%;
    }
}

@media (max-width: 950px) {
    #container-product {
        grid-template-columns: 1fr;
        gap: .5rem;
    }

    .product {
        max-width: 400px;
        margin: 0 auto;
    }

    .product ul {
        width: 100%;
        font-size: 1.2rem;
        font-weight: 600;
    }
}

/* ----------------#018038-------------------------------------------- Services */

#section-services {
    padding: 3rem 0;
    position: relative;
}

#background-cover-services {
    background: linear-gradient(#018038cc, #018038 70%);
}

#services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

#services-content {
    width: 100%;
}

#section-services .section-title {
    color: var(--off-white-color);
}

#form {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

#form input, #form textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    font-family: Montserrat-Regular, sans-serif;
    margin-bottom: .5rem;
}

#form textarea {
    resize: none;
    min-width: 100%;
    height: 100%;
    min-height: 12rem;
}

#form label {
    font-weight: 900;
    font-size: 1.1rem;
    color: white;
}

#form button {
    width: fit-content;
    padding: 10px 25px;
    background-color: var(--alternate-color-2);
    color: white;
    font-weight: 600;
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -ms-border-radius: 7px;
    -o-border-radius: 7px;
    margin-top: 1rem;
    cursor: pointer;
    font-family: Montserrat-Regular, sans-serif;
    font-size: inherit;
    border: 1px solid rgba(0,0,0,0.2);
}

#form button i {
    margin-right: 1rem;
}

#form button:hover {
    background-color: var(--primary-color);
    font-weight: 900;
    transform: scale(0.98);
    -webkit-transform: scale(0.98);
    -moz-transform: scale(0.98);
    -ms-transform: scale(0.98);
    -o-transform: scale(0.98);
}

#services-image {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

#services-image img {
    object-fit: cover;
    width: 100%;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.25);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

#service-image-1 {
    height: 100%;
}

#services-image > div {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: .75rem;
}

#service-image-2,
#service-image-3 {
    height: 100%;
}

@media (max-width: 900px) {
    #services-container {
        grid-template-columns: 1fr;
        width: 95%;
        margin: 2rem auto;
        gap: 1rem;
    }

    #services-image {
        grid-template-columns: 1fr 1fr;
        margin-top: 2rem;
        gap: .5rem;
        display: none;
    }

    #form button {
        width: 100%;
        text-align: center;
    }

    #services-image img {
        object-fit: cover;
        width: 100%;
        box-shadow: 2px 2px 8px rgba(0,0,0,0.25);
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
    }

    #services-image > div {
        display: grid;
        grid-template-rows: 1fr 1fr;
        gap: .5rem;
    }
}

/* -------------------------------------------------------- Certificate */

#section-certificate {
    padding: 3rem 0;
}

#section-certificate .section-title {
    margin-bottom: 3rem;
}

#certificates {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    margin: 0 auto;
}

.certificate {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    width: 400px;
    border: 1px solid var(--dark-color);
    padding: .75rem 1.2rem;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
}

.certificate img {
    height: 7rem;
    width: 7rem;
    aspect-ratio: 1;
    object-fit: contain;
}

.certificate-title {
    font-size: 1.3rem;
    margin-bottom: .5rem;
}

.certificate-description {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    #certificates {
        gap: 1rem;
    }

    .certificate {
        width: 100%;
    }
}

/* ------------------------------------------------------------- FAQ*/

#section-faq {
    padding: 3rem 0;
    background: var(--off-white-color);
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}

#faqs {
    margin-top: 2rem;
}

.faq {
    display: block;
    width: 100%;
    margin: 1rem auto;
}

.faq-question {
    padding: .5rem 0;
    display: block;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(0,0,0,0.5);
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    position: relative;
}

.faq-answer {
    font-size: 1rem;
    line-height: 1.5;
    text-align: justify;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.faq-checkbox:checked ~ .faq-answer {
    display: block;
    padding: 1rem 0;
    max-height: 4rem;
}
