/* 全局重置与样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    scroll-behavior: smooth;
}
body {
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}

/* 顶部导航栏 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #1a365d;
    letter-spacing: 1px;
}
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}
.nav-links a {
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: #1a365d;
}

/* 语言切换按钮 */
.lang-switch {
    background: #1a365d;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}
.lang-switch:hover {
    background: #2a4365;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #1a365d;
}

/* 轮播/首屏横幅 (Hero Section) */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    margin-top: 60px;
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.hero p {
    font-size: 20px;
    max-width: 650px;
    margin-bottom: 30px;
    font-weight: 300;
}
.btn {
    background: #c59b27;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
}
.btn:hover {
    background: #b0871d;
}

/* 通用区块样式 */
section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: 32px;
    color: #1a365d;
    margin-bottom: 50px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #c59b27;
    margin: 10px auto 0;
}

/* 精品楼盘/项目展示网格 */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.img-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.project-card:hover img {
    transform: scale(1.05);
}
.project-info {
    padding: 20px;
}
.project-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1a365d;
}
.project-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}
.detail-btn {
    padding: 8px 20px;
    font-size: 14px;
}

/* 关于我们 */
.about-section {
    background: #fff;
    max-width: 100%;
    padding: 80px 10%;
}
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}
.about-text {
    flex: 1;
    min-width: 300px;
}
.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}
.about-img {
    flex: 1;
    min-width: 300px;
}
.about-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 联系我们 */
.contact-container {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.contact-item h4 {
    color: #1a365d;
    margin-bottom: 10px;
    font-size: 18px;
}
.contact-item p {
    color: #666;
    font-size: 14px;
}

/* 页脚 */
footer {
    background: #1a365d;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
}

/* 响应式适配 (移动端媒体查询) */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        align-items: flex-start;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 16px;
    }
    .about-section {
        padding: 50px 5%;
    }
}
