/* Products Section Styles */
.products-section {
    background: var(--bg-dark-2, #f8f9fa);
    position: relative;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--heading-font-color, #2c3e50);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-color, #666);
    margin-bottom: 0;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-overlay-content {
    text-align: center;
}

.product-more-btn {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    background: var(--primary-color, #376ab9);
    border-radius: 30px;
    display: inline-block;
    transition: all 0.3s ease;
}

.product-more-btn:hover {
    background: var(--secondary-color, #244b97);
    transform: scale(1.05);
}

.product-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--heading-font-color, #2c3e50);
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 56px;
}

.product-description {
    font-size: 14px;
    color: var(--text-color, #666);
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .product-title {
        font-size: 18px;
        min-height: auto;
    }
}

