/* ============================================
   武汉品茶 - 黑金风格主题样式
   网站: whpc886.cn
   ============================================ */

/* === CSS Variables === */
:root {
    --gold-primary: #d4af37;
    --gold-light: #f0d060;
    --gold-dark: #b8960c;
    --gold-shine: #ffd700;
    --black-primary: #0a0a0a;
    --black-secondary: #1a1a1a;
    --black-tertiary: #2a2a2a;
    --black-card: #141414;
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #b8960c 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--black-primary);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-light);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

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

ul, ol {
    list-style: none;
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* === Selection === */
::selection {
    background: var(--gold-primary);
    color: var(--black-primary);
}

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

/* === Header === */
.header {
    background: linear-gradient(180deg, rgba(10,10,10,0.98) 0%, rgba(26,26,26,0.95) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Logo === */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

/* === Navigation === */
.nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav a {
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gold-primary);
    border-radius: 1px;
}

/* === Mobile Menu === */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition);
    border-radius: 1px;
}

/* === Hero Section === */
.hero {
    margin-top: 70px;
    min-height: 500px;
    background: linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(26,26,26,0.8) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 500"><defs><radialGradient id="g" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23d4af37" stop-opacity="0.1"/><stop offset="100%" stop-color="transparent"/></radialGradient></defs><rect fill="%230a0a0a" width="1200" height="500"/><circle cx="600" cy="250" r="300" fill="url(%23g)"/></svg>');
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: 3px;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--gradient-gold);
    color: var(--black-primary);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    letter-spacing: 2px;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out 0.4s both;
    box-shadow: var(--shadow-gold);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    color: var(--black-primary);
}

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

/* === Section === */
.section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.section-title .divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 15px auto;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* === Card Grid === */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.card {
    background: var(--black-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-gold);
}

.card:hover::before {
    opacity: 1;
}

.card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--black-tertiary) 0%, var(--black-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-image .icon-placeholder {
    font-size: 3rem;
    opacity: 0.3;
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    font-size: 1.15rem;
    color: var(--gold-primary);
    margin-bottom: 10px;
    line-height: 1.5;
}

.card-body h3 a {
    color: inherit;
}

.card-body h3 a:hover {
    color: var(--gold-light);
}

.card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.card-meta .read-more {
    color: var(--gold-primary);
    font-weight: 600;
}

.card-meta .read-more:hover {
    color: var(--gold-light);
}

/* === Article Page === */
.article-page {
    margin-top: 70px;
    padding: 40px 0 80px;
}

.article-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    margin-bottom: 40px;
}

.article-header h1 {
    font-size: 2rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 2;
    font-size: 1rem;
}

.article-content h2 {
    color: var(--gold-primary);
    font-size: 1.5rem;
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left: 3px solid var(--gold-primary);
}

.article-content h3 {
    color: var(--gold-light);
    font-size: 1.2rem;
    margin: 25px 0 12px;
}

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

.article-content ul, .article-content ol {
    margin: 15px 0;
    padding-left: 2em;
}

.article-content li {
    margin-bottom: 8px;
    list-style: disc;
}

.article-content ol li {
    list-style: decimal;
}

.article-content blockquote {
    border-left: 3px solid var(--gold-primary);
    padding: 15px 20px;
    margin: 20px 0;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 0 8px 8px 0;
    color: var(--text-secondary);
}

.article-content img {
    border-radius: 8px;
    margin: 20px 0;
}

/* === Back Button === */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--gold-primary);
    font-size: 0.9rem;
    transition: var(--transition);
    margin-bottom: 30px;
}

.back-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-light);
}

/* === About Page === */
.about-hero {
    margin-top: 70px;
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(10,10,10,0.95) 0%, rgba(26,26,26,0.9) 100%);
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
}

.about-hero h1 {
    font-size: 2.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    position: relative;
}

.about-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    position: relative;
}

.about-content {
    padding: 60px 0;
}

.about-content .content-block {
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
    line-height: 2;
}

.about-content .content-block h2 {
    color: var(--gold-primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 3px solid var(--gold-primary);
}

.about-content .content-block p {
    margin-bottom: 15px;
    text-indent: 2em;
}

/* === Features Grid === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-card {
    background: var(--black-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

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

.feature-card h3 {
    color: var(--gold-primary);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

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

/* === Contact Page === */
.contact-section {
    margin-top: 70px;
    padding: 60px 0;
}

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

.contact-card {
    background: var(--black-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    padding: 35px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-gold);
}

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

.contact-card h3 {
    color: var(--gold-primary);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 15px;
}

.contact-card .action-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--gradient-gold);
    color: var(--black-primary);
    font-weight: 600;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.contact-card .action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--black-primary);
}

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

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--black-primary);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 2px solid transparent;
    position: relative;
}

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

.float-btn.phone {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.float-btn.qq {
    background: linear-gradient(135deg, #4FC3F7, #0288D1);
}

.float-btn.wechat {
    background: linear-gradient(135deg, #66BB6A, #2E7D32);
}

.float-btn .tooltip {
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--black-card);
    color: var(--gold-primary);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

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

/* === Toast Notification === */
.toast {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--black-card);
    color: var(--gold-primary);
    padding: 12px 30px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 0.9rem;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
}

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

/* === Footer === */
.footer {
    background: var(--black-secondary);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 50px 0 30px;
}

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

.footer-col h4 {
    color: var(--gold-primary);
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    padding: 5px 0;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

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

.breadcrumb a:hover {
    color: var(--gold-primary);
}

.breadcrumb span {
    margin: 0 8px;
}

/* === Pagination === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a {
    padding: 8px 16px;
    background: var(--black-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.pagination a:hover,
.pagination a.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

/* === Tag List === */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    color: var(--gold-primary);
    font-size: 0.85rem;
    transition: var(--transition);
}

.tag:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-light);
}

/* === Responsive === */
@media (max-width: 768px) {
    .header-inner {
        height: 60px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--black-secondary);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }

    .nav.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        margin-top: 60px;
        min-height: 400px;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

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

    .article-header h1 {
        font-size: 1.5rem;
    }

    .floating-buttons {
        right: 10px;
        bottom: 10px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .float-btn .tooltip {
        display: none;
    }

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

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

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

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

    .card-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .card-body {
        padding: 18px;
    }
}

/* === Animations === */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Gold Line Decoration === */
.gold-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-primary) 50%, transparent 100%);
    margin: 30px 0;
}

/* === Highlight Box === */
.highlight-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.highlight-box h3 {
    color: var(--gold-primary);
    margin-bottom: 15px;
}

.highlight-box p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* === Stats Section === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: var(--black-card);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.stat-item .number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item .label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 5px;
}
