:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-gray: #f5f6fa;
    --dark-gray: #666666;
    --white: #ffffff;
    --black: #000000;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition-speed: 0.4s;
    --light-blue: #e3f2fd;
    --container-width: 1200px;
    --header-height: 70px;
}

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: inherit;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

/* 性能优化 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 防抖动 */
body,
header,
nav,
main,
footer {
    will-change: transform;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    :root {
        --container-width: 95%;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    
    .nav-links {
        display: none;
    }
    
    .contact-info {
        display: none;
    }
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 语言选择器 */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-selector select {
    padding: 8px 16px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    background-color: var(--white);
    cursor: pointer;
}

/* WhatsApp按钮 */
.whatsapp-widget {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
    background: #25D366;
    width: 80px;
    height: 120px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
}

.whatsapp-widget a {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.whatsapp-widget i {
    font-size: 32px;
    margin-bottom: 5px;
}

.whatsapp-widget span {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

/* 导航栏 */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* 主要内容 */
main {
    margin-top: 120px; /* 确保内容不会被固定导航栏遮挡 */
}

/* ANSI认证样式 */
.certification-section {
    margin: 100px 0;
    text-align: center;
    padding: 40px 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding: 10px 0;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.contact-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.contact-info p:hover {
    opacity: 1;
}

/* 英雄区 */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.9));
    padding: 120px 0 80px;
}

/* 产品页面内容间距 */
.product-category {
    margin-top: 104px;
    padding-top: 104px;
    padding-bottom: 60px;
}

/* 产品系列标题间距 */
.series-title {
    margin-top: 24px;
}

/* 主要内容间距 */
main {
    padding-top: 24px;
}

/* 导航栏样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 导航栏内的内容样式 */
nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 导航栏logo样式 */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

/* Hamburger Menu */
.hamburger {
    width: 30px;
    height: 21px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 900px) {
    .hamburger { display: flex; }
    #nav-links { 
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        align-items: center;
        display: none;
    }
    #nav-links.active { display: flex; }
    .nav-links a { margin: 15px 0; }
    .contact-info { display: none; }
}

.logo-img { height: 40px; }

/* 导航链接样式 */
.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* 联系信息样式 */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.contact-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.contact-info p:hover {
    opacity: 1;
}

.hero-slider {
    position: relative;
    width: 100vw;
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    left: 50%;
    transform: translateX(-50%);
}

/* 幻灯片动画效果 */
.slide {
    position: relative;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    height: 400px;
    width: 100vw;
}

.slide-image {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
    transition: transform 0.3s ease;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
}

.slide:hover .slide-content {
    transform: translateY(0);
}

.slide-content h1 {
    font-size: 3rem;
    margin: 0 0 20px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.slide-content p {
    font-size: 1.2rem;
    margin: 0 0 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 150px;
    text-align: center;
}

.cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
    padding: 0 15px;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.series-card {
    display: block;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    height: 450px;
    background: var(--light-blue);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 25px;
}

.card-image {
    height: 350px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    max-width: 100%;
}

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

.series-info {
    text-align: center;
    padding: 10px 20px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.series-card:hover .series-info {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.series-info h3 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.2;
}

.series-info p {
    margin: 8px 0 0;
    color: var(--dark-gray);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

.slider-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0;
}

.slide {
    position: relative;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.slide-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
    transition: transform 0.3s ease;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
}

.slide:hover .slide-content {
    transform: translateY(0);
}

.cta-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-slider {
        max-width: 100%;
        padding: 15px;
    }
    
    .slider-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .slide {
        margin-bottom: 20px;
    }
    
    .slide-image {
        height: 300px;
    }
}

/* 联系我们页面 */
.contact-page {
    padding: 40px 0 120px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.contact-info-section {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

.info-item {
    text-align: center;
    padding: 25px;
    background: #f5f8ff;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e1e8f5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-item:hover {
    transform: translateY(-5px);
    background: #e8f0ff;
    border-color: #c3d0e5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-item i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.info-item h3 {
    color: var(--dark-gray);
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-item p {
    color: var(--gray);
    font-size: 1rem;
    margin: 0;
}

.contact-form {
    margin-top: 40px;
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    color: var(--dark-gray);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    height: 50px;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group textarea {
    height: 150px;
    padding: 20px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 136, 169, 0.1);
    outline: none;
}

.form-group label {
    position: absolute;
    left: 12px;
    top: 10px;
    color: #666;
    transition: all 0.2s ease;
    pointer-events: none;
    background: white;
    padding: 0 4px;
    font-size: 0.9rem;
}

.form-group input:focus ~ label,
.form-group select:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -8px;
    left: 10px;
    font-size: 0.7rem;
    color: var(--primary-color);
    background: white;
    padding: 0 4px;
}

.submit-btn {
    width: 100%;
    padding: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 136, 169, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .series-filters {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
    color: var(--dark-gray);
}

.filter-group select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: var(--white);
    cursor:pointer;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.series-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.series-card:hover {
    transform: translateY(-5px);
}

.card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

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

.series-info {
    padding: 25px;
}

.series-title {
    padding: 25px;
    margin-top: 60px;
}

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

.series-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    color: var(--dark-gray);
}

.pagination button {
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.pagination button:hover {
    background: var(--light-gray);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}    }
    
    .info-item {
        padding: 15px;
    }
    
    .contact-form {
        padding: 25px;
    }


.category-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.category-card h3 {
    padding: 20px;
    font-size: 1.5rem;
    color: #333;
}

.category-card p {
    padding: 0 20px 20px;
    color: #666;
}

.view-collection {
    display: block;
    text-align: center;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 20px 20px;
    transition: background-color 0.3s ease;
}

.view-collection:hover {
    background: #0056b3;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
}

.slide:hover .slide-content {
    transform: translateY(0);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .slider-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .slide {
        height: 300px;
    }
}

.slide-content h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.slide-content p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 12px;
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.prev-slide, .next-slide {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.prev-slide:hover, .next-slide:hover {
    
    .series-info h3 {
        font-size: 1.3rem;
    }
    
    .series-info p {
        font-size: 0.9rem;
    }
}

/* AOS动画效果 */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(20px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

/* 浮动咨询窗口 */
.float-window{
    position:fixed;
    bottom:40px;
    right:30px;
    background:#ffffff;
    border-radius:8px;
    box-shadow:0 4px 12px rgba(0,0,0,0.15);
    padding:20px 24px;
    z-index:9999;
    width:260px;
}
.float-window .close-float{
    position:absolute;
    top:6px;
    right:6px;
    background:none;
    border:none;
    font-size:20px;
    cursor:pointer;
}
.float-window .float-btn{
    display:inline-block;
    margin-top:12px;
    background:var(--primary-color);
    color:#fff;
    padding:8px 14px;
    border-radius:4px;
}

/* 产品类别 */
.product-categories {
    padding: 80px 0;
}

/* 地图图片 */
.map-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 40px 0;
}

.map-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: 50% 50%;
}

/* ANSI认证样式 */
.certification-section {
    margin: 60px 0;
    text-align: center;
}

.certification-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.certification-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.certification-grid img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.certification-grid img:hover {
    transform: scale(1.05);
}

.certification-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark-gray);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.category-card {
    background: #dee2e6;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.category-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card h3 {
    padding: 1rem;
    font-size: 1.5rem;
}

.category-card p {
    padding: 0 1rem 1rem;
    color: #666;
}

.view-collection {
    display: block;
    padding: 0.8rem 1.5rem;
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    margin: 0 1rem 1rem;
    transition: background-color 0.3s ease;
}

.view-collection:hover {
    background: #2980b9;
}

/* 功能特点 */
.features {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(0, 0, 0, 0.8) 100%);
    color: var(--white);
    padding: 3rem 0 2rem;
    margin-top: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 添加渐变背景效果 */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0.2;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    justify-items: center;
    position: relative;
    z-index: 1;
}

.footer-section {
    text-align: left;
    padding: 2rem;
    width: 100%;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.footer-section:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.6rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-section ul li {
    margin-bottom: 1.2rem;
    text-align: left;
    position: relative;
    padding-left: 1.8rem;
}

.footer-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0.5;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.6rem 0;
    font-size: 1.1rem;
}

.footer-section a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features {
        padding: 3rem 0;
    }
}

/* 产品详情 */
.product-detail-container{
    display:flex;
    gap:40px;
    margin-top:60px;
}
.product-image{
    flex:1;
    min-width:320px;
    min-height: 100px; /* Prevent collapsing */
    background-color: #f8f8f8; /* Placeholder background */
}
.product-image img{
    width:100%;
    height:auto;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
    transition:transform .3s ease;
}
.product-image img:hover{
    transform:scale(1.05);
}
.product-info{
    flex:1;
}
.product-specs-list{
    list-style:none;
    padding-left:0;
}
.product-specs-list li{
    margin-bottom:8px;
    font-size:.95rem;
    color:var(--dark-gray);
}
.catalog-download{
    margin-top:20px;
}
.catalog-download a{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.catalog-download a:hover{
    background-color: var(--secondary-color);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.catalog-download a img{
    filter: brightness(0) invert(1); /* Make icon white */
}

/* floating certification bar */
.cert-floating{
    position:relative;
    background:transparent;
    box-shadow:none;
    padding:0;
    margin:0 auto 2rem;
    display:flex;
    gap:20px;
    justify-content:center;
    align-items:center;
}
.cert-floating .close-float{
    position:absolute;
    top:6px;
    right:6px;
    background:none;
    border:none;
    font-size:20px;
    cursor:pointer;
}
.cert-floating .float-btn{
    display:inline-block;
    margin-top:12px;
    background:var(--primary-color);
    color:#fff;
    padding:8px 14px;
    border-radius:4px;
}

/* 产品类别 */
.product-categories {
    padding: 80px 0;
}

/* 地图图片 */
.map-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 40px 0;
}

.map-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: 50% 50%;
}

/* ANSI认证样式 */
.certification-section {
    margin: 60px 0;
    text-align: center;
}

.certification-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.certification-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.certification-grid img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.certification-grid img:hover {
    transform: scale(1.05);
}

.certification-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark-gray);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.category-card {
    background: #dee2e6;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.category-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card h3 {
    padding: 1rem;
    font-size: 1.5rem;
}

