/* 丰汇中心 - 轻奢风格样式表 */
/* ==================== Reset & Base ==================== */
*,*::before,*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

:root {
    /* 主色调：暖灰金 — 高端轻奢感 */
    --primary-color: #1a1814;        /* 深咖啡黑（非纯黑，更柔和） */
    --secondary-color: #2d2a25;      /* 深棕灰 */
    --accent-color: #b8893b;         /* 香槟金 */
    --accent-light: #d4af5f;         /* 浅香槟金 */
    --accent-dark: #8c6a2e;          /* 暗金棕 */

    /* 文字色 */
    --text-dark: #1a1814;
    --text-body: #3a3530;
    --text-light: #7a7570;
    --text-muted: #a09a93;

    /* 背景色 */
    --bg-cream: #faf8f5;             /* 奶油白 */
    --bg-cream-dark: #f0ebe2;        /* 暖灰白 */
    --bg-warm: #f5f2ee;              /* 暖背景 */
    --white: #ffffff;

    /* 边框 */
    --border-color: #e5dfd6;         /* 暖灰边框 */
    --border-light: #efeae1;

    /* 阴影 */
    --shadow-sm: 0 2px 12px rgba(26,24,20,0.06);
    --shadow-md: 0 6px 30px rgba(26,24,20,0.10);
    --shadow-lg: 0 12px 50px rgba(26,24,20,0.15);

    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

body {
    font-family: "Noto Serif SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-body);
    background-color: var(--bg-cream);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ==================== 导航栏 ==================== */
.navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-md);
}

.navbar-top {
    background: var(--primary-color);
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    padding: 7px 0;
    letter-spacing: 1px;
}

.navbar-top .container {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}

.navbar-top a {
    transition: color 0.3s;
}

.navbar-top a:hover {
    color: var(--accent-light);
}

.navbar-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 88px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 8px;
    font-family: "PingFang SC", "Heiti SC", "Microsoft YaHei", sans-serif;
}

.nav-links {
    display: flex;
    gap: 38px;
}

.nav-links a {
    color: var(--text-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* ==================== 轮播图 ==================== */
.hero {
    margin-top: 0;
    position: relative;
    height: 720px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,24,20,0.5) 0%, rgba(26,24,20,0.15) 50%, rgba(26,24,20,0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: var(--white);
    max-width: 900px;
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h2 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 16px;
    margin-bottom: 20px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 6px;
    margin-bottom: 45px;
    opacity: 0.95;
}

.hero-btn {
    display: inline-block;
    padding: 14px 48px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.4);
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.hero-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184,137,59,0.4);
}

/* 轮播控制 */
.hero-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 36px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 2px;
}

.hero-dot.active {
    background: var(--accent-light);
    width: 50px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    color: var(--white);
    cursor: pointer;
    padding: 20px;
    z-index: 10;
    opacity: 0.5;
    transition: all 0.3s;
    user-select: none;
}

.hero-arrow:hover {
    opacity: 1;
    color: var(--accent-light);
}

.hero-arrow.prev { left: 30px; }
.hero-arrow.next { right: 30px; }

/* ==================== 通用章节 ==================== */
.section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 8px;
    margin-bottom: 12px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 4px;
    margin-bottom: 55px;
    text-transform: uppercase;
    font-family: "Georgia", serif;
}

/* ==================== 商业设施及服务 ==================== */
.business-facilities {
    padding: 80px 0 100px;
    background: var(--bg-cream);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.facility-card {
    position: relative;
    height: 440px;
    overflow: hidden;
    background: var(--white);
    transition: all 0.5s ease;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.facility-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.facility-card:hover img {
    transform: scale(1.08);
}

.facility-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 28px 32px;
    background: linear-gradient(transparent, rgba(26,24,20,0.85));
    color: var(--white);
}

.facility-name {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 8px;
}

.facility-desc {
    font-size: 12px;
    opacity: 0.8;
    letter-spacing: 2px;
    margin-bottom: 4px;
    font-family: "Georgia", serif;
}

.facility-desc:last-of-type {
    margin-bottom: 12px;
    font-family: inherit;
    font-size: 13px;
    opacity: 0.75;
}

.facility-link {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 22px;
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--white);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    border-radius: var(--radius-sm);
}

