全局样式 */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #1a1a2e;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #e94560;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #e94560;
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

footer {
    background-color: #1a1a2e;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* 首页特定样式 */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-bg2.jpeg');
    background-size: cover;
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #e94560;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #d13354;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background-color: #f8f8f8;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.feature h3 {
    color: #e94560;
    margin-bottom: 1rem;
}

/* 产品页样式 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.product:hover {
    transform: translateY(-5px);
}

.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product h3 {
    padding: 1rem;
    margin: 0;
    color: #1a1a2e;
}

.product p {
    padding: 0 1rem 1rem;
    margin: 0;
    color: #666;
}

.product-button {
    display: block;
    background-color: #1a1a2e;
    color: white;
    text-align: center;
    padding: 0.8rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

.product-button:hover {
    background-color: #e94560;
}

/* 关于我们页样式 */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    color: #e94560;
    margin-top: 2rem;
    border-bottom: 2px solid #1a1a2e;
    padding-bottom: 0.5rem;
}

/* 新闻页样式 */
.news-list {
    margin-top: 2rem;
}

.news-item {
    border-bottom: 1px solid #ddd;
    padding: 1.5rem 0;
}

.news-item h3 {
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.news-item time {
    color: #666;
    font-size: 0.9rem;
}

.news-item a {
    color: #e94560;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
}

.news-item a:hover {
    text-decoration: underline;
}

/* 联系页样式 */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background-color: #f8f8f8;
    padding: 2rem;
    border-radius: 8px;
}

.contact-info h2 {
    color: #e94560;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-form h2 {
    color: #e94560;
    margin-bottom: 1.5rem;
}

.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;
}

.submit-button {
    background-color: #e94560;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #d13354;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        flex-direction: column;
        padding: 0;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}
