/* 业务范围页面专用样式 */

/* 增强标题区域样式 */
.business-header-enhanced {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.business-title-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.business-title-wrapper h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0;
    position: relative;
    background: linear-gradient(135deg, #9F5748 0%, #d4926b 50%, #9F5748 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.title-decoration {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.decoration-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9F5748 0%, #d4926b 100%);
    opacity: 0;
    animation: dotFadeIn 0.6s ease-in-out forwards;
}

.decoration-dot:nth-child(1) { animation-delay: 0.2s; }
.decoration-dot:nth-child(2) { animation-delay: 0.4s; }
.decoration-dot:nth-child(3) { animation-delay: 0.6s; }

@keyframes dotFadeIn {
    0% {
        opacity: 0;
        transform: scale(0) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 主营业务介绍文字样式 */
.business-intro {
    text-align: center;
    font-size: 20px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 50px;
    padding: 0 40px;
    font-style: italic;
    font-weight: 300;
    position: relative;
}

.business-intro::before,
.business-intro::after {
    content: '"';
    font-size: 48px;
    color: rgba(159, 87, 72, 0.3);
    font-family: serif;
    position: absolute;
    top: -10px;
}

.business-intro::before {
    left: 10px;
}

.business-intro::after {
    right: 10px;
    transform: rotate(180deg);
}

/* 主营业务网格布局 - 固定2x2布局 */
.business-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 50px 45px;
    margin-top: 60px;
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 30px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(159,87,72,0.02) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.04);
}

/* 网格背景装饰 */
.business-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(159, 87, 72, 0.03) 0%, transparent 70%);
    border-radius: 50px;
    z-index: -1;
}

/* 网格连接线装饰 */
.business-grid::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 60%;
    background: linear-gradient(to bottom, transparent 0%, rgba(159, 87, 72, 0.2) 30%, rgba(159, 87, 72, 0.2) 70%, transparent 100%);
    z-index: -1;
}

/* 业务项目卡片 */
.business-item {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 20px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 3px solid transparent;
    background-clip: padding-box;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.business-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #9F5748, #d4926b, #9F5748);
    border-radius: 20px;
    padding: 2px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.business-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(159, 87, 72, 0.15);
}

.business-item:hover::before {
    opacity: 1;
}

/* 业务编号 - 位于图标正中间 */
.business-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #9F5748 0%, #d4926b 50%, #9F5748 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: white;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(159, 87, 72, 0.4);
    border: 2px solid white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease-in-out infinite;
    opacity: 1;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.business-item:hover .business-number {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3) rotate(360deg);
    box-shadow: 0 8px 25px rgba(159, 87, 72, 0.6);
}

/* 业务图标 */
.business-icon {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(159, 87, 72, 0.9) 0%, rgba(212, 146, 107, 0.9) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(159, 87, 72, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.business-item:hover .business-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(159, 87, 72, 0.5);
    background: linear-gradient(135deg, #9F5748 0%, #d4926b 100%);
}

/* 业务内容区域 */
.business-content {
    flex: 1;
    padding: 25px;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.business-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    right: 25px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(159, 87, 72, 0.2), transparent);
}

/* 业务标题 */
.business-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 18px 80px;
    line-height: 1.3;
    position: relative;
    transition: color 0.3s ease;
}

.business-item:hover h3 {
    color: #9F5748;
    transform: translateX(8px);
}

.business-item h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #9F5748, #d4926b, #9F5748);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.business-item:hover h3::after {
    width: 60%;
}

/* 业务描述 */
.business-item p {
    font-size: 16px;
    line-height: 1.8;
    color: #5a6c7d;
    margin: 0 0 0 80px;
    text-align: justify;
    flex: 1;
    transition: all 0.4s ease;
    position: relative;
    padding: 20px 25px 20px 0;
}

.business-item p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #9F5748, #d4926b, #9F5748);
    border-radius: 2px;
    transition: height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.business-item:hover p::before {
    height: 60%;
}

.business-item:hover p {
    color: #4a5568;
    transform: translateX(10px);
    padding-left: 35px;
}

/* 业务图片 */
.business-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    margin-top: auto;
}

.business-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9F5748, #d4926b, #9F5748);
    z-index: 1;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(0.95) contrast(1.1);
}

.business-item:hover .business-image img {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.2);
}

/* 图片覆盖层 */
.image-overlay {
    position: absolute;
    top: 4px;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(159, 87, 72, 0.95) 0%, 
        rgba(212, 146, 107, 0.9) 50%, 
        rgba(159, 87, 72, 0.95) 100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.business-item:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(30px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(30px) scale(0.8); }
    50% { transform: translateY(25px) scale(0.8); }
}

.business-item:hover .overlay-content {
    transform: translateY(0) scale(1);
    animation: none;
}

