/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 平滑滚动效果 */
html {
    scroll-behavior: smooth;
}

/* 基础页面样式 */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
}

/* 导航栏样式 */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #1e90ff;
    padding: 1rem 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #87cefa;
}

/* 区域通用样式 */
section {
    min-height: 100vh;
    padding: 80px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 首页区域样式 */
#home {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/bg3.jpeg') center/cover;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* 营销服务区域样式 */
#marketing {
    background-color: #f5f5f5;
}

/* 关于我们区域样式 */
#about {
    background-color: white;
}

.about-image {
    width: 100%;
    height: 400px;
    background: url('images/bg2.jpg') center/cover no-repeat;
    margin-top: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

/* 联系我们区域样式 */
#contact {
    background-color: #f5f5f5;
}

/* 内容容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* 标题样式 */
h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

/* 段落样式 */
p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    max-width: 800px;
}

/* 营销服务卡片网格布局 */
.marketing-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* 服务卡片样式 */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

/* 联系表单样式 */
.contact-form {
    width: 100%;
    max-width: 600px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    background-color: #333;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #555;
}

/* 页脚样式 */
.footer {
    background-color: #1e90ff;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 20px;
}

.footer-section {
    text-align: left;
}

.footer-section h4 {
    color: #87cefa;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-bottom p {
    margin: 0.5rem auto;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-align: center;
    width: 100%;
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #87cefa;
}