/* 基础样式和变量 */
:root {
    --primary-color: #0066cc;
    --secondary-color: #00a859;
    --accent-color: #00a8ff;
    --light-color: #ffffff;
    --dark-color: #333333;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #6c757d;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: rgba(0, 102, 204, 0.1);
}

.btn-large {
    padding: 15px 35px;
    font-size: 18px;
}

/* 导航栏 */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
}

.logo img {
    height: 60px; /* 控制logo图片高度 */
    width: auto; /* 保持宽高比 */
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link i {
    margin-left: 5px;
    font-size: 12px;
}

/* Contact 按钮样式 */
.nav-item:last-child .nav-link {
    background: linear-gradient(135deg, #0066cc, #77d294);
    color: white !important;
    border-radius: 25px;
    padding: 8px 25px;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.nav-item:last-child .nav-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
    background: linear-gradient(135deg, #78CD51, #0066cc);
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 280px;
    box-shadow: var(--shadow);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--dark-color);
    border-bottom: 1px solid var(--gray-medium);
    transition: var(--transition);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: var(--gray-light);
    color: var(--primary-color);
}

.dropdown-item i {
    font-size: 20px;
    margin-right: 15px;
    color: var(--primary-color);
}

.dropdown-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.dropdown-item p {
    font-size: 14px;
    color: var(--gray-dark);
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-color);
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 999;
}

.mobile-nav {
    list-style: none;
    padding: 20px;
}

.mobile-nav li {
    margin-bottom: 10px;
}

.mobile-nav a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--dark-color);
    border-radius: 4px;
    transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background-color: var(--gray-light);
    color: var(--primary-color);
}

.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-submenu {
    list-style: none;
    padding-left: 20px;
    display: none;
}

.mobile-dropdown.active .mobile-submenu {
    display: block;
}

/* 轮播图 - 响应式设计 */
.hero-slider {
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    width: 100%;
    /* 固定高度为520px，配合背景图片的contain属性确保完整显示 */
    height: 520px;
    background-color: white;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 关键修改：使用contain确保图片完整显示 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* 添加背景色，防止图片周围出现空白 */
    background-color: white;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
    padding-top: 100px;
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* 按钮和指示器样式调整 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: white;
    transform: scale(1.2);
}


/* 添加一个深色渐变覆盖层，减少黑色背景的突兀感 */
.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.05) 50%,
            rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
    pointer-events: none; /* 确保不影响按钮点击 */
}

/* ENERGY SOLUTIONS 部分 */
.energy-solutions {
    padding: 80px 0;
    background-color: var(--gray-light);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto;
    padding-top: 20px;
}

/* 解决方案网格 */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* 解决方案项目 */
.solution-item {
    position: relative;
    height: 600px;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.solution-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.solution-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
            to bottom,
            transparent 0%,
            transparent 40%,
            rgba(0, 0, 0, 0.1) 60%,
            rgba(0, 0, 0, 0.3) 80%,
            rgba(0, 0, 0, 0.7) 100%
    );
    transition: all 0.4s ease;
}

.solution-item:hover .solution-overlay {
    background: linear-gradient(
            to bottom,
            transparent 0%,
            transparent 20%,
            rgba(0, 102, 204, 0.1) 40%,
            rgba(0, 102, 204, 0.3) 60%,
            rgba(0, 102, 204, 0.7) 80%,
            rgba(0, 102, 204, 0.9) 100%
    );
}

/* 解决方案内容 */
.solution-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: white;
    z-index: 2;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.solution-item:hover .solution-content {
    transform: translateY(-10px);
}

.solution-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.solution-text {
    margin-bottom: 25px;
}

.solution-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.solution-text p:last-child {
    margin-bottom: 0;
}

/* 解决方案亮点 */
.solution-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.solution-item:hover .solution-highlights {
    opacity: 1;
    transform: translateY(0);
}

.highlight {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.highlight:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* 修改滑动按钮样式 - 默认隐藏 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: none; /* 默认隐藏 */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

/* 控制指示器显示 */
.slider-indicators {
    display: none;
}

.slider-indicators.mobile-visible {
    display: flex;
}

.prev-slider {
    left: -25px;
}

.next-slider {
    right: -25px;
}

/* GLOBAL PLAYER 区域 */
.global-player {
    position: relative;
    padding: 100px 0;
    color: white;
    overflow: hidden;
}

.global-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 视差效果 */
    filter: brightness(0.8);
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
    rgba(0, 102, 204, 0.85) 0%,
    rgba(0, 168, 255, 0.8) 50%,
    rgba(0, 168, 89, 0.85) 100%);
}

.global-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.global-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.global-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 60px;
    opacity: 0.95;
    line-height: 1.7;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    min-width: 320px;
    max-width: 380px;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 30px;
    color: white;
}

.stat-content {
    text-align: left;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(90deg, white, #e6f7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-text {
    font-size: 16px;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.text-center {
    text-align: center;
}

/* 页脚 - 蓝色主题 */
.footer {
    background: linear-gradient(135deg, var(--primary-color), #1a5fb4);
    color: white;
    padding: 70px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #00a8ff);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 45px;
    width: auto;
    margin-right: 12px;
    filter: brightness(0) invert(1);
}

.footer-column p {
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-links a:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 3px 0;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}

.contact-info i {
    margin-right: 15px;
    color: white;
    font-size: 18px;
    margin-top: 4px;
    min-width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 15px;
}

.footer-bottom .footer-links {
    display: flex;
    gap: 25px;
}

.footer-bottom .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-bottom .footer-links a:hover {
    color: white;
}

/* 通用部分样式 */
.section-content {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px 0;
}

.section-content.reverse {
    flex-direction: row-reverse;
}

.image-column, .content-column {
    flex: 1;
}

/* 图片样式 */
.feature-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-image:hover img {
    transform: scale(1.03);
}

.image-overlay-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
    transparent 0%,
    transparent 50%,
    rgba(0, 102, 204, 0.1) 100%);
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
}

.image-overlay-shape.reverse {
    background: linear-gradient(135deg,
    rgba(0, 168, 89, 0.1) 0%,
    transparent 50%,
    transparent 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

/* 内容样式 */
.content-wrapper {
    padding: 30px;
}

.gradient-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 15px;
}

.gradient-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.content-text {
    margin-bottom: 30px;
}

.content-text p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.highlight-text {
    font-weight: 600;
    color: var(--primary-color) !important;
    font-size: 18px !important;
    padding-left: 15px;
    border-left: 4px solid var(--secondary-color);
}

/* MANUFACTURING CAPABILITIES 特定样式 */
.manufacturing-section {
    padding: 80px 0;
    background-color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    text-align: center;
    padding: 20px 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-medium);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.1);
    border-color: var(--primary-color);
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-dark);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* GLOBAL PRESENCE 特定样式 */
.global-presence-section {
    padding: 80px 0;
    background-color: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.global-presence-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* 按钮样式调整 */
.btn {
    margin-top: 20px;
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: rgba(0, 102, 204, 0.1);
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}