:root {
    --primary-color: #5d3f6a;
    --primary-hover: #482f53;
    --accent-color: #c8a2c8;
    --bg-light: #faf8f5;
    --card-bg: #ffffff;
    --text-dark: #222222;
    --text-muted: #666666;
    --border-color: #eae5e0;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* 顶部导航栏 */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--primary-color);
    letter-spacing: 1px;
    line-height: 1;
}

.logo-text p {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 3px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active::after, .nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 页面标题 Banner */
.page-banner {
    background: linear-gradient(135deg, rgba(93, 63, 106, 0.9) 0%, rgba(93, 63, 106, 0.7) 100%),
                url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    padding: 100px 20px;
    text-align: center;
}

.page-banner-content h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-banner-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* 页面主要内容容器 */
.main-container {
    max-width: 1200px;
    margin: 70px auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--primary-color);
    display: inline-block;
}

.section-title::after {
    content: '❀';
    font-size: 14px;
    display: block;
    text-align: center;
    color: var(--accent-color);
    margin-top: -4px;
}

/* 服务详情页面样式 */
.service-detail {
    margin-bottom: 60px;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-detail-image {
    height: 100%;
    min-height: 400px;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-text {
    padding: 40px;
}

.service-detail-text h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-subtitle {
    font-size: 14px;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.service-detail-text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-benefits {
    list-style: none;
    margin-bottom: 25px;
}

.service-benefits li {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-benefits i {
    color: var(--primary-color);
    font-size: 12px;
}

.price-table {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
}

.price-row:last-child {
    border-bottom: none;
}

.price-row .duration {
    font-size: 14px;
    color: var(--text-muted);
}

.price-row .price {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.service-note {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px 30px;
    border: 1px solid var(--border-color);
    margin-top: 20px;
}

.note-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.note-content i {
    font-size: 24px;
    color: var(--primary-color);
}

.note-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* 关于页面样式 */
.about-page-section {
    margin-bottom: 60px;
}

.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

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

.about-page-text h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-page-text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 资质板块 */
.qualifications-section {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 50px 40px;
    margin-bottom: 60px;
    border: 1px solid var(--border-color);
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.qualification-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.qualification-item h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.qualification-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 理念板块 */
.philosophy-section {
    background: linear-gradient(135deg, #f5f0f7 0%, #faf8f5 100%);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
}

.philosophy-content h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.philosophy-content blockquote {
    font-family: var(--font-heading);
    font-size: 22px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.6;
}

.philosophy-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* 图库页面样式 */
.gallery-section {
    margin-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(93, 63, 106, 0.9));
    padding: 30px 25px 25px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.gallery-text-section {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 50px 40px;
    border: 1px solid var(--border-color);
}

.gallery-description p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 联系页面样式 */
.contact-page-section {
    margin-bottom: 60px;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h3,
.contact-info-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #7a4d8a 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(93, 63, 106, 0.3);
}

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

.contact-info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-info-item i {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background-color: rgba(93, 63, 106, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-info-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.social-contact {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.social-contact h4 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background-color: rgba(93, 63, 106, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* 联系地图 */
.contact-map-full {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 50px 40px;
    border: 1px solid var(--border-color);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
}

.map-container iframe {
    display: block;
}

/* 浮动 WhatsApp 按钮 */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

/* 页脚 */
.site-footer {
    background-color: #2b1f31;
    color: #c9b8cc;
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 24px;
    color: #ffffff;
    font-weight: 600;
}

.footer-tagline {
    font-size: 11px;
    color: #9a8d9e;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
    color: #a89cab;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 13px;
    color: #a89cab;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #a89cab;
}

.footer-contact i {
    color: var(--accent-color);
    width: 16px;
    text-align: center;
    margin-top: 3px;
}

.footer-bottom {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid rgba(200, 162, 200, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #7a6d7e;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-legal a {
    font-size: 12px;
    color: #9a8d9e;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent-color);
}

/* 响应式样式 */
@media (max-width: 992px) {
    .service-detail-grid,
    .about-page-grid,
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-grid.reverse {
        direction: ltr;
    }

    .qualifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 70px 20px;
    }

    .page-banner-content h2 {
        font-size: 36px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .service-detail-image {
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        width: 100%;
    }

    .hamburger {
        display: flex;
    }

    .qualifications-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
