/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

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

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

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

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

.nav-menu a:hover {
    color: #ff6b6b;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=children%20playground%20with%20colorful%20equipment%2C%20tree%20house%2C%20sand%20area%2C%20outdoor%20kindergarten%20playground&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 150px 0;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: #ff6b6b;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

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

/* 企业简介样式 */
.about {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.about h2 {
    font-size: 30px;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.about p {
    margin-bottom: 20px;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* 案例展示样式 */
.cases {
    padding: 100px 0;
}

.cases h2 {
    font-size: 30px;
    margin-bottom: 50px;
    text-align: center;
    color: #333;
}

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

.case-item {
    display: block;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-item h3 {
    padding: 20px;
    font-size: 18px;
    color: #333;
}

.case-image {
    height: 200px;
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=kindergarten%20outdoor%20playground%20equipment%2C%20colorful%20design%2C%20safe%20for%20children&image_size=square');
    background-size: cover;
    background-position: center;
}

/* 自主研发样式 */
.design {
    padding: 100px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.design h2 {
    font-size: 30px;
    margin-bottom: 30px;
    color: #333;
}

.design p {
    font-size: 18px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 联系我们样式 */
.contact {
    padding: 100px 0;
}

.contact h2 {
    font-size: 30px;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.contact p {
    text-align: center;
    margin-bottom: 30px;
}

.contact-info {
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.8;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

footer p {
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .about, .cases, .design, .contact {
        padding: 60px 0;
    }

    .about h2, .cases h2, .design h2, .contact h2 {
        font-size: 24px;
    }

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

    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .about, .cases, .design, .contact {
        padding: 40px 0;
    }
}