* {
    box-sizing: border-box;
}

:root {
    --merah-brand: #CF2030;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #F4F3F0;

    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

h1, h2 {
    font-family: "Bacasime Antique", serif;
    margin: 0;
}

.sticky-container {
    position: fixed;
    top: 0;
    max-width: 768px;
    width: 100%;
    padding: 8px 16px;
    z-index: 1000;
}

nav {
    border-radius: 100px;
    background-color: #FFFFFF;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 20px;
}

nav > img {
    margin-right: auto;
    width: 60px; 
}

.whatsapp-box {
    display: flex;
    align-items: center;
    gap: 4px;
}

.whatsapp {
    text-decoration: none;
    color: black;
}

button {
    padding: 12px 24px;
    border-radius: 100px;
    border: none;
    font-family: "Plus Jakarta Sans", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;

    &.primary {
        background-color: var(--merah-brand);
        color: white;
    }

    &.primary:hover {
        background-color: #a9202c;
    }

    &.secondary {
        border: 1px solid var(--merah-brand);
        color: var(--merah-brand);
        background: none;
    }

    &.secondary:hover {
        background-color: var(--merah-brand);
        color: white;
    }
}

main {
    max-width: 768px;
    width: 100%;
    padding: 16px;
}

.hero {
    margin-top: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;

    .col-1 {
        flex: 1;

        h1 {
            font-size: 48px;
            color: var(--merah-brand);
            line-height: 48px;
            max-width: 377px;
        }

        p {
            font-size: 16px;
            color: #4A4A4A;
            max-width: 306.46px;
            margin-top: 30px;
        }

        button {
            margin-top: 30px;
        }
    }

    .col-2 {
        flex: 1;
        display: flex;
        justify-content: end;
        position: relative;

        img {
            max-width: 300px;
        }

        .rolling-logo {
            width: 153.51px;
            position: absolute;
            animation: mutermuter 20s infinite;

            bottom: 15px;
            left: -17px;
        }
    }
}

@keyframes mutermuter {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.product {
    display: flex;
    flex-direction: column;
    height: 418px;

    h1 {
        font-size: 48px;
        color: var(--merah-brand);
        margin-top: 35px;
    }
    .menu {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        gap: 16px;
    }
    
    h2 {
        font-size: 24px;
        color: var(--merah-brand);
    }

    p {
        font-size: 16px;
        line-height: 20px;
    }

    img {
        width: 200px;
        margin-top: 0px;
    }

    a {
        font-size: 16px;
        color: var(--merah-brand);
        font-weight: 600;
        margin-top: auto;
        position: absolute;
        bottom: 0;
    }

    .card {
        display: flex;
        flex-direction: column;
        width: 200px;
        margin-top: 10px;
        height: 365px;
        position: relative;
        * {
            margin-top: 15px;
        }
        
    }
}

form {
    margin-top: 90px;
    
    h1 {
        font-size: 48px;
        color: var(--merah-brand);
    }

    .row-1, .row-2, .row-3 {
        margin-top: 30px;

        input, textarea, select {
            font-size: 16px;
            margin-right: 25px;
        }

    }

    .row-1 {
        display: flex;
        flex-direction: row;
        justify-content: space-between;

        * {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        input {
            padding: 12px;
            border: none;
            border-radius: 8px;
            width: 354px;
        }
    }

    .row-2 {

        * {
            gap: 10px;
        }

        textarea {
            border-radius: 8px;
            border: none;
            padding: 12px;
            max-width: 735px;
            max-height: 147px;
            width: 735px;
            height: 147px;
            font-family: "Plus Jakarta Sans", sans-serif;
            margin-top: 10px;
        }
    }

    .row-3 {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        
        * {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        input {
            padding: 12px;
            border: none;
            border-radius: 8px;
            width: 354px;
        }

        select {
            padding: 12px;
            border: none;
            border-radius: 8px;
            width: 354px;
        }
    }

    .button {
        display: flex;
        justify-content: end;
        margin-top: 20px;
    }
}

.faq {
    display: flex;
    flex-direction: column;
    gap: 20px;

    h1 {
        font-size: 48px;
        color: var(--merah-brand);
    }

    details {
        padding: 12px;
        background-color: white;
        border-radius: 8px;
        cursor: pointer;
        min-height: 48px;
    
        summary {
            font-weight: 700;
        }
    
        p {
            padding-top: 16px;
            line-height: 24px;
        }
    }
}



footer {
    background-color: white;
    margin-top: 70px;
    border-radius: 18px;
    height: 283px;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    img {
        width: 140px;
    }

    .row-1 {
        display: flex;
        flex-direction: column;

        p {
            position: absolute;
            bottom: 23px;
            left: 20px;
            color: #797979;
        }
    }

    .row-2 {
        display: flex;
        flex-direction: column;
        width: 322.24px;
        gap: 20px;

        p {
            display: flex;
            flex-direction: column;
            color: var(--merah-brand);
            font-size: 14px;
            line-height: 21px;
            letter-spacing: 0.2em;

            span {
                color: black;
                font-size: 16px;
                line-height: 24px;
                letter-spacing: 0;
            }
        }
    }
}

@media (max-width: 700px) {

    nav button {
        display: none;
    }

    .hero {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        text-align: center;

        .col-1 {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .col-2 {
            .rolling-logo {
                left: -70px;
            }
        }
    }

    .product {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;

        .menu {
            display: flex;
            flex-direction: column;
            margin-top: 700px;
        }
    }

    form {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: 850px;

        .row-1, .row-2, .row-3, .alamat {
            display: flex;
            flex-direction: column;
            gap: 20px;
            
            input, select, textarea {
                width: 400px;
                max-width: 400px;
            }
        }
    }
}