/* CSS样式文件 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    background-image: url('../img/bg.jpg');
    background-size: auto 100%;
    background-position: top center;
    min-width: 1280px;
}

/* 顶部导航栏 */
.navbar {
    min-width: 1280px;
    background: linear-gradient(135deg, #8B1A1A 0%, #6B0F0F 100%);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-container {
    min-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
}

.logo img {
    height: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: white;
}

.search-btn {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.search-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

/* 主图片区域 */
.main-image {
    padding: 0 15px;
    text-align: center;
}

.main-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 重新定义中国保险业的时代担当 */
.redefine-section {
    padding: 60px 15px;
}

.redefine-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.redefine-left {
    flex: 0 0 45%;
}

.large-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

.small-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.small-images img {
    width: 100%;
    border-radius: 12px;
}

.redefine-right {
    flex: 1;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.redefine-title {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.redefine-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    color: white;
}

.feature-content p {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.cta-button {
    width: auto;
    max-width: 130px;
    height: auto;
    cursor: pointer;
    transition: opacity 0.3s;
    display: block;
    margin-top: auto;
}

.cta-button:hover {
    opacity: 0.9;
}

/* 统计数据区块 */
.stats-section {
    padding: 40px 15px;
    background: rgba(0, 0, 0, 0.2);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 48px;
    font-weight: 500;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.stat-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.stat-divider {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.3);
    padding: 0 20px;
}

/* Amenities图片区域 */
.amenities-image {
    padding: 0 10px;
    text-align: center;
}

.amenities-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 中国核心力量图片区域 */
.zghxll-image {
    text-align: center;
    padding: 20px 0;
}

.zghxll-image img {
    display: inline-block;
    height: 50px;
    margin-top: 20px;
}

/* 四大领域展示 */
.fields-section {
    padding: 40px 15px;
}

.fields-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.field-item {
    position: relative;
}

.field-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.field-image img {
    width: 100%;
    height: auto;
    display: block;
}

.field-content {
    padding: 25px 30px;
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
}

.field-text {
    flex: 1;
}

.field-content h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
    color: white;
}

.field-content p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.field-btn {
    width: 55px;
    height: 55px;
    cursor: pointer;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.field-btn:hover {
    opacity: 0.8;
}

/* 幻灯片轮播 */
.slider-section {
    padding: 40px 15px;
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    position: relative;
    opacity: 1;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* 指示器 */
.slider-dots {
    text-align: center;
    padding: 20px 0;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.dot.active {
    background-color: rgba(255, 215, 0, 0.9);
}

/* 页脚图片 */
.footer-image {
    width: 100%;
    margin: 0;
    padding: 0;
}

.footer-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 滚动动画效果 */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-fade {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.scroll-animate-fade.animate-in {
    opacity: 1;
}
