/* 全局样式 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #4a6cf7;
    --primary-color-dark: #3755e6;
    --secondary-color: #25c2a0;
    --accent-color: #6c5ce7;
    --danger-color: #ff5252;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --gray-color: #6c757d;
    --light-gray: #f8f9fa;
    --light-bg: #f5f7ff;
    --box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    --transition: all 0.35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-gray);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 4px;
}

.section-title {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 60px;
    background: var(--primary-color);
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray-color);
    font-size: 16px;
}

section {
    padding: 50px 0;
    background-color: white;
}

section:nth-child(even) {
    background-color: var(--light-bg);
}

/* 头部导航 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

header.sticky {
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.menu {
    display: flex;
}

.menu li {
    margin-left: 30px;
}

.menu a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 轮播图样式优化 */
.banner {
    position: relative;
    height: 600px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-caption {
    text-align: center;
    color: white;
    padding: 30px;
    max-width: 800px;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.carousel-caption h1 {
    font-size: 52px;
    margin-bottom: 25px;
    animation: fadeInDown 1s;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-caption .btn {
    animation: fadeInUp 1.2s;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    background-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
    transition: all 0.3s ease;
}

.carousel-caption .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--primary-color-dark, #0056b3);
}

.carousel-navigation {
    position: absolute;
    bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 10;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-dot.active {
    background-color: white;
    transform: scale(1.3);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

.carousel-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 10;
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(3px);
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 产品分类 */
.category-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 8px 5px 10px;
    margin-top: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.category-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.category-card {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    text-align: center;
    padding: 3px;
    margin: 0 8px;
    min-width: 60px;
    flex: 0 0 auto;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 140px;
    height:140px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 6px;
    display: block;
    transition: transform 0.4s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.category-card:hover img {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.category-card h3 {
    padding: 0 3px;
    font-weight: 500;
    margin: 0;
    color: #333;
    font-size: 12px;
    white-space: normal;
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: var(--primary-color);
}

/* 加载状态样式 */
.loading-spinner {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    color: var(--gray-color);
}

.loading-spinner i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.loading-spinner p {
    font-size: 16px;
}

/* 无数据提示 */
.no-data {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 0;
    color: var(--gray-color);
    font-size: 16px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 产品展示 */
.products {
    background-color: var(--light-gray);
}

.products .section-title {
    margin-bottom: 20px;
}

.product-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 10px 22px;
    margin: 6px;
    cursor: pointer;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
    color: #666;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.product-card::after {
    content: '\f06e';  /* eye icon from Font Awesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-card:hover h3 {
    color: var(--primary-color);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--accent-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.product-card[data-category="sale"] .product-badge {
    background-color: var(--danger-color);
}

.product-card[data-category="new"] .product-badge {
    background-color: #4caf50;
}

.product-card[data-category="popular"] .product-badge {
    background-color: #ff9800;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card h3 {
    padding: 18px 18px 6px;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.product-description {
    padding: 0 18px 10px;
    color: var(--gray-color);
    font-size: 14px;
    height: 40px;
    overflow: hidden;
    line-height: 1.5;
}

.product-price {
    padding: 8px 18px 18px;
    display: flex;
    align-items: center;
    margin-top: 6px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.price {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-color);
}

.original-price {
    text-decoration: line-through;
    color: var(--gray-color);
    margin-right: 10px;
    font-size: 14px;
}

.btn-product {
    display: none;
}

.load-more {
    text-align: center;
    margin-top: 50px;
}

.load-more .btn {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.load-more .btn:hover {
    background-color: var(--primary-color-dark, #0056b3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

/* 关于我们 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px 10px;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.stat-item h4 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    margin-bottom: 0;
    color: var(--text-color);
}

/* 联系我们 */
.contact {
    background-color: var(--light-gray);
}

.contact .section-title {
    margin-bottom: 30px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.info-item:hover i {
    background-color: var(--primary-color);
    color: white;
}

.info-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-color);
    font-weight: 600;
}

.info-item p {
    color: var(--gray-color);
    line-height: 1.5;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

/* 页脚 */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #bdc3c7;
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #bdc3c7;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 14px;
}

/* 动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 统计项目动画 */
.stat-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.stat-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.stat-item.animated h4 {
    animation: fadeInDown 0.5s forwards;
}

.stat-item.animated p {
    animation: fadeInUp 0.5s 0.2s forwards;
}

/* 响应式布局 */
@media (max-width: 992px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .about-image {
        text-align: center;
    }
    
    .banner {
        height: 500px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    
    .menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
        transition: 0.5s;
        box-shadow: var(--box-shadow);
        z-index: 999;
    }
    
    .menu.active {
        left: 0;
    }
    
    .menu li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .banner {
        height: 450px;
    }
    
    .carousel-caption h1 {
        font-size: 32px;
    }
    
    .carousel-caption p {
        font-size: 16px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 20px;
    }
    
    .section-title h2 {
        font-size: 28px;
        margin-bottom: 8px;
        padding-bottom: 8px;
    }
    
    .section-title p {
        font-size: 15px;
    }
    
    .product-filter {
        margin-bottom: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-card h3 {
        font-size: 15px;
        padding: 12px 12px 4px;
        line-height: 1.3;
    }
    
    .product-description {
        padding: 0 12px 4px;
        font-size: 12px;
        height: 32px;
    }
    
    .product-price {
        padding: 5px 12px 12px;
    }
    
    .price {
        font-size: 16px;
    }
    
    .product-badge {
        padding: 4px 8px;
        font-size: 10px;
        top: 8px;
        right: 8px;
    }
    
    .product-card img {
        height: 180px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-card {
        max-width: none;
        margin: 0;
    }
    
    .info-item {
        margin-bottom: 20px;
    }
    
    .info-item i {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-right: 15px;
    }
    
    .info-item h3 {
        font-size: 16px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group input, 
    .form-group textarea {
        padding: 10px;
        font-size: 14px;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-item h4 {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .banner {
        height: 350px;
    }
    
    .carousel-caption h1 {
        font-size: 24px;
    }
    
    .carousel-caption p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .carousel-caption .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .carousel-arrow {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    section {
        padding: 30px 0;
    }
    
    .section-title {
        margin-bottom: 15px;
    }
    
    .section-title h2 {
        font-size: 24px;
        margin-bottom: 6px;
        padding-bottom: 6px;
    }
    
    .section-title p {
        font-size: 14px;
    }
    
    .product-filter {
        margin-bottom: 15px;
    }
    
    .category-grid {
        padding: 5px 3px 8px;
        margin-top: 8px;
    }
    
    .category-card {
        padding: 2px;
        margin: 0 6px;
        min-width: 50px;
    }
    
    .category-card img {
        width: 45px;
        height: 45px;
        margin: 0 auto 4px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    }
    
    .category-card h3 {
        font-size: 11px;
        padding: 0 2px;
    }
    
    .filter-btn {
        padding: 5px 10px;
        font-size: 12px;
        margin: 3px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-card {
        max-width: none;
        margin: 0;
    }
    
    .product-card img {
        height: 140px;
    }
    
    .product-card h3 {
        font-size: 13px;
        padding: 8px 8px 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .product-description {
        padding: 0 8px 2px;
        font-size: 10px;
        height: 26px;
    }
    
    .product-price {
        padding: 3px 8px 8px;
    }
    
    .original-price {
        font-size: 11px;
    }
    
    .price {
        font-size: 13px;
    }
    
    .product-badge {
        padding: 3px 6px;
        font-size: 9px;
        border-radius: 12px;
    }
    
    .load-more .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 20px;
    }
    
    .stat-item {
        padding: 15px 8px;
        border-radius: 6px;
    }
    
    .stat-item h4 {
        font-size: 22px;
        margin-bottom: 3px;
    }
    
    .stat-item p {
        font-size: 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        margin-top: 20px;
    }
    
    .contact {
        padding-bottom: 60px;
    }
    
    .contact .section-title {
        margin-bottom: 25px;
    }
    
    .contact-content {
        gap: 25px;
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .info-item {
        margin-bottom: 0;
        padding: 15px;
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        height: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .info-item i {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .info-item h3 {
        font-size: 15px;
        margin-bottom: 5px;
    }
    
    .info-item p {
        font-size: 13px;
    }
    
    .info-item:hover {
        transform: translateY(-5px);
    }
    
    .contact-form {
        padding: 20px;
        margin-top: 10px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group input, 
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
        border-radius: 8px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .contact-form .btn {
        padding: 12px;
        font-size: 15px;
        border-radius: 8px;
    }
    
    .category-card img {
        width: 60px;
        height: 60px;
    }
    
    .category-card .btn-small {
        padding: 5px 12px;
        font-size: 12px;
        margin: 0 8px 8px;
    }
}

/* 添加页面载入动画 */
@keyframes fadeInPage {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body.loaded {
    animation: fadeInPage 0.5s ease;
}

/* 自适应视频容器 */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 比例 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin: 20px 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 返回顶部按钮 */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-5px);
} 