@import url('./global/colors.php');
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
@import url("https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css");

* {
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--white);
}

.width {
    width: 1150px;
    margin: auto;
}

a {
    text-decoration: none;
}

header {
    width: 100%;
    padding: 30px 0;
    background-color: var(--white);
    /* border-bottom: 1px solid var(--border-grey); */
}

.header {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 35px;
}

.logo h1 {
    font-size: 23px;
    font-weight: 700;
    color: var(--black);
}

.menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

.menu a {
    color: var(--black);
    font-size: 16px;
    font-weight: 500;
    transition: 0.2s;
}

.menu a:hover {
    color: var(--blue);
}

.home {
    width: 100%;
    height: calc(100vh - 95px);
    /* background-color: red; */
    display: flex;
    position: relative;
}

.home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* position: absolute; */
}

.cover_home {
    width: 100%;
    height: 100%;
    background-color: var(--bg-transparent-black);
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cover_home h1 {
    font-size: 70px;
    color: var(--white);
    font-weight: 700;
    text-align: center;
}

.cover_home a {
    padding: 15px 30px;
    background-color: var(--white);
    border-radius: 50px;
    color: var(--black);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 50px;
    gap: 10px;
}

.layanan {
    width: 100%;
    padding-top: 100px;
}

.layanan h1 {
    text-align: center;
    font-size: 35px;
    font-weight: 600;
    color: var(--black);
}

.box_layanan {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin: auto;
    margin-top: 50px;
}

.isi_layanan {
    width: 100%;
    padding: 30px;
    background-color: var(--soft-blue);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.isi_layanan img {
    height: 60px;
    opacity: 0.95;
}

.isi_layanan p {
    font-size: 19px;
    margin-top: 15px;
    font-weight: 600;
    color: var(--black);
    text-align: center;
}

.tentang_kami {
    width: 100%;
    padding-top: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.text_tentang_kami {
    width: 100%;
}

.text_tentang_kami h1 {
    font-size: 35px;
    color: var(--black);
    font-weight: 600;
}

.text_tentang_kami p {
    font-size: 19px;
    color: var(--black);
    font-weight: 400;
    margin-top: 20px;
}

.tentang_kami img {
    width: 100%;
    height: 310px;
    border-radius: 20px;
    object-fit: cover;
}

.line_tk {
    width: 100%;
    height: 1px;
    background-color: var(--border-grey);
    margin-top: 100px;
}

.galeri {
    width: 100%;
    padding-top: 100px;
}

.galeri h1 {
    text-align: center;
    font-size: 35px;
    font-weight: 600;
    color: var(--black);
}

.box_galeri {
    width: 100%;
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 30px;
}

.box_galeri img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 5px;
}

footer {
    width: 100%;
    background-color: var(--soft-blue);
    margin-top: 100px;
    padding: 20px 0;
}

footer p {
    text-align: center;
    font-size: 14px;
    color: var(--black);
}

footer p a {
    color: var(--blue);
}

/* RESPONSIVE */

@media only screen and (max-width: 900px) {
    .width {
        width: 90%;
    }

    header{
        padding: 20px 0;
    }

    .header {
        justify-content: center;
    }

    .logo {
        gap: 10px;
    }

    .logo img {
        height: 22px;
    }

    .logo h1 {
        font-size: 18px;
    }

    .menu {
        display: none;
    }

    .home {
        height: calc(100vh - 67px);
    }

    .cover_home h1 {
        font-size: 30px;
    }

    .cover_home a {
        padding: 15px 30px;
        font-size: 17px;
    }

    .cover_home a i {
        font-size: 20px;
    }

    .layanan {
        padding-top: 50px;
    }

    .layanan h1 {
        font-size: 25px;
    }

    .box_layanan {
        width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .isi_layanan img {
        height: 50px;
    }

    .isi_layanan p {
        font-size: 16px;
        margin-top: 15px;
    }

    .line_tk {
        margin-top: 50px;
    }

    .tentang_kami {
        padding-top: 50px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .text_tentang_kami h1 {
        font-size: 25px;
        text-align: center;
    }

    .text_tentang_kami p {
        font-size: 16px;
        margin-top: 10px;
        text-align: center;
    }

    .tentang_kami img {
        height: 200px;
    }

    .galeri {
        padding-top: 50px;
    }

    .galeri h1 {
        font-size: 25px;
    }

    .box_galeri {
        margin-top: 30px;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .box_galeri img {
        height: 180px;
    }

    footer {
        margin-top: 50px;
    }

    footer p {
        font-size: 12px;
    }
}

@media only screen and (max-width: 400px) {
    .cover_home h1 {
        font-size: 25px;
    }

    .cover_home a {
        padding: 15px 30px;
        font-size: 16px;
    }

    .cover_home a i {
        font-size: 19px;
    }
}