/* Huiyuandian (VIP Member Store) Specific Styles */
/* 会员店专用样式 - 奢华尊贵配色方案 */

/* Color Variables for VIP Member Store */
:root {
    /* Primary Colors - 主色调 */
    --primary-color: #d4af37; /* 奢华金 */
    --primary-light: #e6c866;
    --primary-dark: #b8941f;
    
    /* Secondary Colors - 辅助色 */
    --secondary-color: #2c3e50; /* 深蓝灰 */
    --secondary-light: #34495e;
    --secondary-dark: #1a252f;
    
    /* Accent Colors - 强调色 */
    --accent-color: #8b4513; /* 古铜色 */
    --accent-light: #a0522d;
    --accent-dark: #654321;
    
    /* Additional Colors - 补充色 */
    --rose-gold: #e8b4b8; /* 玫瑰金 */
    --champagne: #f7e7ce; /* 香槟色 */
    --platinum: #e5e4e2; /* 铂金色 */
    
    /* Neutral Colors - 中性色 */
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-light: #ffffff;
    --background-light: #ffffff;
    --background-luxury: #f8f6f0;
    --border-color: #d4af37;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    box-shadow: 0 2px 20px rgba(212, 175, 55, 0.3);
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
}

.header .contact-info a {
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-weight: 500;
}

.header .contact-info a:hover {
    color: var(--primary-light);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--primary-color);
}

.navbar .nav-link {
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar .nav-link:hover {
    color: var(--primary-color);
}

.navbar .nav-link:hover::after {
    width: 100%;
}

/* Hero Section / Carousel */
.hero-section {
    background: linear-gradient(135deg, var(--background-luxury), var(--champagne));
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1), transparent);
}

/* 轮播图容器样式 */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.carousel-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--primary-color);
    max-width: 600px;
    text-align: center;
    margin: 0 2rem;
}

.carousel-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--rose-gold), var(--primary-color));
    border-radius: 25px;
    z-index: -1;
}

.carousel-title {
    color: var(--secondary-color);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.carousel-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.carousel-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.carousel-tags .tag {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: var(--secondary-color);
    border-radius: 30px;
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    border: 1px solid var(--primary-dark);
}

.carousel-tags .tag:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
    background: linear-gradient(45deg, var(--primary-light), var(--rose-gold));
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border: 2px solid var(--primary-dark);
    color: var(--secondary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev {
    left: 2rem;
}

.carousel-next {
    right: 2rem;
}

.carousel-btn:hover {
    background: linear-gradient(45deg, var(--primary-light), var(--rose-gold));
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.carousel-indicators .indicator {
    background: var(--platinum);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    width: 15px;
    height: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0.7;
}

.carousel-indicators .indicator:hover {
    opacity: 1;
    transform: scale(1.1);
}

.carousel-indicators .indicator.active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    opacity: 1;
}

/* 轮播图标签样式优化 */
.carousel-tags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .carousel-title {
        font-size: 1.8rem;
    }
    
    .carousel-subtitle {
        font-size: 1rem;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 1rem;
    }
    
    .carousel-next {
        right: 1rem;
    }
    
    .carousel-tags {
        gap: 0.5rem;
    }
    
    .carousel-tags .tag {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* 平板设备响应式样式 */
@media (max-width: 1024px) {
    .carousel-content {
        padding: 2.5rem 2rem;
        margin: 0 1.5rem;
        max-width: 500px;
    }
    
    .carousel-title {
        font-size: 2rem;
    }
    
    .carousel-subtitle {
        font-size: 1.1rem;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 1.5rem;
    }
    
    .carousel-next {
        right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .carousel-container {
        height: 100vh;
    }
    
    .carousel-content {
        padding: 1.5rem 1rem;
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .carousel-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .carousel-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .carousel-prev {
        left: 1rem;
    }
    
    .carousel-next {
        right: 1rem;
    }
    
    .carousel-indicators {
        bottom: 1rem;
        gap: 0.5rem;
    }
    
    .carousel-indicators .indicator {
        width: 12px;
        height: 12px;
    }
    
    .carousel-tags {
        gap: 0.5rem;
    }
    
    .carousel-tags .tag {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* 性能优化 */
.carousel-slide {
    will-change: opacity;
}

.carousel-btn {
    will-change: transform, box-shadow;
}

.carousel-indicators .indicator {
    will-change: transform, background-color;
}

/* 无障碍访问优化 */
.carousel-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.carousel-indicators .indicator:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Section Titles */
.section-title {
    color: var(--secondary-color);
    font-weight: 700;
    position: relative;
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--rose-gold));
    border-radius: 2px;
}

/* Feature Cards */
.feature-card {
    background: linear-gradient(135deg, var(--background-light), var(--background-luxury));
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid var(--primary-color);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--rose-gold), var(--primary-color));
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.3);
    border-color: var(--primary-light);
}

.feature-card h3 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Philosophy Section */
.herbal-philosophy-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    padding: 5rem 0;
    position: relative;
}

.herbal-philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(212, 175, 55, 0.1), transparent),
                radial-gradient(circle at 70% 30%, rgba(232, 180, 184, 0.1), transparent);
}

