/* Global Styles */
/*
Theme Name: art主题
Theme URI: https://www.dingxianren.com
Description: 艺术展示主题
Author: 老丁
Author URI: https://www.dingxianren.com
Version: 1.0
Tags: Ver. 1.2
*/

:root {
    --primary-color: #2a2a2a;
    --secondary-color: #5e4b3a;
    --accent-color: #a67c52;
    --light-color: #f8f5f2;
    --dark-color: #1a1a1a;
    --text-color: #333;
    --text-light: #777;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-color);
}

/* Top Bar Styles */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    background-color: var(--dark-color);
    color: white;
    font-size: 0.9rem;
}

.announcement {
    position: relative;
    height: 1.5rem;
    overflow: hidden;
    white-space: nowrap;
    width: 30%;
}

.announcement a {
    color: #FFF;
    display: inline-block;
    padding: 0 20px;
    animation: slideFromLeft 12s linear infinite;
    opacity: 0;
    position: absolute;
    right: 100%;
    transform: translateY(-50%);
}

@keyframes slideFromLeft {
    0% {
        right: 100%;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    33% {
        right: 0;
        opacity: 1;
    }
    38% {
        opacity: 0;
    }
    100% {
        right: -100%;
        opacity: 0;
    }
}

.announcement-text:nth-child(1) { animation-delay: 0s; }
.announcement-text:nth-child(2) { animation-delay: 4s; }
.announcement-text:nth-child(3) { animation-delay: 8s; }

.top-links a {
    color: white;
    margin-left: 1.5rem;
}

.auth-links a {
    color: white;
    margin: 0 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    opacity: 0.9;
    padding: 0.3rem 0;
}

.auth-links a:hover {
    color: var(--accent-color);
    opacity: 1;
    transform: translateY(-1px);
}

.auth-links a i {
    margin-right: 0.5rem;
    font-size: 0.9em;
}

/* Navigation Styles */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    margin-left: 1rem;
}

/* Mobile Navigation Styles */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        padding: 0.5rem 2rem;
    }

    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        display: none;
    }

    .menu-item-has-children.active .sub-menu {
        display: block;
    }

    /* 移动端下拉箭头样式 */
    .menu-item-has-children > a::after {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-item-has-children.active > a::after {
        transform: translateY(-50%) rotate(180deg);
    }
}

.logo {
    max-height: 50px;
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    height: 100%;
   
}

.logo img {
    width: 100%;
    height: auto;
    max-height: 60px;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li {
    margin: 0 15px;
    position: relative;
}



.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.current-menu-item a{
    color: var(--accent-color);
}

.current-menu-item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
    width: 100%;
}


/* 下拉菜单样式 */
.menu-item-has-children {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: -50%;
    background: #fff;
    min-width: 200px;
    padding: 10px 0;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    margin: 0;
    padding: 0; list-style-type:none; 
	
}

.sub-menu a {
    display: block;
    padding: 8px 20px;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sub-menu a:hover {
    background: #f5f5f5;
    color: #000;
    padding-left: 25px;
}

/* 添加下拉指示箭头 */
.menu-item-has-children > a::after {
    content: '\f107';  /* FontAwesome下箭头图标 */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900 !important; /* 确保字重足够粗 */
    font-size: 14px; /* 稍微增大字体 */
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
    color: inherit; /* 继承父元素的文字颜色 */
    opacity: 0.8; /* 添加一点透明度让其看起来更协调 */
}

.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.nav-links a {
    position: relative;
}

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

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

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

.search-icon {
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.search-icon:hover {
    transform: scale(1.1);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 100;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 0;
        text-align: center;
        padding: 0.8rem 0;
    }
    
    .nav-links li:hover {
        background: rgba(0,0,0,0.05);
    }
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding-top: 100px;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.search-container {
    position: relative;
    width: 80%;
    max-width: 600px;
}
.search-container {
    width: 90%;
    max-width: 800px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.search-container input {
    width: 100%;
    padding: 20px;
    font-size: 18px;
    border: none;
    border-bottom: 1px solid #eee;
    outline: none;
    transition: all 0.3s ease;
}

.search-container input:focus {
    border-color: #666;
}

.search-results {
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px;
    background: white;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    cursor: pointer;
}

.search-result-item:hover {
    background: #f9f9f9;
    transform: translateX(5px);
}

.search-result-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

.result-details {
    flex: 1;
}

.result-details h4 {
    margin: 0 0 5px;
    color: #333;
    font-size: 16px;
}

.result-details p {
    margin: 0;
    color: #666;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-results {
    text-align: center;
    padding: 30px;
    color: #666;
    font-size: 16px;
}

.dark-mode .search-container {
    background: #2a2a2a;
}

.dark-mode .search-container input {
    background: #2a2a2a;
    color: #fff;
    border-bottom-color: #444;
}

.dark-mode .search-results {
    background: #2a2a2a;
}

.dark-mode .search-result-item {
    border-bottom-color: #444;
}

.dark-mode .search-result-item:hover {
    background: #333;
}

.dark-mode .result-details h4 {
    color: #fff;
}

.dark-mode .result-details p {
    color: #aaa;
}

.dark-mode .no-results {
    color: #aaa;
}

.search-container button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.close-search {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
}
/* Section Styles */
.section {
    padding: 4rem 0;
}

.container {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(94, 75, 58, 0.3);
}

.btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::after {
    left: 100%;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    text-align: center;
    width: 90%;
}

@media (min-width: 768px) {
    .slide-content {
        width: auto;
    }
}

.slide-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Artwork Grid Styles */
.artwork-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
    gap: 2rem;
}

.artwork-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.artwork-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 25px rgba(166, 124, 82, 0.25);
}

.artwork-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.artwork-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.artwork-card:hover .artwork-image img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(166, 124, 82, 0.8), rgba(42, 42, 42, 0.8));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(3px);
}

