* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #000000;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 40px;
    /*background-color: #000000;*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.logo-img img {
    width: 120%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.nav-controls {
    position: absolute;
    right: 0;
    display: flex;
    gap: 15px;
}

.nav-btn {
    background: none;
    border: none;
    color: #7f8c8d;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s;
}

.nav-btn:hover {
    color: #000000;
}

/* 轮播图样式 */
.slider {
    position: relative;
    height: 400px;
    margin: 30px 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.slides {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 25%;
    height: 100%;
    position: relative;
}

.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* background: rgba(0, 0, 0, 0.6); */
    color: white;
    padding: 20px;
    text-align: center;
}

.slide-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ffffff;
}

.slide-artist {
    font-size: 16px;
    margin-bottom: 10px;
    color: #cccccc;
}

.slide-price {
    font-size: 20px;
    font-weight: bold;
    color: #e74c3c;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: #fff;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.slider-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* 主要内容区 */
.main-content {
    padding: 20px 0 40px;
}

/* 栏目标题样式 - 修改部分 */
.section-header {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #000000;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-title-container {
    display: flex;
    align-items: center;
    gap: 8px; /* 中文和图标间隔一个空格 */
}

.section-title {
    font-size: 24px;
    color: #000000;
    margin: 0;
}

.section-subtitle {
    font-size: 14px;
    color: #000000;
    margin-top: 5px;
    font-style: italic;
    opacity: 0.7;
    position: absolute;
    bottom: -20px;
    left: 0;
}

.section-icon {
    color: #000000;
    font-size: 20px;
}

/* 左右布局 */
.content-layout {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.left-column {
    flex: 2;
}

.right-column {
    flex: 1;
}

/* 艺术品网格 - 一行三个 */
.art-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.art-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 350px;
}

.art-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.art-image-link {
    width: 100%;
    height: 240px; /* 从 240px 缩小到 180px */
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.art-image-link img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.art-card:hover .art-image {
    transform: scale(1.05);
}

.art-info {
    padding: 8px 10px; /* 减少内边距 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto; /* 减少高度 */
    min-height: 80px;
    /*transform: scale(0.9); !* 整体缩放 *!*/
    /*transform-origin: top left; !* 设置缩放原点 *!*/
    flex-grow: 1;
}

.art-title {
    font-size: 18px; /* 缩小标题字体 */
    /* margin-bottom: 3px; 减少间距 */
    line-height: 1.2; /* 减少行高 */
    font-weight: bold;
    color: #000000;
}

.art-artist {
    font-size: 14px; /* 缩小艺术家字体 */
    /* margin-bottom: 3px; 减少间距 */
}

.art-price {
    font-size: 18px; /* 缩小价格字体 */
    color: #e74c3c;
    font-weight: bold;
    text-align: right;
}

/* 销售排行网格 - 四个和精品两行一样高 */
.ranking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    height: 725px;
}

.ranking-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    height: calc(100% - 15px);
}

.ranking-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.ranking-image-link {
    display: block;
    width: 60%;
    height: auto;
    min-height: 150px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    padding: 10px;
}

.ranking-image-link img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.ranking-card:hover .ranking-image {
    transform: scale(1.05);
}

.ranking-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ranking-title {
    font-size: 16px;
    color: #000000;
    margin-bottom: 5px;
    line-height: 1.3;
}

.ranking-artist {
    font-size: 14px;
    color: #000000;
    opacity: 0.7;
}

.ranking-price {
    font-size: 16px;
    font-weight: bold;
    color: #e74c3c;
    text-align: right;
}

/* 查询服务 - 单独一行 */
.services-section {
    margin-bottom: 30px;
}

.service-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.inquiry-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.inquiry-btn {
    padding: 12px 30px;
    background: #4a5568;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(74, 85, 104, 0.3);
}

.inquiry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(74, 85, 104, 0.4);
    background: #2d3748;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f2f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 18px;
    transition: all 0.3s;
    text-decoration: none;
    overflow: hidden;
}

.social-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.social-icon:hover {
    background: #000000;
    color: #fff;
    transform: translateY(-3px);
}

/* 页脚 - 白色背景 */
footer {
    background-color: #fff;
    padding: 30px 0 20px;
    text-align: center;
    color: #000000;
    border-top: 1px solid #eaeaea;
}

.footer-content {
    /* display: flex; */
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 15px;
}

.footer-link {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    opacity: 0.7;
}

.footer-link:hover {
    color: #000000;
    opacity: 1;
}

.footer-info {
    font-size: 12px;
    color: #000000;
    line-height: 1.8;
    margin-top: 10px;
    opacity: 0.7;
}

.footer-copyright {
    font-size: 14px;
    margin-top: 15px;
    color: #000000;
    opacity: 0.7;
}

/* 图片占位符样式 */
.image-placeholder {
    width: 100%;
    height: 50%;
    background: linear-gradient(135deg, #e0e0e0, #b0b0b0);
    display: contents;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.5);
    font-size: 16px;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .content-layout {
        flex-direction: column;
    }

    .art-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ranking-grid {
        height: auto;
        grid-template-columns: repeat(2, 1fr);
    }

    .ranking-card {
        flex-direction: column;
        height: auto;
    }

    .ranking-image-link {
        width: 100%;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .slider {
        height: 300px;
    }

    .slide-title {
        font-size: 20px;
    }

    .slide-artist {
        font-size: 14px;
    }

    .slide-price {
        font-size: 18px;
    }

    .art-grid {
        grid-template-columns: 1fr;
    }

    .ranking-grid {
        grid-template-columns: 1fr;
    }

    .inquiry-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .inquiry-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .footer-links {
        gap: 15px;
    }

    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    .nav-controls {
        position: static;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-subtitle {
        position: static;
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 250px;
    }

    .slide-title {
        font-size: 18px;
    }

    .slide-artist {
        font-size: 12px;
    }

    .slide-price {
        font-size: 16px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
