/* Home Page Styles - Modern Minimalist Design */

/* Hero Banner Section */
.hero-banner {
    position: relative;
    min-height: 85vh; /* 增加高度，更有冲击力 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-bg-dark); /* 默认背景色，防止图片加载慢 */
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 使用渐变遮罩增加文字可读性，同时保持图片通透 */
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7)); 
    z-index: 2;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    padding: 0 var(--spacing-md);
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem; /* 更大的标题 */
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Brand Partners Section */
.brand-partners {
    padding: var(--spacing-lg) 0;
    background: var(--color-bg-body);
    border-bottom: 1px solid var(--color-border);
}

.brand-partners h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: var(--color-secondary);
    font-weight: 500;
    font-family: var(--font-primary);
    opacity: 0.7;
}

.brands-carousel {
    overflow: hidden;
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brands-track {
    display: inline-flex;
    animation: scroll 40s linear infinite;
    align-items: center;
    gap: 5rem;
}

.brand-logo {
    height: 40px; /* 缩小 Logo 尺寸，更精致 */
    width: auto;
    opacity: 0.5;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Overview Section */
.overview {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-light);
    text-align: center;
}

.overview h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

.section-intro {
    font-size: 1.5rem;
    color: var(--color-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

/* Services Section */
.services {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-body);
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 5rem;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
    width: 100%;
}

.services h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 1.5rem auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 强制两列，更像杂志排版 */
    gap: 6rem 4rem; /* 增加间距 */
    margin-top: 2rem;
}

.service-card {
    background: transparent;
    padding: 2rem 0 0 0;
    text-align: left;
    transition: all 0.3s ease;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--color-border); /* 顶部装饰线 */
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--color-accent); /* 悬停时线条变色 */
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    width: auto;
    height: auto;
    color: var(--color-accent);
    border-radius: 0;
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

.service-card p {
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.7;
    flex-grow: 1;
    font-size: 1.1rem;
    opacity: 0.8;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
}

.service-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--color-accent);
}

.service-link:hover::after {
    transform: translateX(5px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .services h2 {
        font-size: 2.5rem;
    }
}

/* Philosophy Section */
.philosophy {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-dark);
    color: var(--color-white);
}

.philosophy h2 {
    text-align: center;
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 4rem;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.philosophy-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.philosophy-item h3 {
    color: var(--color-white);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.philosophy-item p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-accent); /* 使用强调色作为背景 */
    text-align: center;
    color: var(--color-white);
}

.cta-section h2 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons .btn-primary {
    background-color: var(--color-white);
    color: var(--color-accent);
    border-color: var(--color-white);
}

.cta-buttons .btn-primary:hover {
    background-color: var(--color-bg-light);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    border-color: var(--color-white);
    color: var(--color-white);
}

.cta-buttons .btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
}

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

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

/* Global Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .overview h2, .philosophy h2, .cta-section h2 {
        font-size: 2rem;
    }
}
