/* --- 应用场景页面样式 --- */

/* Hero区域 */
.applications-hero {
    position: relative;
    overflow: hidden;
    height: 80vh;
    display: flex;
    align-items: center;
    background: #000;
    isolation: isolate;
}

.applications-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: transparent;
}

.applications-background .applications-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
}

.applications-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(255, 255, 255, 0.2); 白色半透明遮罩 */
    z-index: 1;
}

.applications-hero .container {
    position: relative;
    z-index: 2;
}

.applications-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 3;
}

.applications-hero .hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #b1e0e7; /* 深色文字 */
    margin-bottom: 20px;
}

.applications-hero .hero-subtitle {
    font-size: 1.3rem;
    color: #31d0e8e0; /* 深灰色文字 */
    margin-bottom: 50px;
}

/* 应用场景内容区域 */
.applications-section {
    margin-top: 0px;
    margin-bottom: 80px;
    position: relative;
    min-height: 100vh;
    background: #ffffff; /* 白色背景 */
}

/* 固定背景图片（不随内容滚动） */
.earth-space-background-fixed {
    display: none !important; /* 隐藏固定背景图片 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.earth-space-bg-image-fixed {
    display: none !important; /* 隐藏背景图片 */
}

.applications-section .container {
    position: relative;
    z-index: 1;
    max-width: 1500px;
}

/* 应用场景项目 */
.application-item {
    margin-bottom: 120px;
    padding: px 0;
}

.application-item:first-child {
    margin-top: 40px;
}

.application-item:last-child {
    margin-bottom: 0;
}

.application-content {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 60px;
    align-items: center;
}

.application-content.reverse {
    direction: rtl;
}

.application-content.reverse > * {
    direction: ltr;
}

/* 应用场景文本 */
.application-text {
    padding: 30px;
}

.application-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333333; /* 深色文字 */
    margin-bottom: 15px;
}

.application-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #666666; /* 深灰色文字 */
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0; /* 浅灰色边框 */
}

.application-description {
    color: #333333; /* 深色文字 */
    line-height: 1.8;
    font-size: 1rem;
}

.application-description p {
    margin-bottom: 20px;
}

.application-description p:last-child {
    margin-bottom: 0;
}

.application-description strong {
    color: #333333; /* 深色文字 */
    font-weight: 600;
}

/* 应用场景图片 */
.application-image {
    position: relative;
}

.image-placeholder {
    position: relative;
    width: 825px;
    height: 490px;
    border-radius: 15px;
    overflow: hidden;
    background: #f5f5f5; /* 浅灰色背景 */
    border: 2px solid #e0e0e0; /* 浅灰色边框 */
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #cccccc;
}

.application-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9); 白色半透明背景 
    padding: 30px 20px 20px;
    color: #333333; 
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
} */
/* 响应式设计 */
@media (max-width: 992px) {
    .application-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .application-content.reverse {
        direction: ltr;
    }

    .application-title {
        font-size: 2rem;
    }

    .application-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .applications-hero {
        padding: 120px 0 60px;
        min-height: 400px;
    }

    .applications-hero .hero-title {
        font-size: 2.5rem;
    }

    .applications-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .application-item {
        margin-bottom: 60px;
        padding: 80px 0;
    }

    .application-text {
        padding: 20px;
    }

    .application-title {
        font-size: 1.8rem;
    }

    .application-subtitle {
        font-size: 1.2rem;
    }

    .image-placeholder {
        height: 300px;
    }

    .application-description {
        font-size: 0.9rem;
    }

    .city-card {
        padding: 20px;
    }

    .city-card h4 {
        font-size: 1.3rem;
    }

    .city-card p {
        font-size: 0.9rem;
    }

    .application-item-cities .application-content-cities {
        grid-template-columns: 1fr;
    }

    .application-carousel-wrapper {
        height: 450px;
        padding: 20px 0 60px;
    }

    .cities-carousel-container {
        max-width: none;
        padding: 40px 0 20px 0;
    }

    .cities-carousel {
        padding: 20px 0 60px;
    }

    .cities-carousel .city-slide {
        width: 100% !important;
        height: 140px !important;
        transform: none !important;
    }

    .city-overlay h4 {
        font-size: 0.9rem;
    }

    .cities-carousel-next,
    .cities-carousel-prev {
        width: 30px !important;
        height: 30px !important;
    }

    .cities-carousel-next::after,
    .cities-carousel-prev::after {
        font-size: 12px !important;
    }

    .cities-carousel-next {
        right: -5px !important;
    }

    .cities-carousel-prev {
        left: -5px !important;
    }
}

