:root {
    /* 高级灰色调 - 铁艺网站配色 */
    --primary: #5a5a5a;          /* 主色：深灰，替代蓝色 */
    --secondary: #3a3a3a;        /* 次级色：更深的灰 */
    --accent: #8c8c8c;           /* 强调色：中灰 */
    --metal: #c0c0c0;            /* 金属色：银灰 */
    --warm-gray: #a9a9a9;        /* 暖灰色 */
    --dark: #2c3e50;             /* 深色：蓝灰 */
    --light: #f5f7fa;            /* 浅色：灰白 */
    --gray: #6c757d;             /* 标准灰 */
    
    /* 铁艺特色色 */
    --rust: #8b4513;             /* 铁锈色 */
    --steel: #808080;            /* 钢色 */
    --iron: #43464b;             /* 铁黑色 */
}

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

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden; /* 防止水平滚动 */
}

html { 
    scroll-behavior: smooth; 
}

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

/* ==================== 桌面端样式 ==================== */

/* Header */
header {
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-bottom: 1px solid #e8e8e8;
}   

header.scrolled {
    background: rgba(255, 255, 255, 0.99);
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--iron);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    margin-left: 8px;
}

/* 立即咨询按钮 */
.consult-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--steel), var(--primary));
    color: white;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    border: 1px solid var(--metal);
}

.consult-btn:hover {
    transform: scale(1.08);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 4px 12px rgba(90, 90, 90, 0.3);
}

/* Logo区域 */
.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    cursor: pointer;
}

.logo-text {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--iron);
}

.logo-subtitle {
    color: var(--accent);
    padding-left: 10px;
    border-left: 1px solid var(--metal);
    font-weight: 400;
}

.logo-url {
    font-size: 11px;
    color: var(--accent);
    margin-top: 2px;
    padding-left: 10px;
}

