/* 188金宝博 - 主样式文件 */
/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #1a1a2e;
    --accent-color: #16213e;
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
    --light-bg: #f5f5f5;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

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

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

/* Header */
.header {
    background: var(--gradient-dark);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255,107,53,0.5);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

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

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Hero Banner */
.hero {
    background: var(--gradient-dark);
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23ff6b35" stroke-width="0.5" opacity="0.1"/></svg>') repeat;
    background-size: 100px 100px;
    animation: float 20s linear infinite;
}

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

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-text h1 span {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(255,107,53,0.5);
}

.hero-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(255,107,53,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,107,53,0.5);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 500px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

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

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

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

.section-title h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--light-text);
    font-size: 16px;
    max-width: 600px;
    margin: 20px auto 0;
}

/* About Section */
.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--light-text);
    text-align: justify;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    z-index: -1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
}

.service-card h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.8;
}

/* Events Section */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.event-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image {
    height: 200px;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--primary-color);
}

.event-content {
    padding: 25px;
}

.event-content h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.event-content p {
    color: var(--light-text);
    font-size: 14px;
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.advantage-item {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.advantage-content h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.advantage-content p {
    color: var(--light-text);
    font-size: 14px;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.news-image {
    height: 180px;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--primary-color);
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--primary-color);
    font-size: 13px;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-content h3 a:hover {
    color: var(--primary-color);
}

.news-content p {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.7;
}

.news-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
}

.news-more:hover {
    text-decoration: underline;
}

/* Partners Section */
.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.partner-item {
    width: 150px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--light-text);
    font-weight: bold;
    transition: all 0.3s ease;
}

.partner-item:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--secondary-color);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--light-text);
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

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

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

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

.contact-form {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.submit-btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,107,53,0.4);
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-brand .logo-text {
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
}

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

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

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255,107,53,0.4);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Page Header */
.page-header {
    background: var(--gradient-dark);
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 15px;
}

.page-header .breadcrumb {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.page-header .breadcrumb a {
    color: var(--primary-color);
}

/* Article Content */
.article-content {
    padding: 60px 0;
}

.article-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.article-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-meta span {
    color: var(--light-text);
    font-size: 14px;
    margin-right: 20px;
}

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

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

.article-body p {
    margin-bottom: 18px;
    color: var(--text-color);
    text-align: justify;
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-body li {
    margin-bottom: 10px;
    list-style: disc;
    color: var(--text-color);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.article-nav a {
    color: var(--primary-color);
    font-size: 14px;
}

.article-nav a:hover {
    text-decoration: underline;
}

/* About Page */
.about-detail {
    padding: 60px 0;
}

.about-section {
    margin-bottom: 60px;
}

.about-section h2 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.about-section p {
    color: var(--light-text);
    margin-bottom: 15px;
    text-align: justify;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.team-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.team-card h4 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.team-card p {
    color: var(--light-text);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .services-grid,
    .events-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .article-wrapper {
        padding: 30px 20px;
    }
}
