/* 全局样式 */
body,
html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    /* background-color: #000; */
    /* color: #fff; */
}
.flip-prev,.flip-next {
    display: none;
}
.nav.nav-turn>li.active{
    color: #ff8800;
}

/* 顶部导航样式 */
header {
    position: sticky;
    z-index: 999;
    top: 0;
    width: 100%;
    height: 50px;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    background-color: #000;
}

/* 菜单和首页图标样式 */
.menu-icon,
.home-icon {
    cursor: pointer;
}

/* 侧边导航栏样式 */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.sidebar-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu ul li {
    margin: 15px 0;
}

.sidebar-menu ul li a {
    color: #f4f4f4;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.sidebar-menu ul li a:hover {
    color: #ffa500;
    /* 橙色 */
}

/* 轮播图样式 */
#carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.flip-body {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.flip-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 轮播图切换按钮 */
.flip-prev,
.flip-next {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    line-height: 30px;
    font-size: 20px;
    cursor: pointer;
    transform: translateY(-50%);
}

.flip-prev {
    left: 10px;
}

.flip-next {
    right: 10px;
}

/* 轮播图分页 */
.flip-page {
    text-align: center;
    margin-top: 10px;
}

.flip-page span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.flip-page span.active {
    background-color: #ffa500;
}

/* 文字描述样式 */
.carousel-text {
    text-align: center;
    padding: 20px 0;
    background-color: #000;
}

.carousel-text h2 {
    font-size: 28px;
    color: #ffa500;
    margin: 10px 0;
}

.carousel-text p {
    font-size: 16px;
    color: #ccc;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .sidebar-menu {
        width: 200px;
    }

    .carousel-text h2 {
        font-size: 22px;
    }

    .carousel-text p {
        font-size: 14px;
    }
}
@media (min-width: 768px) {
    .palfg {
        text-align: center !important;
    }
}
/* 今日热点 新闻提示框 */
.hot-news-bar {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 50px;
    padding: 10px 10px;
    margin: 20px auto;
    width: 90%;
}

.hot-news-icon {
    width: 70px;
    display: flex;
    margin-left: 5px;
    align-items: center;
    margin-right: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #323232;
}

.hot-news-content {
    flex-grow: 1;
    font-size: 14px;
    color: #787878;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-button {
    width: 70px;
    background-color: #ff8800;
    color: #fff !important;
    text-decoration: none;
    padding: 2px 5px;
    border-radius: 15px;
    font-size: 12px;
    /* margin-left: 15px; */
    font-weight: bold;
}

/* 滑动导航栏 */
.scrollable-nav {
    background-color: #ddd;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    list-style-type: none;
    border-bottom: 1px solid #ddd;
}

.scrollable-nav li {
    display: inline-block;
}

.scrollable-nav li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.scrollable-nav li.active a,
.scrollable-nav li a:hover {
    color: #000;
    font-weight: bold;
    border-bottom: 5px solid #000 !important;
}

.nav.nav-tabs>li.active>a {
    background-color: #ddd !important;
}

/* 标签页内容 */
.tab-body {
    margin-top: 20px;
}

.tab-item {
    display: none;
}

.tab-item.active {
    display: block;
}

.tab-image {
    width: 90%;
    border-radius: 10px;
    margin: 5px 5%;
}

/* "More" 按钮 */
.more-button {
    text-align: center;
    margin: 20px 0;
}

.more-button a {
    width: 80%;
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    border: 1px solid #a7a6a6;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    background-color: #f4f4f4;
}

.more-button a:hover {
    background-color: #ff8800;
    color: #fff;
}

/* 品牌数据统计模块样式 */
.stats-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffd700;
    /* 黄色背景 */
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    color: #000;
    /* 黑色字体 */
    font-weight: bold;
}

.stat-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 30px;
}

.stat-item {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.stat-number {
    font-size: 48px;
    line-height: 1;
}

.item-float {
    font-size: 20px;
    position: absolute;
    top: 0;
    right: -10px;
}

.stat-label {
    font-size: 18px;
    line-height: 1.2;
}

/* 垂直分割线 */
.vertical-divider {
    width: 1px;
    height: 150px;
    background-color: #000;
    /* 黑色分隔线 */
}
/* 文创产品展示板块 */
.creative-products-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    font-family: Arial, sans-serif;
}

.creative-products-section h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.sub-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    /* padding: 20px; */
    border-radius: 10px;
    border: 1px solid #fef4e5;
    font-weight: bold;
    font-size: 12px;
    color: #333;
    position: relative;
    background-size: 100% 100%;
}

.product-item span {
    font-size: 8px;
    color: #999;
    margin-top: 1px;
}

/* 中央模块 */
.product-center {
    grid-column: 2 / 4;
    grid-row: 2 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #ffd700; */
    /* border-radius: 50%; */
    /* padding: 40px; */
}

.product-center img {
    width: 100%;
    /* height: 60px; */
}

