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

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

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

/* 导航栏样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: #8B4513;
    letter-spacing: 2px;
}

.logo-subtext {
    font-size: 14px;
    color: #A0522D;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #8B4513;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #8B4513;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #8B4513;
}

/* 首页横幅 */
.hero {
    background: linear-gradient(rgba(139, 69, 19, 0.8), rgba(160, 82, 45, 0.8)),
    url('images/banner.jpg') center/cover no-repeat;
    color: white;
    padding: 160px 0 100px;
    text-align: center;
    margin-top: 70px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* 按钮样式 */
.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #8B4513;
    color: white;
}

.btn-primary:hover {
    background-color: #A0522D;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #8B4513;
}

.btn-outline {
    background-color: transparent;
    color: #8B4513;
    border: 2px solid #8B4513;
}

.btn-outline:hover {
    background-color: #8B4513;
    color: white;
}

/* 通用区块样式 */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #8B4513;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #D2691E;
    margin: 15px auto 30px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* 服务项目预览 */
.services-preview {
    padding: 80px 0;
    background-color: white;
}

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

.service-card {
    background: #fefefe;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(139, 69, 19, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: #8B4513;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #8B4513;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-link {
    color: #D2691E;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

.service-link:hover {
    text-decoration: underline;
}

/* 关于我们预览 */
.about-preview {
    padding: 80px 0;
    background-color: #f5f1eb;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    color: #8B4513;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background-color: #e6d7c9;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #8B4513;
    font-size: 1.2rem;
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: 20px;
}

/* 优势特点 */
.features {
    padding: 80px 0;
    background-color: white;
}

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

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

.feature-icon {
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 20px;
}

.feature-item h3 {
    color: #8B4513;
    margin-bottom: 15px;
}

/* 页脚样式 */
.footer {
    background-color: #3a2c1c;
    color: #d4c9bc;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3, .footer-section h4 {
    color: #f5f1eb;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #d4c9bc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #f5f1eb;
    text-decoration: underline;
}

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

.contact-info i {
    margin-right: 10px;
    color: #D2691E;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #5a4a3a;
    font-size: 0.9rem;
    color: #b0a698;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* 预约浮窗 */
.floating-booking {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.booking-btn {
    background-color: #8B4513;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.4);
    transition: all 0.3s;
}

.booking-btn:hover {
    background-color: #A0522D;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.5);
}

.booking-btn i {
    font-size: 1.5rem;
    margin-right: 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}


/* 服务项目页面的额外样式 */
.page-header {
    background-color: #f5f1eb;
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 15px;
}

.page-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.services-detail {
    padding: 80px 0;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.service-detail-item:nth-child(even) .service-detail-image {
    order: -1;
}

.service-detail-content h2 {
    color: #8B4513;
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.service-detail-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #D2691E;
}

.service-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.service-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.info-box {
    background-color: #f9f5f0;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #D2691E;
}

.info-box h3 {
    color: #8B4513;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.info-box h3 i {
    margin-right: 10px;
    color: #D2691E;
}

.info-box ul {
    list-style-type: none;
}

.info-box li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.info-box li::before {
    content: '•';
    color: #D2691E;
    position: absolute;
    left: 0;
}

.service-duration {
    background-color: #f0e6db;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.service-duration p {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.service-detail-image .image-placeholder {
    height: 350px;
}

.other-services {
    margin-top: 100px;
}

.other-services h2 {
    text-align: center;
    color: #8B4513;
    font-size: 2rem;
    margin-bottom: 50px;
}

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

.other-service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.other-service-card:hover {
    transform: translateY(-5px);
}

.other-service-card h3 {
    color: #8B4513;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.other-service-card p {
    margin-bottom: 15px;
    color: #666;
}

.other-service-card strong {
    color: #8B4513;
}

/* 价格表样式 */
.pricing {
    padding: 80px 0;
    background-color: #f5f1eb;
}

.pricing-table {
    max-width: 800px;
    margin: 0 auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

thead {
    background-color: #8B4513;
    color: white;
}

th, td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

tbody tr:hover {
    background-color: #f9f5f0;
}

.pricing-note {
    margin-top: 30px;
    padding: 20px;
    background-color: #f0e6db;
    border-radius: 8px;
    font-size: 0.95rem;
}

/* 预约引导 */
.booking-cta {
    padding: 80px 0;
    background: linear-gradient(rgba(139, 69, 19, 0.9), rgba(160, 82, 45, 0.9)),
    url('images/cta-bg.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .service-detail-item {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 70px;
    }

    .service-detail-item:nth-child(even) .service-detail-image {
        order: 0;
    }

    .service-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-header {
        padding: 100px 0 40px;
    }

    table {
        font-size: 0.9rem;
    }

    th, td {
        padding: 12px 15px;
    }
}
