* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #1a6fc4, #0a4b8f);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    position: relative;
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #cce6ff;
}

/* 下拉菜单 */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #e6f2ff;
    color: #1a6fc4;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* 主内容区域 */
main {
    padding: 2rem 0;
}

/*.hero {
    
	background: url('../images/hero-bg.png') no-repeat center center/cover;
	background-size:auto;
    color: white;
    text-align: center;
    padding: 15rem 0;
}

*/

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}



.btn {
    display: inline-block;
    background: #0a4b8f;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #1a6fc4;
}

/* 特性部分 */
.features {
    padding: 4rem 0;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a6fc4;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 3rem;
    color: #1a6fc4;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0a4b8f;
}

/* 产品展示 */
/* 产品列表布局优化 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 800px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    color: #0a4b8f;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.product-info p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-category, .product-subcategory {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 0.5rem;
}

.product-subcategory {
    margin-left: 1rem;
    color: #888;
}

.product-meta {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.product-date {
    font-size: 0.85em;
    color: #999;
}

/* 分类导航布局优化 */
.category-nav {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
    align-items: start;
}

.products-content {
    min-height: 500px;
}

.current-category {
    background: linear-gradient(135deg, #1a6fc4, #0a4b8f);
    color: white;
    padding: 1.2rem 1.8rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(26, 111, 196, 0.2);
}

.current-category h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

/* 无产品提示样式 */
.no-products {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    grid-column: 1 / -1;
}

.no-products i {
    font-size: 4rem;
    color: #e0e0e0;
    margin-bottom: 1rem;
    display: block;
}

/* 图片占位符样式 */
.image-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
}

.image-placeholder i {
    font-size: 3rem;
}

