/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* 头部横幅样式 */
.header-banner {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="100,0 100,100 0,100" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 200px 200px;
}

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

.banner-text h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffeb3b;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffeb3b;
}

.banner-desc {
    font-size: 1rem;
    line-height: 1.4;
    opacity: 0.9;
}

.qr-code {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.qr-code img {
    width: 300px;
    height: 300px;
    display: block;
}

/* 主要内容样式 */
.main-content {
    background: white;
    margin-top: -20px;
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 3;
}

.section-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
}

.text-content {
    flex: 1;
}

.image-content {
    flex: 1;
}

.image-content img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 标题样式 */
section h2 {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: normal;
}

section h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: bold;
}

/* 公司简介样式 */
.company-profile {
    border-bottom: 1px solid #eee;
}

.company-info h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.company-info h5 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
}

.company-info p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.read-more-btn {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #b71c1c;
    transform: translateY(-2px);
}

/* 企业文化样式 */
.enterprise-culture {
    border-bottom: 1px solid #eee;
}

.culture-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.culture-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.culture-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.culture-item i {
    font-size: 1.5rem;
    color: #d32f2f;
    width: 30px;
    text-align: center;
}

.culture-item-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.culture-item-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* 品牌网格样式 */
.main-brands {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.brand-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

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

.brand-item img {
    width: 160px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.brand-item h4 {
    font-size: 1.1rem;
    color: #333;
}

/* 门店列表样式 */
.offline-stores {
    padding: 60px 0;
}

.stores-list {
    margin-top: 40px;
}

.store-item {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.store-item:last-child {
    border-bottom: none;
}

.store-info {
    flex: 1;
}

.store-info h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.store-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #666;
}

.store-detail i {
    width: 16px;
    color: #d32f2f;
}

.store-image {
    width: 350px;
    height: 210px;
}

.store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* 页脚样式 */
.footer {
    background: #f8f8f8;
    padding: 40px 0 20px;
    border-top: 1px solid #eee;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.footer-item i {
    font-size: 1.2rem;
    color: #d32f2f;
}

.footer-item span {
    font-size: 0.95rem;
    color: #333;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .banner-text h1 {
        font-size: 2.5rem;
    }
    
    .banner-text h2 {
        font-size: 2rem;
    }
    
    .section-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .enterprise-culture .section-content {
        flex-direction: column-reverse;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .store-item {
        flex-direction: column;
        text-align: center;
    }
    
    .store-image {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .banner-text h1 {
        font-size: 2rem;
    }
    
    .banner-text h2 {
        font-size: 1.5rem;
    }
    
    .qr-code img {
        width: 120px;
        height: 120px;
    }
    
    section h3 {
        font-size: 1.5rem;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 简单悬浮二维码 CSS 样式 */

.simple-floating-qr {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

.qr-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 20px;
    text-align: center;
    width: 200px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.qr-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.qr-header {
    margin-bottom: 15px;
}

.qr-header h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.qr-header p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.qr-image {
    margin-bottom: 15px;
    position: relative;
}

.qr-image img {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    border: 2px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.qr-image:hover img {
    transform: scale(1.05);
}

.qr-text {
    color: #666;
}

.qr-text p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .simple-floating-qr {
        right: 15px;
        top: auto;
        bottom: 20px;
        transform: none;
    }
    
    .qr-container {
        width: 180px;
        padding: 15px;
    }
    
    .qr-image img {
        width: 120px;
        height: 120px;
    }
    
    .qr-header h4 {
        font-size: 14px;
    }
    
    .qr-text p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .simple-floating-qr {
        right: 10px;
        bottom: 15px;
    }
    
    .qr-container {
        width: 160px;
        padding: 12px;
    }
    
    .qr-image img {
        width: 100px;
        height: 100px;
    }
    
    .qr-header h4 {
        font-size: 13px;
    }
    
    .qr-header p {
        font-size: 11px;
    }
    
    .qr-text p {
        font-size: 11px;
    }
}

/* 简单的淡入动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.simple-floating-qr {
    animation: fadeInUp 0.8s ease-out;
}
