/* ===== 轮播横幅 ===== */
.royal-banner {
    background: #222;
    height: 90vh;
    position: relative;
    overflow: hidden;
}

.royal-banner-swiper {
    width: 100%;
    height: 100%;
}

.royal-banner-item {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* 背景缩放动画 */
.royal-banner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    /*animation: imageZoom 15s infinite ease-in-out;*/
    z-index: 1;
    /*-webkit-animation: imageZoom 15s infinite ease-in-out;*/
    /*-webkit-transform: scale(1);*/
}

/* 渐变遮罩 */
.royal-banner-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(90deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.1) 100%);
    background: -o-linear-gradient(90deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.1) 100%);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.royal-banner-item .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.royal-banner-info {
    text-align: center;
    line-height: 1.5;
    text-shadow: 3px 6px 15px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
    -webkit-animation: float 3s ease-in-out infinite;
    text-shadow: .2rem .2rem .4rem rgba(0, 0, 0, 0.1), 0 0 4rem rgba(255, 215, 0, 0.1);
}

.royal-banner-info h1 {
    font-size: 6.4rem;
    margin: 4rem 0;
    font-weight: bold;
    color: #fff8e7;
    animation: simpleGoldFlow 5s linear infinite;
}

@keyframes simpleGoldFlow {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

@-webkit-keyframes simpleGoldFlow {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

.royal-banner-info h2 {
    color: #fff;
    font-size: 5.4rem;
}

.royal-banner-info p {
    font-size: 2rem;
    font-family: serif;
    text-transform: uppercase;
    color: #fff;
    animation: gradientFlow 8s ease infinite;
    -webkit-animation: gradientFlow 8s ease infinite;
}

/* 导航按钮 */
.royal-banner-next,
.royal-banner-prev {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.royal-banner-next:after,
.royal-banner-prev:after {
    display: none;
}

.royal-banner-next i,
.royal-banner-prev i {
    color: #fff;
    font-size: 15px;
}

.royal-banner-next:hover,
.royal-banner-prev:hover {
    background: #007dc2;
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}

.royal-banner-next {
    right: 2rem !important;
}

.royal-banner-prev {
    left: 2rem !important;
}

/* ===== 产品分类 ===== */
.royal-i-productclass-section {
    overflow: hidden;
    padding: 8rem 0;
}

.royal-i-productclass-section li {
    padding: 2rem;
}

.royal-i-productclass-item {
    overflow: hidden;
    text-align: center;
    padding: 2rem 0 0;
}

.royal-i-productclass-img {
    width: 8rem;
    height: 8rem;
    text-align: center;
    transition: all ease-in-out .5s;
    overflow: hidden;
    margin: 0 auto 2rem;
}

.royal-i-productclass-img img {
    width: 100%;
    height: 100%;
}

.royal-i-productclass-img:hover {
    -webkit-transform: rotateY(180deg) translateY(-1rem);
    transform: rotateY(180deg) translateY(-1rem);
    transition: all ease-in-out .5s;
}

.royal-i-productclass-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: capitalize;
    font-weight: 700;
}

.royal-i-productclass-info p {
    color: #888;
    font-size: 1.6rem;
    line-height: 1.5;
}

/* ===== 产品轮播 ===== */
.royal-i-product-section {
    overflow: hidden;
    padding: 8rem 0;
}

.swiper-slide {
    height: auto !important;
}

.royal-i-product-item {
    overflow: hidden;
    padding: 2rem 0;
    height: 100%;
}

.royal-i-product-card {
    overflow: hidden;
    border-radius: .4rem;
    box-shadow: .2rem .4rem 1rem rgba(0, 0, 0, 0.05);
    background-color: #fff;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    padding: 2rem;
    border: 1px solid #e8e8e8;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.royal-i-product-card:hover {
    box-shadow: .2rem .4rem 1rem rgba(0, 0, 0, 0.1);
    transform: translateY(-1rem);
}

.royal-i-product-img-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.royal-i-product-img-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: #f4f4f4;
    overflow: hidden;
}

.royal-i-product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    transition: transform 0.5s ease;
    -webkit-transition: -webkit-transform 0.5s ease;
}

.royal-i-product-card:hover .royal-i-product-img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}

