@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("utilities.css");

:root {
    --primary: #770404;
    --primary-light: #77040415;
    --text: #494f66;
    --background: #f5f7fa;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
        width: 260px;
    }
}

body {
    font-family: "Poppins", serif;
    color: var(--text);
    font-size: 14px;
    font-weight: 350;
    background-color: var(--background);
}

img {
    cursor: pointer;
}

.wrapper {
    background-color: var(--background);
    z-index: 5;
    padding-bottom: 50px;
    margin-bottom: 50px;
}

#top_bar {
    height: 40px;
    background-color: var(--primary);
    color: white;

    .container {
        display: flex;
        justify-content: space-between;
        height: 100%;
        font-size: 14px;
    }

    .left,
    .right {
        display: flex;
        align-items: center;
    }

    .item {
        display: flex;

        img {
            margin-right: 8px;
            width: 20px;
            filter: invert(1);
        }
    }
}

nav {
    height: 80px;
    background-color: white;

    .container {
        height: 100%;
        display: flex;
        justify-content: space-between;

        ul {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;
            list-style: none;
            padding-left: 0;

            li {
                img {
                    width: 34px;
                    height: 34px;
                    display: block;
                }

                a {
                    display: block;
                    padding: 8px 32px;
                    text-decoration: none;
                    font-weight: 500;
                    color: var(--text);
                }
            }

            &#socials {
                img {
                    width: 32px;
                    height: 32px;

                    &#whatsapp {
                        width: 34px;
                        height: 34px;
                    }
                }
                a {
                    padding-right: 0 !important;
                    padding-left: 18px !important;
                }
            }

            &#logo_ul {
                a {
                    padding-left: 0 !important;
                }
            }
        }
    }

    #logo {
        filter: invert(9%) sepia(88%) saturate(7078%) hue-rotate(1deg) brightness(78%) contrast(124%);
        width: 58px;
        height: 58px;
    }

    .menu_toggler {
        width: 42px;
        height: 42px;
        position: relative;
        top: 12px;
        display: none;
    }
}

#home_header {
    height: 60vh;
    background-color: #77040415;
    background-image: url("/assets/img/bg.jpg");
    overflow: hidden;

    .container,
    .row {
        height: 100%;

        #header_right {
            display: flex;
        }

        #header_left {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
    }
}

#contact_header {
    height: 240px;
    background-color: #77040415;
    background-image: url("/assets/img/global_bc.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;

    .container {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

#contact_items {
    img {
        display: block;
        margin: 0 auto;
        width: 46px;
        margin-bottom: 2em;
    }

    span {
        display: block;
    }
}

#map,
#video {
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
}

#video {
    background-color: #77040415;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;

    img {
        width: 50px;
        height: 50px;
        filter: invert(9%) sepia(88%) saturate(7078%) hue-rotate(1deg) brightness(78%) contrast(124%);
    }
}

footer {
    background-color: var(--primary);
    width: 100%;
    z-index: -1;
    color: aliceblue;

    .text-right {
        text-align: right;

        a {
            color: white;
            font-weight: 500;
        }
    }
}

#services_teaser {
    .col-md-6 {
        height: 550px;

        .card {
            height: 100%;
        }
    }

    .item {
        background-size: cover;
        background-repeat: no-repeat;
        padding: 0 !important;

        .cover {
            background-color: rgba(0, 0, 0, 0.73);
            width: 100%;
            height: 100%;
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: flex-start;
            transition: all 0.3s linear;
            padding-left: 16px;

            h4,
            h5,
            h6 {
                color: aliceblue !important;
                opacity: 0.8;
                transition: all 0.3s linear;
                font-weight: 600;
            }

            &:hover {
                h4,
                h5,
                h6 {
                    opacity: 0;
                }

                background-color: rgba(0, 0, 0, 0.03);
            }
        }
    }

    #apparel {
        background-image: url("/assets/img/services/apparel.png");
    }

    #screen {
        background-image: url("/assets/img/services/screen_printing.jpg");
    }

    #vehicle_branding {
        background-image: url("/assets/img/services/vehicle_branding.jpg");
    }

    #vehicle_brandings {
        background-image: url("/assets/img/services/vehicle_branding_2.jpg");
    }

    #large_format {
        background-image: url("/assets/img/services/large_format.jpg");
    }

    #silk_screen {
        background-image: url("/assets/img/services/silk_screen.jpg");
    }

    #silk_screen_large {
        background-image: url("/assets/img/services/silk_screen_large.jpg");
    }

    #embroidery {
        background-image: url("/assets/img/services/embroidery.jpg");
    }

    #sublimation {
        background-image: url("/assets/img/services/sublimation.jpg");
    }

    #packaging {
        background-image: url("/assets/img/services/packaging.jpg");
    }

    #wood {
        background-image: url("/assets/img/services/wood.jpg");
    }

    #banner {
        background-image: url("/assets/img/services/banner.jpg");
    }

    #custom {
        background-image: url("/assets/img/services/custom.jpg");
    }

    #corporate {
        background-image: url("/assets/img/services/corporate.jpg");
        background-position: bottom;
    }
}

#reviews {
    .card {
        border: none !important;
        border-radius: 16px;

        .card-body {
            min-height: 200px;
        }

        .user {
            display: flex;
            .image {
                width: 50px;
                height: 50px;
                background-color: var(--primary);
                display: flex;
                align-items: center;
                justify-content: center;
                color: aliceblue;
                font-size: 32px;
                font-weight: 700;
                border-radius: 12px;
                margin-bottom: 12px;
            }

            .details {
                margin-left: 1em;

                h6 {
                    margin-bottom: 2px;
                    font-weight: 600;
                }

                .stars {
                    img {
                        width: 18px;
                        margin-right: 2px;
                    }
                }
            }
        }
    }
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 240px;
    gap: 12px;

    .item {
        border-radius: 16px;
        padding: 12px;
        color: black;
        background-color: var(--primary-light);
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        text-align: center;
        transition: all 0.4s linear;

        &:hover {
            scale: 1.025;
        }
    }

    .big {
        grid-row: span 2;
        grid-column: span 2;
    }

    .tall {
        grid-row: span 2;
    }

    .wide {
        grid-column: span 2;
    }
}

/* Responsive CSS */
@media only screen and (max-width: 768px) {
    nav {
        .menu_toggler {
            display: block;
        }

        #socials,
        #links {
            display: none;
        }
    }

    #header_right {
        display: none !important;
    }

    .grid {
        .big {
            grid-row: span 1;
            grid-column: span 1;
        }

        .tall {
            grid-row: span 1;
        }

        .wide {
            grid-column: span 1;
        }
    }

    footer {
        text-align: center !important;

        .text-right {
            text-align: center !important;
            padding-bottom: 18px;
        }
    }

    #map,
    #video,
    .in_space {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    #contact_items {
        .col-md-4 {
            margin-bottom: 36px;

            img {
                margin-bottom: 8px !important;
            }
        }
    }
}