/* 城市图片完整显示模态框 */
.city-image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.city-image-modal.active {
    display: flex;
    opacity: 1;
}

.city-image-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10001;
}

.city-image-modal .modal-content-wrapper {
    position: relative;
    z-index: 10002;
    max-width: 95%;
    max-height: 95vh;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.city-image-modal .modal-image-container {
    position: relative;
    max-width: 100%;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.city-image-modal .modal-full-image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9),
                0 0 40px rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    cursor: zoom-in;
}

.city-image-modal .modal-image-title {
    margin-top: 20px;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.city-image-modal .modal-close-btn {
    position: absolute;
    top: -60px;
    right: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10003;
    backdrop-filter: blur(10px);
}

.city-image-modal .modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.4);
}

/* 响应式设计 - 模态框 */
@media (max-width: 768px) {
    .city-image-modal .modal-content-wrapper {
        max-width: 98%;
        max-height: 98vh;
    }

    .city-image-modal .modal-full-image {
        max-height: 85vh;
        padding: 10px;
    }

    .city-image-modal .modal-image-title {
        font-size: 1.4rem;
        margin-top: 15px;
        padding: 12px 20px;
    }

    .city-image-modal .modal-close-btn {
        top: -50px;
        width: 45px;
        height: 45px;
        font-size: 28px;
    }
}



/* 强制禁用所有城市轮播图的缩放效果 */
.cities-carousel,
.cities-carousel *,
.cities-carousel *:hover,
.cities-carousel *:active,
.cities-carousel *:focus,
.cities-carousel .swiper-slide,
.cities-carousel .swiper-slide-active,
.cities-carousel .swiper-slide-prev,
.cities-carousel .swiper-slide-next,
.cities-carousel .city-slide,
.cities-carousel .city-image-wrapper,
.cities-carousel .city-image {
    transform: none !important;
    transform-origin: center !important;
    will-change: auto !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* 确保图片容器固定尺寸 */
.cities-carousel .city-slide {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

.cities-carousel .city-image-wrapper,
.cities-carousel .city-image {
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
}


/* 更多应用场景 - 左右布局样式 */
.more-applications-section {
    background: #ffffff;
}

.applications-list {
    max-width: 1364px;
    width: 1364px;
    margin: 0 auto;
}

.app-scenario-item {
    display: flex;
    align-items: center;
    gap: 80px;
    width: 1364px;
    height: 579px;
    margin-bottom: 80px;
    padding: 0;
}

.app-scenario-item:last-child {
    margin-bottom: 0;
}

/* 移除reverse布局，全部采用左图右文 */
.app-scenario-item.reverse {
    flex-direction: row;
}

.app-scenario-image {
    flex: 0 0 856px;
    width: 856px;
    height: 579px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.app-scenario-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.app-scenario-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.app-scenario-image:hover img {
    transform: scale(1.05);
}

.app-scenario-content {
    flex: 0 0 427px;
    width: 427px;
    height: 579px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-scenario-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

/* .app-scenario-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 2px;
} */

.app-scenario-description {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .applications-list {
        max-width: 100%;
        width: 100%;
        padding: 0 20px;
    }

    .app-scenario-item {
        width: 100%;
        height: auto;
        gap: 40px;
    }

    .app-scenario-image {
        flex: 0 0 55%;
        width: auto;
        height: auto;
        aspect-ratio: 856 / 579;
    }

    .app-scenario-content {
        flex: 1;
        width: auto;
        height: auto;
        padding: 20px;
    }
}

@media (max-width: 992px) {
    .app-scenario-item {
        gap: 30px;
        margin-bottom: 60px;
    }

    .app-scenario-image {
        flex: 0 0 50%;
    }

    .app-scenario-title {
        font-size: 28px;
    }

    .app-scenario-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .app-scenario-item,
    .app-scenario-item.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 50px;
    }

    .app-scenario-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .app-scenario-content {
        padding: 10px;
    }

    .app-scenario-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .app-scenario-description {
        font-size: 15px;
        line-height: 1.7;
    }
}
