/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #008565;
    color: white;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0055aa;
}

/* 头部样式 */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 36px;
    font-weight: bold;
    color: #008565;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #008565;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li.active a {
    color: #008565;
}

nav ul li.active a::after {
    width: 100%;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

footer p {
    margin-bottom: 10px;
}

/* 首页样式 */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide .caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
}

.slide .caption h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.slide .caption p {
    font-size: 18px;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: white;
}

.intro {
    text-align: center;
    padding: 60px 0;
}

.intro h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.intro p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 18px;
}

.features {
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
}

.feature {
    flex: 1;
    padding: 20px;
    text-align: center;
    background-color: white;
    margin: 0 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #008565;
}

/* 页面头部样式 */
.page-header {
    text-align: center;
    padding: 60px 0;
    background-color: #008565;
    color: white;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

/* 公司简介页面样式 */
.about-content {
    display: flex;
    padding: 40px 0;
}

.about-image {
    flex: 1;
    padding-right: 30px;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 2;
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #008565;
}

.about-text p {
    margin-bottom: 15px;
}

.about-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
}

/* 门店展示页面样式 */
.store-gallery {
    padding: 40px 0;
}

.store-filter {
    text-align: center;
    margin-bottom: 30px;
}

.store-filter button {
    padding: 8px 15px;
    margin: 0 5px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.store-filter button.active {
    background-color: #008565;
    color: white;
    border-color: #008565;
}

.store-filter button:hover {
    background-color: #f0f0f0;
}

.store-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.store-item {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.store-item:hover {
    transform: translateY(-5px);
}

.store-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.store-info {
    padding: 15px;
}

.store-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #008565;
}

.store-info p {
    font-size: 14px;
    margin-bottom: 5px;
}

/* 人才招聘页面样式 */
.careers-content {
    padding: 40px 0;
    display: flex;
}

.why-join {
    flex: 1;
    padding-right: 30px;
}

.why-join h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #008565;
}

.why-join ul {
    padding-left: 20px;
}

.why-join ul li {
    margin-bottom: 10px;
}

.job-listings {
    flex: 2;
}

.job-listings h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #008565;
}

.job-item {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.job-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #008565;
}

.job-item p {
    margin-bottom: 10px;
}

.job-item ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.job-item ul li {
    margin-bottom: 5px;
}

/* 联系我们页面样式 */
.contact-content {
    display: flex;
    padding: 40px 0;
}

.contact-info {
    flex: 1;
    padding-right: 30px;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #008565;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color:#008565;
}

.contact-form {
    flex: 1;
}

.contact-form h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #008565;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.map {
    padding: 40px 0;
}

.map h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #008565;
    text-align: center;
}

.map-container {
    height: 400px;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin-left: 15px;
    }
    
    .banner {
        height: 300px;
    }
    
    .slide .caption h2 {
        font-size: 24px;
    }
    
    .slide .caption p {
        font-size: 16px;
    }
    
    .features {
        flex-direction: column;
    }
    
    .feature {
        margin: 10px 0;
    }
    
    .about-content,
    .careers-content,
    .contact-content {
        flex-direction: column;
    }
    
    .about-image,
    .why-join,
    .contact-info {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .store-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}