.facility-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* ==================== 公司新闻 ==================== */
.company-news {
    background: var(--bg-warm);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 55px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-image img {
    transform: scale(1.06);
}

.news-content {
    padding: 28px;
}

.news-date {
    color: var(--accent-color);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-family: "Georgia", serif;
}

.news-content h3 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: 1px;
}

.news-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.news-link {
    color: var(--accent-color);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s;
}

.news-link:hover {
    color: var(--accent-dark);
}

/* ==================== 商务推广 ==================== */
.business-promotion {
    padding: 90px 0;
    background: var(--bg-cream);
}

.promotion-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 55px;
}

.promotion-card {
    position: relative;
    height: 350px;
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.promotion-card.large {
    grid-row: span 2;
    height: 720px;
}

.promotion-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.promotion-card:hover img {
    transform: scale(1.06);
}

.promotion-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(26,24,20,0.8));
    color: var(--white);
}

.promotion-overlay h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.promotion-overlay p {
    font-size: 13px;
    opacity: 0.85;
    letter-spacing: 1px;
    font-family: "Georgia", serif;
}

/* ==================== Newsletter ==================== */
.newsletter {
    background: var(--bg-warm);
    padding: 55px 0;
    border-top: 1px solid var(--border-light);
}

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

.newsletter-logo h3 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.newsletter-logo p {
    color: var(--text-light);
    font-size: 14px;
    letter-spacing: 1px;
}

.newsletter-links {
    display: flex;
    gap: 36px;
}

.nl-link {
    text-align: center;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-light);
    transition: color 0.3s;
}

.nl-link-icon {
    font-size: 26px;
    margin-bottom: 6px;
    color: var(--accent-color);
}

.nl-link:hover {
    color: var(--accent-color);
}

/* ==================== 页脚 ==================== */
.footer {
    background: #14120f;
    color: rgba(255,255,255,0.45);
    padding: 60px 0 25px;
    font-size: 12px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 45px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(184,137,59,0.15);
}

.footer-section h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.footer-section h3 {
    color: var(--accent-light);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.footer-section p {
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
}

.footer-section ul li {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.45);
}

.footer-section ul li a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a:hover {
    color: var(--accent-light);
}

/* ==================== 子页面通用（page-header 等） ==================== */
.page-header {
    margin-top: 88px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(184,137,59,0.08) 0%, transparent 50%, rgba(184,137,59,0.05) 100%);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

.page-header h1 {
    font-size: 38px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 6px;
    position: relative;
}

.page-header p {
    font-size: 16px;
    opacity: 0.75;
    letter-spacing: 3px;
    position: relative;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1400px) {
    .facilities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .promotion-grid {
        grid-template-columns: 1fr 1fr;
    }
    .promotion-card.large {
        grid-column: span 2;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero {
        height: 500px;
    }
    .hero-content h2 {
        font-size: 32px;
        letter-spacing: 8px;
    }
    .hero-content p {
        font-size: 15px;
        letter-spacing: 3px;
    }
    .facilities-grid,
    .news-grid,
    .promotion-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    .promotion-card.large {
        grid-column: auto;
        height: 300px;
    }
    .container {
        padding: 0 20px;
    }
    .navbar-main .container {
        padding: 0 20px;
        height: 70px;
    }
    .logo h1 {
        font-size: 24px;
        letter-spacing: 5px;
    }
    .section-title {
        font-size: 26px;
        letter-spacing: 5px;
    }
    .newsletter-content {
        flex-direction: column;
        gap: 30px;
    }
    .newsletter-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .page-header h1 {
        font-size: 28px;
    }
}