.overlay-content i {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.business-item:hover .overlay-content i {
    animation: none;
}

.overlay-content span {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border: 2px solid white;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.business-item:hover .overlay-content span {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, #9F5748 0%, #d4926b 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 装饰性背景图案已移除 - pattern.png不存在 */
/* .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
} */

.header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* 业务概述 */
.business-overview {
    padding: 80px 0;
    background: #f8f9fa;
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-text h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #9F5748, #d4926b);
    margin-bottom: 30px;
    border-radius: 2px;
}

.overview-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #9F5748;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.overview-image {
    position: relative;
}

.overview-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 核心业务 */
.core-business {
    padding: 80px 0;
    background: white;
}

.core-business h2 {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.core-business .section-divider {
    margin: 0 auto 60px;
}

.business-section {
    margin-bottom: 60px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
}

.business-header {
    background: linear-gradient(135deg, #9F5748 0%, #d4926b 100%);
    color: white;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.business-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.business-title h3 {
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: 600;
}

.business-qualification {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.business-content {
    padding: 40px;
}

.business-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.business-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.service-list h4,
.technical-features h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-list ul {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 8px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list li i {
    color: #9F5748;
    font-size: 14px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.feature-item i {
    color: #9F5748;
    font-size: 16px;
}

.feature-item span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.business-gallery {
    margin-top: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .business-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    /* 主营业务响应式 - 保持2x2布局 */
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 30px;
        max-width: 900px;
    }
    
    .business-item {
        min-height: 350px;
    }
    
    .business-content {
        padding: 20px;
        padding-top: 85px;
    }
    
    .business-item h3 {
        font-size: 20px;
        margin: 0 0 15px 70px;
    }
    
    .business-item p {
        font-size: 15px;
        line-height: 1.6;
        margin-left: 70px;
        padding: 15px 20px 15px 0;
    }
    
    .business-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
        top: 22px;
        left: 22px;
    }
    
    .business-number {
        width: 26px;
        height: 26px;
        font-size: 13px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border: 2px solid white;
    }
    
    .business-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .business-overview,
    .core-business {
        padding: 60px 0;
    }
    
    .overview-text h2,
    .core-business h2 {
        font-size: 28px;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .business-header {
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .business-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .business-title h3 {
        font-size: 20px;
    }
    
    .business-content {
        padding: 30px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        padding: 12px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 主营业务移动端样式 - 保持2x2紧凑布局 */
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 20px 15px;
        padding: 15px;
        max-width: 100%;
        margin-top: 30px;
        border-radius: 20px;
    }
    
    .business-intro {
        font-size: 16px;
        margin-bottom: 25px;
        padding: 0 20px;
    }
    
    .business-intro::before,
    .business-intro::after {
        font-size: 36px;
        top: -8px;
    }
    
    .business-item {
        min-height: 280px;
        border-radius: 18px;
    }
    
    .business-content {
        padding: 18px;
        padding-top: 75px;
    }
    
    .business-item h3 {
        font-size: 18px;
        margin: 0 0 12px 65px;
    }
    
    .business-item p {
        font-size: 14px;
        line-height: 1.5;
        margin-left: 65px;
        padding: 12px 18px 12px 0;
    }
    
    .business-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        top: 18px;
        left: 18px;
    }
    
    .business-number {
        width: 22px;
        height: 22px;
        font-size: 11px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border: 2px solid white;
    }
    
    .business-image {
        height: 180px;
    }
    
    .overlay-content i {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .overlay-content span {
        font-size: 14px;
        padding: 6px 12px;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .page-header {
        padding: 50px 0 30px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .business-overview,
    .core-business {
        padding: 40px 0;
    }
    
    .overview-text h2,
    .core-business h2 {
        font-size: 24px;
    }
    
    .business-header {
        padding: 20px 15px;
    }
    
    .business-content {
        padding: 25px 15px;
    }
    
    .stat-item {
        padding: 12px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .business-title h3 {
        font-size: 18px;
    }
    
    .business-qualification {
        font-size: 12px;
    }
    
    /* 超小屏幕主营业务样式 */
    .business-intro {
        font-size: 14px;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .business-item {
        border-radius: 16px;
        min-height: 260px;
    }
    
    /* 超小屏幕下的2x2布局优化 */
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 15px 12px;
        padding: 12px;
        margin-top: 25px;
        border-radius: 16px;
    }
    
    .business-content {
        padding: 15px;
        padding-top: 65px;
    }
    
    .business-item h3 {
        font-size: 16px;
        margin: 0 0 10px 55px;
        line-height: 1.3;
    }
    
    .business-item p {
        font-size: 13px;
        line-height: 1.5;
        margin-left: 55px;
        padding: 10px 15px 10px 0;
    }
    
    .business-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        top: 15px;
        left: 15px;
    }
    
    .business-number {
        width: 18px;
        height: 18px;
        font-size: 9px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border: 1px solid white;
    }
    
    .business-image {
        height: 160px;
    }
    
    .overlay-content i {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .overlay-content span {
        font-size: 12px;
        padding: 5px 10px;
        letter-spacing: 1px;
    }
}
