/* ================= 基础重置与变量 ================= */
:root {
    --primary-color: #C5A880; /* 主题金色/暗金 */
    --primary-hover: #A88B5E;
    --text-dark: #222222;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --font-serif: "Playfair Display", "Noto Serif SC", "SimSun", serif;
    --font-sans: "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--bg-light);
}

/* ================= 导航栏 ================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.desktop-nav a:hover::after {
    width: 100%;
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

/* 汉堡菜单 (移动端隐藏) */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* 移动端导航菜单 */
.mobile-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
}

.mobile-nav li {
    text-align: center;
}

.mobile-nav a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    border-bottom: 1px solid #eee;
}

/* ================= 横幅区域 Hero ================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('/static/assets/img/i91fm0ttf4gmk7.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--bg-white);
    padding: 0 20px;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* 两个按钮水平居中样式 */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.trigger-btn {
    background-color: transparent;
    color: var(--bg-white);
    border: 1px solid var(--primary-color);
    padding: 12px 35px;
    font-size: 16px;
    font-family: var(--font-sans);
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.trigger-btn:hover {
    background-color: var(--primary-color);
    color: #111;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.4);
}

/* ================= 通用 Section 样式 ================= */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-top: 20px;
}

/* ================= 关于我们 ================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 10px 10px 0 var(--primary-color);
}

/* ================= 核心业务 (卡片) ================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--bg-white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-img-wrap {
    overflow: hidden;
    height: 250px;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.card-body {
    padding: 30px;
}

.card-body h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 500;
}

.card-body p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.read-more {
    color: var(--primary-color);
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-hover);
    padding-left: 5px;
}

/* ================= 行业资讯 ================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--bg-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.news-image {
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 13px;
    color: var(--primary-color);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* ================= 页脚 ================= */
.site-footer {
    background-color: #222222;
    color: #aaaaaa;
    padding: 80px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #333;
}

.footer-info h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--bg-white);
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 2px;
}

.footer-info p {
    font-size: 15px;
    line-height: 1.8;
    max-width: 400px;
}

.footer-contact h4 {
    font-size: 18px;
    color: var(--bg-white);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 1px;
}

.footer-contact ul li {
    margin-bottom: 15px;
    font-size: 15px;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    letter-spacing: 1px;
}

/* ================= 响应式设计 ================= */
@media (max-width: 992px) {
    .hero-title { font-size: 42px; }
    .about-grid { grid-template-columns: 1fr; }
    .card-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    /* 导航部分手机端使用汉堡菜单 */
    .desktop-nav { display: none; }
    .hamburger-menu { display: block; }
    
    .header-inner { height: 65px; }
    .mobile-nav { top: 65px; }
    
    /* 汉堡菜单动画 */
    .hamburger-menu.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger-menu.active .bar:nth-child(2) { opacity: 0; }
    .hamburger-menu.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    
    .hero { height: 80vh; }
    .hero-title { font-size: 32px; letter-spacing: 2px; }
    .hero-subtitle { font-size: 15px; }
    
    .hero-buttons { flex-direction: column; gap: 15px; align-items: center; }
    .trigger-btn { width: 80%; max-width: 250px; }
    
    .section { padding: 60px 0; }
    .section-title { font-size: 28px; }
    
    .card-grid, .news-grid { grid-template-columns: 1fr; }
    
    .about-image img { box-shadow: 5px 5px 0 var(--primary-color); }
}