/* applications.css - Complete File */

:root {
    --primary-color: #003366;
    --secondary-color: #f2f2f2;
    --accent-color: #00aaff;
    --text-color: #333;
    --light-gray: #f9f9f9;
    --dark-gray: #666;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: #fff;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
}

/* Page Hero */
.page-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/public/static/img/applications.jpg');
    background-size: cover;
    background-position: center;
    animation: zoom-in 10s ease-out forwards;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 51, 102, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fade-in-up 1s ease-out;
}

.breadcrumb {
    font-size: 16px;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span {
    margin: 0 10px;
}

.page-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.page-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    color: var(--dark-gray);
}

/* Application Overview */
.application-overview {
    background-color: var(--light-gray);
}

/* Product Features */
.product-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 60px 0 40px 0;
    flex-wrap: wrap;
}

.feature-item {
    text-align: center;
    flex: 0 0 auto;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.4);
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.application-tabs {
    margin-top: 40px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-button {
    padding: 15px 30px;
    background-color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active, .tab-button:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Application Sections */
.application-section {
    background-color: #fff;
}

/* 动力应用场景背景 */
.power-section,
.energy-section {
    position: relative;
    background-image: url('/public/static/img/cases.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 160px;
}

.power-section::before,
.energy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 51, 102, 0.6);
    z-index: 0;
}

.power-section .container,
.energy-section .container {
    position: relative;
    z-index: 1;
}

.application-intro {
    text-align: center;
    margin-bottom: 60px;
}

.intro-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.intro-content p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--dark-gray);
}

/* Solution Categories */
.solution-category {
    margin-bottom: 80px;
}

.solution-category:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.category-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 20px;
    white-space: nowrap;
}

.category-line {
    flex-grow: 1;
    height: 2px;
    background-color: var(--accent-color);
}

/* New Solution Layout */
.solution-info {
    margin-bottom: 40px;
}

.info-display {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 30px;
}

.info-content {
    display: none;
}

.info-content.active {
    display: block;
    animation: fade-in 0.5s ease;
}

.info-content h5 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-params {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.param-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.param-label {
    font-weight: 600;
    color: var(--dark-gray);
}

.param-value {
    font-weight: 700;
    color: var(--primary-color);
}

.info-description {
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 1.1rem;
}

.solution-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1440px;
    margin: auto;
}

.image-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.image-item img {
    width: 100%;
   
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-item:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 30px 20px 20px;
    text-align: center;
}

.image-overlay span {
    font-size: 1.2rem;
    font-weight: 600;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Consultation Section */
.consultation-section {
    
    color: #000;
    text-align: center;
    padding: 60px 0;
}

.consultation-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.consultation-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer Styles - Override to match about.html layout */
.footer {
    background: var(--bg-dark, #1a1a1a);
    color: white;
    padding: 80px 0 0;
}

.footer-content {
    margin-bottom: 60px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    max-width: 400px;
}

.footer-logo-text {
    font-size: 20px;
    color: white;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-logo p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 32px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-section a:hover {
    color: var(--accent-color, #00d4ff);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #cccccc;
    font-size: 14px;
}

.contact-info i {
    color: var(--accent-color, #00d4ff);
    width: 16px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-color, #0066cc);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding: 32px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #999999;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #999999;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-bottom-links a:hover {
    color: var(--accent-color, #00d4ff);
}

/* Animations */
@keyframes zoom-in {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Swiper Styles */
.product-swiper {
    width: 100%;
    padding: 20px 0 50px 0;
}

.product-swiper .swiper-slide {
    height: auto;
}

.product-swiper .swiper-pagination {
    bottom: 10px;
}

.product-swiper .swiper-pagination-bullet {
    background: #007bff;
    opacity: 0.3;
}

.product-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

.product-swiper .swiper-button-next,
.product-swiper .swiper-button-prev {
    color: #007bff;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-swiper .swiper-button-next:after,
.product-swiper .swiper-button-prev:after {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 992px) {
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    .tab-button {
        width: 100%;
        max-width: 400px;
    }
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 3rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .solution-grid {
        grid-template-columns: 1fr;
    }
    .solution-content p {
        min-height: auto;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
    }
}

/* ========== 新的左右布局样式 ========== */

/* 解决方案分类容器 - 新布局 */
.solution-category-new {
    display: flex;
    gap: 40px;
   
    min-height: 600px;
}

/* 左侧内容区域 */
.solution-left {
    flex: 0 0 78%;
    display: flex;
    flex-direction: column;
}

/* 解决方案头部 */
.solution-header {
    margin-bottom: 0px;
    text-align: left;
}

.solution-tag {
    display: inline-block;
    padding: 6px 20px;
    background-color: #e8f4fd;
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
    font-size: 14px;
}

.solution-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    position: relative;
    min-height: 2.6rem;
    text-align: left;
}

.solution-title span {
    transition: opacity 0.3s ease;
}

/* 内容详情区域 */
.solution-content {
    /*background-color: var(--light-gray);*/
    border-radius: 15px;
    padding: 40px 0 40px 10px;
   
    min-height: 200px;
    position: relative;
    text-align: left;
    color: white;
}

.content-detail {
    display: none;
    animation: fade-in-content 0.5s ease;
}

.content-detail.active {
    display: block;
}

.detail-description {
    color: #fff;
    line-height: 2;
    font-size: 1.1rem;
    text-align: left;
    text-indent: 2em;
    margin-bottom: 20px;
}

/* 查看详情按钮 */
.view-more-btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateX(5px);
}

.view-more-btn i {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.view-more-btn:hover i {
    margin-left: 12px;
}

/* 图片展示区域 */
.solution-image {
    position: relative;
   
    overflow: hidden;
    flex: 1;
    
}

.solution-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.solution-image img.active {
    opacity: 1;
}

/* 右侧菜单区域 */
.solution-right {
    flex: 0 0 20%;
    display: flex;
    flex-direction: column;
}

.solution-menu {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: sticky;
    top: 100px;
}

/* 竖线连接 */
.solution-menu::before {
    content: '';
    position: absolute;
    right: -6px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(0, 51, 102, 0.2);
    z-index: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 25px;
    background-color: rgba(255, 255, 255, 0.9);
   
  
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.menu-item span {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    flex: 1;
}

.menu-item i {
    font-size: 10px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    opacity: 0.4;
}

.menu-item:hover {
    border-color: var(--primary-color);
    background-color: rgba(0, 51, 102, 0.05);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.1);
    border: 2px solid ;
}

.menu-item.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
}

.menu-item.active span {
    color: #fff;
}

.menu-item.active i {
    color: #fff;
    opacity: 1;
    transform: scale(1.2);
}

/* 动画效果 */
@keyframes fade-in-content {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .solution-category-new {
        flex-direction: column;
    }
    
    .solution-left {
        flex: 1;
    }
    
    .solution-right {
        flex: 1;
        order: -1;
        margin-bottom: 30px;
    }
    
    .solution-menu {
        position: static;
    }
    
    .menu-item {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .solution-category-new {
        margin-bottom: 60px;
    }
    
    .solution-title {
        font-size: 1.6rem;
    }
    
    .solution-content {
        padding: 25px;
        min-height: auto;
    }
    
    .detail-description {
        font-size: 1rem;
        line-height: 1.8;
        text-indent: 2em;
    }
    
    .solution-image {
        min-height: 250px;
    }
    
    .menu-item span {
        font-size: 15px;
    }
}