.royal-i-product-info {
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.royal-i-product-info h3 {
    font-size: 1.8rem;
    margin: 2rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.royal-i-product-info p {
    padding-top: 2rem;
    border-top: 1px solid #1260cd2b;
    margin-top: auto;
}

/* ===== 优势力量 ===== */
.royal-i-strength-section {
    overflow: hidden;
    padding: 8rem 0;
    background-repeat: no-repeat;
    border-top: 1px solid #f4f4f4;
    background-position: center;
}

.royal-i-strength-section li {
    padding: 2rem;
}

.royal-i-strength-item {
    overflow: hidden;
    text-align: center;
    padding: 2rem 0 0;
}

.royal-i-strength-img {
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    transition: all ease-in-out .5s;
    overflow: hidden;
    margin: 0 auto 2rem;
}

.royal-i-strength-img img {
    width: 100%;
    height: 100%;
}

.royal-i-strength-img:hover {
    -webkit-transform: rotateY(180deg) translateY(-1rem);
    transform: rotateY(180deg) translateY(-1rem);
    transition: all ease-in-out .5s;
}

.royal-i-strength-info h2 {
    font-size: 4.8rem;
    color: #007dc2;
    text-transform: capitalize;
    font-weight: 700;
}

.royal-i-strength-info h3 {
    font-size: 2rem;
    color: #04344e;
    margin: 1rem 0;
    text-transform: capitalize;
    font-weight: 700;
}

.royal-i-strength-info p {
    color: #888;
}

/* ===== Applications ===== */
.royal-i-applications-section {
    overflow: hidden;
    padding: 8rem 0;
    background: linear-gradient(180deg, #007dc2 0%, #007ec2dc 55%, #ffffff 55%, #ffffff 100%);
}

.royal-i-applications-section a {
    overflow: hidden;
    display: block;
    position: relative;
}

.royal-i-applications-section a:hover {
    box-shadow: .2rem .4rem 1rem rgba(0, 0, 0, 0.1);
}

.royal-i-applications-section .royal-section-header:after {
    background-color: #fff;
}

.royal-i-applications-section .royal-section-header h3 {
    color: #fff;
}

.royal-i-applications-section .royal-section-header p {
    color: #fff;
}

.royal-i-applications-section-fl {
    overflow: hidden;
    padding: 0 1rem;
}

.royal-i-applications-section-fr {
    overflow: hidden;
    padding: 0 1rem;
}

.royal-i-applications-section-fl-top {
    overflow: hidden;
    margin-bottom: 2rem;
}

.royal-i-applications-section-fl-top .royal-i-applications-section-img {
    padding-bottom: 35%;
}

.royal-i-applications-section-fl-bottom {
    overflow: hidden;
}

.royal-i-applications-section-fl-bottom-item-one {
    padding-right: 1rem;
}

.royal-i-applications-section-fl-bottom-item-two {
    padding-left: 1rem;
}

.royal-i-applications-section-fl-bottom .royal-i-applications-section-img {
    padding-bottom: 75%;
}

.royal-i-applications-section-fr .royal-i-applications-section-img {
    padding-bottom: 150%;
}

.royal-i-applications-section-img {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: .4rem;
}

.royal-i-applications-section-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    transition: transform 0.5s ease;
    -webkit-transition: -webkit-transform 0.5s ease;
}

.royal-i-applications-section a:hover img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}

.royal-i-applications-section-info {
    position: absolute;
    left: 0%;
    top: 100%;
    background: #007dc2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: ease-in-out .5s;
    border-radius: .4rem;
}

.royal-i-applications-section a:hover .royal-i-applications-section-info {
    transition: ease-in-out .5s;
    top: 0;
    opacity: 0.9;
}

.royal-i-applications-section-info h3 {
    font-size: 2.8rem;
    color: #fff;

}


/* ===== 关于我们 ===== */
.royal-i-brand-section {
    padding: 8rem 0;
    background: #f4f4f4;
    overflow: hidden;
}

.royal-i-brand-content {
    overflow: hidden;
    display: flex;
    align-items: center;
}

.royal-i-brand-info {
    overflow: hidden;
}

.royal-i-brand-txt {
    font-size: 1.8rem;
    color: #888;
    line-height: 1.6;
    margin: 2rem 0 4rem;
    overflow: hidden;
}

.royal-i-brand-title {
    font-size: 2.4rem;
    font-weight: bold;
}

.royal-i-brand-img {
    position: relative;
    padding-left: 8rem;
}

.royal-i-brand-img-card {
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: .4rem;
    overflow: hidden;
    box-shadow: 3px 6px 1.2rem rgba(0, 0, 0, 0.03);
}


.royal-i-brand-img-card:hover .video-play-btn {
    transform: translate(-50%, -50%) rotate(360deg);
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
}


/* ===== 新闻动态 ===== */
.royal-i-news-section {
    padding: 8rem 0;
    overflow: hidden;
    background: #f4f4f4;

}

.royal-i-news-content {
    overflow: hidden;

}

.royal-i-headlines-news {
    overflow: hidden;
    padding: 1rem 2rem;
}

.royal-i-headlines-news-card {
    overflow: hidden;
    height: 100%;
    background: #fff;
    border-radius: .4rem;
    position: relative;
    max-height: 50rem;
}

.royal-i-headlines-news-icon {
    position: absolute;
    right: 15px;
    top: 15px;
    background: red;
    padding: 5px 1rem;
    border-radius: 15px;
    color: #fff;
    z-index: 9;
}
 
.royal-i-headlines-news-date {
    position: absolute;
    left: 0rem;
    top: 0rem;
    padding: 2rem 4rem;
    background: #007ec2e3;
    text-align: center;
    z-index: 9;
    border-radius: .4rem;
}

.royal-i-headlines-news-date-day {
    font-size: 4.8rem;
    color: #fff;
}

.royal-i-headlines-news-date h3 {
    font-size: 2rem;
    color: #fff;
}

.royal-i-headlines-news-img {
    position: relative;
    overflow: hidden;
    padding-bottom: 75%;
}

.royal-i-headlines-news-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    transition: transform 0.5s ease;
    -webkit-transition: -webkit-transform 0.5s ease;
}

