/* 基础重置与字体 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏 */
.header {
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.logo h1 {
    font-size: 1.8rem;
    color: #fff;
}

.logo span {
    color: #4a8cff; /* 品牌主色调 - 蓝色，代表科技与声光） */
}

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

.nav ul li a {
    color: #ddd;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav ul li a:hover {
    color: #4a8cff;
}

.contact-header {
    font-size: 0.95rem;
}

/* 英雄区域 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5)), url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 60px; /* 给固定导航栏留出空间 */
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 0 10px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #4a8cff;
    color: white;
    border: 2px solid #4a8cff;
}

.btn-primary:hover {
    background-color: transparent;
    color: #4a8cff;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #333;
}

/* 通用区块 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.section-title span {
    color: #4a8cff;
}

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

/* 关于我们 */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text ul {
    margin-top: 20px;
    list-style: none;
}

.about-text ul li {
    margin-bottom: 10px;
}

.about-text ul li i {
    color: #4a8cff;
    margin-right: 10px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 服务网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: #4a8cff;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* 页脚 */
.footer {
    background-color: #222;
    color: #bbb;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-info, .footer-links, .footer-qrcode {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding-right: 20px;
}

.footer h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-info i {
    margin-right: 10px;
    color: #4a8cff;
    width: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #4a8cff;
}

.footer-qrcode img {
    width: 120px;
    margin-bottom: 10px;
    border: 1px solid #444;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* 备案号样式 - 确保清晰可见 */
.beian {
    margin-top: 10px;
}

.beian a {
    color: #bbb;
    text-decoration: none;
}

.beian a:hover {
    color: #4a8cff;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    .nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero h2 {
        font-size: 2.5rem;
    }
    .about-content {
        flex-direction: column;
    }
    .footer-content {
        flex-direction: column;
    }
}