/* 
  中国·KY开元(集团)有限公司 - 全局样式 
  风格：淡黑金 (Light Black & Gold)
*/

:root {
    --bg-dark: #121212;
    --bg-card: #1c1c1c;
    --primary-gold: #d4af37;
    --secondary-gold: #c5a028;
    --text-white: #f5f5f5;
    --text-gray: #a0a0a0;
    --border-gold: rgba(212, 175, 55, 0.3);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Tahoma, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* 导航栏 */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gold);
    padding: 1.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-gold);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

/* 通用布局 */
section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-gold);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    cursor: pointer;
    transition: 0.4s;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
}

/* 平滑滚动入场动画 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 后置背景图样式 */
.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    cursor: pointer;
}

.bg-image:hover {
    transform: scale(1.05);
}

/* 底部 */
footer {
    background: #0a0a0a;
    padding: 80px 20px 40px;
    border-top: 1px solid var(--border-gold);
    margin-top: 100px;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* 简化演示，隐藏移动端导航 */
    }
    .section-title {
        font-size: 2rem;
    }
}