.category-card p {
    padding: 0 1rem 1rem;
    color: #666;
}

.view-collection {
    display: block;
    padding: 0.8rem 1.5rem;
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    margin: 0 1rem 1rem;
    transition: background-color 0.3s ease;
}

.view-collection:hover {
    background: #2980b9;
}

/* 功能特点 */
.features {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(0, 0, 0, 0.8) 100%);
    color: var(--white);
    padding: 3rem 0 2rem;
    margin-top: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 添加渐变背景效果 */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0.2;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    justify-items: center;
    position: relative;
    z-index: 1;
}

.footer-section {
    text-align: left;
    padding: 2rem;
    width: 100%;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.footer-section:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.6rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-section ul li {
    margin-bottom: 1.2rem;
    text-align: left;
    position: relative;
    padding-left: 1.8rem;
}

.footer-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0.5;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.6rem 0;
    font-size: 1.1rem;
}

.footer-section a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features {
        padding: 3rem 0;
    }
}

/* 产品详情 */
.product-detail-container{
    display:flex;
    gap:40px;
    margin-top:60px;
}
.product-image{
    flex:1;
    min-width:320px;
    min-height: 100px; /* Prevent collapsing */
    background-color: #f8f8f8; /* Placeholder background */
}
.product-image img{
    width:100%;
    height:auto;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
    transition:transform .3s ease;
}
.product-image img:hover{
    transform:scale(1.05);
}
.product-info{
    flex:1;
}
.product-specs-list{
    list-style:none;
    padding-left:0;
}
.product-specs-list li{
    margin-bottom:8px;
    font-size:.95rem;
    color:var(--dark-gray);
}
.catalog-download{
    margin-top:20px;
}
.catalog-download a{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.catalog-download a:hover{
    background-color: var(--secondary-color);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.catalog-download a img{
    filter: brightness(0) invert(1); /* Make icon white */
}

/* company gallery grid */
.about-gallery{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    justify-items:center;
    margin:40px auto;
    max-width:800px;
}
.about-gallery img{
    width:100%;
    height:auto;
    border-radius:10px;
    object-fit:cover;
    aspect-ratio:4/3; /* Ensure same aspect ratio */
    overflow:hidden; /* Remove overflow issues */
}

@media(max-width:768px){
 .about-gallery{
    grid-template-columns:1fr;
 }
 }

.cert-container{
    text-align:center;
    margin:60px 0 40px;
}
.cert-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:40px;
    max-width:900px;
    margin:0 auto;
}
.cert-grid li{
    list-style:none;
    background:#fff;
    border:1px solid #eee;
    border-radius:8px;
    padding:25px;
    display:flex;
    flex-direction:column;
    align-items:center;
    box-shadow:0 2px 6px rgba(0,0,0,.05);
}
.cert-grid img{
    width:200px;
    height:200px;
    object-fit:contain;
}
.cert-grid li span{margin-top:8px;font-size:15px;font-weight:600;}

.about-hero{
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:20px;
    margin-top:100px;
}
.two-col{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:40px;
}
.gold-box{
     background:#d4af37;
     padding:15px;
     display:inline-block;
     border-radius:10px;
     margin:0 auto;
     max-width:400px;
 }
.gold-box img{
    width:100%;
    height:auto;
    border-radius:6px;
    display:block;
    object-fit:cover;
 }

.about-company{
    background:#f5f5f5;
    padding:60px 0;
}
.about-company h2{
    text-align:center;
    margin-bottom:30px;
}
.about-company p{
    font-size:1.1rem;
    line-height:1.7;
    max-width:900px;
    margin:0 auto;
}

.map-banner img{
    width:100%;
    height:auto;
    display:block;
}

.export-countries{
    columns:3 200px;
    column-gap:30px;
    list-style:none;
    padding-left:0;
    margin:10px 0 20px;
}
.export-countries li{
    margin-bottom:6px;
}

/* language switcher */
.language-switcher{
    position:relative;
    margin-left:20px;
}
.language-switcher .current-lang{
    background:transparent;
    border:1px solid #ddd;
    color:#333;
    padding:8px 12px;
    border-radius:4px;
    cursor:pointer;
    font-size:15px;
}
.language-switcher .lang-dropdown{
    display:none;
    position:absolute;
    top:100%;
    right:0;
    background:#fff;
    border:1px solid #ddd;
    border-radius:4px;
    box-shadow:0 4px 10px rgba(0,0,0,.1);
    min-width:120px;
    z-index:1000;
}
.language-switcher:hover .lang-dropdown{display:block;}
.language-switcher .lang-dropdown a{
    display:block;
    padding:10px 15px;
    color:#333;
    text-decoration:none;
    font-size:15px;
}
.language-switcher .lang-dropdown a:hover {
    background: #f5f5f5;
}

/* 产品系列卡片样式 */
.product-series {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 2rem 0;
    width: 100%;
    position: relative;
}

.series-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
    position: relative;
}

