/* Category Pages Styles */

/* Global Styles */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px 0;
}

.breadcrumb-nav {
    margin-bottom: 40px;
}

.breadcrumb {
    background: rgba(255,255,255,0.8);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.breadcrumb li {
    display: inline-block;
    margin-right: 5px;
}

.breadcrumb a:hover {
    color: #2c5aa0 !important;
    text-decoration: none;
}

.section-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 42px;
    margin-bottom: 25px;
    text-align: center;
}

.section-subtitle {
    color: #6c757d;
    font-size: 18px;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.separator_wrapper {
    text-align: center;
    margin: 20px 0;
}

.separator_wrapper .icon {
    color: #34b1c4;
    font-size: 20px;
}

/* Products Section */
.products-section {
    background: #ffffff;
    padding: 80px 0;
}

.products-section .row {
    display: flex;
    flex-wrap: wrap;
}

.products-section [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 40px;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%; /* 确保卡片填满容器高度 */
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 177, 196, 0.9), rgba(44, 154, 183, 0.9));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-icon {
    color: white;
    font-size: 32px;
    background: rgba(255,255,255,0.2);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.product-card:hover .view-icon {
    transform: scale(1);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.badge-premium { 
    background: linear-gradient(135deg, #34b1c4, #2c9ab7); 
    color: white; 
}

.badge-luxury { 
    background: linear-gradient(135deg, #d4af37, #b8941f); 
    color: white; 
}

.badge-classic { 
    background: linear-gradient(135deg, #6c757d, #545b62); 
    color: white; 
}

.badge-business { 
    background: linear-gradient(135deg, #007bff, #0056b3); 
    color: white; 
}

.badge-formal { 
    background: linear-gradient(135deg, #000, #333); 
    color: white; 
}

.badge-bestseller { 
    background: linear-gradient(135deg, #28a745, #1e7e34); 
    color: white; 
}

.product-content {
    padding: 30px 25px;
    flex: 1; /* 让内容区域填满剩余空间 */
    display: flex;
    flex-direction: column;
}

.product-content .product-meta {
    margin-top: auto; /* 将meta信息推到底部 */
}

.product-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2c3e50;
}

.product-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #34b1c4;
}

.product-description {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-features {
    margin-bottom: 20px;
    min-height: 40px; /* 确保所有features区域有最小高度 */
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
}

.feature-tag {
    display: inline-block;
    background: #f8f9fa;
    color: #6c757d;
    padding: 6px 12px;
    margin: 3px 6px 3px 0;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-tag:hover {
    background: #34b1c4;
    color: white;
    transform: translateY(-1px);
}

.product-meta {
    font-size: 13px;
    color: #adb5bd;
    border-top: 1px solid #f1f3f4;
    padding-top: 18px;
}

.category-link {
    color: #34b1c4;
    font-weight: 600;
    text-decoration: none;
}

.category-link:hover {
    color: #2c9ab7;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #34b1c4 0%, #2c9ab7 100%);
    padding: 60px 30px;
    border-radius: 20px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-title {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.cta-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.cta-button {
    background: white;
    color: #34b1c4;
    padding: 15px 35px;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s ease;
    font-size: 16px;
    border: 3px solid white;
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .product-image-container {
        height: 300px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .cta-title {
        font-size: 26px;
    }
    
    .cta-subtitle {
        font-size: 16px;
    }
    
    .hero-section {
        padding: 100px 0 60px 0;
    }
    
    .products-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .product-image-container {
        height: 250px;
    }
    
    .cta-section {
        margin-top: 40px;
        padding: 40px 20px;
    }
} 