/* =============================================
   🏆 汇鸣商务网 - 奢华暗金主题 (Luxury Dark Gold Theme)
   版权所有 © 2024 南京汇鸣文化传媒有限公司
   ============================================= */

/* ===== CSS 变量定义 ===== */
:root {
    /* 主色调 - 金色系列 */
    --gold: #d4af37;
    --gold-light: #f0d060;
    --gold-dark: #b8962c;
    --gold-gradient: linear-gradient(135deg, #d4af37, #f0d060, #b8962c);
    --gold-glow: rgba(212, 175, 55, 0.3);

    /* 背景色系 */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --bg-elevated: #222;
    --bg-overlay: rgba(0, 0, 0, 0.85);

    /* 文字色系 */
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --text-muted: #666;
    --text-gold: var(--gold);

    /* 边框与分割线 */
    --border-subtle: rgba(212, 175, 55, 0.15);
    --border-medium: rgba(212, 175, 55, 0.3);
    --border-strong: rgba(212, 175, 55, 0.5);

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.15);
    --shadow-gold-lg: 0 20px 60px rgba(212, 175, 55, 0.1);

    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* 过渡 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ===== 文字选中颜色 ===== */
::selection { background: rgba(212, 175, 55, 0.3); color: #fff; }

/* ===== 导航栏 ===== */
.navbar-luxury {
    background: rgba(10, 10, 10, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-normal);
    z-index: 1000;
}

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

.navbar-luxury .nav-link {
    color: var(--text-secondary) !important;
    transition: color var(--transition-normal);
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.navbar-luxury .nav-link:hover,
.navbar-luxury .nav-link.active {
    color: var(--gold) !important;
}

.navbar-luxury .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: var(--gold-gradient);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.navbar-luxury .nav-link:hover::after,
.navbar-luxury .nav-link.active::after {
    width: 60%;
}

.navbar-luxury .navbar-toggler {
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 0.6rem;
}

.navbar-luxury .navbar-toggler-icon {
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
}

/* ===== Hero 页面横幅 ===== */
.page-hero {
    padding: 140px 0 70px;
    text-align: center;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.04) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(240, 208, 96, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 6px;
    position: relative;
    z-index: 1;
}

.page-hero h1 strong {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.page-hero .divider {
    width: 40px; height: 2px;
    background: var(--gold-gradient);
    margin: 1rem auto;
    border-radius: 2px;
}

.page-hero p {
    color: var(--text-secondary);
    letter-spacing: 2px;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* ===== 滚动渐入动画 ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

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

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}

.section-title h2 strong {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title .subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title .divider {
    width: 40px; height: 2px;
    background: var(--gold-gradient);
    margin: 1rem auto;
    border-radius: 2px;
}

/* ===== 卡片基础样式 ===== */
.card-luxury {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.card-luxury:hover {
    border-color: var(--border-medium);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold-lg);
}

.card-luxury .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card-luxury:hover .card-img-top {
    transform: scale(1.05);
}

.card-luxury .card-body {
    padding: 1.25rem;
}

/* ===== 金色按钮 ===== */
.btn-gold {
    background: var(--gold-gradient);
    color: #111 !important;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    letter-spacing: 1px;
    transition: all var(--transition-normal);
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: #111 !important;
}

.btn-gold:active {
    transform: translateY(0);
}

.btn-gold-sm {
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
}

.btn-gold-lg {
    padding: 0.9rem 2.5rem;
    font-size: 1.05rem;
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold) !important;
    border: 1px solid var(--gold);
    padding: 0.7rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    letter-spacing: 1px;
    transition: all var(--transition-normal);
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #111 !important;
    transform: translateY(-2px);
}

/* ===== 标签徽章 ===== */
.badge-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #111;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
}

.badge-gold-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
}

/* ===== 区块（Filter Bar） ===== */
.filter-bar {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-bar .filter-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.filter-bar .filter-info strong {
    color: var(--gold);
    font-weight: 600;
}

/* ===== 表单控件 ===== */
.form-control-luxury {
    background: var(--bg-card);
    border: 1px solid #333;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: all var(--transition-normal);
    width: 100%;
}

.form-control-luxury:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    color: var(--text-primary);
    background: var(--bg-card);
}

.form-control-luxury::placeholder {
    color: var(--text-muted);
}

.form-label-luxury {
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

/* ===== 移动端底部转化条 ===== */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 9999;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.6);
}

.mobile-bottom-bar a {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    font-size: 1.05rem;
    font-weight: bold;
    color: #fff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-wechat { background: linear-gradient(135deg, #07c160, #06ad56); }
.btn-phone { background: linear-gradient(135deg, #e64340, #d93b38); }
.btn-wechat:active { background: #06ad56; }
.btn-phone:active { background: #d93b38; }

/* ===== Footer ===== */
.footer-luxury {
    background: #050505;
    border-top: 1px solid var(--border-subtle);
    padding: 50px 0 30px;
}

.footer-luxury h5 {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-luxury h6 {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

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

.footer-luxury a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-luxury a:hover {
    color: var(--gold) !important;
}

.footer-luxury .footer-divider {
    border-color: #222;
    margin: 20px 0;
}

.footer-luxury .footer-bottom {
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 1px;
}

/* ===== 面包屑导航 ===== */
.breadcrumb-luxury {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-luxury .breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-normal);
}

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

.breadcrumb-luxury .breadcrumb-item.active {
    color: var(--gold);
}

.breadcrumb-luxury .breadcrumb-item + .breadcrumb-item::before {
    color: #555;
}

/* ===== 加载与空状态 ===== */
.loading-state, .empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}

.loading-state .spinner-border {
    color: var(--gold);
    width: 3rem;
    height: 3rem;
}

.empty-state .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state h5 {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* ===== Modal 区域选择 ===== */
.modal-luxury .modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.modal-luxury .modal-header {
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.2rem 1.5rem;
}

.modal-luxury .modal-title {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.modal-luxury .btn-close {
    filter: invert(0.8);
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.modal-luxury .btn-close:hover {
    opacity: 1;
}

.modal-luxury .modal-body {
    padding: 1.5rem;
}

.modal-luxury .province-group {
    margin-bottom: 1.5rem;
}

.modal-luxury .province-name {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-subtle);
}

.modal-luxury .city-group {
    margin-bottom: 0.8rem;
}

.modal-luxury .city-name {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    padding-left: 0.5rem;
}

.modal-luxury .district-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-left: 1rem;
}

.modal-luxury .district-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-block;
}

.modal-luxury .district-btn:hover,
.modal-luxury .district-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #111;
}

.modal-luxury .district-btn.active {
    font-weight: 600;
}

/* ===== VIP 卡片 ===== */
.vip-card-luxury {
    background: linear-gradient(145deg, #1f1a0e 0%, #0d0d0d 100%);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-gold);
    overflow: hidden;
}

.vip-card-luxury .vip-header {
    background: var(--gold-gradient);
    padding: 1rem;
    text-align: center;
}

.vip-card-luxury .vip-header h5 {
    margin: 0;
    color: #111;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ===== 响应式适配 ===== */
@media (max-width: 991.98px) {
    .page-hero { padding: 130px 0 50px; }
    .section { padding: 60px 0; }
}

@media (max-width: 767.98px) {
    .page-hero { padding: 110px 0 40px; }
    .section { padding: 50px 0; }
    .navbar-luxury .navbar-brand { font-size: 1.1rem; }
    body { padding-bottom: 60px; }
    .filter-bar { flex-direction: column; align-items: stretch; text-align: center; }
}

@media (min-width: 768px) {
    body { padding-bottom: 0; }
}
