/* ========================================
   工业科技有限公司 - 主样式表
   ======================================== */

/* 基础样式 */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #95a5a6;
    --dark-color: #1a1a1a;
    --light-color: #ecf0f1;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --metal-silver: #bdc3c7;
    --metal-dark: #7f8c8d;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* 通用样式 */
.section-padding {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* ========================================
   导航栏
   ======================================== */
#header {
    transition: var(--transition);
    z-index: 1000;
}

#header .navbar {
    padding: 15px 0;
    background: transparent;
    transition: var(--transition);
}

#header.scrolled .navbar {
    background: rgba(26, 82, 118, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 10px 15px !important;
    margin: 0 5px;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* 语言切换按钮 */
.lang-toggle {
    border-radius: 20px;
    padding: 6px 15px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border-width: 2px;
}

.lang-toggle:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

#header.scrolled .lang-toggle {
    border-color: rgba(255,255,255,0.8);
}

#header.scrolled .lang-toggle:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* ========================================
   首页横幅
   ======================================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 50%, #34495e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(189,195,199,0.03) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(189,195,199,0.03) 50%, transparent 52%);
    background-size: 60px 60px;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 100px 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
}

.certifications {
    margin-bottom: 30px;
}

.certifications .badge {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    padding: 8px 15px;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.certifications .badge i {
    margin-right: 5px;
    color: var(--metal-silver);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 500px;
}

.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 10px;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    border-color: #7f8c8d;
    color: #1a1a1a;
    font-weight: 600;
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 100%);
    border-color: #95a5a6;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(149, 165, 166, 0.4);
}

.hero-buttons .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-images {
    position: relative;
    z-index: 2;
}

.hero-image-main {
    position: relative;
    z-index: 2;
}

.hero-image-secondary {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 60%;
    z-index: 1;
    border: 5px solid var(--white);
    border-radius: 10px;
}

.hero-images img {
    border-radius: 10px;
}

/* ========================================
   关于我们
   ======================================== */
.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a1a 100%);
    color: var(--metal-silver);
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.4);
    border: 1px solid rgba(189,195,199,0.3);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
}

.about-content {
    padding-left: 30px;
}

.about-content h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.about-content .lead {
    color: var(--text-light);
    margin-bottom: 30px;
}

.company-info {
    background: var(--light-color);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.company-info h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.company-info h4 i {
    margin-right: 10px;
}

.company-info p {
    margin-bottom: 15px;
    padding-left: 25px;
}

.about-content .mission {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* ========================================
   产品中心
   ======================================== */
.bg-light {
    background: #f8f9fa !important;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h4 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.product-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================
   新闻动态
   ======================================== */
.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a1a 100%);
    color: var(--metal-silver);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.news-content h4 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-color);
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ========================================
   合作伙伴
   ======================================== */
.partners-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    padding: 60px 0;
}

.partners-title {
    color: var(--white);
    margin-bottom: 40px;
    font-size: 1.8rem;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
}

.partner-logo {
    text-align: center;
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.partner-logo:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.partner-logo i {
    color: var(--metal-silver);
    margin-bottom: 10px;
}

.partner-logo span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

/* ========================================
   团队介绍
   ======================================== */
.team-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: var(--transition);
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.team-social a:hover {
    color: var(--accent-color);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.team-role {
    color: var(--metal-dark);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================
   联系我们
   ======================================== */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a1a 100%);
    color: var(--metal-silver);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    border: 2px solid rgba(189,195,199,0.3);
}

.contact-info-card h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.contact-info-card p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form h4 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 25px;
}

.contact-form .form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px 15px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.1);
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a1a 100%);
    border-color: #1a1a1a;
    color: var(--metal-silver);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.contact-form .btn-primary:hover {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-color: #2c3e50;
    color: var(--white);
}

.location-info {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.location-info h4 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 25px;
}

.location-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--light-color);
    border-radius: 5px;
}

.location-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a1a 100%);
    color: var(--metal-silver);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.map-placeholder {
    margin-top: 25px;
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-about h4,
.footer-links h4,
.footer-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    transform: translateY(-3px);
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--metal-silver);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--metal-silver);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.footer-bottom a {
    color: var(--metal-silver);
    text-decoration: none;
}

/* ========================================
   返回顶部按钮
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a1a 100%);
    color: var(--metal-silver);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(189,195,199,0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: #1a1a1a;
    transform: translateY(-5px);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-images {
        margin-top: 50px;
    }
    
    .hero-image-secondary {
        position: relative;
        bottom: auto;
        left: auto;
        width: 80%;
        margin: -50px auto 0;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .experience-badge {
        right: 10px;
        bottom: -10px;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .certifications .badge {
        display: inline-block;
        margin-bottom: 10px;
    }
    
    .partners-logos {
        gap: 30px;
    }
    
    .contact-form,
    .location-info {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .hero-content {
        padding: 80px 0 50px;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .experience-badge {
        padding: 15px 20px;
    }
    
    .experience-badge .years {
        font-size: 2rem;
    }
}

/* ========================================
   动画效果
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* 滚动显示动画 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}