@import "./common.less";

body {
    font: 16px;
    color: #000;
    .d-flex;

    .flex-column;
    min-height: 100vh;

    @media (max-width: 768px) {}
}

.layui-btn {
    min-width: fit-content;
}

main {
    flex: 1;
}

footer {
    padding: var(--p20) 0;
    background: #000000;
    font-size: vaR(--ft14);
    text-align: center;
    color: #9F6730;

    nav {
        color: var(--ftc);
        font-size: var(--ft16);
        .d-flex;
        .al-c;
        .jc-c;
        gap: 10px;
        margin-bottom: 6px;
    }
}

header {
    background: #fff;
    transition: all 0.3s;
    padding: var(--p20) 0;

    .layui-main {
        .d-flex;
        .al-c;
        .jc-s;
        flex-wrap: wrap;
        gap: var(--p20);
    }

    .info {
        .d-flex;
        .jc-fe;
        flex-wrap: wrap;
        gap: var(--p20);
        font-size: var(--ft14);

        li {
            .d-flex;
            .al-c;
            gap: 5px;

        }
    }

    .layui-nav span,
    .layui-nav .layui-nav-item {
        line-height: 1em;
    }

    .layui-nav .layui-nav-item:nth-last-child(2) a {
        padding-right: 0;
    }

    .layui-nav span,
    .layui-nav .layui-nav-item a {
        color: #000;
        font-size: var(--ft18);
    }

    .layui-nav {
        .d-flex;
        .jc-fe;
        .al-c;
        margin-top: var(--p20);
    }

    .layui-nav .layui-this:after,
    .layui-nav-bar {
        display: none;
    }

    .layui-nav .layui-nav-item a:hover,
    .layui-nav .layui-this a {
        color: var(--ftc);
    }

    &.bgcolor {
        box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
    }
}

.top_box {
    aspect-ratio: 1920/300;
    padding: 20px;
    .bg_img;
    color: #fff;
    text-align: center;
    .flex-column-center;

    p {
        font-size: var(--ft18);
        text-transform: uppercase;
    }

    ;

    h1 {
        font-size: var(--ft48);
        letter-spacing: 2px;
    }
}

.FormCard {
    .d-grid;
    grid-template-columns: 30% 1fr;
    gap: var(--p25);

    ul {
        text-align: center;
        .d-grid;
        .grid2;
        gap: vaR(--p20);

        h5 {
            font-size: var(--ft24);
        }

        p {

            font-size: var(--ft14);
            color: #999999;
        }

        margin-bottom: var(--p50);
    }

    .layui-input,
    .layui-select,
    .layui-textarea {
        background: #FAFAFA;
        border-radius: 2px;
        border: 1px solid #ECECEC;
    }

    .layui-textarea {
        height: 150px;
    }

    .layui-btn {
        font-size: var(--ft30);
        --btn: 60px;
        width: 200px;
        background: #D99A5D;
        border-radius: 10px;
    }
}

.IndexMain {
    background: #F1F1F1;
}

.serviceSection {
    padding-top: 0;

    .layui-main {
        position: relative;
        top: -40px;
        padding: var(--p50) var(--p30) var(--p30);
        box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.15);
        background-color: #fff;
        border-radius: 10px;
    }

    .titleCom {
        .t1 {
            color: #000;
        }
    }

    ul {
        margin-top: vaR(--p60);
        .d-grid;
        .grid5;
        text-align: center;

        h5 {
            font-size: vaR(--ft24);
        }

        .img1 {
            margin-bottom: var(--p20);
            height: 50px;
        }

        font-weight: none;

        p {
            font-size: vaR(--ft12);
            color: #999999;
            text-transform: uppercase;
        }

        li {
            padding: var(--p30) var(--p10) var(--p10);

            .flex-column-center;
            transition: all 0.3s;

            &:hover {
                * {

                    color: #fff;
                }

                padding-bottom: 40px;
                border-radius: 20px;
                background: rgba(217, 154, 93, 1);
                box-shadow: 0px 9px 16px 0px #D0B59C;

                .img2 {
                    height: 20px;
                }

                .img1 {
                    filter: brightness(300%) contrast(100%);
                }
            }


        }

        li:not(:last-child) {
            border-right: 1px solid #D1D1D1;
        }

        .img2 {

            margin-top: vaR(--p15);
            height: 0;
        }

    }
}


.aboutSection {
    background: #F1F1F1;
    font-size: var(--ft18);

    .desc {
        text-align: center;
        margin-bottom: var(--p100);
    }

    .card {
        .img {
            position: relative;
            top: -20px;
            .al-fs;
            width: 40%;
            overflow: visible;
            position: relative;
            flex-shrink: 0;

            img {
                width: 120%;
                max-width: 120%;
            }
        }

        .content {
            min-height: 480px;
            padding: var(--p80) var(--p50) var(--p80) var(--p150);

        }

        .d-flex;
        .al-fs;

        .content {
            color: var(--ftc);
            background: #000;
        }
    }
}

