/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 10px;
}

/* 通用样式 */
.section-title {
    text-align: center;
    font-family: 'Microsoft YaHei', MicrosoftYaHei-Bold, Arial, sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.more-btn {
    text-align: center;
    margin-top: 40px;
}

.more-btn a {
    display: inline-block;
    padding: 12px 40px;
    background: transparent;
    border: 2px solid #a3c210;
    border-radius: 25px;
    color: #a3c210;
    text-decoration: none;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 16px;
    font-weight: normal;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.more-btn a:hover {
    background: #a3c210;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(163, 194, 16, 0.3);
}

/* 主要内容样式 */
main {
    margin-top: 0;
}

/* 头部样式 */
.header {
    /*background: rgba(255, 255, 255, 0.7);*/
    background: rgba(255, 255, 255, 1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0 0 0;
}

/* Logo样式 */
.logo {
    flex-shrink: 0;
}

.logo img {
    height: 67px;
    width: 193px;
    object-fit: contain;
}

/* 电话区域样式 */
.phone {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.phone-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-left img {
    width: 32px;
    height: 35px;
    object-fit: contain;
}

.phone-right {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.phone-right-title {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    font-stretch: normal;
    color: #f39800;
    line-height: 23px;
	letter-spacing: 0px;
}

.phone-right-number {
    font-family: 'Microsoft YaHei', MicrosoftYaHei-Bold, Arial, sans-serif;
    font-size: 17px;
    font-weight: bold;
    font-stretch: normal;
    color: #f39800;
    line-height: 23px;
	letter-spacing: 0px;
}

/* 导航菜单样式 */
.main-nav {
    padding: 8px 0;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 60px;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-family: 'Microsoft YaHei', MicrosoftYaHei-Bold, Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    font-stretch: normal;
    letter-spacing: 0px;
    color: #333333;
    padding: 5px 0;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: #a3c210;
}

/* 下拉箭头样式 */
.dropdown-arrow {
    font-size: 0; /* Hide the original text character */
    border: solid #666;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    min-width: 200px;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-bg {
    max-width: 350px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* 文字下拉菜单样式 */
.dropdown-menu {
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    min-width: 180px;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(163, 194, 16, 0.1);
    color: #a3c210;
    padding-left: 25px;
}

/* 汉堡包菜单按钮 */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background: #a3c210;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* 页脚样式 */
.footer {
    background: #a3c210;
    color: #ffffff;
}

.footer-main {
    background: #a3c210;
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    gap: 80px;
    flex: 1;
}

.footer-column h4 {
    font-family: 'Microsoft YaHei', MicrosoftYaHei-Bold, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.footer-column {
    text-align: center;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}
.footer-a1{
    text-decoration: none;
    color: #ffffff;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    text-align: center;
}

.contact-info h4 {
    font-family: 'Microsoft YaHei', MicrosoftYaHei-Bold, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 8px;
}

.phone-number {
    font-family: 'Microsoft YaHei', MicrosoftYaHei-Bold, Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    text-align: right;
}

.qr-codes {
    display: flex;
    gap: 20px;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.qr-code p {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 12px;
    color: #ffffff;
    margin: 0;
    opacity: 0.9;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright p {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 14px;
    color: #ffffff;
    margin: 0;
    opacity: 0.8;
}
.footer-copyright a{
    text-decoration: none;
    color: #ffffff;
}

/* 友情链接样式 */
.footer-link {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #ffffff;
}

.footer-link strong {
    font-family: 'Microsoft YaHei', MicrosoftYaHei-Bold, Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    white-space: nowrap;
}

.footer-link ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.footer-link ul li {
    margin: 0;
}

.footer-link ul li a {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.footer-link ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 25px;
    }
    
    .nav-link {
        font-size: 15px;
        padding: 8px 12px;
    }

    .footer-links {
        gap: 50px;
    }
    
    .footer-contact {
        gap: 15px;
    }
    
    .qr-code img {
        width: 70px;
        height: 70px;
    }
    
    .phone-number {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 100000;
        background: transparent;
        border: none;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        z-index: 99999;
        transition: left 0.3s ease;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    .nav-item {
        width: 90%;
        max-width: 400px;
    }
    
    .nav-link {
        display: block;
        padding: 20px;
        font-size: 18px;
        color: #333;
        text-decoration: none;
        border-bottom: 1px solid #eee;
        text-align: center;
    }
    
    .dropdown-content {
        position: static !important;
        display: none !important;
        background: #f5f5f5 !important;
        margin: 10px 0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        width: 100% !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
    }
    
    .dropdown-content.show {
        display: block !important;
    }
    
    .dropdown-menu {
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }
    
    .dropdown-item {
        padding: 12px 20px !important;
        font-size: 16px !important;
        color: #666 !important;
        border-bottom: 1px solid rgba(0,0,0,0.05) !important;
        text-decoration: none !important;
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        text-align: center;
    }
    
    .dropdown-item:last-child {
        border-bottom: none !important;
    }
    
    .dropdown-item:hover {
        background: #f0f0f0 !important;
        padding-left: 25px !important;
    }

    .container {
        padding: 0 15px;
    }
    
    .header-top {
        padding: 10px 0;
    }
    
    .logo img {
        height: 40px;
        width: auto;
    }
    
    .search-box-container {
        margin: 0 1px !important;
        width: 97%;
    }

    .search-box {
        height: 40px;
    }
    
    .search-box input[name="q"] {
        padding: 0 15px;
        font-size: 13px;
        width: 90%;
    }

    #search-type-selected {
        padding: 0 10px 0 15px;
        font-size: 13px;
    }
    
    .search-box button {
        width: 50px;
    }
    
    .search-box button img {
        width: 16px;
        height: 16px;
    }
    
    .phone {
        gap: 6px;
        margin-right: 60px;
    }
    
    .phone-left img {
        width: 16px;
        height: 16px;
    }
    
    .phone-right-title {
        font-size: 11px;
    }
    
    .phone-right-number {
        font-size: 14px;
    }

    .footer-main {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 25px;
    }
    
    .footer-column h4 {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .footer-column ul li a {
        font-size: 13px;
    }
    
    .footer-contact {
        align-items: center;
        gap: 15px;
    }
    
    .contact-info h4 {
        text-align: center;
        font-size: 15px;
    }
    
    .phone-number {
        font-size: 20px;
        text-align: center;
    }
    
    .qr-codes {
        gap: 15px;
    }
    
    .qr-code img {
        width: 60px;
        height: 60px;
    }
    
    .qr-code p {
        font-size: 11px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
    
    .footer-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .footer-link strong {
        font-size: 13px;
    }
    
    .footer-link ul {
        gap: 10px;
    }
    
    .footer-link ul li a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header-top {
        flex-wrap: wrap;
        gap: 15px;
        position: relative;
    }
    
    .search-box-container {
        order: 3;
        flex-basis: 100%;
        max-width: none;
        margin: 0;
    }
    
    .mobile-menu-toggle {
        order: 2;
    }
    
    .phone {
        order: 1;
        gap: 5px;
        margin-right: 60px;
    }
    
    .phone-left img {
        width: 14px;
        height: 14px;
    }
    
    .phone-right-title {
        font-size: 10px;
    }
    
    .phone-right-number {
        font-size: 12px;
    }
}

/* 搜索框样式 */
.search-box-container {
    flex: 1;
    max-width: 550px;
    margin: 0 40px;
}

.search-box {
    border: 2px solid #a3c210;
    border-radius: 10px;
    display: flex;
    height: 50px;
    width: 100%;
    background-color: #fff;
}

.search-type-selector {
    position: relative;
    cursor: pointer;
    background-color: #f7f7f7;
    border-right: 1px solid #e0e0e0;
    border-radius: 8px 0 0 8px;
}

#search-type-selected {
    display: flex;
    align-items: center;
    padding: 0 15px 0 20px;
    height: 100%;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

#search-type-selected::after {
    content: '▼';
    font-size: 10px;
    margin-left: 8px;
    color: #888;
}

#search-type-options {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    list-style: none;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    display: none;
}

#search-type-options.show {
    display: block;
}

#search-type-options li {
    padding: 12px 20px;
    font-size: 14px;
    transition: background-color 0.2s;
}

#search-type-options li:hover {
    background-color: #f0f0f0;
}

.search-box input[name="q"] {
    flex-grow: 1;
    border: none;
    border-radius: 0;
    height: auto;
    width: auto;
    background: transparent;
    padding: 0 20px;
    font-size: 13px;
    outline: none;
}

.search-box button {
    width: 64px;
    border: none;
    border-radius: 0 8px 8px 0;
    background-color: #a3c210;
    border-left: 1px solid #a3c210;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background: #8fa50e;
}

.search-box button img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}