/* 桌面端导航菜单 */
.main-nav {
    display: flex;
    list-style: none;
    height: 100%;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.main-nav a {
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.main-nav a.active {
    color: var(--primary);
    font-weight: 600;
}

.main-nav a:hover {
    color: var(--rust);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rust);
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav > li > a {
    display: flex;
    align-items: center;
    padding: 0 18px;
    height: 100%;
    color: #4a4a4a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}

.main-nav > li > a:hover {
    color: var(--rust) !important;
    font-weight: 700 !important;
}

.main-nav > li > a.active {
    color: var(--primary);
    font-weight: 600;
}

.main-nav > li > a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px 2px 0 0;
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 140%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 1000;
    border: 1px solid var(--metal);
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 12px 18px;
    background: var(--light);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid var(--metal);
}

.dropdown-menu li:not(.dropdown-header) a {
    display: block;
    padding: 12px 18px;
    color: #4a4a4a;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-menu li:not(.dropdown-header) a:hover {
    color: var(--rust) !important;
    font-weight: 600 !important;
    background: #f8f8f8;
}

/* 立即咨询按钮 */
.consult-btn {
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid var(--metal);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.consult-btn:hover {
    color: white !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, var(--secondary), var(--iron)) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90, 90, 90, 0.3);
}

/* 移动端菜单按钮 - 在桌面端隐藏 */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    padding: 8px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    background: white;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

/* ==================== 移动端样式 ==================== */
@media (max-width: 992px) {
    /* 隐藏桌面端元素 */
    .consult-btn {
        display: none !important;
    }
    
    .desktop-arrow {
        display: none;
    }
    
    /* 显示移动端菜单按钮 */
    .mobile-menu-btn {
        display: flex !important;
    }
    
    /* 移动端导航菜单样式 */
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: stretch;
        box-shadow: none;
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0;
    }
    
    .main-nav.show {
        left: 0;
    }
    
    .main-nav > li {
        width: 100%;
        border-bottom: 1px solid #e8e8e8;
    }
    
    .main-nav > li > a {
        padding: 16px 20px;
        width: 100%;
        justify-content: space-between;
        font-size: 16px;
        box-sizing: border-box;
    }
    
    .main-nav > li > a.active::after {
        display: none;
    }
    
    .main-nav > li > a.active {
        background: rgba(90, 90, 90, 0.05);
        border-left: 4px solid var(--primary);
    }
    
    /* 移动端下拉菜单 */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: #fafafa;
        min-width: 100%;
        border: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    .dropdown-menu.active {
        max-height: 500px;
    }
    
    .dropdown-menu li:not(.dropdown-header) a {
        padding: 12px 20px 12px 30px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .dropdown-header {
        padding: 12px 20px 12px 30px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .mobile-toggle {
        display: inline-block !important;
        transition: transform 0.3s;
        color: #999;
    }
    
    .dropdown.active .mobile-toggle {
        transform: rotate(45deg);
        color: var(--primary);
    }
    
    /* 搜索表单调整为列布局 */
    .search-form {
        flex-direction: column;
    }
    
    .search-input,
    .search-select {
        width: 100%;
    }
    
    /* Banner调整 */
    .banner-image {
        height: 300px;
        padding-left: 5%;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    /* 分类网格调整 */
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer调整 */
    .footer-content {
        flex-direction: column;
    }
}

/* 超小屏幕手机 */
@media (max-width: 480px) {
    .banner-title {
        font-size: 24px;
    }
    
    .banner-subtitle {
        font-size: 14px;
    }
    
    .search-card {
        padding: 20px;
        margin: 0 15px;
    }
    
    .logo-section {
        gap: 10px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .logo-subtitle {
        font-size: 12px;
        padding-left: 10px;
    }
    
    .logo-url {
        font-size: 10px;
    }
    
    .main-nav > li > a {
        padding: 14px 15px;
        font-size: 15px;
    }
}

/* 超小屏幕手机 */
@media (max-width: 375px) {
    .logo-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .logo-subtitle {
        border-left: none;
        padding-left: 0;
    }
    
    .mobile-menu-btn {
        width: 36px;
        height: 36px;
    }
}

/* ==================== 以下是原有CSS保持不变 ==================== */

/* 图片定位相关 */
.figure-location-fixed{position:relative;padding-bottom:120px;overflow:hidden}
.figure-caption-fixed{min-width:1200px;padding-bottom:0}
.figure-caption-fixed .pic100.lazy{min-height:150px;background-size:80px}
.figure-location-fixed .figure-bg{width:100%;position:absolute;top:0;left:0;z-index:1}
.figure-location-fixed .figure-location-main{width:1000px;min-width:1000px;margin:0 auto;text-align:center;z-index:2;position:relative}
.figure-caption-fixed .figure-location-main{height:100%;position:absolute;top:0;left:50%;margin:0 -600px;z-index:2}
.figure-location-main .caption{width:1000px;line-height:75px;font-size:64px;font-weight:100;color:#fff;position:absolute;top:27%;left:0;z-index:3;font-weight:300}
.figure-location-main .subcaption{width:1200px;color:#fff;position:absolute;top:49%;left:50%;margin:0 -600px;z-index:3;font-weight:300}
.figure-location-main .icon{width:17px;height:17px;display:inline-block;position:absolute;bottom:19%;left:50%;margin:0 -9px;font-size:0}
.figure-location-main .icon::after{content:"";display:inline-block;width:12px;height:12px;border:2px solid #fff;border-bottom:none;border-left:none;-webkit-transform:rotate(136deg);-moz-transform:rotate(136deg);-ms-transform:rotate(136deg);transform:rotate(136deg)}
.figure-location-main .dynamic-sub{width:1200px;line-height:19px;font-size:16px;position:absolute;top:40%;left:50%;color:#fff;margin:0 -600px;font-weight:600;}

/* Banner */
.banner {
    position: relative;
    height: 400px;
    overflow: hidden;
    width: 100%;
    background: url('/skin/default/images/banner01.jpg') center/cover no-repeat,linear-gradient(135deg, #2c3e50 0%, #4a5568 50%, #718096 100%);
}

.banner-image {
    width: 100%;
    height: 100%;
    background:linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)) ;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    padding: 0 15px;
}

.banner-title {
    font-size: 32px;
    font-weight: bold;
    animation: fadeInUp 1s;
}

.banner-subtitle {
    font-size: 24px;
    animation: fadeInUp 1s 0.5s both;
}   
.banner-image {
    position: relative;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 22%;
}

.banner-content {
    max-width: 600px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.6;
}

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

/* 搜索区域 */
.search-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
    transform: translateY(-30px);
    border: 1px solid var(--metal);
}

.search-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid var(--metal);
    border-radius: 4px;
    font-size: 15px;
    background: var(--light);
}

.search-select {
    width: 140px;
    padding: 14px 18px;
    border: 1px solid var(--metal);
    border-radius: 4px;
    background: var(--light);
    font-size: 15px;
}

.search-button {
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: 1px solid var(--metal);
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-button:hover {
    background: linear-gradient(135deg, var(--secondary), var(--iron));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90, 90, 90, 0.3);
}

/* 核心分类导航 */
.category-showcase { padding: 70px 0; background: #fff; }
.section-title { 
    text-align: center; 
    font-size: 2rem; 
    margin-bottom: 15px; 
    color: var(--secondary);
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--rust);
    margin: 10px auto;
    border-radius: 2px;
}
.section-subtitle { 
    text-align: center; 
    color: var(--accent); 
    margin-bottom: 50px; 
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto; 
}
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.category-card {
    background: #fff; 
    border-radius: 8px; 
    padding: 30px; 
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); 
    border: 1px solid var(--metal); 
    transition: all 0.3s ease;
}
.category-card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 15px 35px rgba(90, 90, 90, 0.1);
    border-color: var(--primary);
}
.category-icon {
    background: linear-gradient(135deg, var(--light), #e8e8e8); 
    width: 70px; 
    height: 70px;
    line-height: 70px; 
    border-radius: 50%; 
    margin: 0 auto 20px; 
    font-size: 1.8rem; 
    color: var(--primary);
}
.category-card h3 { 
    font-size: 1.3rem; 
    margin-bottom: 10px; 
    color: var(--secondary); 
}
.category-card p { 
    color: var(--accent); 
    font-size: 0.95rem; 
    margin-bottom: 20px; 
    min-height: 40px; 
}
.category-stats { 
    color: var(--warm-gray); 
    font-size: 0.9rem; 
    margin-bottom: 20px; 
}
.category-card .action-btn {
    display: inline-block; 
    background: var(--light); 
    color: var(--primary); 
    padding: 10px 22px;
    border-radius: 4px; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 0.95rem;
    transition: all 0.3s; 
    border: 1px solid var(--metal);
}
.category-card:hover .action-btn { 
    background: var(--primary); 
    color: white; 
    border-color: var(--primary); 
}

/* 热门信息列表 */
.hot-listings { 
    padding: 70px 0; 
    background-color: var(--light); 
}
.listings-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 30px; 
}
.listings-header h3 { 
    font-size: 1.6rem; 
    color: var(--secondary); 
}
.listings-header a { 
    color: var(--primary); 
    text-decoration: none; 
    font-weight: 600; 
    transition: color 0.3s;
}
.listings-header a:hover {
    color: var(--rust);
}
.listings-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
    gap: 25px; 
}
.listing-card {
    background: white; 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s; 
    display: flex; 
    flex-direction: column; 
    height: 100%;
    border: 1px solid var(--metal);
}
.listing-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 30px rgba(90, 90, 90, 0.1); 
}
.listing-img {
    height: 180px; 
    overflow: hidden; 
    position: relative; 
    background: #e8e8e8;
}
.listing-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s; 
}
.listing-card:hover .listing-img img { 
    transform: scale(1.05); 
}
.listing-badge {
    position: absolute; 
    top: 15px; 
    right: 15px; 
    background: var(--primary); 
    color: white;
    padding: 5px 12px; 
    border-radius: 4px; 
    font-size: 0.8rem; 
    font-weight: 600;
}
.listing-content { 
    padding: 20px; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}
