/* ========================================
   博创远航黄金回收 - 金碧辉煌风格主样式
   域名：bcyc.cn
   风格：金碧辉煌（黑金 + 奢华红）
   ======================================== */

:root {
    --gold-primary: #d4af37;
    --gold-light: #f4e4a6;
    --gold-dark: #aa8c2c;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f4e4a6 50%, #aa8c2c 100%);
    --black-rich: #0a0a0a;
    --black-deep: #1a1a1a;
    --black-soft: #2a2a2a;
    --red-luxury: #8b0000;
    --red-bright: #c41e3a;
    --white-pure: #ffffff;
    --white-soft: #f5f5f5;
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
    --shadow-deep: 0 8px 40px rgba(0, 0, 0, 0.5);
}

* {
    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-color: var(--black-rich);
    color: var(--white-soft);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   导航栏样式
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), rgba(26, 26, 26, 0.9));
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gold-dark);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.98), rgba(26, 26, 26, 0.98));
    box-shadow: var(--shadow-gold);
}

.nav-container {
    max-width: 1960px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.nav-logo-text {
    font-size: 24px;
    font-weight: bold;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    position: relative;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--white-soft);
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold-light);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-btn {
    background: var(--gold-gradient);
    color: var(--black-rich);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-gold);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gold-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--black-rich) 0%, var(--black-deep) 50%, var(--red-luxury) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--black-rich) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 40px;
}

.hero-badge {
    display: inline-block;
    background: var(--gold-gradient);
    color: var(--black-rich);
    padding: 8px 25px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--white-soft);
    margin-bottom: 50px;
    animation: fadeInUp 1s ease 0.4s both;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--black-rich);
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: var(--shadow-gold);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-primary);
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    border: 2px solid var(--gold-primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: var(--gold-primary);
    color: var(--black-rich);
    transform: translateY(-3px);
}

/* ========================================
   通用区块样式
   ======================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    background: var(--gold-gradient);
    color: var(--black-rich);
    padding: 6px 20px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 800;
    color: var(--gold-light);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.section-desc {
    font-size: 18px;
    color: var(--white-soft);
    max-width: 700px;
    margin: 30px auto 0;
    opacity: 0.8;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================================
   卡片样式
   ======================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.card {
    background: linear-gradient(145deg, var(--black-deep), var(--black-soft));
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
    border-color: var(--gold-primary);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 30px;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 15px;
}

.card-text {
    color: var(--white-soft);
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 20px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 15px;
}

.card-link:hover {
    gap: 15px;
}

/* ========================================
   优势板块
   ======================================== */
.features-section {
    background: linear-gradient(180deg, var(--black-rich) 0%, var(--black-deep) 100%);
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(145deg, var(--black-deep), var(--black-soft));
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 15px;
}

.feature-desc {
    color: var(--white-soft);
    opacity: 0.8;
    font-size: 15px;
    line-height: 1.7;
}

/* ========================================
   页脚样式
   ======================================== */
.footer {
    background: linear-gradient(180deg, var(--black-deep) 0%, var(--black-rich) 100%);
    border-top: 3px solid var(--gold-dark);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 45px;
}

.footer-logo-text {
    font-size: 22px;
    font-weight: bold;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    color: var(--white-soft);
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold-gradient);
    color: var(--black-rich);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-gradient);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: var(--white-soft);
    opacity: 0.8;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--gold-primary);
    padding-left: 8px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white-soft);
    opacity: 0.8;
    font-size: 15px;
}

.contact-icon {
    color: var(--gold-primary);
    font-size: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: var(--white-soft);
    opacity: 0.7;
    font-size: 14px;
}

.footer-beian {
    color: var(--white-soft);
    opacity: 0.7;
    font-size: 14px;
}

/* ========================================
   动画
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--black-rich);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        border-bottom: 2px solid var(--gold-dark);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
    }

    .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(7px, -6px);
    }

    .nav-btn {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 20px;
    }

    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}
