/* 首页特定样式 */

/* 主要内容区域 */
.main-content {
    min-height: calc(100vh - 160px);
    padding: 0;
}

/* 轮播图区域 */
.banner-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.home-banner-swiper {
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

.banner-slide:hover .banner-image {
    transform: scale(1.05);
}

.banner-content {
    position: absolute;
    bottom: 80px;
    left: 80px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    z-index: 2;
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.banner-desc {
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.swiper-slide-active .banner-title,
.swiper-slide-active .banner-desc {
    opacity: 1;
    transform: translateY(0);
}

/* 轮播图分页器 */
.banner-pagination {
    bottom: 30px !important;
}

.banner-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.banner-pagination .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.2);
}

/* 轮播图导航按钮 */
.banner-button-prev,
.banner-button-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-top: -30px;
}

.banner-button-prev:hover,
.banner-button-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.banner-button-prev::after,
.banner-button-next::after {
    font-size: 20px;
    color: white;
    font-weight: bold;
}

.banner-button-prev {
    left: 30px;
}

.banner-button-next {
    right: 30px;
}

/* 内容区域 */
.content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.content-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.content-section h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.content-section p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .banner-section {
        height: 500px;
    }
    
    .banner-content {
        bottom: 60px;
        left: 60px;
        max-width: 400px;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .banner-section {
        height: 400px;
    }
    
    .banner-content {
        bottom: 40px;
        left: 20px;
        right: 20px;
        max-width: none;
        text-align: center;
    }
    
    .banner-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .banner-desc {
        font-size: 1rem;
    }
    
    .banner-button-prev,
    .banner-button-next {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    
    .banner-button-prev::after,
    .banner-button-next::after {
        font-size: 16px;
    }
    
    .banner-button-prev {
        left: 10px;
    }
    
    .banner-button-next {
        right: 10px;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .content-section h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .banner-section {
        height: 300px;
    }
    
    .banner-content {
        bottom: 30px;
        left: 15px;
        right: 15px;
    }
    
    .banner-title {
        font-size: 1.5rem;
    }
    
    .banner-desc {
        font-size: 0.9rem;
    }
    
    .banner-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .content-section h1 {
        font-size: 1.5rem;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-content {
    animation: fadeInUp 0.8s ease;
}

/* 确保图片加载时的平滑显示 */
.banner-image {
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* 无障碍支持 */
.banner-link:focus {
    outline: 3px solid #F19090;
    outline-offset: 2px;
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .content-section {
        background: #2c3e50;
    }
    
    .content-section h1 {
        color: #ecf0f1;
    }
    
    .content-section p {
        color: #bdc3c7;
    }
}



/* 关于品牌区域 */
.about-section {
    padding: 80px 0;
}

.about-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.about-content {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 60px;
    min-height: 530px;
}

/* 左边文字内容 */
.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: calc(100% - 740px); /* 680px图片 + 60px间距 */
}

.about-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin: 0;
    /* 顶部对齐 */
    align-self: flex-start;
}

.about-description {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    padding-left: 20px;
    border-left: 4px solid #E21111;
    position: relative;
    margin: 20px 0;
    /* 垂直居中 */
    align-self: center;
    width: 100%;
}

.about-content-text {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
    /* 底部对齐 */
    align-self: flex-end;
    width: 100%;
}

/* 右边图片 */
.about-image {
    flex-shrink: 0;
    width: 680px;
    height: 530px;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .about-container {
        padding: 0 40px;
    }

    .about-title {
        font-size: 3.4rem;
    }
    
    .about-description {
        font-size: 2.0rem;
    }

    .about-content-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 1200px) {
    .about-content {
        gap: 40px;
        max-height: 440px;
        min-height: 420px;
    }
    
    .about-image {
        width: 550px;
        height: 430px;
    }
    
    .about-text {
        max-width: calc(100% - 590px);
    }
    
    .about-title {
        font-size: 2.8rem;
    }
    
    .about-description {
        font-size: 1.8rem;
    }

    .about-content-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 1024px) {
    .about-container {
        padding: 0 20px;
    }
    
    .about-content {
        gap: 30px;
        max-height: 380px;
        min-height: 360px;
    }
    
    .about-image {
        width: 410px;
        height: 375px;
    }
    
    .about-text {
        max-width: calc(100% - 440px);
    }
    
    .about-title {
        font-size: 2.8rem;
    }
    
    .about-description {
        font-size: 1.8rem;
        margin: 15px 0;
    }
    
    .about-content-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-content {
        flex-direction: column;
        gap: 40px;
        min-height: auto;
    }
    
    .about-text {
        max-width: 100%;
        gap: 25px;
    }
    
    .about-image {
        width: 100%;
        max-width: 500px;
        height: 390px;
        margin: 0 auto;
    }
    
    .about-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .about-description {
        font-size: 1.1rem;
        padding-left: 15px;
        border-left-width: 3px;
        text-align: left;
        margin: 0;
    }
    
    .about-content-text {
        text-align: left;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 40px 0;
    }
    
    .about-container {
        padding: 0 15px;
    }
    
    .about-content {
        gap: 30px;
    }
    
    .about-image {
        max-width: 100%;
        height: 300px;
        display: none;
    }
    
    .about-title {
        font-size: 1.6rem;
    }
    
    .about-description {
        font-size: 1rem;
        padding-left: 12px;
        border-left-width: 2px;
    }
    
    .about-content-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* 大屏幕适配 */
@media (min-width: 1440px) {
    .about-container {
        padding: 0 40px;
    }
}

/* 加载动画 */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-text {
    animation: fadeInLeft 0.8s ease;
}

.about-image {
    animation: fadeInRight 0.8s ease;
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .about-section {
        background: #2c3e50;
    }
    
    .about-title {
        color: #ecf0f1;
    }
    
    .about-description {
        color: #ecf0f1;
    }
    
    .about-content-text {
        color: #bdc3c7;
    }
}

/* 无障碍支持 */
.about-img:focus {
    outline: 3px solid #E21111;
    outline-offset: 2px;
}