/* 万图平面设计网站公共样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    background-color: #ffffff;
}

/* 通用容器 */
.wantu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 通用标题样式 */
.wantu-section-title {
    font-size: 28px;
    color: #2C3E50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #E67E22;
    display: inline-block;
}

/* 头部导航 */
.wantu-header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.wantu-header .wantu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.wantu-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2C3E50;
}

.wantu-logo-icon {
    width: 40px;
    height: 40px;
    background-color: #E67E22;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 10px;
    font-weight: bold;
    font-size: 20px;
}

.wantu-logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #2C3E50;
}

.wantu-nav {
    display: flex;
    list-style: none;
}

.wantu-nav li {
    margin-left: 40px;
}

.wantu-nav a {
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.wantu-nav a:hover,
.wantu-nav a.active {
    color: #E67E22;
}

/* 移动端菜单按钮 */
.wantu-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.wantu-mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333333;
    margin: 5px 0;
    transition: 0.3s;
}

/* Banner轮播 */
.wantu-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.wantu-banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    background-size: cover;
    background-position: center;
}

.wantu-banner-slide.active {
    display: block;
}

.wantu-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    background-color: rgba(0,0,0,0.5);
    padding: 30px;
    border-radius: 10px;
}

.wantu-banner-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.wantu-banner-desc {
    font-size: 18px;
}

.wantu-banner-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.wantu-banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.wantu-banner-dot.active {
    background-color: #ffffff;
}

/* 服务项目模块 */
.wantu-services {
    padding: 80px 0;
    background-color: #F9F9F9;
}

.wantu-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.wantu-service-item {
    text-align: center;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.wantu-service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.wantu-service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: #E67E22;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
}

.wantu-service-title {
    font-size: 20px;
    color: #2C3E50;
    margin-bottom: 10px;
}

.wantu-service-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* 案例展示 */
.wantu-cases {
    padding: 80px 0;
}

.wantu-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.wantu-case-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.wantu-case-item:hover {
    transform: scale(1.05);
}

.wantu-case-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.wantu-case-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.7);
    color: #ffffff;
    padding: 10px;
    font-size: 14px;
    text-align: center;
}

/* 文章列表 */
.wantu-articles {
    padding: 80px 0;
    background-color: #F9F9F9;
}

.wantu-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.wantu-article-item {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.wantu-article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.wantu-article-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.wantu-article-content {
    padding: 20px;
}

.wantu-article-title {
    font-size: 18px;
    color: #2C3E50;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
}

.wantu-article-title:hover {
    color: #E67E22;
}

.wantu-article-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.wantu-article-date {
    font-size: 12px;
    color: #999999;
}

/* 侧边栏 */
.wantu-sidebar {
    margin-top: 50px;
}

.wantu-sidebar-widget {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.wantu-widget-title {
    font-size: 18px;
    color: #2C3E50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E67E22;
}

.wantu-sidebar-cases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.wantu-sidebar-case-item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

.wantu-sidebar-case-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

.wantu-sidebar-case-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.6);
    color: #ffffff;
    padding: 5px;
    font-size: 12px;
    text-align: center;
}

.wantu-sidebar-articles {
    list-style: none;
}

.wantu-sidebar-articles li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
}

.wantu-sidebar-articles li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.wantu-sidebar-articles a {
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    display: block;
    transition: color 0.3s;
}

.wantu-sidebar-articles a:hover {
    color: #E67E22;
}

.wantu-sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wantu-sidebar-tags a {
    display: inline-block;
    padding: 5px 15px;
    background-color: #F0F0F0;
    color: #666666;
    text-decoration: none;
    border-radius: 15px;
    font-size: 13px;
    transition: background-color 0.3s, color 0.3s;
}

.wantu-sidebar-tags a:hover {
    background-color: #E67E22;
    color: #ffffff;
}

/* 分页 */
.wantu-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.wantu-pagination a,
.wantu-pagination span {
    padding: 8px 15px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    color: #666666;
    text-decoration: none;
    transition: all 0.3s;
}

.wantu-pagination a:hover {
    background-color: #E67E22;
    color: #ffffff;
    border-color: #E67E22;
}

.wantu-pagination span.current {
    background-color: #E67E22;
    color: #ffffff;
    border-color: #E67E22;
}

/* 底部 */
.wantu-footer {
    background-color: #2C3E50;
    color: #ffffff;
    padding: 50px 0 20px;
}

.wantu-footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.wantu-footer-widget h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
}

.wantu-footer-widget ul {
    list-style: none;
}

.wantu-footer-widget li {
    margin-bottom: 10px;
}

.wantu-footer-widget a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.wantu-footer-widget a:hover {
    color: #ffffff;
}

.wantu-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* 面包屑导航 */
.wantu-breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: #666666;
}

.wantu-breadcrumb a {
    color: #666666;
    text-decoration: none;
}

.wantu-breadcrumb a:hover {
    color: #E67E22;
}

/* 返回顶部按钮 */
.wantu-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #E67E22;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.wantu-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.wantu-back-to-top:hover {
    background-color: #D35400;
    transform: translateY(-3px);
}