.listing-content h4 { 
    font-size: 1.2rem; 
    margin-bottom: 10px; 
    color: var(--secondary); 
    line-height: 1.4; 
}
.listing-content p { 
    color: var(--accent); 
    font-size: 0.95rem; 
    margin-bottom: 15px; 
    flex-grow: 1; 
}
.listing-meta {
    display: flex; 
    justify-content: space-between; 
    color: var(--warm-gray); 
    font-size: 0.9rem;
    padding-top: 15px; 
    border-top: 1px solid var(--metal); 
    margin-top: auto;
}

/* 用户角色引导区 */
.user-guide { 
    padding: 80px 0; 
    background: #fff; 
}
.guide-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}
.guide-card {
    background: var(--light); 
    border-radius: 8px; 
    padding: 35px; 
    border: 1px solid var(--metal);
    transition: all 0.3s;
}
.guide-card:hover { 
    border-color: var(--primary); 
    background: #fff; 
    box-shadow: 0 10px 25px rgba(90, 90, 90, 0.08); 
}
.guide-card h4 { 
    font-size: 1.3rem; 
    margin-bottom: 15px; 
    color: var(--secondary); 
    display: flex; 
    align-items: center; 
}
.guide-card h4 i { 
    margin-right: 10px; 
    color: var(--primary); 
}
.role-tag {
    display: inline-block; 
    background: var(--light); 
    color: var(--primary); 
    padding: 4px 12px;
    border-radius: 4px; 
    font-size: 0.85rem; 
    font-weight: 600; 
    margin-left: 10px;
    border: 1px solid var(--metal);
}
.guide-card p { 
    color: var(--accent); 
    margin-bottom: 20px; 
}
.guide-cta {
    display: inline-block; 
    background: linear-gradient(135deg, var(--primary), var(--secondary)); 
    color: white; 
    padding: 12px 25px;
    border-radius: 4px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: all 0.3s;
    border: 1px solid var(--metal);
}
.guide-cta:hover { 
    background: linear-gradient(135deg, var(--secondary), var(--iron)); 
    box-shadow: 0 5px 15px rgba(90, 90, 90, 0.3); 
    transform: translateY(-1px);
}

/* Footer */
footer {
    background: var(--secondary);
    padding: 60px 0 30px;
    color: white;
    border-top: 3px solid var(--rust);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding
}
