/* 全局样式 */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --light-color: #ecf0f1;
    --dark-color: #333;
    --white-color: #fff;
    --gray-color: #95a5a6;
}
 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}
 
.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}
 
h1, h2, h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}
 
p {
    margin-bottom: 1rem;
}
 
a {
    text-decoration: none;
    color: var(--primary-color);
}
 
img {
    max-width: 100%;
    height: auto;
}
 
/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
 
.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}
 
.nav-links {
    display: flex;
    list-style: none;
}
 
.nav-links li {
    margin-left: 2rem;
}
 
.nav-links a {
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s;
}
 
.nav-links a:hover {
    color: var(--primary-color);
}
 
.burger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--secondary-color);
}
 
/* 英雄区域 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero-bg.jpg')  no-repeat center center/cover;
    color: var(--white-color);
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 60px; /* 导航栏高度 */
}
 
.hero-content {
    width: 100%;
}
 
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white-color);
}
 
.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--light-color);
}
 
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}
 
.cta-button:hover {
    background-color: #2980b9;
}
 
/* 公司简介 */
.about-section {
    padding: 4rem 0;
    background-color: var(--white-color);
}
 
.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}
 
.about-text {
    flex: 1;
    padding-right: 2rem;
}
 
.about-image {
    flex: 1;
    text-align: center;
}
 
.about-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
 
.image-caption {
    margin-top: 1rem;
    font-style: italic;
    color: var(--gray-color);
}
 
/* 服务 */
.services-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}
 
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
 
.service-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
 
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
 
.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
 
.service-card h3 {
    margin-bottom: 1rem;
}
 
/* 联系我们 */
.contact-section {
    padding: 4rem 0;
    background-color: var(--white-color);
}
 
.contact-content {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}
 
.contact-info {
    flex: 1;
    padding-right: 2rem;
}
 
.contact-info p {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}
 
.contact-info i {
    margin-right: 1rem;
    color: var(--primary-color);
}
 
.social-media {
    margin-top: 2rem;
}
 
.social-media a {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: color 0.3s;
}
 
.social-media a:hover {
    color: var(--primary-color);
}
 
.contact-form {
    flex: 1;
}
 
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}
 
.contact-form textarea {
    height: 150px;
    resize: vertical;
}
 
.contact-form button {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}
 
.contact-form button:hover {
    background-color: #2980b9;
}
 
/* 页脚 */
footer {
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-align: center;
    padding: 1.5rem 0;
}
 
/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: var(--white-color);
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
 
    .nav-links.active  {
        display: flex;
    }
 
    .nav-links li {
        margin: 0;
        padding: 0.8rem 2rem;
    }
 
    .burger {
        display: block;
    }
 
    .hero h1 {
        font-size: 2.5rem;
    }
 
    .hero p {
        font-size: 1.2rem;
    }
 
    .about-content,
    .contact-content {
        flex-direction: column;
    }
 
    .about-text,
    .contact-info {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}
/* 大楼图片轮播样式 */
.building-slider {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
 
.slider-container {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}
 
.slide {
    min-width: 100%;
    position: relative;
}
 
.slide img {
    width: 100%;
    height: auto;
    display: block;
}
 
.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--white-color);
    padding: 1rem;
    text-align: center;
    font-style: normal;
}
 
.slider-controls {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}
 
.slider-controls button {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: all 0.3s;
}
 
.slider-controls button:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}
 
.slider-dots {
    display: flex;
    gap: 0.5rem;
}
 
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}
 
.dot.active  {
    background-color: var(--primary-color);
}