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

body {
    font-family: Inter, Inter;
    color: #333;
    overflow-x: hidden;
}

/* 头部样式 */
header {
    background-color: #ffffff;
    position: relative;
}

header.page{
    background: #FCF8F4;
    box-shadow: 0px 4px 4px 0px rgba(225,183,161,0.2);
}

header .container{
    position: relative;
    width: 1560px;
    margin: 0 auto;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 92px;
}

.header-logo {
   
}

/* 汉堡菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #A57B64;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

.header-nav {
    display: flex;
    gap: 50px;
    align-items: center;
}

.header-nav a {
    font-weight: 400;
    font-size: 20px;
    color: #A57B64;
    text-align: left;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #8b7355;
}

/* 防止菜单打开时页面滚动 */
body.menu-open {
    overflow: hidden;
}

/* 主内容区域 */
.main-content {
    width: 100%;
    min-height: calc(100vh - 60px);
    background-image: url('/static/images/homebg.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10% 0px 20%;
}

/* 中心卡片 */
.center-card {
    width: 800px;
    backdrop-filter: blur(5px);
    padding: 50px 75px 80px;
    text-align: center;
    background: rgba(255,255,255,0.5);
    border-radius: 48px 48px 48px 48px;
    border: 2px solid #A57B64;
}

.center-logo {
    /* width: 180px;
    margin-bottom: 30px; */
}

.divider {
    width: 100%;
    height: 2px;
    background: #8b7355;
    margin: 0 0 20px;
}

.slogan {
    margin-bottom: 10px;
}

.slogan-cn {
    font-size: 24px;
    color: #333333;
    margin-bottom: 8px;
    font-weight: bold;
    background: -webkit-linear-gradient(left,#A08A7D, #685549);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slogan-en {
    font-size: 16px;
    font-weight: bold;
    background: -webkit-linear-gradient(left,#A08A7D, #685549);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 搜索框 */
.search-box {
    margin-top: 35px;
    position: relative;
}

.search-input {
    display: block;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    height: 60px;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 0 50px 0 30px;
    outline: none;
    transition: border-color 0.3s;
    background: rgba(255,255,255,0.8);
}

.search-input::placeholder {
    color: #A57B64;
    font-size: 20px;
    font-weight: 300;
}

.search-input:focus {
    border-color: #8b7355;
}

.search-btn {
    position: absolute;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.search-icon {
    width: 28px;
    height: 28px;
    stroke: #A57B64;
    transition: stroke 0.3s;
}

.search-btn:hover .search-icon {
    stroke: #8b7355;
}

/* 底部样式 */
footer {
    background-color: #9c8679;
    background: linear-gradient(to right, #A08A7D, #685549);
    color: #ffffff;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    width: 1560px;
    margin: 0 auto;
}

.footer-left {
    display: flex;
    gap: 0px;
    align-items: center;
    padding: 40px 0 0;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    /* width: 160px;
    margin-bottom: 30px; */
}

.footer-icons {
    display: flex;
    gap: 10px;
}

.icon-item {
    width: 90px;
    height: 110px;
    border: 2px solid #c6b2a4;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: -webkit-linear-gradient(top, #9c8679, rgba(208,189,173,.4), #9c8679);
}
.icon-symbol{
    padding-top: 8px;
    width: 100%;
    text-align: center;
}
.icon-symbol img{
   height: 50px;
}

.icon-text {
    font-size: 12px;
    text-align: center;
    line-height: 1.2;
    width: 100%;
    border-top: 2px solid #c6b2a4;
    padding: 5px 0;
}

.footer-nav {
    display: flex;
    gap: 40px;
    padding-top: 15px;
}

.footer-nav a {
    text-decoration: none;
    font-size: 20px;
    color: #F8E7D6;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.8;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact_content {
    display: block;
    padding: 20px 25px;
    border-radius: 8px;
    max-width: 500px;
    margin-left: auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 16px;
    color: #ffffff;
    opacity: 0.9;
    font-weight: 400;
}

.contact-value {
    font-size: 20px;
    color: #ffffff;
    font-weight: 400;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #A57B64;
    font-size: 16px;
    opacity: 1;
    width: 1560px;
    margin: 0 auto;
    color: #F8E7D6;
    line-height: 80px;
    font-weight: 100;
}

/* ========== 1440px屏幕适配 ========== */
@media (max-width: 1440px) {
    header .container {
        width: 1200px;
    }
    
    .footer-content {
        width: 1200px;
    }
    
    .footer-bottom {
        width: 1200px;
    }
    
    .center-card {
        width: 700px;
        padding: 40px 60px 70px;
    }
    
    .search-input {
        max-width: 500px;
        height: 55px;
    }
    
    .header-nav {
        gap: 40px;
    }
    
    .header-nav a {
        font-size: 18px;
    }
}

/* ========== 960px屏幕适配 ========== */
@media (max-width: 960px) {
    header .container {
        width: 900px;
        height: 80px;
    }
    
    .header-logo {
        max-width: 150px;
    }
    
    .header-nav {
        gap: 25px;
    }
    
    .header-nav a {
        font-size: 16px;
    }
    
    .footer-content {
        width: 900px;
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-bottom {
        width: 900px;
        line-height: 60px;
    }
    
    .footer-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .footer-icons {
        gap: 15px;
    }
    
    .icon-item {
        width: 80px;
        height: 100px;
    }
    
    .center-card {
        width: 600px;
        padding: 35px 50px 60px;
    }
    
    .slogan-cn {
        font-size: 20px;
    }
    
    .slogan-en {
        font-size: 14px;
    }
    
    .search-input {
        max-width: 450px;
        height: 50px;
    }
    
    .search-input::placeholder {
        font-size: 18px;
    }
    
    .footer-nav {
        gap: 30px;
    }
    
    .footer-nav a {
        font-size: 18px;
    }
    
    .contact_content {
        padding: 15px 20px;
    }
    
    .contact-label {
        font-size: 14px;
    }
    
    .contact-value {
        font-size: 18px;
    }
}

/* ========== 768px及以下 - 手机版导航 ========== */
@media (max-width: 768px) {
    header .container {
        width: 100%;
        padding: 0 20px;
        height: 70px;
    }
    
    .header-logo {
        max-width: 120px;
        z-index: 998;
    }
    
    /* 显示汉堡菜单按钮 */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* 移动端导航样式 */
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #FCF8F4;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 30px 30px;
        gap: 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .header-nav.active {
        right: 0;
        
    }
    
    .header-nav a {
        width: 100%;
        padding: 18px 0;
        font-size: 18px;
        border-bottom: 1px solid rgba(165, 123, 100, 0.2);
        z-index: 99;
    }
    
    .header-nav a:last-child {
        border-bottom: none;
    }
    
    /* 遮罩层 */
    .header-nav.active::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 9;
    }
    
    /* 其他元素适配 */
    .center-card {
        width: 90%;
        max-width: 500px;
        padding: 30px 35px 50px;
    }
    
    .slogan-cn {
        font-size: 18px;
    }
    
    .slogan-en {
        font-size: 12px;
    }
    
    .search-input {
        max-width: 100%;
        height: 48px;
        font-size: 14px;
    }
    
    .search-input::placeholder {
        font-size: 14px;
    }
    
    .footer-content {
        width: 100%;
        padding: 0 20px;
    }
    
    .footer-bottom {
        width: 100%;
        padding: 0 20px;
        font-size: 14px;
        line-height: 50px;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        gap: 15px 20px;
        padding-bottom: 20px;
    }
    
    .footer-nav a {
        font-size: 16px;
    }
    
    .contact_content {
        padding: 15px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .main-content{
        background-image: url(/static/images/homebg-wap.png);
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
    }
    .footer-logo{
        height: 155px;
    }
    .footer-left {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
    }
    .contact_content{
        display: none;
    }
}