.series-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    position: relative;
}

.card-image {
    height: 350px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.series-card:hover .card-image::before {
    opacity: 1;
}

.card-image .overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    width: 100%;
    padding: 20px;
}

.series-card:hover .card-image .overlay-content {
    opacity: 1;
}

.card-image .overlay-content h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.card-image .overlay-content p {
    margin: 10px 0;
    font-size: 0.9rem;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

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

.series-info {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    width: 100%;
    position: relative;
}

.series-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.series-info p {
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.view-series {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent-color);
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
    cursor: pointer;
    position: relative;
}

.series-card:hover .view-series {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* 确保卡片内容垂直居中 */
.card-link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    position: relative;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .series-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .series-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .card-image {
        height: 250px;
    }
    
    .series-info h3 {
        font-size: 1.3rem;
    }
    
    .series-info p {
        font-size: 0.9rem;
    }
}

.series-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
    position: relative;
}

.series-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    position: relative;
}

.card-image {
    height: 350px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

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

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.series-card:hover .card-image::before {
    opacity: 0;
}

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

.series-info {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    width: 100%;
    position: relative;
}

.series-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.series-info p {
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.view-series {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent-color);
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
    cursor: pointer;
    position: relative;
}

.series-card:hover .view-series {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* 确保卡片内容垂直居中 */
.card-link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    position: relative;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .series-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .series-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .card-image {
        height: 250px;
    }
    
    .series-info h3 {
        font-size: 1.3rem;
    }
    
    .series-info p {
        font-size: 0.9rem;
    }
}

.series-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
}

.series-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.card-image {
    height: 350px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

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

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
    transition: opacity 0.3s ease;
}

.series-card:hover .card-image::before {
    opacity: 0;
}

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

.series-info {
    padding: 15px 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    height: 100%;
    max-height: 200px;
    overflow: hidden;
}

.series-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.series-info p {
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.view-series {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent-color);
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
    cursor: pointer;
}

.series-card:hover .view-series {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.series-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.series-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-image {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
    transition: opacity 0.3s ease;
}

.series-card:hover .card-image::before {
    opacity: 0;
}

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

.series-info {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.series-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.series-info p {
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.view-series {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent-color);
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.series-card:hover .view-series {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* 确保卡片内容垂直居中 */
.card-link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 20px;
}

.card-image {
    flex-shrink: 0;
}

.series-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 25px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .series-grid {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }
    
    .card-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .series-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .card-image {
        height: 250px;
    }
    
    .series-info h3 {
        font-size: 1.3rem;
    }
    
    .series-info p {
        font-size: 0.9rem;
    }
}

.language-switcher .lang-dropdown a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
}

.language-switcher .lang-dropdown a:hover {
    background: #f5f5f5;
}
