/* 世健集團有限公司门户网站 - 色调样式 */

/* 重置和基本样式 */
/* 语言切换 */
.lang-switcher {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 26, 26, 0.85);
    padding: 8px 16px;
    border-radius: 25px;
    border: 1px solid #f0611d;
    backdrop-filter: blur(8px);
}

.lang-link {
    color: #b3b3b3;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 2px 4px;
}

.lang-link:hover,
.lang-link.active {
    color: #f0611d;
}

.lang-divider {
    color: #555;
    font-size: 0.85rem;
    user-select: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #0a0a0a;
    color: #f0f0f0;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* 顶部Logo区域 */
.header {
    background: linear-gradient(to bottom, #1a1a1a 0%, #0a0a0a 100%);
    padding: 30px 0;
    border-bottom: 3px solid #f0611d;
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.1);
}

.logo-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 200px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.3));
}

.logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #f0611d;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.logo-subtext {
    font-size: 1.2rem;
    color: #b3b3b3;
    letter-spacing: 2px;
}

/* 主内容区域 */
.main-content {
    padding: 60px 0;
    background-color: #0f0f0f;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: #f0611d;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #f0611d;
    margin: 15px auto 25px;
}

.section-subtitle {
    text-align: center;
    color: #b3b3b3;
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 四大板块宫格 */
.grid-section {
    margin-bottom: 80px;
}

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

.grid-item {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 15px rgba(246, 115, 1, 0.944);
}

.grid-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.grid-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%);
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.grid-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 165, 0, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    border: 2px solid #f0611d;
}

.grid-icon i {
    font-size: 2.5rem;
    color: #f0611d;
}

.grid-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #f0611d;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.grid-desc {
    color: #d9d9d9;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.grid-link {
    display: inline-flex;
    align-items: center;
    color: #f0611d;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid #f0611d;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.grid-link:hover {
    background-color: #f0611d;
    color: #0a0a0a;
}

.grid-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.grid-link:hover i {
    transform: translateX(5px);
}

/* 赞助商Logo墙 */
.sponsors-section {
    margin-top: 80px;
    padding: 50px 0;
    background-color: #1a1a1a;
    border-radius: 15px;
    border: 1px solid #333;
}

.sponsors-container {
    position: relative;
    overflow: hidden;
    margin: 40px auto;
    max-width: 95%;
}

.sponsors-track {
    display: flex;
    gap: 30px;
    animation: scroll 30s linear infinite;
    padding: 20px 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.sponsor-logo {
    flex: 0 0 auto;
    width: 150px;
    height: 80px;
    background-color: #333;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #444;
    transition: all 0.3s ease;
}

.sponsor-logo:hover {
    border-color: #f0611d;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.2);
}

.sponsor-logo img {
    max-width: 80%;
    max-height: 80%;
    filter: brightness(0.9);
}

.sponsors-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.sponsor-btn {
    background-color: #333;
    border: 2px solid #f0611d;
    color: #f0611d;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sponsor-btn:hover {
    background-color: #f0611d;
    color: #0a0a0a;
}

/* 页脚 */
.footer {
    background-color: #0a0a0a;
    padding: 60px 0 30px;
    border-top: 3px solid #f0611d;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 0 0 100%;
    max-width: 300px;
    margin-bottom: 30px;
    text-align: center;
}

.footer-logo img {
    width: 120px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #b3b3b3;
    font-size: 1rem;
}

.footer-info {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 0 0 100%;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-family: 'Oswald', sans-serif;
    color: #f0611d;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #f0611d;
}

.footer-section p, .footer-section li {
    color: #b3b3b3;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-section i {
    color: #f0611d;
    margin-right: 10px;
    width: 20px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f0611d;
}

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

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: #f0611d;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #f0611d;
    color: #0a0a0a;
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

.copyright p {
    margin-bottom: 5px;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .footer-section {
        flex: 0 0 48%;
    }
    
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .grid-item {
        height: 400px;
    }
}

@media (min-width: 992px) {
    .footer-section {
        flex: 0 0 30%;
    }
    
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    
    .grid-item {
        height: 450px;
    }
    
    .footer-logo {
        flex: 0 0 25%;
        text-align: left;
    }
    
    .footer-info {
        flex: 0 0 70%;
    }
}

@media (max-width: 767px) {
    .logo-text {
        font-size: 2rem;
    }
    
    .logo-subtext {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .grid-item {
        height: 300px;
    }
    
    .sponsor-logo {
        width: 120px;
        height: 60px;
    }
    
    .sponsors-track {
        gap: 20px;
    }
}
