/* 门店页面通用样式 */

/* 门店内容区域样式 */
.stores-content {
    padding-top: 0;
    background-color: #000;
    min-height: 100vh;
}

/* 品牌宣语区域样式 - 从product.css复制 */
.brand-slogan {
    text-align: center;
    padding: 0;
    background-color: #111;
    position: relative;
    margin-bottom: 60px;
    height: 31.25rem; /* 500px转换为rem单位（假设16px=1rem） */
    background-image: url('../images/stores-banner.webp'); /* 使用品牌故事图作为背景 */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-slogan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* 半透明黑色遮罩 */
    z-index: 1;
}

.brand-slogan .container {
    position: relative;
    z-index: 2;
}

.brand-slogan h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 2px;
    position: relative;
    opacity: 1; /* 强制显示 */
    transform: none; /* 移除动画效果 */
    animation: none; /* 禁用动画，确保始终可见 */
}

.brand-slogan p {
    font-size: 1.8rem;
    color: #ffffff;
    letter-spacing: 4px;
    opacity: 1; /* 强制显示 */
    transform: none; /* 移除动画效果 */
    animation: none; /* 禁用动画，确保始终可见 */
}

/* 门店简介样式 */
.series-description {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background-color: rgba(140, 110, 74, 0.05);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.series-description:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(140, 110, 74, 0.15);
    background-color: rgba(140, 110, 74, 0.1);
}

.series-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #8c6e4a, #d4b18a);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.series-description:hover::before {
    transform: scaleX(1);
}

.series-description::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewY(20deg);
    transition: top 0.8s ease;
}

.series-description:hover::after {
    top: 100%;
}

.series-description p {
    font-size: 1.1rem;
    color: #e0e0e0; /* 修改为更偏白色的文本颜色 */
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.series-description:hover p {
    color: #ffffff; /* 悬停时改为纯白色 */
}

/* 门店网格 - 一排两个布局 */
.stores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto 3.125rem auto;
    padding: 0 1.875rem;
}

/* 门店项样式 */
.store-item {
    background-color: rgba(140, 110, 74, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
}

.store-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background-color: rgba(140, 110, 74, 0.1);
    border: 1px solid rgba(140, 110, 74, 0.2);
}

/* 门店图片容器 */
.store-image {
    width: 100%;
    padding-top: 56.25%; /* 16:9 宽高比 */
    overflow: hidden;
    position: relative;
}

.store-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.5s ease;
}

.store-item:hover .store-image img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.05);
}

/* 门店信息区域 */
.store-info {
    padding: 1.875rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.store-name {
    font-size: 1.5rem;
    color: #8c6e4a;
    margin-bottom: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.store-item:hover .store-name {
    color: #d4b18a;
}

.store-intro {
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* 了解更多按钮 */
.learn-more-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: #8c6e4a;
    border: 2px solid #8c6e4a;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.learn-more-btn:hover {
    background-color: #8c6e4a;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(140, 110, 74, 0.3);
}

.learn-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.learn-more-btn:hover::before {
    left: 100%;
}

.learn-more-btn i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.learn-more-btn:hover i {
    transform: translateX(5px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .stores-grid {
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .store-info {
        padding: 1.5rem;
    }
    
    .store-name {
        font-size: 1.35rem;
    }
}

@media (max-width: 992px) {
    .brand-slogan {
        height: 25rem;
    }
    
    .brand-slogan h1 {
        font-size: 2.5rem;
    }
    
    .brand-slogan p {
        font-size: 1rem;
    }
    
    .stores-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .store-item {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .brand-slogan {
        height: 20rem;
        margin-bottom: 3rem;
    }
    
    .brand-slogan h1 {
        font-size: 2rem;
    }
    
    .brand-slogan p {
        font-size: 0.9rem;
    }
    
    .series-description {
        padding: 2rem 1rem;
        margin-bottom: 3rem;
    }
    
    .series-description p {
        font-size: 1rem;
    }
    
    .stores-grid {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .store-info {
        padding: 1.25rem;
    }
    
    .store-name {
        font-size: 1.25rem;
    }
    
    .store-intro {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .brand-slogan {
        height: 15rem;
    }
    
    .brand-slogan h1 {
        font-size: 1.75rem;
    }
    
    .brand-slogan p {
        font-size: 0.8rem;
    }
    
    .stores-grid {
        padding: 0 0.75rem;
        gap: 1.25rem;
    }
    
    .store-info {
        padding: 1rem;
    }
    
    .store-name {
        font-size: 1.15rem;
    }
    
    .learn-more-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}