/* ==================== 基础样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2196F3;
    --secondary-color: #1565C0;
    --accent-color: #FF4081;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #fff;
    --light-bg: #f5f5f5;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    min-height: 200px;
    min-width: 200px;
}

/* 图片加载失败时的备用样式 */
img[alt]::before {
    content: attr(alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 头部导航 ==================== */
.header {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.btn-secondary {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border-color: var(--text-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background: var(--text-color);
    color: #fff;
}

.btn-large {
    padding: 15px 40px;
    font-size: 16px;
}

/* ==================== 页面标题 ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* ==================== Hero区域 ==================== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 20px;
    color: var(--light-text);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ==================== 通用区块 ==================== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 20px auto 0;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 40px;
}

/* ==================== 服务区块 ==================== */
.services {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-color);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-card img {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--light-text);
    line-height: 1.8;
}

/* ==================== 案例展示 ==================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background: var(--bg-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.case-info {
    padding: 30px;
}

.case-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.case-info p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.case-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 5px 15px;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 14px;
    color: var(--light-text);
}

/* ==================== 优势区块 ==================== */
.advantages {
    background: var(--light-bg);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.advantage-item {
    background: var(--bg-color);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.advantage-item p {
    color: var(--light-text);
    line-height: 1.8;
}

/* ==================== 团队区块 ==================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--bg-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    padding: 30px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
}

.team-member h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.bio {
    color: var(--light-text);
    line-height: 1.6;
}

/* ==================== 数据统计 ==================== */
.stats {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: bold;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.9;
}

/* ==================== 客户评价 ==================== */
.testimonials {
    background: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.rating {
    color: #FFC107;
    font-size: 24px;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.client-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.client-name {
    font-weight: 600;
    color: var(--primary-color);
}

.client-company {
    color: #999;
    font-size: 14px;
}

/* ==================== 联系我们区块 ==================== */
.contact-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.contact-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.contact-item {
    color: #fff;
}

.contact-item a {
    color: #fff;
    text-decoration: underline;
}

/* ==================== 联系表单 ==================== */
.booking-form {
    background: var(--light-bg);
    padding: 80px 0;
}

.form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-color);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.checkbox-group label {
    font-weight: normal;
    margin-bottom: 0;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* ==================== 联系信息卡片 ==================== */
.contact-cards {
    padding: 60px 0;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background: var(--bg-color);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--light-text);
    margin-bottom: 10px;
}

.contact-link {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

/* ==================== 常见问题 ==================== */
.faq {
    background: var(--light-bg);
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-item p {
    color: var(--light-text);
    line-height: 1.8;
}

/* ==================== 品牌故事 ==================== */
.brand-story {
    padding: 80px 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text p {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.story-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* ==================== 使命愿景 ==================== */
.mission {
    background: var(--light-bg);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mission-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.mission-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.mission-card p {
    color: var(--light-text);
    line-height: 1.8;
}

/* ==================== 奖项荣誉 ==================== */
.awards {
    padding: 80px 0;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.award-item {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
}

.award-icon {
    font-size: 48px;
}

.award-item h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.award-item p {
    color: var(--light-text);
    font-size: 14px;
}

/* ==================== 服务类别 ==================== */
.service-category {
    padding: 60px 0;
}

.category-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

/* ==================== 工具类 ==================== */
.text-center {
    text-align: center;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .story-content {
        grid-template-columns: 1fr;
    }

    .story-image {
        order: -1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        gap: 30px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .page-header h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .form {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-header p {
        font-size: 16px;
    }
}
