/* Common styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #f0a500;
    margin: 15px auto 0;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #f0a500;
    color: #fff;
}

.btn-primary:hover {
    background: #e09600;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* 响应式布局 */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media screen and (max-width: 576px) {
    .container {
        max-width: none;
    }
}

/* 固定侧边栏样式 */
.fixed-sidebar {
    position: fixed;
    right: 50px;
    bottom: 50%;
    transform: translateX(50%) translateY(50%);
    z-index: 1000;
}

.sidebar-btn {
    display: block;
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #f0a500;
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.sidebar-btn:hover {
    background: #e09600;
    transform: scale(1.1);
}
/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo img {
    height: 75px;
}

.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #fff;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.nav.active {
    right: 0;
}

.nav ul {
    flex-direction: column;
    gap: 0;
}

.nav ul li {
    width: 100%;
    text-align: left;
    white-space: nowrap;
}

.nav ul li a {
    display: block;
    padding: 15px 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.nav ul li a:hover,
.nav ul li a.active {
    background: #f0a500;
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-left: 20px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.nav ul {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

@media screen and (max-width: 768px) {
    .nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #fff;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .nav ul li {
        width: 100%;
        text-align: left;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.contact .phone {
    font-size: 18px;
    color: #f0a500;
    font-weight: bold;
}

/* Footer样式 */

.link-group {
    flex: 0 0 calc(20% - 30px);
    margin-bottom: 20px;
}
.footer {
    background: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    grid-template-columns: 2fr 3fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
    grid-template-columns: 2fr 3fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.link-group h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group a {
    color: #999;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #f0a500;
}

.qrcode {
    text-align: center;
}

.qrcode img {
    width: 120px;
    margin-bottom: 10px;
}

/* 通用隐藏类 */
.hidden {
    display: none !important;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
}
.center {
    position: fixed;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .no-data {
    text-align: center;
    color: #999;
    font-size: 16px; 
  }
  /* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-btn {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.page-btn:hover,
.page-btn.active {
    background: #f0a500;
    color: #fff;
    border-color: #f0a500;
}