/* ========================================
   武汉品茶网 - 黑金风格主题样式
   ======================================== */

/* CSS变量定义 */
:root {
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --tertiary-black: #2a2a2a;
    --primary-gold: #d4af37;
    --secondary-gold: #f4d03f;
    --accent-gold: #c9a961;
    --light-gold: #e8d5a3;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --text-light: #e0e0e0;
    --border-gold: rgba(212, 175, 55, 0.3);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.2);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #c9a961 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

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

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

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

/* ========================================
   头部导航
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gold);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-gold);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* LOGO样式 */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.logo-text {
    font-size: 24px;
    font-weight: bold;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 15px;
    letter-spacing: 2px;
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

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

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   轮播Banner
   ======================================== */
.hero-banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1545483038-4592a3e4b02c?w=1920&q=80') center/cover no-repeat;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.hero-title {
    font-size: 56px;
    font-weight: bold;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-gray);
    margin-bottom: 40px;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-btn {
    display: inline-block;
    padding: 16px 50px;
    background: var(--gradient-gold);
    color: var(--primary-black);
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

/* ========================================
   通用区块样式
   ======================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background: var(--secondary-black);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

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

.section-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--primary-gold);
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    letter-spacing: 1px;
}

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

/* ========================================
   特色服务卡片
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--tertiary-black);
    border: 1px solid var(--border-gold);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary-gold);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 22px;
    color: var(--primary-gold);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ========================================
   文章列表
   ======================================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.article-card {
    background: var(--tertiary-black);
    border: 1px solid var(--border-gold);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary-gold);
}

.article-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-content {
    padding: 25px;
}

.article-category {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-gold);
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.article-title {
    font-size: 20px;
    color: var(--text-white);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: var(--primary-gold);
}

.article-excerpt {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray);
    font-size: 13px;
}

.article-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* ========================================
   文章详情页
   ======================================== */
.article-detail {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.article-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-gold);
}

.article-header h1 {
    font-size: 36px;
    color: var(--primary-gold);
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--text-gray);
    font-size: 14px;
}

.article-body {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 2;
    color: var(--text-light);
}

.article-body p {
    margin-bottom: 25px;
    text-align: justify;
}

.article-body h2 {
    font-size: 24px;
    color: var(--primary-gold);
    margin: 40px 0 20px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-gold);
}

.article-body h3 {
    font-size: 20px;
    color: var(--secondary-gold);
    margin: 30px 0 15px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.article-body blockquote {
    background: var(--tertiary-black);
    border-left: 4px solid var(--primary-gold);
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-gray);
}

/* ========================================
   关于我们页面
   ======================================== */
.about-section {
    padding: 120px 0 80px;
}

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

.about-text h2 {
    font-size: 36px;
    color: var(--primary-gold);
    margin-bottom: 25px;
}

.about-text p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 2;
    margin-bottom: 20px;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-gold);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 数据统计 */
.stats-section {
    background: var(--secondary-black);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 16px;
}

/* ========================================
   联系我们页面
   ======================================== */
.contact-section {
    padding: 120px 0 80px;
}

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

.contact-info {
    padding: 40px;
    background: var(--tertiary-black);
    border: 1px solid var(--border-gold);
    border-radius: 15px;
}

.contact-info h2 {
    font-size: 28px;
    color: var(--primary-gold);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--secondary-black);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text h4 {
    color: var(--text-white);
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-gray);
    font-size: 14px;
}

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

/* 地图区域 */
.map-section {
    margin-top: 60px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-gold);
}

/* ========================================
   悬浮按钮
   ======================================== */
.floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    position: relative;
}

.float-btn-phone {
    background: var(--gradient-gold);
    color: var(--primary-black);
    animation: pulse 2s infinite;
}

.float-btn-wechat {
    background: #07c160;
    color: white;
}

.float-btn-qq {
    background: #12b7f5;
    color: white;
}

.float-btn-top {
    background: var(--tertiary-black);
    border: 1px solid var(--border-gold);
    color: var(--primary-gold);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.float-btn-top.visible {
    opacity: 1;
    visibility: visible;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

/* 悬浮按钮提示 */
.float-btn .tooltip {
    position: absolute;
    right: 70px;
    background: var(--tertiary-black);
    color: var(--text-white);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-gold);
}

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

/* ========================================
   复制弹窗
   ======================================== */
.copy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.copy-modal.active {
    opacity: 1;
    visibility: visible;
}

.copy-modal-content {
    background: var(--secondary-black);
    border: 1px solid var(--border-gold);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.copy-modal.active .copy-modal-content {
    transform: scale(1);
}

.copy-modal-content h3 {
    color: var(--primary-gold);
    font-size: 24px;
    margin-bottom: 20px;
}

.copy-modal-content p {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 16px;
}

.copy-value {
    background: var(--tertiary-black);
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 20px;
    color: var(--primary-gold);
    font-weight: bold;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.copy-btn {
    display: inline-block;
    padding: 12px 40px;
    background: var(--gradient-gold);
    color: var(--primary-black);
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.close-modal {
    background: transparent;
    border: 1px solid var(--border-gold);
    color: var(--text-gray);
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--secondary-black);
    border-top: 1px solid var(--border-gold);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
}

.footer-links h4 {
    color: var(--primary-gold);
    font-size: 16px;
    margin-bottom: 20px;
}

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

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

.footer-links ul li a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-gold);
    color: var(--text-gray);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--primary-gold);
    text-decoration: none;
}

/* ========================================
   面包屑导航
   ======================================== */
.breadcrumb {
    padding: 20px 0;
    background: var(--secondary-black);
    border-bottom: 1px solid var(--border-gold);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.breadcrumb-list li {
    color: var(--text-gray);
    font-size: 14px;
}

.breadcrumb-list li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumb-list li.separator {
    color: var(--primary-gold);
}

/* ========================================
   动画效果
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 5px 30px rgba(212, 175, 55, 0.6);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 25px;
    }
    
    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 992px) {
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--secondary-black);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid var(--border-gold);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .floating-buttons {
        right: 15px;
        bottom: 15px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .article-header h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-btn {
        padding: 14px 35px;
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
