/* General Styles */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --success-color: #4facfe;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #495057;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fafafa;
    padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    background-color: var(--white) !important;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.navbar .logo {
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    vertical-align: middle;
}

.nav-link {
    font-size: 1.1rem;
    margin: 0 10px;
    color: var(--text-color) !important;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--dark-color);
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-image {
    max-height: 400px;
    margin: 0 auto;
    display: block;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Sections */
section {
    padding: 80px 0;
}

/* Section Header */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background-color: var(--white);
}

.about-image {
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.about-content {
    padding-left: 40px;
}

.about-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-text {
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Products Section */
.products-section {
    background-color: var(--light-color);
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image-container {
    width: 417px;
    height: 402px;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-image-container {
    overflow: hidden;
    position: relative;
}

/* 视频样式优化 */
.product-video {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    width: 100%;
    height: auto;
    display: block;
}

/* 新闻图片样式优化 */
.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

/* 动态内容中的图片样式 */
.dynamic-content img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 动态内容中的视频样式 */
.dynamic-content video {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 15px;
    flex: 1;
}

/* News Section */
.news-section {
    background-color: var(--white);
}

.news-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    margin-bottom: 30px;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image-container {
    width: 417px;
    height: 402px;
    overflow: hidden;
    background-color: #f0f0f0;
    margin: 0 auto;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-info {
    padding: 20px;
}

.news-date {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-title-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.news-title-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.news-short-name {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.news-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Contact Section */
.contact-section {
    background-color: var(--light-color);
}

.contact-info {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 40px;
    height: 100%;
}

.contact-intro {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
    width: 20px;
    text-align: center;
}

.contact-label {
    font-weight: 700;
    margin-right: 5px;
    color: var(--dark-color);
}

.contact-value {
    color: var(--text-light);
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.domain-item {
    margin-left: 35px;
    margin-top: -15px;
}

.contact-qr {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 40px;
    height: 100%;
    text-align: center;
}

.qr-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.qr-image {
    max-height: 250px;
    margin: 0 auto 20px;
    display: block;
}

.qr-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer Section */
.footer-section {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-info, .footer-links, .footer-contact {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-description {
    color: #adb5bd;
    line-height: 1.6;
}

.footer-link-list {
    padding: 0;
}

.footer-link-list li {
    margin-bottom: 10px;
}

.footer-link {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact-list {
    padding: 0;
}

.footer-contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact-list i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-contact-link {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-link:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #495057;
    margin-top: 30px;
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav-link {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
    margin: 0 10px;
}

.footer-nav-link:hover {
    color: var(--white);
}

.footer-nav-divider {
    color: #495057;
}

.copyright {
    color: #adb5bd;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.copyright-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.copyright-link:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto 40px;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .navbar .brand-name {
        font-size: 1.25rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .contact-info, .contact-qr {
        padding: 30px;
        margin-bottom: 30px;
    }
    
    .footer-section {
        padding: 40px 0 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .contact-info, .contact-qr {
        padding: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-item i {
        margin-bottom: 5px;
    }
    
    .domain-item {
        margin-left: 0;
        margin-top: 5px;
    }
}