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

a {
    text-decoration: none;
}

.mt-80 {
    margin-top: 80px;
}

.mb-80 {
    margin-bottom: 80px;
}

.pt-80 {
    padding-top: 80px;
}

.pb-80 {
    padding-bottom: 80px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

@font-face {
    font-family: 'Montserrat', sans-serif;
    src: url(/static/font/Montserrat.ttf);
}

@font-face {
    font-family: 'Roboto', sans-serif;
    src: url(/static/font/Roboto.ttf);
}




.header {
    padding: 20px;
    background-color: #3D4749;
    border-bottom: 2px solid #F8B72B;
}

.header-logo img {
    width: 120px;
}

.header-menu .menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-menu .menu li {
    list-style: none;
}

.header-menu .menu li a {
    color: #fff;
    display: block;
    padding: 10px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
}

.header-language {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
    height: 45px;
    padding: 20px 0;
    background-color: #F8B72B;
}

.header-language-box {
    margin: 0 auto;
    color: #fff;
}

/* 下拉菜单样式修复 */
.menu li.dropdown {
    position: relative;
    list-style: none;
}

.menu li.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu li.dropdown:hover i.icon-xia {
    transform: rotate(180deg);
}

/* 语言切换下拉菜单修复 */
.dropdown-wrapper:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 确保dropdown-content有正确的基础样式 */
.dropdown-content {
    position: absolute;
    top: 50px;
    left: 15px;
    padding: 10px;
    background-color: #3D4749;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.dropdown-content a {
    color: white !important;
    padding: 12px 16px;
    text-decoration: none !important;
    display: block;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-content img {
    width: 20px;
}

.dropdown-content a:hover {
    background-color: #4A5759;
}

.slider img {
    width: 100%;
}






.product-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product-title-des {
    display: flex;
    gap:20px;
    align-items: center;
    justify-content: center;
}

.product-title-des-line {
    border-bottom: 1px solid #000;
    width: 50px;
}

.product-item {
    margin-bottom: 20px;
}

.product-item img {
    width: 100%;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}




.poster {
    padding: 30px 0 0 0;
    background-color: #3D4748;
}

.poster-item {
    margin-bottom: 30px;
    width: 100%;
    height: 200px;
    display: flex;
    overflow: hidden;
}

.poster img {
    width: 100%;
}

.poster-item:hover img {
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}

.poster-middle {
    width: 100%;
    height: 430px;
    display: flex;
    overflow: hidden;
}

.poster-middle:hover img {
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}







.service-item {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #00000018;
}

.service-item-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-item-img img {
    width: 100%;
}

.service-item:hover .service-item-img img {
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}

.service-item-title {
    text-align: center;
    padding: 20px;
    background-color: #fff;
}

.service-item:hover .service-item-title {
    background-color: #3D4748;
    transition: all 0.3s ease-in-out;
}

.service-item-title a {
    text-decoration: none;
    color: #000;
}

.service-item:hover .service-item-title a {
    color: #fff;
    transition: all 0.3s ease-in-out;
}







.footer {
    background-color: #3D4748;
    padding-top: 80px;
}

.footer-logo img {
    width: 120px;
}

.footer-des {
    width: 60%;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    margin: 20px 0;
}

.footer-social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-social a {
    text-decoration: none;
}

.footer-social i {
    font-size: 1.5rem;
    color: #fff;
}

.footer-menu ul li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-menu h4 {
    color: #fff;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 20px;
}

.footer-menu ul li a {
    text-decoration: none;
    color: #cbcbcb;
    font-family: 'Roboto', sans-serif;
}

.footer-copyright {
    margin-top: 100px;
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #272e2e;
}

.footer-copyright a {
    text-decoration: none;  
    color: #c5c5c5;
}






.pageban-content {
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.pageban-line {
    border-bottom: 2px solid #fff;
    width: 50px;
    margin: 10px 0;
}

.about-img img {
    width: 100%;
}









.contact form input,
.contact form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    background-color: #f1f1f1;
    border-radius: 5px;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
}

.contact form textarea {
    height: 150px;
}

.contact form button { 
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #3D4748;
    color: #fff;
    border-radius: 5px;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
}

.contact-info-box {
    margin: 20px 0;
}

.contact-info-box p {
    font-size: 1.2rem;
    font-family: 'Roboto', sans-serif;
}

.contact-info-social a {
    text-decoration: none;
    color: #000;
}

.contact-info-social a i {
    font-size: 1.5rem;
}






.product-sidebar-item {
    margin-bottom: 30px;
}

.product-sidebar-item-title {
    padding: 10px 20px;
    background-color: #3D4748;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
}

.product-sidebar-item ul li {
    list-style: none;
    padding: 10px 20px;
    border: 1px solid #3d47480f;
    background-color: #3d47480f;
}

.product-sidebar-item ul li a {
    text-decoration: none;
    color: #000;
    font-family: 'Roboto', sans-serif;
}

.product-sidebar-item-form {
    padding: 10px 20px;
    background-color: #3d47480f;
}

.product-sidebar-item-form input,
.product-sidebar-item-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    background-color: #f1f1f1;
    border-radius: 5px;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
}

.product-sidebar-item-form button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #3D4748;
    color: #fff;
    border-radius: 5px;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
}


.product-content-title {
    padding: 12px 20px;
    background-color: #3D4748;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.product-content-title-right a {
    padding: 8px;
    background-color: #F8B72B;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
}

.product-content-body-item {
    margin-bottom: 30px;
}

.product-content-body-item:hover img {
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}

.product-content-pageinfo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-content-pageinfo a {
    padding: 5px 12px;
    background-color: #bebebe;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
}

.product-content-pageinfo a.active {
    background-color: #F8B72B;
}

.product-content-form form input,
.product-content-form form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    background-color: #f1f1f1;
    border-radius: 5px;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
}

.product-content-form form textarea {
    height: 150px;
}

.product-content-form form button { 
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #3D4748;
    color: #fff;
    border-radius: 5px;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
}

.partner-item img {
    width: 100%;
    object-fit: cover;
}