.royal-i-headlines-news-img a:hover img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}

.royal-i-headlines-news-card:hover .royal-i-headlines-news-info {
    padding: 4rem;
    transition: all ease .5s;
}

.royal-i-headlines-news-card:hover .royal-i-headlines-news-info p {
    display: block;
    transition: all ease .5s;
    right: 2rem;
    opacity: 1;
}

.royal-i-headlines-news-info {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 2rem;
    width: 100%;
    background: #00000048;
    transition: all ease .5s;
}

.royal-i-headlines-news-info h3 {
    font-size: 1.6rem;
    color: #fff;
}

.royal-i-headlines-news-info p {
    font-size: 2rem;
    bottom: 2rem;
    font-weight: 100;
    color: #fff;
    opacity: 0;
    right: 100%;
    transition: all ease .5s;
    position: absolute;
}


.royal-i-popular-news {
    overflow: hidden;
    padding: 0 1rem;
}

.royal-i-popular-news li {
    padding: 1rem;
}

.royal-i-popular-news-card {
    background: #e8e8e8;
    padding: 2rem;
    border-radius: .4rem;
    height: 50rem;
    transition: all ease .5s;
    position: relative;
}

.royal-i-popular-news-card:hover {
    box-shadow: .2rem .4rem 1rem rgba(0, 0, 0, 0.1);
    transform: translateY(-1rem);
    background: #fff;
}

.royal-i-popular-news-date {
    overflow: hidden;

}

.royal-i-popular-news-date h2 {
    font-size: 4.8rem;
    color: #007dc2;
}

.royal-i-popular-news-date h3 {
    font-size: 2rem;
    color: #007dc2;
}

.royal-i-popular-news-info {
    overflow: hidden;
}


.royal-i-popular-news-info h3 {
    font-size: 2rem;
    margin: 4rem 0;
}

.royal-i-popular-news-info p {
    color: #888;
}

.royal-i-popular-news-info-icon {
    position: absolute;
    right: calc(100% - 4rem);
    bottom: 2rem;
    transition: right 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.royal-i-popular-news-card:hover .royal-i-popular-news-info-icon {
    right: 2rem;
}

/* ===== inquiry ===== */
.royal-i-inquiry-section {
    padding: 8rem 0;
    background-color: #007dc2;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: #fff;
    background-size: cover;
}

.royal-i-inquiry-info {
    max-width: 80rem;
    margin: 0 auto;
}

.royal-i-inquiry-info h2 {
    font-size: 4.8rem;
}

.royal-i-inquiry-info p {
    font-size: 2rem;
}

.royal-i-inquiry-info .royal-i-inquiry-btn {
    font-size: 2rem;
    margin-top: 2rem;
}

.royal-i-inquiry-info .royal-i-inquiry-btn {
    margin-top: 4rem;
}

.royal-i-inquiry-info .royal-i-inquiry-btn a {
    font-size: 2rem;
    border-width: .2rem;
}

/* ===== 动画定义 ===== */
@keyframes imageZoom {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@-webkit-keyframes imageZoom {

    0%,
    100% {
        -webkit-transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

@-webkit-keyframes float {
    0% {
        -webkit-transform: translateY(0);
    }

    50% {
        -webkit-transform: translateY(-8px);
    }

    100% {
        -webkit-transform: translateY(0);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@-webkit-keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ===== 响应式  ===== */
@media (max-width: 640px) {

    /* 轮播区域响应式 */
    .royal-banner {
        height: 40vh;
    }


    .royal-banner-next,
    .royal-banner-prev {
        display: none;
    }

    .royal-i-productclass-section {
        padding: 2rem 0;
    }

    .royal-i-productclass-info p {
        font-size: 1.4rem;
    }
    .royal-i-brand-more a {
        display: block;
    }

    .royal-i-brand-txt{
        margin: 2rem 0;
    }
    .royal-i-brand-content {
        display: block;
    }

    .royal-i-brand-img {
        padding: 2rem 0;
    }

    .royal-i-product-section {
        padding: 4rem 0 3rem;
    }

    .royal-i-news-section,
    .royal-i-brand-section,
    .royal-i-strength-section,
    .royal-i-applications-section,
    .royal-i-inquiry-section {
        padding: 4rem 0;
    }

    .royal-i-applications-section-fl {
        padding: 0 2rem;
    }

    .royal-i-applications-section-fr {
        padding: 2rem;
    }

    .royal-i-applications-section-fr .royal-i-applications-section-img {
        padding: 0 0 100%;
    }

    .royal-i-popular-news-info p {
        display: none;
    }

    .royal-i-popular-news-card {
        height: 36rem;
    }
}