/* ==================== 固定光伏支架模块样式 ==================== */

.fixed-brackets-section {
    padding: 100px 24px;
    /* background: #eef3f9; */
	background-color: #fff;
}

.fixed-brackets-header {
    text-align: center;
    margin-bottom: 60px;
}

.fixed-brackets-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f1f2f;
    margin-bottom: 12px;
}

.fixed-brackets-title-underline {
    width: 80px;
    height: 4px;
    background: #0b6efd;
    margin: 0 auto 16px;
    border-radius: 2px;
}

.fixed-brackets-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-top: 12px;
}

/* 产品卡片样式 */



@media (max-width: 1024px) {
   
}

@media (max-width: 768px) {
    
}

.fixed-brackets-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.fixed-bracket-card {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
    position: relative;
}

.fixed-bracket-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.bracket-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: stretch;
    min-height: 400px;
    position: relative;
}

/* 文字在左，图片在右 */
.fixed-bracket-card--left-text .bracket-card-link {
    flex-direction: row;
}

/* 图片在左，文字在右 */
.fixed-bracket-card--right-text .bracket-card-link {
    flex-direction: row-reverse;
}

.bracket-card-content {
    flex: 0 0 50%;
    background: #f5f5f5;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.bracket-card-image {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bracket-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fixed-bracket-card:hover .bracket-card-image img {
    transform: scale(1.08);
}

/* 红色曲线分隔线 */
.bracket-card-divider {
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.bracket-card-divider--right {
    right: 50%;
    transform: translateX(50%);
}

/* .bracket-card-divider--right::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 400' preserveAspectRatio='none'%3E%3Cpath d='M0,0 Q75,80 0,160 Q75,240 0,320 Q75,360 0,400' stroke='%23dc3545' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    background-position: center;
} */

.bracket-card-divider--left {
    left: 50%;
    transform: translateX(-50%);
}

/* .bracket-card-divider--left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 400' preserveAspectRatio='none'%3E%3Cpath d='M150,0 Q75,80 150,160 Q75,240 150,320 Q75,360 150,400' stroke='%23dc3545' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    background-position: center;
} */

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.fixed-bracket-card:hover .image-placeholder {
    transform: scale(1.05);
}

/* 不同产品类型的占位图背景 */
.image-placeholder.rooftop {
    background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23ffffff" width="400" height="200"/><rect fill="%23e0e0e0" y="200" width="400" height="100"/><rect fill="%234a90e2" x="50" y="50" width="80" height="50" rx="2"/><rect fill="%234a90e2" x="150" y="50" width="80" height="50" rx="2"/><rect fill="%234a90e2" x="250" y="50" width="80" height="50" rx="2"/></svg>');
}

.image-placeholder.ground {
    background: linear-gradient(135deg, #cfd9df 0%, #e2ebf0 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23f0f0f0" width="400" height="300"/><circle fill="%23d0d0d0" cx="100" cy="250" r="30"/><circle fill="%23d0d0d0" cx="200" cy="250" r="30"/><circle fill="%23d0d0d0" cx="300" cy="250" r="30"/><rect fill="%234a90e2" x="50" y="100" width="300" height="120" rx="2" transform="rotate(-15 200 160)"/></svg>');
}

.image-placeholder.carport {
    background: linear-gradient(135deg, #d4d4d4 0%, #a8a8a8 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23f5f5f5" width="400" height="300"/><rect fill="%234a90e2" x="0" y="0" width="400" height="150" rx="2"/><rect fill="%23cccccc" x="50" y="180" width="80" height="60" rx="3"/><rect fill="%23cccccc" x="150" y="180" width="80" height="60" rx="3"/><rect fill="%23cccccc" x="250" y="180" width="80" height="60" rx="3"/></svg>');
}

.image-placeholder.agricultural {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23e8f5e9" width="400" height="300"/><rect fill="%234a90e2" x="0" y="0" width="400" height="120" rx="2"/><rect fill="%23a5d6a7" x="0" y="120" width="400" height="180"/></svg>');
}

.image-placeholder.pile {
    background: linear-gradient(135deg, #b0bec5 0%, #90a4ae 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23eceff1" width="400" height="300"/><rect fill="%2390a4ae" x="80" y="100" width="20" height="200" rx="10"/><rect fill="%2390a4ae" x="180" y="100" width="20" height="200" rx="10"/><rect fill="%2390a4ae" x="280" y="100" width="20" height="200" rx="10"/><path fill="%2390a4ae" d="M90 100 Q100 80 110 100 L110 300 L90 300 Z"/><path fill="%2390a4ae" d="M190 100 Q200 80 210 100 L210 300 L190 300 Z"/><path fill="%2390a4ae" d="M290 100 Q300 80 310 100 L310 300 L290 300 Z"/></svg>');
}

.image-placeholder.clamp {
    background: linear-gradient(135deg, #c5cae9 0%, #9fa8da 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23f3f4f9" width="400" height="300"/><rect fill="%239fa8da" x="100" y="100" width="60" height="20" rx="3"/><rect fill="%239fa8da" x="100" y="130" width="60" height="20" rx="3"/><rect fill="%239fa8da" x="240" y="100" width="60" height="20" rx="3"/><rect fill="%239fa8da" x="240" y="130" width="60" height="20" rx="3"/><circle fill="%239fa8da" cx="180" cy="150" r="15"/><circle fill="%239fa8da" cx="220" cy="150" r="15"/></svg>');
}

.bracket-card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0b6efd;
    margin-bottom: 24px;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bracket-card-title span:first-child {
    display: block;
}

.bracket-card-title-underline {
    width: 60px;
    height: 3px;
    background: #0b6efd;
    border-radius: 2px;
}

.bracket-card-desc {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin: 0 0 30px 0;
    text-align: justify;
}

.bracket-card-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, gap 0.3s ease;
    align-self: flex-start;
    border-bottom: 2px solid #0b6efd;
    padding-bottom: 4px;
}

.bracket-card-more:hover {
    color: #0b6efd;
    gap: 10px;
}

.bracket-card-more i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.bracket-card-more:hover i {
    transform: translateX(4px);
}

.fixed-brackets-cta {
    text-align: center;
}

.btn--product-center {
    background: linear-gradient(135deg, #0b6efd 0%, #0d6efd 100%);
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn--product-center:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 110, 253, 0.3);
}

.btn-icon {
    font-size: 1.2rem;
}

/* 动画效果 */
.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.6s ease forwards;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .bracket-card-content {
        padding: 40px 35px;
    }
    
    .bracket-card-title {
        font-size: 1.6rem;
    }
    
    .bracket-card-desc {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .fixed-brackets-section {
        padding: 60px 20px;
    }
    
    .fixed-brackets-title {
        font-size: 1.8rem;
    }
    
    .fixed-brackets-subtitle {
        font-size: 1rem;
    }
    
    .fixed-brackets-grid {
        gap: 30px;
    }
    
    .bracket-card-link {
        flex-direction: column !important;
        min-height: auto;
    }
    
    .fixed-bracket-card--left-text .bracket-card-link,
    .fixed-bracket-card--right-text .bracket-card-link {
        flex-direction: column;
    }
    
    .bracket-card-content {
        flex: 0 0 auto;
        padding: 40px 30px;
        order: 1;
    }
    
    .bracket-card-image {
        flex: 0 0 auto;
        height: 300px;
        order: 2;
    }
    
    .bracket-card-divider {
        display: none;
    }
    
    .bracket-card-title {
        font-size: 1.5rem;
    }
    
    .bracket-card-desc {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .btn--product-center {
        padding: 14px 32px;
        font-size: 1rem;
    }
}