/* 响应式设计优化 */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .category-nav {
        grid-template-columns: 240px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .category-nav {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
    
    .product-card img {
        height: 200px;
    }
    
    .product-info {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .product-info {
        padding: 1rem;
    }
    
    .product-info h3 {
        font-size: 1.2rem;
    }
    
    .product-card img {
        height: 180px;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease-out;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }

/* 分类筛选器样式优化 */
.category-filter {
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.category-filter h3 {
    color: #0a4b8f;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #e3f2fd;
    font-size: 1.3rem;
}

.main-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-category {
    margin-bottom: 0.8rem;
}

.main-category > a {
    display: block;
    padding: 1rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border-left: 4px solid transparent;
}

.main-category > a:hover,
.main-category > a.active {
    background: #e3f2fd;
    color: #1a6fc4;
    border-left-color: #1a6fc4;
    transform: translateX(5px);
}

.subcategories {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0.8rem 1.5rem;
}

.subcategories li {
    margin-bottom: 0.5rem;
}

.subcategories a {
    display: block;
    padding: 0.8rem 1rem;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-size: 0.95em;
}

.subcategories a:hover,
.subcategories a.active {
    background: #1a6fc4;
    color: white;
    transform: translateX(3px);
}

.product-count {
    background: #1a6fc4;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8em;
    margin-left: 0.5rem;
    float: right;
}

/* 联系表单 */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
}

/* 后台样式 */
.admin-login {
    max-width: 400px;
    margin: 5rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.admin-dashboard {
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.table th,
.table td {
    padding: 0.8rem;
    border: 1px solid #ddd;
    text-align: left;
}

.table th {
    background-color: #f2f8ff;
    color: #0a4b8f;
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
    }
    
    .dropdown:hover .dropdown-content {
        display: none;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, #0a4b8f, #083a6e);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #cce6ff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #1a6fc4;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #e6f2ff;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1a6fc4;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #0a4b8f;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #e6f2ff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.footer-links a:hover {
    color: #cce6ff;
    padding-left: 5px;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info i {
    margin-right: 10px;
    color: #cce6ff;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #1a6fc4;
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #cce6ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.6s ease-out;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

/* 关于我们页面样式 */
.page-header {
    background: linear-gradient(135deg, #1a6fc4, #0a4b8f);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.about-content {
    padding: 3rem 0;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-section.reverse {
    direction: rtl;
}

.about-section.reverse > * {
    direction: ltr;
}

.about-text h2 {
    color: #0a4b8f;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #1a6fc4;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 里程碑样式 */
.milestones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.milestone {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #1a6fc4;
}

.milestone h3 {
    color: #0a4b8f;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.milestone p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* 团队统计样式 */
.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1rem;
}

.stat h3 {
    color: #0a4b8f;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* 价值观样式 */
.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.value-item i {
    font-size: 2.5rem;
    color: #1a6fc4;
    margin-bottom: 1rem;
}

.value-item h3 {
    color: #0a4b8f;
    margin-bottom: 0.5rem;
}

.value-item p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* CTA部分样式 */
.cta-section {
    background: linear-gradient(135deg, #0a4b8f, #1a6fc4);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin-top: 3rem;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: white;
    color: #0a4b8f;
    border: 2px solid white;
}

.btn-large:hover {
    background: transparent;
    color: white;
}

/* 响应式设计 */
/* @media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-section.reverse {
        direction: ltr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .milestones {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-list {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
} */
/* 分类导航样式 */
.category-nav {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.category-filter {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
}

.main-categories {
    list-style: none;
    padding: 0;
}

.main-category {
    margin-bottom: 0.5rem;
}

.main-category > a {
    display: block;
    padding: 0.8rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.main-category > a:hover,
.main-category > a.active {
    background: #e3f2fd;
    color: #1a6fc4;
}

.subcategories {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0.5rem 1.5rem;
}

.subcategories li {
    margin-bottom: 0.3rem;
}

.subcategories a {
    display: block;
    padding: 0.5rem 0.8rem;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.subcategories a:hover,
.subcategories a.active {
    background: #f8f9fa;
    color: #0a4b8f;
}

.product-count {
    color: #999;
    font-size: 0.8em;
    float: right;
}

.products-content {
    min-height: 500px;
}

.current-category {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.current-category h3 {
    color: #0a4b8f;
    margin: 0;
}

.product-category, .product-subcategory {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 0.5rem;
}

.product-subcategory {
    margin-left: 1rem;
    color: #888;
}

.no-products {
    text-align: center;
    padding: 3rem;
    color: #666;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 响应式设计 */
@media (max-width: 968px) {
    .category-nav {
        grid-template-columns: 1fr;
    }
    
    .category-filter {
        order: 2;
    }
    
    .products-content {
        order: 1;
    }
}
/* 增强悬停效果 */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.product-card:hover::before {
    left: 100%;
}

/* 添加查看详情按钮 */
.product-card .view-details {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(26, 111, 196, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.product-card:hover .view-details {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.product-card .view-details:hover {
    background: #0a4b8f;
}

/* 如果缺少占位符图片，使用纯CSS创建 */
.image-placeholder {
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #f0f0f0 25%, #e0e0e0 25%, #e0e0e0 50%, #f0f0f0 50%, #f0f0f0 75%, #e0e0e0 75%);
    background-size: 20px 20px;
    animation: placeholderAnimation 1.5s infinite linear;
}

.image-placeholder::after {
    content: '图片加载中……';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 14px;
    text-align: center;
}

@keyframes placeholderAnimation {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

/* 产品图片优化样式 */
.product-image-container {
    position: relative;
    width: 100%;
    height: 300px; /* 增加高度适应方图 */
    overflow: hidden;
    background: #f8f9fa;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 改为contain确保完整显示 */
    object-position: center;
    transition: all 0.3s ease;
    padding: 15px; /* 添加内边距 */
    box-sizing: border-box;
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
}

/* 针对方图的特殊样式 */
.square-image-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.square-image-layout .product-card {
    height: auto;
}

.square-image-layout .product-image-container {
    height: 320px;
    background: linear-gradient(135deg, #fafafa, #f0f0f0);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.square-image-layout .product-image-container img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* 图片背景优化 */
.image-background {
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255,255,255,0.6) 0%, transparent 50%),
        linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* 图片阴影效果 */
.product-image-container {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin: 0 auto;
    max-width: 90%;
}

/* 响应式图片调整 */
@media (max-width: 1024px) {
    .square-image-layout {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .product-image-container {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .square-image-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-image-container {
        height: 250px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .product-image-container {
        height: 220px;
    }
    
    .square-image-layout .product-image-container {
        height: 250px;
    }
}

/* 图片加载动画 */
@keyframes imageLoad {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

.product-image-container img {
    animation: imageLoad 0.6s ease-out;
}

/* 高清图片优化 */
.high-quality-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
}

/* 图片悬停放大效果 */
.product-image-container {
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-container {
    transform: translateY(-5px);
}

/* 添加图片边框 */
.product-image-container {
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}



/* 动画效果 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card.animate-in {
    animation: slideInUp 0.6s ease-out;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

/* 图片加载完成效果 */
.image-loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.product-image-container img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image-container img.image-loaded {
    opacity: 1;
}

/* 专门为800x800图片的优化 */
.square-800 {
    object-fit: contain !important;
    padding: 25px !important;
    background: white !important;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


/* 产品信息区域优化 */
.product-info {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-info p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    font-size: 0.95rem;
}

.product-meta {
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.product-category, .product-subcategory {
    display: inline-block;
    background: #e3f2fd;
    color: #1a6fc4;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.product-subcategory {
    background: #f3e5f5;
    color: #7b1fa2;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-date {
    color: #95a5a6;
    font-size: 0.85rem;
}

.read-more {
    color: #1a6fc4;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0a4b8f;
}

.read-more i {
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* 图片占位符优化 */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #bdc3c7;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.image-placeholder span {
    font-size: 0.9rem;
}

/* 确保图片容器比例 */
.aspect-ratio-box {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 比例 */
}

.aspect-ratio-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    box-sizing: border-box;
}





/* ===== Hero轮播样式 - 针对1200×600px优化 ===== */
.hero {
    position: relative;
    height: 600px; /* 固定高度匹配图片高度 */
    overflow: hidden;
    color: white;
    background: transparent !important;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 1200px 600px; /* 固定背景图片尺寸 */
    background-position: center center; /* 居中显示 */
    background-repeat: no-repeat;
    background-color: #f8f9fa; /* 添加浅灰色背景，在图片加载前显示 */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    animation: slideAnimation 15s infinite;
}

.slide.active {
    opacity: 1;
}

/* 轮播动画 */
@keyframes slideAnimation {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    25% {
        opacity: 1;
    }
    35% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 5s;
}

.slide:nth-child(3) {
    animation-delay: 10s;
}



.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    max-width: 1200px; /* 限制内容宽度匹配图片 */
    margin: 0 auto;
}

.hero-content .container {
    animation: fadeInUp 1s ease-out;
    width: 100%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-content .btn {
    background: #0a4b8f;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-content .btn:hover {
    background: #1a6fc4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 轮播控制按钮 */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 文字动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 - 针对1200×600px优化 */
@media (max-width: 1200px) {
    .hero {
        height: 500px; /* 在小屏幕上适当降低高度 */
    }
    
    .slide {
        background-size: cover; /* 在小屏幕上使用cover确保填充 */
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .slider-controls {
        bottom: 20px;
    }
    
    .slider-prev,
    .slider-next {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .slider-controls {
        gap: 15px;
    }
    
    .hero-content .btn {
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
    }
}

/* 图片加载优化 */
.slide.loaded {
    background-color: transparent; /* 图片加载后移除背景色 */
}

/* 确保原有hero样式被正确覆盖 */
.hero {
    background: none !important;
}

.hero h1,
.hero p {
    animation: none;
}