/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

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

/* 按钮样式 */
.btn {
    display: inline-block;
    background-color: #e63946;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

/* 移除所有链接下划线 */
a {
    text-decoration: none !important;
}

.btn:hover {
    background-color: #c1121f;
}

/* 导航栏样式 */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #e63946;
}

/* 横幅样式 */
.banner {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/banner.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* 产品展示样式 */
.products {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

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

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
    transition: transform 0.3s ease;
}

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

.product-card h3 {
    padding: 0px 0px 0px;
    font-size: 1.2rem;
}

.product-card p {
    padding: 0 20px 20px;
    color: #666;
    text-decoration: none !important;
}

/* 品牌故事样式 */
.brand-story {
    padding: 80px 0;
    background-color: white;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.story-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* 联系信息图标样式 */
.contact-icon {
    width: 24px;
    height: 24px;
    color: #e63946;
    margin-right: 15px;
    margin-top: 5px;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

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

.footer-links h3, .footer-contact h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
}

.copyright a {
    color: #aaa;
    text-decoration: none;
}

.copyright a:hover {
    color: white;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    .nav-links {
        margin-top: 15px;
    }

    .nav-links li {
        margin: 0 15px;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo, .footer-links, .footer-contact {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .products h2, .story-content h2 {
        font-size: 2rem;
    }
}