/* 全局样式 */
body {
    color: #333;
    width: 100%;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
}

/* 导航栏自定义样式 */
.nav-container {
    background-color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-item {
    position: relative;
    transition: all 0.3s ease;
    min-width: 90px;
    color: #333;
    font-size: 1.05rem;
}

.nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

.nav-item:hover, .nav-item.active {
    background-color: #E84C0F;
    color: white;
}

/* 二级菜单样式 */
.submenu {
    background-color: #fff;
    border-top: 2px solid #E84C0F;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

.dropdown:hover .submenu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.submenu a {
    color: #333;
    font-size: 1rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.submenu a:hover {
    background-color: #E84C0F;
    color: white;
}

/* 移动端菜单样式 */
.mobile-menu {
    background-color: #FFFFFF;
}

.mobile-menu a {
    transition: all 0.3s ease;
    color: #333;
    font-size: 1.05rem;
}

.mobile-menu a:hover, 
.mobile-menu a.active {
    background-color: #E84C0F;
    color: white;
}

.mobile-menu .border-gray-200 {
    border-color: rgba(0, 0, 0, 0.1);
}

/* Logo自定义样式 */
.logo {
    font-family: "SimHei", "Microsoft YaHei", sans-serif;
}

.logo .text-2xl {
    color: #663300;
    letter-spacing: 1px;
    font-size: 1.75rem;
}

/* 搜索框样式 */
input {
    height: 38px;
    width: 240px;
}

input::placeholder {
    color: #999;
}

button.bg-orange-600 {
    background-color: #E84C0F;
    height: 38px;
    width: 50px;
}

button.bg-orange-600:hover {
    background-color: #D13C00;
}

/* 24H服务热线 */
.text-orange-600 {
    color: #E84C0F;
    font-size: 1.1rem;
}

/* 轮播图样式 */
.slider-container {
    margin-bottom: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    width: 1200px;
    max-width: 100%;
}

.slider-wrapper {
    position: relative;
}

.slider-item {
    position: relative;
    overflow: hidden;
}

.slider-text-box {
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.slider-text-box h2 {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 800;
    font-size: 2.5rem;
}

.slider-text-box p {
    color: #fff;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    font-size: 1.25rem;
}

.slider-control {
    transition: all 0.3s ease;
    opacity: 0.7;
    z-index: 10;
}

.slider-control:hover {
    opacity: 1;
    background-color: white;
}

.slider-indicators {
    z-index: 10;
}

.slider-indicators button {
    transition: all 0.3s ease;
}

.slider-indicators button.active {
    background-color: #E84C0F;
    width: 30px;
    border-radius: 4px;
}

/* 服务项目模块样式 */
.service-section {
    padding: 60px 0;
}

.section-title {
    color: #333;
    position: relative;
    display: inline-block;
    margin-bottom: 0;
    font-size: 2rem;
}

.title-line {
    width: 80px;
    height: 3px;
    background-color: #E84C0F;
    margin: 15px auto 0;
}

.service-item {
    transition: all 0.3s ease;
}

.icon-bg {
    background-color: #E84C0F;
    transition: all 0.3s ease;
}

.service-item:hover .icon-bg {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(232, 76, 15, 0.3);
}

.service-content {
    margin-left: 5px;
}

.service-content h3 {
    color: #333;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.service-item:hover .service-content h3 {
    color: #E84C0F;
}

.service-content p {
    font-size: 1rem;
}

/* 服务优势模块样式 */
.advantage-section {
    background-color: #F5F5F5;
    padding: 60px 0;
}

.advantage-item {
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.icon-wrapper {
    margin: 0 auto;
    transition: all 0.3s ease;
}

.advantage-item p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 经典案例模块样式 */
.cases-section {
    padding: 60px 0;
}

.case-item {
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.case-image {
    overflow: hidden;
}

.case-image img {
    transition: transform 0.5s ease;
}

.case-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-item:hover .case-image img {
    transform: scale(1.1);
}

.case-title {
    background: #fff;
    border-bottom: 1px solid #eee;
}

/* 资质荣誉模块样式 */
.qualification-section {
    padding: 60px 0;
    background-color: #F5F5F5;
}

.qualification-carousel-container {
    max-width: 1200px;
    position: relative;
    padding: 20px 0;
}

.qualification-carousel {
    overflow: hidden;
    width: 100%;
}

.qualification-track {
    display: flex;
    transition: transform 0.5s ease;
}

.qualification-item {
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.qualification-image {
    border: 1px solid #eee;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.qualification-image img {
    height: 380px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.qualification-item:hover .qualification-image {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.carousel-control {
    opacity: 0;
    transition: all 0.3s ease;
}

.qualification-carousel-container:hover .carousel-control {
    opacity: 1;
}

.qualification-indicators button {
    transition: all 0.3s ease;
    width: 8px;
    height: 8px;
}

.qualification-indicators button.active {
    background-color: #E84C0F;
    width: 8px;
    border-radius: 50%;
}

/* 关于我们模块样式 */
.about-section {
    padding: 60px 0;
}

.about-content {
    margin-top: 30px;
}

.about-text h3 {
    position: relative;
    padding-left: 15px;
}

.about-text h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: #E84C0F;
}

.about-text p {
    margin-bottom: 1.2em;
    line-height: 1.7;
    text-align: justify;
}

.about-image {
    overflow: hidden;
}

.about-image img {
    transition: all 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.company-features {
    margin-top: 20px;
}

.feature-item {
    padding: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background-color: rgba(232, 76, 15, 0.1);
    transform: translateY(-3px);
}

.about-experience {
    z-index: 1;
    transition: all 0.3s ease;
}

.about-image:hover .about-experience {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(232, 76, 15, 0.4);
}

/* 容器宽度 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* 页脚样式 */
.footer-title {
    position: relative;
    padding-bottom: 12px;
    color: #fff;
    font-size: 1.5rem !important;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #E84C0F;
}

.footer-info li {
    padding: 5px 0;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-info li:hover {
    transform: translateX(5px);
}

.footer-links li {
    transition: all 0.3s ease;
}

.footer-links li a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: #E84C0F;
    padding-left: 5px;
}

.qrcode-item img {
    transition: all 0.3s ease;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.qrcode-item:hover img {
    transform: scale(1.05);
    border-color: #E84C0F;
}

/* 移除轮播图与导航栏间隙 */
.bg-gray-100 {
    background-color: transparent;
    padding: 0;
}

/* 屏幕适配 */
@media (max-width: 1200px) {
    /* 使用CSS缩放功能缩小整个页面 */
    html, body {
        transform-origin: top left;
        transform: scale(var(--page-scale, 1));
        width: 100vw;
        font-size: 15px;
    }
    
    /* 调整容器宽度，确保在小屏幕上依然能够看到完整内容 */
    .container, .slider-container {
        width: 100%;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* 调整导航栏项目大小 */
    .nav-item {
        min-width: auto;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
}

/* 关于我们页面样式 */
.page-title-section {
    background-color: #f5f5f5;
    position: relative;
}

.page-title-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1920&h=300&q=60');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.company-subtitle {
    position: relative;
}

.company-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: #E84C0F;
}

.advantage-box {
    transition: all 0.3s ease;
}

.advantage-box:hover {
    box-shadow: 0 10px 25px rgba(232, 76, 15, 0.15);
}

.concept-item {
    transition: all 0.3s ease;
}

.concept-item:hover {
    transform: translateX(5px);
    background-color: #fef5f0;
}

.team-member {
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.partner-item {
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: scale(1.05);
}

/* 动态计算页面缩放比例的JavaScript代码将被添加到页面中 */

/* 联系我们页面样式 */
.contact-info-card {
    transition: all 0.3s ease;
    border-left: 4px solid #E84C0F;
}

.contact-info-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item {
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(232, 76, 15, 0.3);
}

.social-media a {
    transition: all 0.3s ease;
}

.social-media a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(232, 76, 15, 0.3);
}

.map-container {
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.process-step {
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(232, 76, 15, 0.4);
}

.service-hotline {
    transition: all 0.3s ease;
}

.service-hotline:hover {
    box-shadow: 0 5px 20px rgba(232, 76, 15, 0.15);
    border-color: #E84C0F;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(232, 76, 15, 0.15);
}

@media (max-width: 768px) {
    .process-steps .progress-line {
        display: none;
    }
    
    .process-step {
        margin-bottom: 20px;
    }
}

/* 页脚样式增强 */
footer {
    font-size: 1.05rem;
}

.footer-bottom {
    font-size: 1rem !important;
}

/* 全局段落文本样式 */
p {
    font-size: 1.05rem;
}

/* 功能区块中的文本 */
.text-sm {
    font-size: 0.95rem !important;
}

.text-xl {
    font-size: 1.35rem !important;
}

.text-2xl {
    font-size: 1.6rem !important;
}

.text-3xl {
    font-size: 2rem !important;
}

.text-4xl {
    font-size: 2.5rem !important;
} 