/* 
 * 体育公司网站样式表
 * 主色调: 蓝色 #1e88e5, 橙色 #ff6d00
 */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 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 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #1e88e5;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo span {
    background: linear-gradient(135deg, #1e88e5, #ff6d00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 16px;
    color: #333;
    padding: 10px 0;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: #1e88e5;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e88e5;
    transition: width 0.3s ease;
}

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

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

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* Banner */
.banner {
    margin-top: 80px;
    height: 600px;
    background: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%);
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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="rgba(255,255,255,0.1)" stroke-width="2"/></svg>') repeat;
    background-size: 200px;
    animation: float 20s linear infinite;
}

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

.banner-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.banner p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #ff6d00;
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background: #ff8f00;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,109,0,0.3);
}

.btn-outline {
    background: transparent;
    color: #1e88e5;
    border: 2px solid #1e88e5;
}

.btn-outline:hover {
    background: #1e88e5;
    color: #fff;
}

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

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

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

.section-title span {
    display: block;
    font-size: 14px;
    color: #ff6d00;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 36px;
    color: #333;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1e88e5, #ff6d00);
}

/* About Section */
.about {
    background: #f8f9fa;
}

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

.about-image {
    position: relative;
}

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

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: #ff6d00;
    border-radius: 10px;
    z-index: -1;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1e88e5;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.stat-item .number {
    font-size: 36px;
    font-weight: bold;
    color: #ff6d00;
}

.stat-item .label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

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

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 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;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* News Section */
.news {
    background: #f8f9fa;
}

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

.news-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.news-image {
    height: 200px;
    background: linear-gradient(135deg, #1e88e5, #0d47a1);
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #ff6d00;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.news-content h3:hover {
    color: #1e88e5;
}

.news-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #1e88e5;
    font-size: 14px;
    font-weight: bold;
}

.read-more:hover {
    color: #ff6d00;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e88e5, #0d47a1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-item .text h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.contact-item .text p {
    color: #666;
    font-size: 14px;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.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: #1e88e5;
}

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

/* Footer */
.footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-about p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ff6d00;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

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

.footer-links a {
    color: #aaa;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6d00;
}

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

/* Page Banner */
.page-banner {
    margin-top: 80px;
    height: 300px;
    background: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.page-banner h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-banner .breadcrumb {
    font-size: 14px;
    opacity: 0.8;
}

.page-banner .breadcrumb a {
    color: #fff;
}

.page-banner .breadcrumb a:hover {
    text-decoration: underline;
}

/* News Detail */
.news-detail {
    padding: 60px 0;
}

.news-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.news-detail h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.4;
}

.news-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 14px;
}

.news-detail-body {
    line-height: 2;
    color: #444;
}

.news-detail-body p {
    margin-bottom: 20px;
}

.news-detail-body h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #333;
}

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

.news-nav a {
    color: #1e88e5;
    font-size: 14px;
}

.news-nav a:hover {
    color: #ff6d00;
}

/* News List Page */
.news-list {
    padding: 60px 0;
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-list-item {
    display: flex;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.news-list-image {
    width: 250px;
    height: 180px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1e88e5, #0d47a1);
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-content .date {
    color: #ff6d00;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-list-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.news-list-content h3:hover {
    color: #1e88e5;
}

.news-list-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

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

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

.about-intro-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1e88e5;
}

.about-intro-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-values {
    background: #f8f9fa;
    padding: 60px 0;
    margin: 60px 0;
}

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

.value-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.value-item .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #1e88e5, #0d47a1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
}

.value-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.value-item p {
    color: #666;
    font-size: 14px;
}

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

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        display: none;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .banner {
        height: 500px;
    }
    
    .banner h1 {
        font-size: 32px;
    }
    
    .about-content,
    .contact-content,
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-list-grid {
        grid-template-columns: 1fr;
    }
    
    .news-list-item {
        flex-direction: column;
    }
    
    .news-list-image {
        width: 100%;
        height: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}
