/* ====================================
   醴陵市享游软件服务工作室 - 官网样式
   ==================================== */

/* --- Reset & 基础设置 --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* --- 导航栏 --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eaeaea;
}

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

.logo {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-size: 15px;
    color: #555;
    transition: color 0.2s;
}

.nav a:hover {
    color: #2563eb;
}

/* --- Hero 区域 --- */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
}

.hero h1 {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.hero .subtitle {
    font-size: 20px;
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 12px;
}

.hero .desc {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* --- 通用 Section --- */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: #1a1a2e;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #2563eb;
    margin: 12px auto 0;
    border-radius: 2px;
}

.bg-light {
    background-color: #f8fafc;
}

/* --- 关于我们 --- */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    color: #555;
    text-align: center;
    line-height: 1.8;
}

/* --- 经营范围 --- */
.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.business-item {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.business-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.item-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.business-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.business-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* --- 联系方式 --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.contact-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.contact-item a,
.contact-item p {
    font-size: 15px;
    color: #2563eb;
    word-break: break-all;
}

.contact-item p {
    color: #555;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* --- 页脚 --- */
.footer {
    background: #1a1a2e;
    color: #aaa;
    text-align: center;
    padding: 32px 0;
    font-size: 14px;
}

.footer p {
    margin-bottom: 8px;
}

.footer .icp {
    margin-top: 8px;
}

.footer .icp a {
    color: #888;
    transition: color 0.2s;
}

.footer .icp a:hover {
    color: #fff;
}

/* --- 响应式设计 --- */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero .subtitle {
        font-size: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 36px;
    }

    .business-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .business-item {
        padding: 24px 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nav {
        gap: 16px;
    }

    .nav a {
        font-size: 14px;
    }

    .logo {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .business-grid {
        grid-template-columns: 1fr;
    }

    .header .container {
        height: 56px;
    }

    .hero h1 {
        font-size: 22px;
    }
}
