/* --- 全局和基础样式 --- */
:root {
    --color-primary-gold: #c5a76c;
    --color-dark-bg: #1c1c1c;
    --color-content-bg: rgba(0, 0, 0, 0.5);
    --color-text-light: #e0e0e0;
    --color-text-white: #ffffff;
    --color-text-dark: #333333;
    --font-main: 'Noto Sans SC', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--color-text-white);
}

img {
    max-width: 100%;
    height: auto;
}

/* --- 头部 --- */
.main-header {
    padding: 20px 0;
    background-color: #ffffff;
}

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

.logo{
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 30px; /* 根据你的Logo调整 */
    width: 43px;
}

/* 如果使用文字Logo */
.logo span {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-primary-gold);
}

.logo-text{
    color: #6a4400;
    font-weight: 700;
    letter-spacing: 1px;
    padding-left: 10px;
}

/* --- 主视觉区域 --- */
.hero-section {
    height: 60vh;
    min-height: 658px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
    /* 在此填入你的背景图片路径 */
    background: url('../images/topbanner.png') no-repeat top center;
    background-size: 100% 100%;
}

/* 背景遮罩层 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative; /* 确保内容在遮罩层之上 */
    background: var(--color-content-bg);
    padding: 40px 60px;
    border: 1px solid var(--color-primary-gold);
    max-width: 800px;
}

.hero-content h1 {
    margin-top: 0;
    font-size: 2.5em;
    color: var(--color-primary-gold);
}

.hero-content .subtitle {
    font-size: 1.2em;
    color: var(--color-text-white);
    margin: 20px 0;
}

.hero-content p {
    font-size: 1em;
    color: var(--color-text-light);
}


/* --- 投资增长部分 --- */
.growth-section {
    padding: 80px 0;
    background: #ffffff;
}

.growth-section h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 60px;
    line-height: 1.4;
    color: #593a07;
}

.growth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.growth-item.text-item {
    font-size: 1.1em;
    padding: 0 20px;
    color: #000000;
}

.growth-item.image-item img {
    border-radius: 8px;
    display: block;
}


/* --- 特色优势部分 --- */
.features-section {
    padding: 80px 0;
    background: url('../images/block2_bg.png') no-repeat top center;
    background-size: 100% 100%;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.feature-card {
    background: var(--color-dark-bg);
    padding: 40px 20px;
    border: 1px solid #333;
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary-gold);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--color-primary-gold);
    font-size: 1.2em;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.9em;
    color: var(--color-text-light);
    line-height: 1.6;
}


/* --- 页脚 --- */
.main-footer {
    padding: 50px 0;
    text-align: center;
    font-size: 0.9em;
}

.main-footer h3 {
    font-size: 1.4em;
    color: var(--color-text-white);
    margin-bottom: 15px;
}

.main-footer p {
    margin: 5px 0;
    color: var(--color-text-light);
}

.main-footer hr {
    border: 0;
    border-top: 1px solid #444;
    margin: 30px auto;
    width: 80%;
}

.main-footer .copyright {
    font-size: 0.8em;
    color: #888;
}

/* --- 响应式设计 --- */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 30px;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .growth-grid {
        grid-template-columns: 1fr;
    }
    
    /* 在移动端，确保文本总是在图片下方 */
    .growth-item.image-item {
        order: 1;
    }

    .growth-item.text-item {
        order: 2;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}