.philosophy-content {
    background: linear-gradient(135deg, var(--background-light), var(--background-luxury));
    border-radius: 30px;
    padding: 4rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--primary-color);
    position: relative;
}

.philosophy-content::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--primary-color), var(--rose-gold), var(--primary-color));
    border-radius: 30px;
    z-index: -1;
}

.philosophy-content h3 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.philosophy-item {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    border: 1px solid var(--primary-dark);
}

.philosophy-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
    background: linear-gradient(45deg, var(--primary-light), var(--rose-gold));
}

.philosophy-item i {
    color: var(--secondary-color);
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

/* Services Section */
.natural-services-section {
    background: var(--background-luxury);
    position: relative;
}

.natural-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 100px,
        rgba(212, 175, 55, 0.03) 100px,
        rgba(212, 175, 55, 0.03) 200px
    );
}

.service-item {
    background: linear-gradient(135deg, var(--background-light), var(--champagne));
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border-left: 6px solid var(--primary-color);
    position: relative;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    border-radius: 0 20px 0 60px;
    opacity: 0.1;
}

.service-item:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 18px 45px rgba(212, 175, 55, 0.2);
    border-left-color: var(--rose-gold);
    background: linear-gradient(135deg, var(--background-light), var(--platinum));
}

.service-icon {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: var(--secondary-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    border: 3px solid var(--primary-dark);
    transition: all 0.3s ease;
}

.service-icon:hover {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
}

.service-item h3 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.service-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Contact CTA Section */
.store-contact-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--text-light);
    position: relative;
}

.store-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.2), transparent);
}

.contact-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: var(--secondary-color);
    border: 2px solid var(--primary-dark);
    padding: 1.2rem 3rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-btn:hover {
    background: linear-gradient(45deg, var(--primary-light), var(--rose-gold));
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary-dark), #1a1a1a);
    border-top: 3px solid var(--primary-color);
}

.footer h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer a {
    color: var(--platinum);
    transition: all 0.3s ease;
    position: relative;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .carousel-title {
        font-size: 1.8rem;
    }
    
    .carousel-subtitle {
        font-size: 1rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 0.95rem;
    }
    
    .carousel-prev {
        left: 1.2rem;
    }
    
    .carousel-next {
        right: 1.2rem;
    }
    
    .philosophy-content {
        padding: 2.5rem;
    }
    
    .service-item {
        margin-bottom: 2rem;
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Luxury Animation Effects */
@keyframes luxuryFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes goldShimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.feature-card,
.service-item,
.philosophy-content {
    animation: luxuryFadeIn 0.8s ease-out;
}

/* Luxury Hover Effects */
.feature-card:hover .feature-image img {
    transform: scale(1.1);
    transition: transform 0.4s ease;
}

.section-title:hover::after {
    background: linear-gradient(90deg, var(--primary-color), var(--rose-gold), var(--primary-color));
    background-size: 200% 100%;
    animation: goldShimmer 2s ease-in-out infinite;
}

/* VIP Exclusive Elements */
.vip-badge {
    background: linear-gradient(45deg, var(--primary-color), var(--rose-gold));
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    border: 1px solid var(--primary-dark);
}