/* "AND MORE" 按钮 */
.product-more {
    grid-column: 4 / 5;
    grid-row: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffd700;
    color: #333;
    font-weight: bold;
    border-radius: 10px;
    font-size: 16px;
}
/* 文创文旅主题服务模块样式 */
.creative-services-section {
    text-align: center;
    padding: 15px 20px;
    background-color: #fff;
    font-family: Arial, sans-serif;
}

.creative-services-section h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.creative-services-section .sub-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* 服务项目模块 */
.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #eaeaea;
    margin: 20px auto;
    max-width: 400px;
    overflow: hidden;
}

.service-item img {
    width: 100%;
    height: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service-content {
    padding: 20px;
    text-align: center;
}

.service-content h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

.service-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* 按钮样式 */
.service-button {
    display: inline-block;
    padding: 10px 43px;
    background-color: #ffa500;
    color: #fff !important;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s;
}

.service-button:hover {
    background-color: #ff8800;
}
/* 联系我们模块样式 */
.contact-section {
    text-align: center;
    padding:0px  20px 5px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.contact-subtitle {
    font-size: 22px;
    color: #ff6c00;
    margin-bottom: 20px !important;
    font-weight: bold;
}

.contact-description {
    background-color: #f5f5f5;
    padding: 10px 10px;
    border-radius: 10px;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 600px;
}
.contact-description1 {
    background-color: #f5f5f5;
    padding: 23px 20px;
    border-radius: 10px;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 20px auto;
    max-width: 600px;
}
.contact-description1 p {
    margin: 0 !important;
    text-align: start;
}
/* 服务咨询与招聘邀请模块 */
.consulting-recruitment-section {
    /* display: flex; */
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 15px 0;
    background-color: #fff;
    text-align: center;
}

.consulting-recruitment-item {
    /* text-align: center; */
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px !important;
}

.consulting-button, .recruitment-button {
    width: 38%;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    position: relative;
    margin-bottom: 15px;
    text-align: center;
}

.consulting-button {
    background-color: #f29600; /* 橙色背景 */
}

.recruitment-button {
    background-color: #f20039; /* 红色背景 */
}

.consulting-button p, .recruitment-button p {
    font-size: 14px;
    color: #fff;
    margin-top: 5px;
}
.consulting{
    display: flex;
    gap: 50px;
    justify-content: center;
}
/* 箭头图标样式 */
.arrow-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.7); /* 半透明白色 */
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* 二维码样式 */
.qr-code {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin: 10px 0;
}

.qr-description {
    font-size: 14px;
    color: #666;
}
.lastbottom{
    width: 100%;
    font-size: 13px;
    /* height: 500px; */
    background-image: url('../images/icon/jx.png');
    background-size: 100% 100%;
    color: #e0e0e0;
    padding: 100px 20px 10px;
    text-align: center;
}
.lastbottom p,h3{
    margin: 0 !important;
    margin-bottom: 10px !important;
}


/* work */
.work-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
}

.category-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.category-item {
    text-align: center;
}

.color_action{
    width: 60px;
    height: 60px;
    background-color: #ffffff!important;
    border-radius: 10px;
    padding: 10px;
}


.category-item img {
    width: 60px;
    height: 60px;
    background-color: #ffd700;
    border-radius: 10px;
    padding: 10px;
}

.category-item p {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}
/* 精品设计案例模块 */
.design-case-section {
    text-align: center;
    padding: 0px 20px 0 ;
    background-color: #fff;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.case-item {
    position: relative;
    max-width: 800px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.case-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.case-item:hover .case-image {
    transform: scale(1.05);
}

.case-info {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 100%;
    height: 100%;
    /* padding: 15px; */
    text-align: left;
}

.case-text{
    margin: auto 10%;
    padding-bottom: 20px;
    width: 80%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.case-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.case-subtitle {
    font-size: 14px;
    color: #ccc;
    margin: 5px 0 0;
}
/* workdetail */
.project-container {
    text-align: center;
    /* padding: 20px; */
    /* background-color: #f5f5f5; */
}

.back-icon {
    position: absolute;
    top: 56px;
    left: 8px;
    cursor: pointer;
    z-index: 999;
}

.project-image-container {
    position: relative;
    /* max-width: 800px; */
    margin: 0 auto;
    /* border-radius: 10px; */
    overflow: hidden;
    height: 177px;
}
.overlay-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 灰色半透明蒙版 */
    z-index: 1; /* 确保蒙版在图片上方，但在文字下方 */
}


.project-image {
    width: 100%;
    display: block;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 45px;
    font-weight: bold;
    text-align: center;
    z-index: 2;
}

.project-description {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* max-width: 700px; */
    margin: 20px 5% 20px;
    text-align: left;
}

.project-description p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 10px 0;
}
/* 热点 */
.more-articles-section {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #eaeaea;
    max-width: 400px;
    margin: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.article-list {
    display: flex;
    flex-direction: column;
}

.article-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    font-size: 18px;
    border-bottom: 1px solid #eaeaea;
}

.article-item .arrow {
    color: #999;
    font-size: 18px;
}

.article-item:hover {
    color: #007bff;
}

.toggle-button {
    text-align: center;
    color: #c1c1c2;
    font-size: 16px;
    cursor: pointer;
    padding-top: 10px;
}
