/* ========================================
   青岛北海密封 - 2024现代工业设计
   基于行业最佳实践
======================================== */

/* ===== Hero区 - 静态全屏（无轮播）===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    max-height: 900px;
    background: url('../images/workshop-01.png') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* 深色遮罩 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 61, 130, 0.85) 0%, rgba(0, 82, 163, 0.75) 100%);
    z-index: 1;
}

/* 隐藏轮播控制 */
.slider-controls,
.slider-dots,
.hero-slide:not(.active) {
    display: none !important;
}

.hero-slide.active {
    position: relative !important;
    opacity: 1 !important;
}

.hero-slide img {
    display: none; /* 使用CSS背景图代替 */
}

/* Hero内容居中 */
.hero .hero-slider {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.hero-content {
    position: relative !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 800px !important;
    text-align: left;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.6;
}

/* 数据统计直接在Hero下方 */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 0;
    z-index: 3;
}

.hero-stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.hero-stat-item {
    text-align: center;
    padding: 1rem;
}

.hero-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #003d82;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', monospace;
}

.hero-stat-label {
    font-size: 0.95rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== 公司简介 - 极简设计 ===== */
.intro {
    padding: 8rem 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    color: #003d82;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #FF6B35;
    margin: 1.5rem auto 0;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
}

/* Z字形布局 */
.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 5rem;
}

.intro-text h3 {
    font-size: 2rem;
    color: #003d82;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.intro-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.intro-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 0;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 简洁统计卡片 */
.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.stat-item h4 {
    font-size: 3.5rem;
    color: #FF6B35;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    color: #666;
}

/* ===== 产品展示 - 简洁网格 ===== */
.products {
    padding: 8rem 0;
    background: #f8f9fa;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 61, 130, 0.15);
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 61, 130, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 2rem;
    text-align: center;
}

.product-info h3 {
    font-size: 1.5rem;
    color: #003d82;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ===== 技术优势 - 简洁卡片 ===== */
.advantages {
    padding: 8rem 0;
    background: #ffffff;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.advantage-item {
    background: #f8f9fa;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.advantage-item:hover {
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-10px);
    border-top-color: #FF6B35;
}

.advantage-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #003d82;
}

.advantage-item h3 {
    font-size: 1.5rem;
    color: #003d82;
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantage-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* ===== 生产车间 - 2x3网格 ===== */
.workshop {
    padding: 8rem 0;
    background: #f8f9fa;
}

.workshop-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: grayscale(20%);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* ===== 团队展示 - 简化 ===== */
.team {
    padding: 8rem 0;
    background: #ffffff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.team-card {
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.team-card:hover img {
    filter: grayscale(0%);
}

.team-card h3 {
    font-size: 1.5rem;
    color: #003d82;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.team-card p {
    color: #666;
    font-size: 1rem;
}

/* ===== CTA区 - 简洁有力 ===== */
.contact-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #003d82 0%, #0052a3 100%);
    color: white;
    text-align: center;
}

.contact-cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-cta p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
}

/* 按钮优化 */
.btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    background: #FF6B35;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: #e55a28;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #003d82;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
    .hero .hero-slider,
    .hero-stats .container {
        padding: 0 40px;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantage-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stats .container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .product-grid,
    .advantage-grid,
    .workshop-gallery,
    .team-grid,
    .hero-stats .container {
        grid-template-columns: 1fr;
    }
    
    .intro-stats {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .intro-image {
        height: 300px;
    }
}