.artwork-card:hover .overlay {
    opacity: 1;
}

.artwork-info {
    padding: 1.5rem;
}

.artwork-info h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.artist {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.details {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.price {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-slider {
        height: 50vh;
    }
    
    .slide-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        padding: 0.5rem;
        text-align: center;
    }
    
    .top-links {
        margin-top: 0.5rem;
    }
    
    .top-links a {
        margin: 0 0.5rem;
    }

    .auth-links a {
        margin: 0 0.5rem;
    }
    
    .hero-slider {
        height: 40vh;
    }
    
    .slide-content {
        left: 5%;
        bottom: 5%;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Category Grid Styles */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18%, 1fr));
    gap: 1.5rem;
}

.category-card {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    text-align: center;
}

/* Recently Sold Styles */
.sold-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Video Grid Styles */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.video-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-thumbnail {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.video-card h3 {
    padding: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

/* Footer Styles */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    margin: 1rem 0;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-col p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--text-light);
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}
.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Contact List Styles */
.contact-list {
    list-style: none;
    margin-top: 20px;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-light);
}

.contact-list i {
    width: 20px;
    margin-right: 10px;
    color: var(--accent-color);
}


.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-slider {
        height: 50vh;
    }
    
    .slide-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        padding: 0.5rem;
        text-align: center;
    }
    
    .top-links {
        margin-top: 0.5rem;
    }
    
    .top-links a {
        margin: 0 0.5rem;
    }
    
    .hero-slider {
        height: 40vh;
    }
    
    .slide-content {
        left: 5%;
        bottom: 5%;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .artwork-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* 搜索相关样式 */
.search-icon {
    cursor: pointer;
    margin-left: 1rem;
    font-size: 1.2rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: var(--accent-color);
}

.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10vh;
}

.search-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-container input {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid var(--light-color);
    border-radius: 4px;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.search-container button {
    position: absolute;
    right: 2.5rem;
    top: 2.5rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-container button:hover {
    color: var(--accent-color);
}

.search-results {
    max-height: 60vh;
    overflow-y: auto;
    margin-top: 1rem;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--light-color);
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.search-result-item:hover {
    background-color: var(--light-color);
}

.search-result-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 1rem;
}

.result-details h4 {
    margin: 0;
    font-family: var(--font-heading);
    color: var(--text-color);
}

.result-details p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.close-search {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-search:hover {
    transform: rotate(90deg);
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-style: italic;
}

/* 适配移动设备的搜索样式 */
@media (max-width: 768px) {
    .search-container {
        width: 95%;
        padding: 1.5rem;
    }

    .search-container input {
        font-size: 1rem;
        padding: 0.8rem;
    }

    .search-container button {
        right: 2rem;
        top: 2.3rem;
    }

    .search-results {
        max-height: 50vh;
    }

    .search-result-item img {
        width: 60px;
        height: 60px;
    }

    .result-details h4 {
        font-size: 0.9rem;
    }

    .result-details p {
        font-size: 0.8rem;
    }
}

/*内页面包屑*/
/* Breadcrumb Navigation */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin: 0 10px;
    color: #999;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #e74c3c;
}

.breadcrumb .active {
    color: #e74c3c;
}


/* 右侧客服栏样式 */
.side-service {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.service-item {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: #a67c52;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-item i {
    color: white;
    font-size: 20px;
}

.service-item .hover-content {
    position: absolute;
    right: 100%;
    top: 0;
    background-color: #a67c52;
    padding: 15px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    visibility: hidden;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.service-item:hover .hover-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.service-item .hover-content img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.service-item .hover-content span {
    font-size: 14px;
    white-space: nowrap;
}

.service-item:hover {
    background-color: #8b6743;
}

/* 返回顶部按钮额外样式 */
.back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* 响应式调整 */
@media (max-width: 768px) {
    .side-service {
        display: none;
    }
}
/*公告小图标*/
.announcement .fa-bullhorn {
    color: #fff;
    margin-right: 10px;
    font-size: 14px;
    vertical-align: middle;
}

.announcement-text {
    margin-right: 20px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}