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

body {
    font-family: 'Microsoft YaHei', '微软雅黑', 'Hiragino Sans GB', 'STHeiti', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #1a1a1a;
    position: relative;
}

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

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background-color: #c9a55f;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #b08d4a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #c9a55f;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    border: 2px solid #c9a55f;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #c9a55f;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 60px;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin: 0 15px;
    position: relative;
}

.main-nav a {
    font-weight: 500;
    color: #333;
}

.main-nav a:hover {
    color: #c9a55f;
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    width: 200px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 25px;
}

.dropdown-menu a:hover {
    background-color: #f8f8f8;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone {
    font-size: 20px;
    font-weight: bold;
    color: #c9a55f;
}

.hours {
    font-size: 14px;
    color: #666;
}

/* 横幅区域 */
.hero-banner {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 120px 0;
}

.hero-banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-banner p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 服务部分 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.service-item h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #1a1a1a;
}

.service-item p {
    color: #666;
    margin-bottom: 25px;
}

.service-link {
    color: #c9a55f;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 流程部分 */
.process-section {
    background-color: #f8f8f8;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.step {
    flex: 1;
    min-width: 220px;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 40px;
    right: -30px;
    width: 60px;
    height: 2px;
    background-color: #e0e0e0;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #c9a55f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
}

.step-icon {
    font-size: 40px;
    color: #c9a55f;
    margin-bottom: 15px;
}

.step h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.step p {
    color: #666;
}

.process-cta {
    text-align: center;
    margin-top: 40px;
}

/* 信任部分 */
.trust-section {
    background-color: #fff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trust-item {
    text-align: center;
    padding: 30px 20px;
}

.trust-icon {
    font-size: 48px;
    color: #c9a55f;
    margin-bottom: 20px;
}

.trust-item h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.trust-item p {
    color: #666;
}

/* 客户评价部分 */
.testimonial-section {
    background-color: #f8f8f8;
    position: relative;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.quote {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: #c9a55f;
    opacity: 0.3;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.client-name {
    font-weight: bold;
    color: #1a1a1a;
}

.client-type {
    color: #666;
    font-size: 14px;
}

/* 联系部分 */
.contact-section {
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info-box h2 {
    margin-bottom: 20px;
    font-size: 28px;
}

.contact-info-box > p {
    margin-bottom: 30px;
    color: #666;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 24px;
    margin-right: 15px;
    color: #c9a55f;
    margin-top: 5px;
}

.contact-item h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-form-box {
    background-color: #f8f8f8;
    padding: 40px;
    border-radius: 8px;
}

.contact-form-box h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-family: inherit;
    font-size: 16px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* 优化的页脚样式 */
footer {
    background: linear-gradient(to right, #1a1a1a, #262626, #1a1a1a);
    color: #e0e0e0;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #c9a55f;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/footer-bg-pattern.png');
    opacity: 0.07;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.footer-col h3 {
    color: #c9a55f;
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #c9a55f;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 180px;
    filter: brightness(1.1);
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #b0b0b0;
}

/* 改进的联系信息样式 - 水平排列版 */
.footer-contact {
    display: flex;
    flex-direction: row; /* 改为水平排列 */
    gap: 20px;
    flex-wrap: wrap; /* 允许在窄屏上换行 */
}

.branch-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    border-left: 3px solid #c9a55f;
    margin-bottom: 0;
    transition: all 0.3s ease;
    flex: 1; /* 平均分配空间 */
    min-width: 260px; /* 设置最小宽度 */
}

.branch-info:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.branch-info h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #efd187;
    letter-spacing: 0.5px;
}

.branch-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 14px;
    color: #d0d0d0;
}

.branch-info i {
    margin-right: 10px;
    color: #c9a55f;
    font-size: 15px;
    margin-top: 3px;
}

/* 优化的快速链接 */
.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.footer-links li {
    position: relative;
    padding-left: 15px;
}

.footer-links li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #c9a55f;
    font-size: 18px;
    line-height: 1;
}

.footer-links a {
    color: #d0d0d0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #efd187;
    transform: translateX(3px);
}

/* 页脚底部部分 */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.copyright {
    color: #999;
    font-size: 13px;
}

.copyright p {
    margin-bottom: 8px;
}

.copyright a {
    color: #c9a55f;
    text-decoration: none;
    margin: 0 8px;
    transition: all 0.3s ease;
    font-size: 13px;
    display: inline-block;
    position: relative;
}

.copyright a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #efd187;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: #efd187;
}

.copyright a:hover::after {
    width: 100%;
}

/* 自适应调整 */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-col:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-col:first-child {
        grid-column: span 1;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact {
        flex-direction: column; /* 在移动设备上恢复垂直排列 */
    }
    
    .branch-info {
        width: 100%;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        max-width: 250px;
        margin: 0 auto;
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .step:not(:last-child):after {
        display: none;
    }
    
    .process-steps {
        gap: 30px;
    }
    
    .hero-banner h1 {
        font-size: 36px;
    }
    
    .hero-banner p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .header-container {
        flex-direction: column;
        padding: 10px 0;
    }
    
    .main-nav {
        margin: 15px 0;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 5px 10px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        box-shadow: none;
        padding: 0;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .contact-info {
        align-items: center;
        margin-top: 15px;
    }
    
    .service-grid, 
    .trust-grid, 
    .testimonial-slider, 
    .contact-grid {
        gap: 20px;
    }
    
    .step {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links-bottom {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 28px;
    }
    
    .hero-banner {
        padding: 80px 0;
    }
    
    .hero-banner h1 {
        font-size: 30px;
    }
    
    .hero-banner p {
        font-size: 16px;
    }
    
    .contact-form-box {
        padding: 25px;
    }
}

/* 联系部分改版 */
.contact-info-full {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-heading {
    text-align: center;
    margin-bottom: 10px;
}

.contact-heading h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.contact-heading p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.branch-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.branch-info {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #c9a55f;
    flex: 1;
    min-width: 320px;
    max-width: 500px;
}

.contact-map {
    margin-top: 20px;
    text-align: center;
}

.contact-map h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.store-map {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 企业介绍部分 */
.about-section {
    background-color: #f9f9f9;
    position: relative;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 3;
    min-width: 300px;
}

.about-text > p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.about-feature {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: rgba(201, 165, 95, 0.1);
    color: #c9a55f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.feature-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.feature-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.about-image {
    flex: 2;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 更新服务网格以适应5个项目 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .branch-info {
        min-width: 100%;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* 服务滑块样式 */
.services {
    background-color: #fff;
    position: relative;
    padding: 80px 0;
}

.service-slider-container {
    position: relative;
    margin-top: 40px;
    padding: 0 10px;
}

.service-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    gap: 25px;
    padding: 10px 5px 30px;
}

.service-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.service-item {
    flex: 0 0 calc(25% - 20px);
    min-width: 280px;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-top-color: #c9a55f;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(201, 165, 95, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 32px;
    color: #c9a55f;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.slider-prev, .slider-next {
    background-color: #fff;
    border: 2px solid #c9a55f;
    color: #c9a55f;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-prev:hover, .slider-next:hover {
    background-color: #c9a55f;
    color: #fff;
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 15px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: #c9a55f;
    transform: scale(1.2);
}

/* 联系卡片样式 */
.contact-section {
    background-color: #f9f9f9;
    position: relative;
    padding: 80px 0;
}

.contact-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.contact-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-header {
    background-color: #c9a55f;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-header i {
    font-size: 28px;
}

.card-header h3 {
    font-size: 20px;
    margin: 0;
}

.card-body {
    padding: 25px;
}

.card-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #555;
}

.card-info i {
    margin-right: 12px;
    color: #c9a55f;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.card-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.action-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #f5f5f5;
    color: #333;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.action-link:hover {
    background-color: #c9a55f;
    color: #fff;
}

/* 二维码样式 */
.qrcode-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.qrcode-item {
    text-align: center;
}

.qrcode-item img {
    width: 120px;
    height: 120px;
    border: 4px solid #fff;
    border-radius: 10px;
}

.qrcode-item p {
    margin-top: 10px;
    color: #c9a55f;
    font-size: 14px;
}

/* 背景区分 */
.about-section {
    background-color: #f0f0f0;
    position: relative;
    padding: 80px 0;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(201, 165, 95, 0.05), rgba(201, 165, 95, 0.02));
    pointer-events: none;
}

.process-section {
    background-color: #fff;
    position: relative;
    padding: 80px 0;
}

.trust-section {
    background-color: #f9f9f9;
    position: relative;
    padding: 80px 0;
}

.testimonial-section {
    background-color: #f0f0f0;
    position: relative;
    padding: 80px 0;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(201, 165, 95, 0.05), rgba(201, 165, 95, 0.02));
    pointer-events: none;
}