.Honer {
    .bg_fixed;

    ul {
        .d-grid;
        .grid4;
        margin-top: var(--p60);

        li {
            position: relative;

            &:hover {
                .content {
                    color: var(--ftc);
                    background: rgba(0, 0, 0, 0.0);
                }

                img {
                    scale: 1.1;
                }
            }
        }

        img {
            transition: all 0.5s;
        }

        .content {
            .d-flex;
            .flex-column;
            .jc-fe;
            top: 0;
            bottom: 0;
            transition: all 0.3s;
            color: #fff;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.4);
            position: absolute;
            padding: var(--p40);

            h5 {
                font-size: vaR(--ft36);
            }

            p {
                font-size: vaR(--ft18);
            }
        }

    }

}

.foot {
    margin-top: var(--p60);
    text-align: center;
    font-size: var(--ft30);
    ;
    color: var(--ftc);
}

.titleCom {
    text-align: center;
    color: var(--ftc);

    .en {
        font-size: var(--ft18);
        text-transform: uppercase;

    }

    .t1 {

        font-size: var(--ft48);
    }

}

.serviceSection1 {
    .titleCom {
        .t1 {
            color: #000;
        }
    }

    ul {
        max-width: 100%;
        text-align: center;
        margin: var(--p60) auto 0;
        gap: var(--p20);
        .flex-center;
        .d-flex;
        .al-fs;
        .jc-s;
        position: relative;
        width: 900px;

        &::before {
            display: block;
            position: absolute;
            content: '';


            width: 600px;
            height: 1px;
            left: 50%;
            top: 105px;
            max-width: 100%;
            transform: translateX(-50%);
            background: rgba(181, 181, 181, 1);
        }

        li {
            flex: 1;
            .d-flex;
            .flex-column;
            .jc-fs;
        }

        h5 {
            margin-top: vaR(--p20);
            font-weight: normal;
            font-size: vaR(--ft24);
        }

        p {
            color: #999;
        }

        .img2 {
            z-index: 1;
            position: relative;
            margin-top: vaR(--p20);
            height: 54px;
        }

        .img1 {
            height: 60px;
        }
    }
}

.CarSection {
    .titleCom {
        .t1 {
            color: #000;
        }
    }

    ul {
        .d-grid;
        .grid3;
        margin-top: vaR(--p60);
        gap: var(--p25);

        .img {
            aspect-ratio: 450/320;
        }

        .box {
            margin-top: vaR(--p10);
            .d-flex;
            .jc-s;
            .al-fs;

            .more {
                color: vaR(--ftc);
            }

            h1 {
                font-size: vaR(--ft24);
            }

            p {

                color: #666;
            }
        }
    }
}

.silder {
    position: fixed;
    right: 10px;
    top: 50%;
    z-index: 9;

    li {
        max-width: 50px;
    }
}

.indexItem {

    padding: var(--p100) 0;
    .bg_fixed;
    color: #fff;
    aspect-ratio: 1920/570;

    .en {
        opacity: 0.27;
        font-size: var(--ft24);
        text-transform: uppercase;
    }

    h1 {
        margin-top: var(--p10);
        font-size: var(--ft36);

    }

    .layui-btn {
        box-shadow: none;
    }
}

.layui-btn {

    margin-top: var(--p20);
    transition: all 0.5s;
    --btn: 60px;
    font-size: var(--ft30);
    width: 200px;
    box-shadow: 0px 9px 16px 0px #D0B59C;

    &:hover {
        opacity: 1;
    }
}

@media only screen and (max-width: 1400px) {}

@media only screen and (max-width: 990px) {
    header .info {
        font-size: 10px;
    }

    header .info1 {
        margin-bottom: vaR(--p10);
    }

    .layui-btn {
        --btn: 40px;
        font-size: 14px;
    }

    .serviceSection .layui-main {

        top: 0;
    }

    .serviceSection ul li:not(:last-child) {
        border: none;
    }

    .serviceSection {

        padding: var(--p30) 0;
    }

    .serviceSection ul {
        .grid2;
    }

    .serviceSection1 ul {
        flex-wrap: wrap;
    }

    .serviceSection1 ul::before {
        display: none;
    }

    .Honer ul {
        .grid2;
    }

    section {
        padding: 30px 0;
    }

    .aboutSection .card {
        flex-wrap: wrap;
    }

    .aboutSection .card .content {
        min-height: auto;
    }

    .logo {
        height: 30px;
    }

    .FormCard {
        .grid1;
    }

    .aboutSection .card .img {
        top: 0;
    }
}

@media only screen and (max-width: 768px) {}

@media only screen and (min-width: 751px) and (max-width: 1400px) {}

@media only screen and (min-width: 751px) {}