/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 - 蓝橙主题 */
.navbar {
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo h2 {
    color: #FF9800;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}

.logo-subtitle {
    color: #FFB74D;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    line-height: 1;
    opacity: 0.9;
    font-style: italic;
}

/* 响应式设计：在小屏幕上调整logo大小 */
@media (max-width: 768px) {
    .logo-img {
        height: 32px;
    }
    
    .logo h2 {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
    }
    
    .logo {
        gap: 8px;
    }
}

/* 超小屏幕隐藏英文名称 */
@media (max-width: 480px) {
    .logo-subtitle {
        display: none;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #FFB74D;
}

/* 主要内容区域 */
main {
    margin-top: 80px;
}

/* 首页横幅 - 蓝橙主题 */
.hero {
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 50%, #0D47A1 100%);
    color: white;
    text-align: center;
    padding: 120px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="60" r="1" fill="%23ffffff" opacity="0.1"/></svg>') repeat;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background-color: #FF9800;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #F57C00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

/* 通用section样式 */
section {
    padding: 80px 0;
}

.about {
    background-color: #f8f9fa;
}

.about h2, .services h2, .contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1565C0;
    font-weight: bold;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* 服务网格 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
    border-top: 4px solid #1976D2;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-top-color: #FF9800;
}

.service-item h3 {
    color: #1565C0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: bold;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}

/* 联系信息 */
.contact {
    background: linear-gradient(135deg, #E3F2FD 0%, #F3E5F5 100%);
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid #FF9800;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.contact-info p:last-child {
    border-bottom: none;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem 20px;
    }
    
    .nav-menu {
        margin-top: 1rem;
    }
    
    .nav-menu li {
        margin: 0 1rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        padding: 2rem;
    }
    
    .contact-info {
        padding: 2rem;
        margin: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .about h2, .services h2, .contact h2 {
        font-size: 2rem;
    }
}