/* Portfolio Custom Styles for ACF Fields */

/* Before & After Section */
.before-after-section .comparison-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.before-after-section .image-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
}

/* Gallery Section */
.portfolio-gallery-section .gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.portfolio-gallery-section .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.portfolio-gallery-section .gallery-item img {
    transition: transform 0.3s ease;
}

.portfolio-gallery-section .gallery-item:hover img {
    transform: scale(1.05);
}

/* Testimonial Section */
.testimonial-section .testimonial-box {
    border-left: 4px solid #007bff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.testimonial-section .rating i {
    font-size: 18px;
    margin-right: 4px;
}

.testimonial-section .testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.testimonial-section .testimonial-author strong {
    color: #007bff;
    font-size: 16px;
}

/* Project Tags */
.project-tags .badge {
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 500;
}

/* Sidebar Enhancements */
.sidebar-widget-table .sidebar-tag-name a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-widget-table .sidebar-tag-name a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .before-after-section .row {
        margin-bottom: 20px;
    }
    
    .portfolio-gallery-section .col-md-4 {
        margin-bottom: 15px;
    }
}
