/* ============================================
   西安洗浴会所 - 墨绿色高端风格主题
   网站: www.xa0825.cn
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary-dark: #0a1f1a;
    --primary: #0d3b2e;
    --primary-light: #1a5c45;
    --primary-lighter: #2a7d5e;
    --accent: #c9a84c;
    --accent-light: #f5d77a;
    --accent-dark: #a08030;
    --text-light: #e8e8e8;
    --text-muted: #a0b8a8;
    --bg-dark: #060f0c;
    --bg-card: #0d2a1e;
    --bg-card-hover: #133528;
    --border-color: #1a4a35;
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
    --transition: all 0.3s ease;
    --radius: 12px;
    --radius-sm: 8px;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--accent-light);
    transition: var(--transition);
}

a:hover {
    color: #fff;
}

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

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-lighter);
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
.header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    border-bottom: 2px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo img {
    height: 60px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav a {
    color: var(--text-light);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--accent-light);
    background: rgba(201, 168, 76, 0.1);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--accent);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.hero-btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(201,168,76,0.3);
    position: relative;
    z-index: 1;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.4);
    color: var(--primary-dark);
}

/* --- Section --- */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--accent-light);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 15px;
}

/* --- Cards Grid --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
}

.card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.card h3 {
    font-size: 1.3rem;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- Article List --- */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 25px 30px;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.article-item:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    transform: translateX(5px);
}

.article-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.5;
    min-width: 50px;
    line-height: 1;
}

.article-content h3 {
    font-size: 1.15rem;
    color: var(--accent-light);
    margin-bottom: 8px;
}

.article-content h3 a {
    color: var(--accent-light);
}

.article-content h3 a:hover {
    color: #fff;
}

.article-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* --- Article Detail --- */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.article-detail h1 {
    font-size: 2rem;
    color: var(--accent-light);
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-detail .article-info {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-detail .article-body {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-light);
}

.article-detail .article-body p {
    margin-bottom: 18px;
    text-indent: 2em;
}

.article-detail .article-body h2 {
    font-size: 1.4rem;
    color: var(--accent-light);
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left: 4px solid var(--accent);
}

.article-detail .article-body ul,
.article-detail .article-body ol {
    margin: 15px 0 15px 2em;
}

.article-detail .article-body li {
    margin-bottom: 8px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--accent-light);
    margin-top: 30px;
    transition: var(--transition);
}

.back-link:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    color: #fff;
}

/* --- About Section --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.9;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.about-feature:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.about-feature .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.about-feature .label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.contact-card h3 {
    font-size: 1.2rem;
    color: var(--accent-light);
    margin-bottom: 10px;
}

.contact-card .info {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.contact-card .action-btn {
    display: inline-block;
    padding: 8px 25px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-card .action-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(201,168,76,0.3);
}

/* --- Floating Buttons --- */
.floating-btns {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
}

.float-btn:hover {
    transform: scale(1.15);
}

.float-btn.phone {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff;
    animation: pulse-green 2s infinite;
}

.float-btn.qq {
    background: linear-gradient(135deg, #2980b9, #3498db);
    color: #fff;
}

.float-btn.wechat {
    background: linear-gradient(135deg, #1e8449, #27ae60);
    color: #fff;
}

.float-btn .tooltip {
    position: absolute;
    right: 65px;
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.float-btn:hover .tooltip {
    opacity: 1;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* --- Toast Notification --- */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: var(--primary);
    color: var(--accent-light);
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--accent);
    font-size: 0.95rem;
    z-index: 10000;
    transition: transform 0.4s ease;
    box-shadow: var(--shadow-lg);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* --- Footer --- */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #050d09 100%);
    border-top: 2px solid var(--accent);
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer h4 {
    color: var(--accent-light);
    font-size: 1.1rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer p, .footer li {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer ul {
    list-style: none;
}

.footer ul li a {
    color: var(--text-muted);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* --- Baidu Submit Script Area --- */
.baidu-submit-area {
    display: none;
}

/* --- Baidu Tongji Placeholder --- */
.baidu-tongji-placeholder {
    /* 百度统计代码预留位置 - 请将统计代码放在这里 */
    /* 示例: <script src="https://s4.cnzz.com/z_stat.php?id=xxxxx&web_id=xxxxx" language="JavaScript"></script> */
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .header .container {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 10px 0;
    }
    
    .nav.show {
        display: flex;
    }
    
    .nav a {
        text-align: center;
        padding: 12px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr 1fr;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .article-item {
        flex-direction: column;
    }
    
    .floating-btns {
        right: 10px;
        bottom: 80px;
    }
    
    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .float-btn .tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* --- Breadcrumb --- */
.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--accent-light);
}

.breadcrumb span {
    margin: 0 8px;
    opacity: 0.5;
}

/* --- Page Banner --- */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.page-banner h1 {
    font-size: 2.2rem;
    color: var(--accent-light);
    position: relative;
    z-index: 1;
}

.page-banner p {
    color: var(--text-muted);
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

/* --- Feature Box (Home) --- */
.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.feature-box:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-box .emoji {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.feature-box h3 {
    color: var(--accent-light);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Quick Action Bar --- */
.quick-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.quick-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.quick-action-btn:hover {
    transform: translateY(-2px);
}

.quick-action-btn.call {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff;
}

.quick-action-btn.qq-btn {
    background: linear-gradient(135deg, #2980b9, #3498db);
    color: #fff;
}

.quick-action-btn.wx-btn {
    background: linear-gradient(135deg, #1e8449, #27ae60);
    color: #fff;
}