/* Professional Image Overlay System for Service Images */
.image-with-overlay {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(13, 110, 253, 0.9));
    color: white;
    padding: 25px 20px 20px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.overlay-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.overlay-subtitle {
    font-size: 14px;
    margin: 0;
    opacity: 0.95;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-weight: 400;
}

.image-with-overlay:hover .image-overlay {
    background: linear-gradient(transparent, rgba(13, 110, 253, 0.95));
    padding: 30px 20px 25px;
}

.image-with-overlay:hover .overlay-title {
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .overlay-title {
        font-size: 18px;
    }
    
    .overlay-subtitle {
        font-size: 12px;
    }
    
    .image-overlay {
        padding: 20px 15px 15px;
    }
}

/* Alternative overlay colors for different page types */
.image-overlay.location-overlay {
    background: linear-gradient(transparent, rgba(25, 135, 84, 0.9));
}

.image-overlay.service-overlay {
    background: linear-gradient(transparent, rgba(220, 53, 69, 0.9));
}

.image-overlay.commercial-overlay {
    background: linear-gradient(transparent, rgba(255, 193, 7, 0.9));
} 